Build Information
Failed to build NKModalPresenter, reference master (d133cd
), with Swift 6.2 (beta) for watchOS using Xcode 26.0 on 23 Jun 2025 19:15:14 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.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:276:18: error: 'UITapGestureRecognizer' is unavailable in watchOS
var tapGesture: UITapGestureRecognizer?
^~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITapGestureRecognizer.h:23:12: note: 'UITapGestureRecognizer' has been explicitly marked unavailable here
@interface UITapGestureRecognizer : UIGestureRecognizer
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:277:18: error: 'UIPanGestureRecognizer' is unavailable in watchOS
var panGesture: UIPanGestureRecognizer?
^~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPanGestureRecognizer.h:31:12: note: 'UIPanGestureRecognizer' has been explicitly marked unavailable here
@interface UIPanGestureRecognizer : UIGestureRecognizer
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:279:30: error: 'UIViewController' is unavailable in watchOS
public init(viewController: UIViewController) {
^~~~~~~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:102:12: note: 'UIViewController' has been explicitly marked unavailable here
@interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:700:63: error: 'UIView' is unavailable in watchOS
private func animationBlock(duration: TimeInterval, options: UIView.AnimationOptions, animations: @escaping (() -> Void), completion: ((Bool) -> Void)? = nil) {
^~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:147:12: note: 'UIView' has been explicitly marked unavailable here
@interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:710:31: error: 'UIView' is unavailable in watchOS
private func capture(_ view: UIView) -> UIImageView {
^~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:147:12: note: 'UIView' has been explicitly marked unavailable here
@interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:710:42: error: 'UIImageView' is unavailable in watchOS
private func capture(_ view: UIView) -> UIImageView {
^~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImageView.h:21:12: note: 'UIImageView' has been explicitly marked unavailable here
@interface UIImageView : UIView
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:720:36: error: 'UIView' is unavailable in watchOS
private func captureImage(_ view: UIView) -> UIImage? {
^~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:147:12: note: 'UIView' has been explicitly marked unavailable here
@interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:735:53: error: 'UIImageView' is unavailable in watchOS
private func removeCapturedView(_ imageView: inout UIImageView?) {
^~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImageView.h:21:12: note: 'UIImageView' has been explicitly marked unavailable here
@interface UIImageView : UIView
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:863:30: error: 'UIPanGestureRecognizer' is unavailable in watchOS
@objc func onPan(_ gesture: UIPanGestureRecognizer) {
^~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPanGestureRecognizer.h:31:12: note: 'UIPanGestureRecognizer' has been explicitly marked unavailable here
@interface UIPanGestureRecognizer : UIGestureRecognizer
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:989:22: error: cannot override 'shouldAutorotate' which has been marked unavailable
public override var shouldAutorotate: Bool {
^
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:369:37: note: 'shouldAutorotate' has been explicitly marked unavailable here
@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);
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:989:22: note: remove 'override' modifier to declare a new 'shouldAutorotate'
public override var shouldAutorotate: Bool {
~~~~~~~~~ ^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:966:53: error: 'UIGestureRecognizer' is unavailable in watchOS
public func gestureRecognizer(_ gestureRecognizer: UIGestureRecognizer, shouldReceive touch: UITouch) -> Bool {
^~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGestureRecognizer.h:35:12: note: 'UIGestureRecognizer' has been explicitly marked unavailable here
@interface UIGestureRecognizer : NSObject
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:966:95: error: 'UITouch' is unavailable in watchOS
public func gestureRecognizer(_ gestureRecognizer: UIGestureRecognizer, shouldReceive touch: UITouch) -> Bool {
^~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITouch.h:51:12: note: 'UITouch' has been explicitly marked unavailable here
@interface UITouch : NSObject
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:964:30: error: 'UIGestureRecognizerDelegate' is unavailable in watchOS
extension NKModalController: UIGestureRecognizerDelegate {
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGestureRecognizer.h:91:11: note: 'UIGestureRecognizerDelegate' has been explicitly marked unavailable here
@protocol UIGestureRecognizerDelegate <NSObject>
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:981:53: error: 'UIViewController' is unavailable in watchOS
public fileprivate(set) var contentViewController: UIViewController!
^~~~~~~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:102:12: note: 'UIViewController' has been explicitly marked unavailable here
@interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:983:29: error: 'UIViewController' is unavailable in watchOS
var visibleViewController: UIViewController? {
^~~~~~~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:102:12: note: 'UIViewController' has been explicitly marked unavailable here
@interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:993:54: error: 'UIInterfaceOrientationMask' is unavailable in watchOS
public override var supportedInterfaceOrientations: UIInterfaceOrientationMask {
^~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIOrientation.h:49:32: note: 'UIInterfaceOrientationMask' has been explicitly marked unavailable here
typedef NS_OPTIONS(NSUInteger, UIInterfaceOrientationMask) {
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:997:68: error: 'UIInterfaceOrientation' is unavailable in watchOS
public override var preferredInterfaceOrientationForPresentation: UIInterfaceOrientation {
^~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIOrientation.h:41:28: note: 'UIInterfaceOrientation' has been explicitly marked unavailable here
typedef NS_ENUM(NSInteger, UIInterfaceOrientation) {
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:1011:47: error: 'UIStatusBarStyle' is unavailable in watchOS
public override var preferredStatusBarStyle: UIStatusBarStyle {
^~~~~~~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h:22:28: note: 'UIStatusBarStyle' has been explicitly marked unavailable here
typedef NS_ENUM(NSInteger, UIStatusBarStyle) {
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:1015:57: error: 'UIStatusBarAnimation' is unavailable in watchOS
public override var preferredStatusBarUpdateAnimation: UIStatusBarAnimation {
^~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h:31:28: note: 'UIStatusBarAnimation' has been explicitly marked unavailable here
typedef NS_ENUM(NSInteger, UIStatusBarAnimation) {
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:980:46: error: 'UIViewController' is unavailable in watchOS
public class NKModalContainerViewController: UIViewController {
^~~~~~~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:102:12: note: 'UIViewController' has been explicitly marked unavailable here
@interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:1023:11: error: 'UIViewController' is unavailable in watchOS
extension UIViewController {
^~~~~~~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:102:12: note: 'UIViewController' has been explicitly marked unavailable here
@interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalPresenter.swift:34:38: error: 'UIViewController' is unavailable in watchOS
public func present(viewController: UIViewController, animate: NKModalPresentAnimation? = nil, to position: NKModalPresentPosition? = nil) -> NKModalController {
^~~~~~~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:102:12: note: 'UIViewController' has been explicitly marked unavailable here
@interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalPresenter.swift:43:38: error: 'UIViewController' is unavailable in watchOS
public func dismiss(viewController: UIViewController, animated: Bool, completion: (() -> Void)? = nil) {
^~~~~~~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:102:12: note: 'UIViewController' has been explicitly marked unavailable here
@interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalPresenter.swift:63:57: error: 'UIViewController' is unavailable in watchOS
public func modalController(containing viewController: UIViewController) -> NKModalController? {
^~~~~~~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:102:12: note: 'UIViewController' has been explicitly marked unavailable here
@interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalPresenter.swift:67:47: error: 'UIView' is unavailable in watchOS
public func modalController(containing view: UIView) -> NKModalController? {
^~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:147:12: note: 'UIView' has been explicitly marked unavailable here
@interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalPresenter.swift:83:11: error: 'UIViewController' is unavailable in watchOS
extension UIViewController {
^~~~~~~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:102:12: note: 'UIViewController' has been explicitly marked unavailable here
@interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
^
SwiftEmitModule normal arm64_32 Emitting\ module\ for\ NKModalPresenter (in target 'NKModalPresenter' from project 'NKModalPresenter')
EmitSwiftModule normal arm64_32 (in target 'NKModalPresenter' from project 'NKModalPresenter')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64_32 Compiling\ NKModalController.swift /Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift (in target 'NKModalPresenter' from project 'NKModalPresenter')
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
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
SwiftCompile normal armv7k Compiling\ NKModalController.swift /Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift (in target 'NKModalPresenter' from project 'NKModalPresenter')
SwiftCompile normal armv7k /Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift (in target 'NKModalPresenter' from project 'NKModalPresenter')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal armv7k Compiling\ NKModalPresenter.swift /Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalPresenter.swift (in target 'NKModalPresenter' from project 'NKModalPresenter')
SwiftCompile normal armv7k /Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalPresenter.swift (in target 'NKModalPresenter' from project 'NKModalPresenter')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftEmitModule normal armv7k Emitting\ module\ for\ NKModalPresenter (in target 'NKModalPresenter' from project 'NKModalPresenter')
EmitSwiftModule normal armv7k (in target 'NKModalPresenter' from project 'NKModalPresenter')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
** BUILD FAILED **
The following build commands failed:
SwiftEmitModule normal arm64 Emitting\ module\ for\ NKModalPresenter (in target 'NKModalPresenter' from project 'NKModalPresenter')
EmitSwiftModule normal arm64 (in target 'NKModalPresenter' from project 'NKModalPresenter')
Building workspace spi-builder-workspace with scheme NKModalPresenter
(3 failures)
Command line invocation:
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -resolvePackageDependencies
Resolve Package Graph
Invalid Exclude '/Users/admin/builder/spi-builder-workspace/NKModalPresenter/Example': File not found.
Resolved source packages:
NKModalPresenter: /Users/admin/builder/spi-builder-workspace
resolved source packages: NKModalPresenter
{
"dependencies" : [
],
"manifest_display_name" : "NKModalPresenter",
"name" : "NKModalPresenter",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "9.0"
}
],
"products" : [
{
"name" : "NKModalPresenter",
"targets" : [
"NKModalPresenter"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "NKModalPresenter",
"module_type" : "SwiftTarget",
"name" : "NKModalPresenter",
"path" : "NKModalPresenter",
"product_memberships" : [
"NKModalPresenter"
],
"sources" : [
"NKModalController.swift",
"NKModalPresenter.swift"
],
"type" : "library"
}
],
"tools_version" : "5.2"
}
warning: 'spi-builder-workspace': Invalid Exclude '/Users/admin/builder/spi-builder-workspace/NKModalPresenter/Example': File not found.
{
"workspace" : {
"name" : "spi-builder-workspace",
"schemes" : [
"NKModalPresenter"
]
}
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme NKModalPresenter -destination generic/platform=watchOS
Command line invocation:
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath /Users/admin/builder/spi-builder-workspace/.derivedData build -scheme NKModalPresenter -destination generic/platform=watchOS
Resolve Package Graph
Invalid Exclude '/Users/admin/builder/spi-builder-workspace/NKModalPresenter/Example': File not found.
Resolved source packages:
NKModalPresenter: /Users/admin/builder/spi-builder-workspace
ComputePackagePrebuildTargetDependencyGraph
Prepare packages
CreateBuildRequest
SendProjectDescription
CreateBuildOperation
ComputeTargetDependencyGraph
note: Building targets in dependency order
note: Target dependency graph (2 targets)
Target 'NKModalPresenter' in project 'NKModalPresenter'
➜ Explicit dependency on target 'NKModalPresenter' in project 'NKModalPresenter'
Target 'NKModalPresenter' in project 'NKModalPresenter' (no dependencies)
GatherProvisioningInputs
CreateBuildDescription
ClangStatCache /Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang-stat-cache /Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos26.0-23R5280j-041894b46d26f03ea1587ab1cb6ac97e.sdkstatcache
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang-stat-cache /Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk -o /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos26.0-23R5280j-041894b46d26f03ea1587ab1cb6ac97e.sdkstatcache
SwiftDriver NKModalPresenter normal arm64_32 com.apple.xcode.tools.swift.compiler (in target 'NKModalPresenter' from project 'NKModalPresenter')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftDriver -- /Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -module-name NKModalPresenter -Onone -enforce-exclusivity\=checked @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NKModalPresenter.build/Debug-watchos/NKModalPresenter.build/Objects-normal/arm64_32/NKModalPresenter.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -DSWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -DXcode -plugin-path /Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -enable-experimental-feature DebugDescriptionMacro -sdk /Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk -target arm64_32-apple-watchos5.0 -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -Xfrontend -serialize-debugging-options -enable-testing -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -swift-version 5 -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -I /Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/Developer/Library/Frameworks -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos26.0-23R5280j-041894b46d26f03ea1587ab1cb6ac97e.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NKModalPresenter.build/Debug-watchos/NKModalPresenter.build/Objects-normal/arm64_32/NKModalPresenter-OutputFileMap.json -use-frontend-parseable-output -save-temps -no-color-diagnostics -explicit-module-build -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules -clang-scanner-module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -sdk-module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -serialize-diagnostics -emit-dependencies -emit-module -emit-module-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NKModalPresenter.build/Debug-watchos/NKModalPresenter.build/Objects-normal/arm64_32/NKModalPresenter.swiftmodule -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NKModalPresenter.build/Debug-watchos/NKModalPresenter.build/swift-overrides.hmap -emit-const-values -Xfrontend -const-gather-protocols-file -Xfrontend /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NKModalPresenter.build/Debug-watchos/NKModalPresenter.build/Objects-normal/arm64_32/NKModalPresenter_const_extract_protocols.json -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NKModalPresenter.build/Debug-watchos/NKModalPresenter.build/DerivedSources-normal/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NKModalPresenter.build/Debug-watchos/NKModalPresenter.build/DerivedSources/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NKModalPresenter.build/Debug-watchos/NKModalPresenter.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -emit-objc-header -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NKModalPresenter.build/Debug-watchos/NKModalPresenter.build/Objects-normal/arm64_32/NKModalPresenter-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
SwiftDriver NKModalPresenter normal armv7k com.apple.xcode.tools.swift.compiler (in target 'NKModalPresenter' from project 'NKModalPresenter')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftDriver -- /Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -module-name NKModalPresenter -Onone -enforce-exclusivity\=checked @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NKModalPresenter.build/Debug-watchos/NKModalPresenter.build/Objects-normal/armv7k/NKModalPresenter.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -DSWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -DXcode -plugin-path /Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -enable-experimental-feature DebugDescriptionMacro -sdk /Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk -target armv7k-apple-watchos5.0 -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -Xfrontend -serialize-debugging-options -enable-testing -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -swift-version 5 -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -I /Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/Developer/Library/Frameworks -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos26.0-23R5280j-041894b46d26f03ea1587ab1cb6ac97e.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NKModalPresenter.build/Debug-watchos/NKModalPresenter.build/Objects-normal/armv7k/NKModalPresenter-OutputFileMap.json -use-frontend-parseable-output -save-temps -no-color-diagnostics -explicit-module-build -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules -clang-scanner-module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -sdk-module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -serialize-diagnostics -emit-dependencies -emit-module -emit-module-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NKModalPresenter.build/Debug-watchos/NKModalPresenter.build/Objects-normal/armv7k/NKModalPresenter.swiftmodule -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NKModalPresenter.build/Debug-watchos/NKModalPresenter.build/swift-overrides.hmap -emit-const-values -Xfrontend -const-gather-protocols-file -Xfrontend /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NKModalPresenter.build/Debug-watchos/NKModalPresenter.build/Objects-normal/armv7k/NKModalPresenter_const_extract_protocols.json -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NKModalPresenter.build/Debug-watchos/NKModalPresenter.build/DerivedSources-normal/armv7k -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NKModalPresenter.build/Debug-watchos/NKModalPresenter.build/DerivedSources/armv7k -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NKModalPresenter.build/Debug-watchos/NKModalPresenter.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -emit-objc-header -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NKModalPresenter.build/Debug-watchos/NKModalPresenter.build/Objects-normal/armv7k/NKModalPresenter-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
SwiftDriver NKModalPresenter normal arm64 com.apple.xcode.tools.swift.compiler (in target 'NKModalPresenter' from project 'NKModalPresenter')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftDriver -- /Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -module-name NKModalPresenter -Onone -enforce-exclusivity\=checked @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NKModalPresenter.build/Debug-watchos/NKModalPresenter.build/Objects-normal/arm64/NKModalPresenter.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -DSWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -DXcode -plugin-path /Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -enable-experimental-feature DebugDescriptionMacro -sdk /Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk -target arm64-apple-watchos5.0 -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -Xfrontend -serialize-debugging-options -enable-testing -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -swift-version 5 -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -I /Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/Developer/Library/Frameworks -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos26.0-23R5280j-041894b46d26f03ea1587ab1cb6ac97e.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NKModalPresenter.build/Debug-watchos/NKModalPresenter.build/Objects-normal/arm64/NKModalPresenter-OutputFileMap.json -use-frontend-parseable-output -save-temps -no-color-diagnostics -explicit-module-build -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules -clang-scanner-module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -sdk-module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -serialize-diagnostics -emit-dependencies -emit-module -emit-module-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NKModalPresenter.build/Debug-watchos/NKModalPresenter.build/Objects-normal/arm64/NKModalPresenter.swiftmodule -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NKModalPresenter.build/Debug-watchos/NKModalPresenter.build/swift-overrides.hmap -emit-const-values -Xfrontend -const-gather-protocols-file -Xfrontend /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NKModalPresenter.build/Debug-watchos/NKModalPresenter.build/Objects-normal/arm64/NKModalPresenter_const_extract_protocols.json -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NKModalPresenter.build/Debug-watchos/NKModalPresenter.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NKModalPresenter.build/Debug-watchos/NKModalPresenter.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NKModalPresenter.build/Debug-watchos/NKModalPresenter.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -emit-objc-header -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NKModalPresenter.build/Debug-watchos/NKModalPresenter.build/Objects-normal/arm64/NKModalPresenter-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
SwiftEmitModule normal arm64 Emitting\ module\ for\ NKModalPresenter (in target 'NKModalPresenter' from project 'NKModalPresenter')
EmitSwiftModule normal arm64 (in target 'NKModalPresenter' from project 'NKModalPresenter')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:28:18: error: 'UIView' is unavailable in watchOS
case from(view: UIView)
^~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:147:12: note: 'UIView' has been explicitly marked unavailable here
@interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:38:16: error: 'UIView' is unavailable in watchOS
case to(view: UIView)
^~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:147:12: note: 'UIView' has been explicitly marked unavailable here
@interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:50:84: error: 'UIViewController' is unavailable in watchOS
func modalController(_ controller: NKModalController, willPresent viewController: UIViewController)
^~~~~~~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:102:12: note: 'UIViewController' has been explicitly marked unavailable here
@interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:51:83: error: 'UIViewController' is unavailable in watchOS
func modalController(_ controller: NKModalController, didPresent viewController: UIViewController)
^~~~~~~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:102:12: note: 'UIViewController' has been explicitly marked unavailable here
@interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:52:84: error: 'UIViewController' is unavailable in watchOS
func modalController(_ controller: NKModalController, willDismiss viewController: UIViewController)
^~~~~~~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:102:12: note: 'UIViewController' has been explicitly marked unavailable here
@interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:53:83: error: 'UIViewController' is unavailable in watchOS
func modalController(_ controller: NKModalController, didDismiss viewController: UIViewController)
^~~~~~~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:102:12: note: 'UIViewController' has been explicitly marked unavailable here
@interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:54:67: error: 'UIGestureRecognizer' is unavailable in watchOS
func modalController(_ controller: NKModalController, dragState: UIGestureRecognizer.State)
^~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGestureRecognizer.h:35:12: note: 'UIGestureRecognizer' has been explicitly marked unavailable here
@interface UIGestureRecognizer : NSObject
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:61:71: error: 'UIViewController' is unavailable in watchOS
func presentingViewController(modalController: NKModalController) -> UIViewController?
^~~~~~~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:102:12: note: 'UIViewController' has been explicitly marked unavailable here
@interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:62:59: error: 'UIModalPresentationStyle' is unavailable in watchOS
func presentStyle(modalController: NKModalController) -> UIModalPresentationStyle
^~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:47:28: note: 'UIModalPresentationStyle' has been explicitly marked unavailable here
typedef NS_ENUM(NSInteger, UIModalPresentationStyle) {
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:70:57: error: 'CACornerMask' is unavailable in watchOS
func cornerMask(modalController: NKModalController) -> CACornerMask
^~~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CALayer.h:108:33: note: 'CACornerMask' has been explicitly marked unavailable here
typedef NS_OPTIONS (NSUInteger, CACornerMask)
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:71:58: error: 'UIWindow' is unavailable in watchOS
func windowLevel(modalController: NKModalController) -> UIWindow.Level
^~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h:22:12: note: 'UIWindow' has been explicitly marked unavailable here
@interface UIWindow : UIView
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:72:61: error: 'UIView' is unavailable in watchOS
func transitionView(modalController: NKModalController) -> UIView?
^~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:147:12: note: 'UIView' has been explicitly marked unavailable here
@interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:73:72: error: 'UIView' is unavailable in watchOS
func transitionViewContentMode(modalController: NKModalController) -> UIView.ContentMode?
^~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:147:12: note: 'UIView' has been explicitly marked unavailable here
@interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:79:84: error: 'UIViewController' is unavailable in watchOS
func modalController(_ controller: NKModalController, willPresent viewController: UIViewController) {}
^~~~~~~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:102:12: note: 'UIViewController' has been explicitly marked unavailable here
@interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:80:83: error: 'UIViewController' is unavailable in watchOS
func modalController(_ controller: NKModalController, didPresent viewController: UIViewController) {}
^~~~~~~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:102:12: note: 'UIViewController' has been explicitly marked unavailable here
@interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:81:84: error: 'UIViewController' is unavailable in watchOS
func modalController(_ controller: NKModalController, willDismiss viewController: UIViewController) {}
^~~~~~~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:102:12: note: 'UIViewController' has been explicitly marked unavailable here
@interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:82:83: error: 'UIViewController' is unavailable in watchOS
func modalController(_ controller: NKModalController, didDismiss viewController: UIViewController) {}
^~~~~~~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:102:12: note: 'UIViewController' has been explicitly marked unavailable here
@interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:83:67: error: 'UIGestureRecognizer' is unavailable in watchOS
func modalController(_ controller: NKModalController, dragState: UIGestureRecognizer.State) {}
^~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGestureRecognizer.h:35:12: note: 'UIGestureRecognizer' has been explicitly marked unavailable here
@interface UIGestureRecognizer : NSObject
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:90:71: error: 'UIViewController' is unavailable in watchOS
func presentingViewController(modalController: NKModalController) -> UIViewController? { nil }
^~~~~~~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:102:12: note: 'UIViewController' has been explicitly marked unavailable here
@interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:91:59: error: 'UIModalPresentationStyle' is unavailable in watchOS
func presentStyle(modalController: NKModalController) -> UIModalPresentationStyle { .custom }
^~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:47:28: note: 'UIModalPresentationStyle' has been explicitly marked unavailable here
typedef NS_ENUM(NSInteger, UIModalPresentationStyle) {
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:99:57: error: 'CACornerMask' is unavailable in watchOS
func cornerMask(modalController: NKModalController) -> CACornerMask { [.layerMaxXMaxYCorner, .layerMaxXMinYCorner, .layerMinXMaxYCorner, .layerMinXMinYCorner] }
^~~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CALayer.h:108:33: note: 'CACornerMask' has been explicitly marked unavailable here
typedef NS_OPTIONS (NSUInteger, CACornerMask)
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:100:58: error: 'UIWindow' is unavailable in watchOS
func windowLevel(modalController: NKModalController) -> UIWindow.Level { .normal + 1 }
^~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h:22:12: note: 'UIWindow' has been explicitly marked unavailable here
@interface UIWindow : UIView
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:101:61: error: 'UIView' is unavailable in watchOS
func transitionView(modalController: NKModalController) -> UIView? { nil }
^~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:147:12: note: 'UIView' has been explicitly marked unavailable here
@interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:102:72: error: 'UIView' is unavailable in watchOS
func transitionViewContentMode(modalController: NKModalController) -> UIView.ContentMode? { nil }
^~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:147:12: note: 'UIView' has been explicitly marked unavailable here
@interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:108:32: error: 'UIView' is unavailable in watchOS
func toPresentAnimation(view: UIView) -> NKModalPresentAnimation {
^~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:147:12: note: 'UIView' has been explicitly marked unavailable here
@interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:137:32: error: 'UIView' is unavailable in watchOS
func toDismissAnimation(view: UIView) -> NKModalDismissAnimation {
^~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:147:12: note: 'UIView' has been explicitly marked unavailable here
@interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:170:32: error: 'UIView' is unavailable in watchOS
func toDismissAnimation(view: UIView) -> NKModalDismissAnimation {
^~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:147:12: note: 'UIView' has been explicitly marked unavailable here
@interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:185:30: error: 'UIView' is unavailable in watchOS
func toAnimationOption() -> UIView.AnimationOptions {
^~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:147:12: note: 'UIView' has been explicitly marked unavailable here
@interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:198:24: error: 'UIWindow' is unavailable in watchOS
static var keyWindow: UIWindow? {
^~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h:22:12: note: 'UIWindow' has been explicitly marked unavailable here
@interface UIWindow : UIView
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:196:11: error: 'UIWindow' is unavailable in watchOS
extension UIWindow {
^~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h:22:12: note: 'UIWindow' has been explicitly marked unavailable here
@interface UIWindow : UIView
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:233:43: error: 'UIView' is unavailable in watchOS
public fileprivate(set) var contentView: UIView!
^~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:147:12: note: 'UIView' has been explicitly marked unavailable here
@interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:234:25: error: 'UIView' is unavailable in watchOS
public var anchorView: UIView? {
^~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:147:12: note: 'UIView' has been explicitly marked unavailable here
@interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:254:32: error: 'CACornerMask' is unavailable in watchOS
public static var cornerMask: CACornerMask = [.layerMaxXMaxYCorner, .layerMaxXMinYCorner, .layerMinXMaxYCorner, .layerMinXMinYCorner]
^~~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CALayer.h:108:33: note: 'CACornerMask' has been explicitly marked unavailable here
typedef NS_OPTIONS (NSUInteger, CACornerMask)
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:260:25: error: 'CACornerMask' is unavailable in watchOS
public var cornerMask: CACornerMask = NKModalController.cornerMask
^~~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CALayer.h:108:33: note: 'CACornerMask' has been explicitly marked unavailable here
typedef NS_OPTIONS (NSUInteger, CACornerMask)
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:262:22: error: 'UIView' is unavailable in watchOS
let containerView = UIView()
^~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:147:12: note: 'UIView' has been explicitly marked unavailable here
@interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:262:22: error: 'init()' is unavailable in watchOS
let containerView = UIView()
^~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:153:1: note: 'init()' has been explicitly marked unavailable here
- (instancetype)init API_AVAILABLE(ios(2.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:263:14: error: 'UIWindow' is unavailable in watchOS
var window: UIWindow?
^~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h:22:12: note: 'UIWindow' has been explicitly marked unavailable here
@interface UIWindow : UIView
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:264:23: error: 'UIWindow' is unavailable in watchOS
weak var lastWindow: UIWindow?
^~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h:22:12: note: 'UIWindow' has been explicitly marked unavailable here
@interface UIWindow : UIView
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:265:32: error: 'UIView' is unavailable in watchOS
var lastPosition: (container: UIView, frame: CGRect)?
^~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:147:12: note: 'UIView' has been explicitly marked unavailable here
@interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:266:26: error: 'UIImageView' is unavailable in watchOS
var anchorCapturedView: UIImageView?
^~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImageView.h:21:12: note: 'UIImageView' has been explicitly marked unavailable here
@interface UIImageView : UIView
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:267:27: error: 'UIImageView' is unavailable in watchOS
var contentCapturedView: UIImageView?
^~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImageView.h:21:12: note: 'UIImageView' has been explicitly marked unavailable here
@interface UIImageView : UIView
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:268:22: error: 'UIView' is unavailable in watchOS
var transitionView: UIView?
^~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:147:12: note: 'UIView' has been explicitly marked unavailable here
@interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:274:23: error: 'UIInterfaceOrientation' is unavailable in watchOS
var lastOrientation: UIInterfaceOrientation?
^~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIOrientation.h:41:28: note: 'UIInterfaceOrientation' has been explicitly marked unavailable here
typedef NS_ENUM(NSInteger, UIInterfaceOrientation) {
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:276:18: error: 'UITapGestureRecognizer' is unavailable in watchOS
var tapGesture: UITapGestureRecognizer?
^~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITapGestureRecognizer.h:23:12: note: 'UITapGestureRecognizer' has been explicitly marked unavailable here
@interface UITapGestureRecognizer : UIGestureRecognizer
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:277:18: error: 'UIPanGestureRecognizer' is unavailable in watchOS
var panGesture: UIPanGestureRecognizer?
^~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPanGestureRecognizer.h:31:12: note: 'UIPanGestureRecognizer' has been explicitly marked unavailable here
@interface UIPanGestureRecognizer : UIGestureRecognizer
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:279:30: error: 'UIViewController' is unavailable in watchOS
public init(viewController: UIViewController) {
^~~~~~~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:102:12: note: 'UIViewController' has been explicitly marked unavailable here
@interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:700:63: error: 'UIView' is unavailable in watchOS
private func animationBlock(duration: TimeInterval, options: UIView.AnimationOptions, animations: @escaping (() -> Void), completion: ((Bool) -> Void)? = nil) {
^~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:147:12: note: 'UIView' has been explicitly marked unavailable here
@interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:710:31: error: 'UIView' is unavailable in watchOS
private func capture(_ view: UIView) -> UIImageView {
^~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:147:12: note: 'UIView' has been explicitly marked unavailable here
@interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:710:42: error: 'UIImageView' is unavailable in watchOS
private func capture(_ view: UIView) -> UIImageView {
^~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImageView.h:21:12: note: 'UIImageView' has been explicitly marked unavailable here
@interface UIImageView : UIView
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:720:36: error: 'UIView' is unavailable in watchOS
private func captureImage(_ view: UIView) -> UIImage? {
^~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:147:12: note: 'UIView' has been explicitly marked unavailable here
@interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:735:53: error: 'UIImageView' is unavailable in watchOS
private func removeCapturedView(_ imageView: inout UIImageView?) {
^~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImageView.h:21:12: note: 'UIImageView' has been explicitly marked unavailable here
@interface UIImageView : UIView
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:863:30: error: 'UIPanGestureRecognizer' is unavailable in watchOS
@objc func onPan(_ gesture: UIPanGestureRecognizer) {
^~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPanGestureRecognizer.h:31:12: note: 'UIPanGestureRecognizer' has been explicitly marked unavailable here
@interface UIPanGestureRecognizer : UIGestureRecognizer
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:989:22: error: cannot override 'shouldAutorotate' which has been marked unavailable
public override var shouldAutorotate: Bool {
^
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:369:37: note: 'shouldAutorotate' has been explicitly marked unavailable here
@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);
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:989:22: note: remove 'override' modifier to declare a new 'shouldAutorotate'
public override var shouldAutorotate: Bool {
~~~~~~~~~ ^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:966:53: error: 'UIGestureRecognizer' is unavailable in watchOS
public func gestureRecognizer(_ gestureRecognizer: UIGestureRecognizer, shouldReceive touch: UITouch) -> Bool {
^~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGestureRecognizer.h:35:12: note: 'UIGestureRecognizer' has been explicitly marked unavailable here
@interface UIGestureRecognizer : NSObject
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:966:95: error: 'UITouch' is unavailable in watchOS
public func gestureRecognizer(_ gestureRecognizer: UIGestureRecognizer, shouldReceive touch: UITouch) -> Bool {
^~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITouch.h:51:12: note: 'UITouch' has been explicitly marked unavailable here
@interface UITouch : NSObject
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:964:30: error: 'UIGestureRecognizerDelegate' is unavailable in watchOS
extension NKModalController: UIGestureRecognizerDelegate {
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGestureRecognizer.h:91:11: note: 'UIGestureRecognizerDelegate' has been explicitly marked unavailable here
@protocol UIGestureRecognizerDelegate <NSObject>
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:981:53: error: 'UIViewController' is unavailable in watchOS
public fileprivate(set) var contentViewController: UIViewController!
^~~~~~~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:102:12: note: 'UIViewController' has been explicitly marked unavailable here
@interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:983:29: error: 'UIViewController' is unavailable in watchOS
var visibleViewController: UIViewController? {
^~~~~~~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:102:12: note: 'UIViewController' has been explicitly marked unavailable here
@interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:993:54: error: 'UIInterfaceOrientationMask' is unavailable in watchOS
public override var supportedInterfaceOrientations: UIInterfaceOrientationMask {
^~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIOrientation.h:49:32: note: 'UIInterfaceOrientationMask' has been explicitly marked unavailable here
typedef NS_OPTIONS(NSUInteger, UIInterfaceOrientationMask) {
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:997:68: error: 'UIInterfaceOrientation' is unavailable in watchOS
public override var preferredInterfaceOrientationForPresentation: UIInterfaceOrientation {
^~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIOrientation.h:41:28: note: 'UIInterfaceOrientation' has been explicitly marked unavailable here
typedef NS_ENUM(NSInteger, UIInterfaceOrientation) {
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:1011:47: error: 'UIStatusBarStyle' is unavailable in watchOS
public override var preferredStatusBarStyle: UIStatusBarStyle {
^~~~~~~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h:22:28: note: 'UIStatusBarStyle' has been explicitly marked unavailable here
typedef NS_ENUM(NSInteger, UIStatusBarStyle) {
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:1015:57: error: 'UIStatusBarAnimation' is unavailable in watchOS
public override var preferredStatusBarUpdateAnimation: UIStatusBarAnimation {
^~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h:31:28: note: 'UIStatusBarAnimation' has been explicitly marked unavailable here
typedef NS_ENUM(NSInteger, UIStatusBarAnimation) {
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:980:46: error: 'UIViewController' is unavailable in watchOS
public class NKModalContainerViewController: UIViewController {
^~~~~~~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:102:12: note: 'UIViewController' has been explicitly marked unavailable here
@interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:1023:11: error: 'UIViewController' is unavailable in watchOS
extension UIViewController {
^~~~~~~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:102:12: note: 'UIViewController' has been explicitly marked unavailable here
@interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalPresenter.swift:34:38: error: 'UIViewController' is unavailable in watchOS
public func present(viewController: UIViewController, animate: NKModalPresentAnimation? = nil, to position: NKModalPresentPosition? = nil) -> NKModalController {
^~~~~~~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:102:12: note: 'UIViewController' has been explicitly marked unavailable here
@interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalPresenter.swift:43:38: error: 'UIViewController' is unavailable in watchOS
public func dismiss(viewController: UIViewController, animated: Bool, completion: (() -> Void)? = nil) {
^~~~~~~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:102:12: note: 'UIViewController' has been explicitly marked unavailable here
@interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalPresenter.swift:63:57: error: 'UIViewController' is unavailable in watchOS
public func modalController(containing viewController: UIViewController) -> NKModalController? {
^~~~~~~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:102:12: note: 'UIViewController' has been explicitly marked unavailable here
@interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalPresenter.swift:67:47: error: 'UIView' is unavailable in watchOS
public func modalController(containing view: UIView) -> NKModalController? {
^~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:147:12: note: 'UIView' has been explicitly marked unavailable here
@interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalPresenter.swift:83:11: error: 'UIViewController' is unavailable in watchOS
extension UIViewController {
^~~~~~~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:102:12: note: 'UIViewController' has been explicitly marked unavailable here
@interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
^
Failed frontend command:
/Applications/Xcode-26.0.0-Beta.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-watchos5.0 -load-resolved-plugin /Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libFoundationMacros.dylib\#/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#FoundationMacros -load-resolved-plugin /Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libObservationMacros.dylib\#/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#ObservationMacros -load-resolved-plugin /Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libSwiftMacros.dylib\#/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#SwiftMacros -load-resolved-plugin /Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libSwiftUIMacros.dylib\#/Applications/Xcode-26.0.0-Beta.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.build/Objects-normal/arm64/NKModalPresenter-dependencies-1.json -Xllvm -aarch64-use-tbi -enable-objc-interop -sdk /Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -I /Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/Developer/Library/Frameworks -no-color-diagnostics -Xcc -fno-color-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules -swift-version 5 -enforce-exclusivity\=checked -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NKModalPresenter.build/Debug-watchos/NKModalPresenter.build/Objects-normal/arm64/NKModalPresenter_const_extract_protocols.json -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 -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos26.0-23R5280j-041894b46d26f03ea1587ab1cb6ac97e.sdkstatcache -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NKModalPresenter.build/Debug-watchos/NKModalPresenter.build/swift-overrides.hmap -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.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NKModalPresenter.build/Debug-watchos/NKModalPresenter.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NKModalPresenter.build/Debug-watchos/NKModalPresenter.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name NKModalPresenter -frontend-parseable-output -disable-clang-spi -target-sdk-version 26.0 -target-sdk-name watchos26.0 -clang-target arm64-apple-watchos26.0 -emit-module-doc-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NKModalPresenter.build/Debug-watchos/NKModalPresenter.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.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.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.build/Objects-normal/arm64/NKModalPresenter-master-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NKModalPresenter.build/Debug-watchos/NKModalPresenter.build/Objects-normal/arm64/NKModalPresenter-master-emit-module.d -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NKModalPresenter.build/Debug-watchos/NKModalPresenter.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.build/Objects-normal/arm64/NKModalPresenter.abi.json
SwiftCompile normal arm64 Compiling\ NKModalController.swift /Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift (in target 'NKModalPresenter' from project 'NKModalPresenter')
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
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
SwiftEmitModule normal armv7k Emitting\ module\ for\ NKModalPresenter (in target 'NKModalPresenter' from project 'NKModalPresenter')
Failed frontend command:
/Applications/Xcode-26.0.0-Beta.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 armv7k-apple-watchos5.0 -load-resolved-plugin /Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libFoundationMacros.dylib\#/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#FoundationMacros -load-resolved-plugin /Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libObservationMacros.dylib\#/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#ObservationMacros -load-resolved-plugin /Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libSwiftMacros.dylib\#/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#SwiftMacros -load-resolved-plugin /Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libSwiftUIMacros.dylib\#/Applications/Xcode-26.0.0-Beta.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.build/Objects-normal/armv7k/NKModalPresenter-dependencies-3.json -enable-objc-interop -sdk /Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -I /Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/Developer/Library/Frameworks -no-color-diagnostics -Xcc -fno-color-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules -swift-version 5 -enforce-exclusivity\=checked -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NKModalPresenter.build/Debug-watchos/NKModalPresenter.build/Objects-normal/armv7k/NKModalPresenter_const_extract_protocols.json -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 -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos26.0-23R5280j-041894b46d26f03ea1587ab1cb6ac97e.sdkstatcache -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NKModalPresenter.build/Debug-watchos/NKModalPresenter.build/swift-overrides.hmap -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.build/DerivedSources-normal/armv7k -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NKModalPresenter.build/Debug-watchos/NKModalPresenter.build/DerivedSources/armv7k -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NKModalPresenter.build/Debug-watchos/NKModalPresenter.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name NKModalPresenter -frontend-parseable-output -disable-clang-spi -target-sdk-version 26.0 -target-sdk-name watchos26.0 -clang-target armv7k-apple-watchos26.0 -emit-module-doc-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NKModalPresenter.build/Debug-watchos/NKModalPresenter.build/Objects-normal/armv7k/NKModalPresenter.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NKModalPresenter.build/Debug-watchos/NKModalPresenter.build/Objects-normal/armv7k/NKModalPresenter.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NKModalPresenter.build/Debug-watchos/NKModalPresenter.build/Objects-normal/armv7k/NKModalPresenter-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NKModalPresenter.build/Debug-watchos/NKModalPresenter.build/Objects-normal/armv7k/NKModalPresenter-master-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NKModalPresenter.build/Debug-watchos/NKModalPresenter.build/Objects-normal/armv7k/NKModalPresenter-master-emit-module.d -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NKModalPresenter.build/Debug-watchos/NKModalPresenter.build/Objects-normal/armv7k/NKModalPresenter.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NKModalPresenter.build/Debug-watchos/NKModalPresenter.build/Objects-normal/armv7k/NKModalPresenter.abi.json
EmitSwiftModule normal armv7k (in target 'NKModalPresenter' from project 'NKModalPresenter')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:28:18: error: 'UIView' is unavailable in watchOS
case from(view: UIView)
^~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:147:12: note: 'UIView' has been explicitly marked unavailable here
@interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:38:16: error: 'UIView' is unavailable in watchOS
case to(view: UIView)
^~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:147:12: note: 'UIView' has been explicitly marked unavailable here
@interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:50:84: error: 'UIViewController' is unavailable in watchOS
func modalController(_ controller: NKModalController, willPresent viewController: UIViewController)
^~~~~~~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:102:12: note: 'UIViewController' has been explicitly marked unavailable here
@interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:51:83: error: 'UIViewController' is unavailable in watchOS
func modalController(_ controller: NKModalController, didPresent viewController: UIViewController)
^~~~~~~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:102:12: note: 'UIViewController' has been explicitly marked unavailable here
@interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:52:84: error: 'UIViewController' is unavailable in watchOS
func modalController(_ controller: NKModalController, willDismiss viewController: UIViewController)
^~~~~~~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:102:12: note: 'UIViewController' has been explicitly marked unavailable here
@interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:53:83: error: 'UIViewController' is unavailable in watchOS
func modalController(_ controller: NKModalController, didDismiss viewController: UIViewController)
^~~~~~~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:102:12: note: 'UIViewController' has been explicitly marked unavailable here
@interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:54:67: error: 'UIGestureRecognizer' is unavailable in watchOS
func modalController(_ controller: NKModalController, dragState: UIGestureRecognizer.State)
^~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGestureRecognizer.h:35:12: note: 'UIGestureRecognizer' has been explicitly marked unavailable here
@interface UIGestureRecognizer : NSObject
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:61:71: error: 'UIViewController' is unavailable in watchOS
func presentingViewController(modalController: NKModalController) -> UIViewController?
^~~~~~~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:102:12: note: 'UIViewController' has been explicitly marked unavailable here
@interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:62:59: error: 'UIModalPresentationStyle' is unavailable in watchOS
func presentStyle(modalController: NKModalController) -> UIModalPresentationStyle
^~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:47:28: note: 'UIModalPresentationStyle' has been explicitly marked unavailable here
typedef NS_ENUM(NSInteger, UIModalPresentationStyle) {
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:70:57: error: 'CACornerMask' is unavailable in watchOS
func cornerMask(modalController: NKModalController) -> CACornerMask
^~~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CALayer.h:108:33: note: 'CACornerMask' has been explicitly marked unavailable here
typedef NS_OPTIONS (NSUInteger, CACornerMask)
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:71:58: error: 'UIWindow' is unavailable in watchOS
func windowLevel(modalController: NKModalController) -> UIWindow.Level
^~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h:22:12: note: 'UIWindow' has been explicitly marked unavailable here
@interface UIWindow : UIView
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:72:61: error: 'UIView' is unavailable in watchOS
func transitionView(modalController: NKModalController) -> UIView?
^~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:147:12: note: 'UIView' has been explicitly marked unavailable here
@interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:73:72: error: 'UIView' is unavailable in watchOS
func transitionViewContentMode(modalController: NKModalController) -> UIView.ContentMode?
^~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:147:12: note: 'UIView' has been explicitly marked unavailable here
@interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:79:84: error: 'UIViewController' is unavailable in watchOS
func modalController(_ controller: NKModalController, willPresent viewController: UIViewController) {}
^~~~~~~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:102:12: note: 'UIViewController' has been explicitly marked unavailable here
@interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:80:83: error: 'UIViewController' is unavailable in watchOS
func modalController(_ controller: NKModalController, didPresent viewController: UIViewController) {}
^~~~~~~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:102:12: note: 'UIViewController' has been explicitly marked unavailable here
@interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:81:84: error: 'UIViewController' is unavailable in watchOS
func modalController(_ controller: NKModalController, willDismiss viewController: UIViewController) {}
^~~~~~~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:102:12: note: 'UIViewController' has been explicitly marked unavailable here
@interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:82:83: error: 'UIViewController' is unavailable in watchOS
func modalController(_ controller: NKModalController, didDismiss viewController: UIViewController) {}
^~~~~~~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:102:12: note: 'UIViewController' has been explicitly marked unavailable here
@interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:83:67: error: 'UIGestureRecognizer' is unavailable in watchOS
func modalController(_ controller: NKModalController, dragState: UIGestureRecognizer.State) {}
^~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGestureRecognizer.h:35:12: note: 'UIGestureRecognizer' has been explicitly marked unavailable here
@interface UIGestureRecognizer : NSObject
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:90:71: error: 'UIViewController' is unavailable in watchOS
func presentingViewController(modalController: NKModalController) -> UIViewController? { nil }
^~~~~~~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:102:12: note: 'UIViewController' has been explicitly marked unavailable here
@interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:91:59: error: 'UIModalPresentationStyle' is unavailable in watchOS
func presentStyle(modalController: NKModalController) -> UIModalPresentationStyle { .custom }
^~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:47:28: note: 'UIModalPresentationStyle' has been explicitly marked unavailable here
typedef NS_ENUM(NSInteger, UIModalPresentationStyle) {
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:99:57: error: 'CACornerMask' is unavailable in watchOS
func cornerMask(modalController: NKModalController) -> CACornerMask { [.layerMaxXMaxYCorner, .layerMaxXMinYCorner, .layerMinXMaxYCorner, .layerMinXMinYCorner] }
^~~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CALayer.h:108:33: note: 'CACornerMask' has been explicitly marked unavailable here
typedef NS_OPTIONS (NSUInteger, CACornerMask)
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:100:58: error: 'UIWindow' is unavailable in watchOS
func windowLevel(modalController: NKModalController) -> UIWindow.Level { .normal + 1 }
^~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h:22:12: note: 'UIWindow' has been explicitly marked unavailable here
@interface UIWindow : UIView
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:101:61: error: 'UIView' is unavailable in watchOS
func transitionView(modalController: NKModalController) -> UIView? { nil }
^~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:147:12: note: 'UIView' has been explicitly marked unavailable here
@interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:102:72: error: 'UIView' is unavailable in watchOS
func transitionViewContentMode(modalController: NKModalController) -> UIView.ContentMode? { nil }
^~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:147:12: note: 'UIView' has been explicitly marked unavailable here
@interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:108:32: error: 'UIView' is unavailable in watchOS
func toPresentAnimation(view: UIView) -> NKModalPresentAnimation {
^~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:147:12: note: 'UIView' has been explicitly marked unavailable here
@interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:137:32: error: 'UIView' is unavailable in watchOS
func toDismissAnimation(view: UIView) -> NKModalDismissAnimation {
^~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:147:12: note: 'UIView' has been explicitly marked unavailable here
@interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:170:32: error: 'UIView' is unavailable in watchOS
func toDismissAnimation(view: UIView) -> NKModalDismissAnimation {
^~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:147:12: note: 'UIView' has been explicitly marked unavailable here
@interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:185:30: error: 'UIView' is unavailable in watchOS
func toAnimationOption() -> UIView.AnimationOptions {
^~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:147:12: note: 'UIView' has been explicitly marked unavailable here
@interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:198:24: error: 'UIWindow' is unavailable in watchOS
static var keyWindow: UIWindow? {
^~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h:22:12: note: 'UIWindow' has been explicitly marked unavailable here
@interface UIWindow : UIView
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:196:11: error: 'UIWindow' is unavailable in watchOS
extension UIWindow {
^~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h:22:12: note: 'UIWindow' has been explicitly marked unavailable here
@interface UIWindow : UIView
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:233:43: error: 'UIView' is unavailable in watchOS
public fileprivate(set) var contentView: UIView!
^~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:147:12: note: 'UIView' has been explicitly marked unavailable here
@interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:234:25: error: 'UIView' is unavailable in watchOS
public var anchorView: UIView? {
^~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:147:12: note: 'UIView' has been explicitly marked unavailable here
@interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:254:32: error: 'CACornerMask' is unavailable in watchOS
public static var cornerMask: CACornerMask = [.layerMaxXMaxYCorner, .layerMaxXMinYCorner, .layerMinXMaxYCorner, .layerMinXMinYCorner]
^~~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CALayer.h:108:33: note: 'CACornerMask' has been explicitly marked unavailable here
typedef NS_OPTIONS (NSUInteger, CACornerMask)
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:260:25: error: 'CACornerMask' is unavailable in watchOS
public var cornerMask: CACornerMask = NKModalController.cornerMask
^~~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CALayer.h:108:33: note: 'CACornerMask' has been explicitly marked unavailable here
typedef NS_OPTIONS (NSUInteger, CACornerMask)
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:262:22: error: 'UIView' is unavailable in watchOS
let containerView = UIView()
^~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:147:12: note: 'UIView' has been explicitly marked unavailable here
@interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:262:22: error: 'init()' is unavailable in watchOS
let containerView = UIView()
^~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:153:1: note: 'init()' has been explicitly marked unavailable here
- (instancetype)init API_AVAILABLE(ios(2.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:263:14: error: 'UIWindow' is unavailable in watchOS
var window: UIWindow?
^~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h:22:12: note: 'UIWindow' has been explicitly marked unavailable here
@interface UIWindow : UIView
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:264:23: error: 'UIWindow' is unavailable in watchOS
weak var lastWindow: UIWindow?
^~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h:22:12: note: 'UIWindow' has been explicitly marked unavailable here
@interface UIWindow : UIView
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:265:32: error: 'UIView' is unavailable in watchOS
var lastPosition: (container: UIView, frame: CGRect)?
^~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:147:12: note: 'UIView' has been explicitly marked unavailable here
@interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:266:26: error: 'UIImageView' is unavailable in watchOS
var anchorCapturedView: UIImageView?
^~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImageView.h:21:12: note: 'UIImageView' has been explicitly marked unavailable here
@interface UIImageView : UIView
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:267:27: error: 'UIImageView' is unavailable in watchOS
var contentCapturedView: UIImageView?
^~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImageView.h:21:12: note: 'UIImageView' has been explicitly marked unavailable here
@interface UIImageView : UIView
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:268:22: error: 'UIView' is unavailable in watchOS
var transitionView: UIView?
^~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:147:12: note: 'UIView' has been explicitly marked unavailable here
@interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:274:23: error: 'UIInterfaceOrientation' is unavailable in watchOS
var lastOrientation: UIInterfaceOrientation?
^~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIOrientation.h:41:28: note: 'UIInterfaceOrientation' has been explicitly marked unavailable here
typedef NS_ENUM(NSInteger, UIInterfaceOrientation) {
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:276:18: error: 'UITapGestureRecognizer' is unavailable in watchOS
var tapGesture: UITapGestureRecognizer?
^~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITapGestureRecognizer.h:23:12: note: 'UITapGestureRecognizer' has been explicitly marked unavailable here
@interface UITapGestureRecognizer : UIGestureRecognizer
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:277:18: error: 'UIPanGestureRecognizer' is unavailable in watchOS
var panGesture: UIPanGestureRecognizer?
^~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPanGestureRecognizer.h:31:12: note: 'UIPanGestureRecognizer' has been explicitly marked unavailable here
@interface UIPanGestureRecognizer : UIGestureRecognizer
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:279:30: error: 'UIViewController' is unavailable in watchOS
public init(viewController: UIViewController) {
^~~~~~~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:102:12: note: 'UIViewController' has been explicitly marked unavailable here
@interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:700:63: error: 'UIView' is unavailable in watchOS
private func animationBlock(duration: TimeInterval, options: UIView.AnimationOptions, animations: @escaping (() -> Void), completion: ((Bool) -> Void)? = nil) {
^~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:147:12: note: 'UIView' has been explicitly marked unavailable here
@interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:710:31: error: 'UIView' is unavailable in watchOS
private func capture(_ view: UIView) -> UIImageView {
^~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:147:12: note: 'UIView' has been explicitly marked unavailable here
@interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:710:42: error: 'UIImageView' is unavailable in watchOS
private func capture(_ view: UIView) -> UIImageView {
^~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImageView.h:21:12: note: 'UIImageView' has been explicitly marked unavailable here
@interface UIImageView : UIView
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:720:36: error: 'UIView' is unavailable in watchOS
private func captureImage(_ view: UIView) -> UIImage? {
^~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:147:12: note: 'UIView' has been explicitly marked unavailable here
@interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:735:53: error: 'UIImageView' is unavailable in watchOS
private func removeCapturedView(_ imageView: inout UIImageView?) {
^~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImageView.h:21:12: note: 'UIImageView' has been explicitly marked unavailable here
@interface UIImageView : UIView
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:863:30: error: 'UIPanGestureRecognizer' is unavailable in watchOS
@objc func onPan(_ gesture: UIPanGestureRecognizer) {
^~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPanGestureRecognizer.h:31:12: note: 'UIPanGestureRecognizer' has been explicitly marked unavailable here
@interface UIPanGestureRecognizer : UIGestureRecognizer
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:989:22: error: cannot override 'shouldAutorotate' which has been marked unavailable
public override var shouldAutorotate: Bool {
^
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:369:37: note: 'shouldAutorotate' has been explicitly marked unavailable here
@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);
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:989:22: note: remove 'override' modifier to declare a new 'shouldAutorotate'
public override var shouldAutorotate: Bool {
~~~~~~~~~ ^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:966:53: error: 'UIGestureRecognizer' is unavailable in watchOS
public func gestureRecognizer(_ gestureRecognizer: UIGestureRecognizer, shouldReceive touch: UITouch) -> Bool {
^~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGestureRecognizer.h:35:12: note: 'UIGestureRecognizer' has been explicitly marked unavailable here
@interface UIGestureRecognizer : NSObject
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:966:95: error: 'UITouch' is unavailable in watchOS
public func gestureRecognizer(_ gestureRecognizer: UIGestureRecognizer, shouldReceive touch: UITouch) -> Bool {
^~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITouch.h:51:12: note: 'UITouch' has been explicitly marked unavailable here
@interface UITouch : NSObject
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:964:30: error: 'UIGestureRecognizerDelegate' is unavailable in watchOS
extension NKModalController: UIGestureRecognizerDelegate {
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGestureRecognizer.h:91:11: note: 'UIGestureRecognizerDelegate' has been explicitly marked unavailable here
@protocol UIGestureRecognizerDelegate <NSObject>
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:981:53: error: 'UIViewController' is unavailable in watchOS
public fileprivate(set) var contentViewController: UIViewController!
^~~~~~~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:102:12: note: 'UIViewController' has been explicitly marked unavailable here
@interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:983:29: error: 'UIViewController' is unavailable in watchOS
var visibleViewController: UIViewController? {
^~~~~~~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:102:12: note: 'UIViewController' has been explicitly marked unavailable here
@interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:993:54: error: 'UIInterfaceOrientationMask' is unavailable in watchOS
public override var supportedInterfaceOrientations: UIInterfaceOrientationMask {
^~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIOrientation.h:49:32: note: 'UIInterfaceOrientationMask' has been explicitly marked unavailable here
typedef NS_OPTIONS(NSUInteger, UIInterfaceOrientationMask) {
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:997:68: error: 'UIInterfaceOrientation' is unavailable in watchOS
public override var preferredInterfaceOrientationForPresentation: UIInterfaceOrientation {
^~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIOrientation.h:41:28: note: 'UIInterfaceOrientation' has been explicitly marked unavailable here
typedef NS_ENUM(NSInteger, UIInterfaceOrientation) {
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:1011:47: error: 'UIStatusBarStyle' is unavailable in watchOS
public override var preferredStatusBarStyle: UIStatusBarStyle {
^~~~~~~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h:22:28: note: 'UIStatusBarStyle' has been explicitly marked unavailable here
typedef NS_ENUM(NSInteger, UIStatusBarStyle) {
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:1015:57: error: 'UIStatusBarAnimation' is unavailable in watchOS
public override var preferredStatusBarUpdateAnimation: UIStatusBarAnimation {
^~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h:31:28: note: 'UIStatusBarAnimation' has been explicitly marked unavailable here
typedef NS_ENUM(NSInteger, UIStatusBarAnimation) {
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:980:46: error: 'UIViewController' is unavailable in watchOS
public class NKModalContainerViewController: UIViewController {
^~~~~~~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:102:12: note: 'UIViewController' has been explicitly marked unavailable here
@interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:1023:11: error: 'UIViewController' is unavailable in watchOS
extension UIViewController {
^~~~~~~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:102:12: note: 'UIViewController' has been explicitly marked unavailable here
@interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalPresenter.swift:34:38: error: 'UIViewController' is unavailable in watchOS
public func present(viewController: UIViewController, animate: NKModalPresentAnimation? = nil, to position: NKModalPresentPosition? = nil) -> NKModalController {
^~~~~~~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:102:12: note: 'UIViewController' has been explicitly marked unavailable here
@interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalPresenter.swift:43:38: error: 'UIViewController' is unavailable in watchOS
public func dismiss(viewController: UIViewController, animated: Bool, completion: (() -> Void)? = nil) {
^~~~~~~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:102:12: note: 'UIViewController' has been explicitly marked unavailable here
@interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalPresenter.swift:63:57: error: 'UIViewController' is unavailable in watchOS
public func modalController(containing viewController: UIViewController) -> NKModalController? {
^~~~~~~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:102:12: note: 'UIViewController' has been explicitly marked unavailable here
@interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalPresenter.swift:67:47: error: 'UIView' is unavailable in watchOS
public func modalController(containing view: UIView) -> NKModalController? {
^~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:147:12: note: 'UIView' has been explicitly marked unavailable here
@interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalPresenter.swift:83:11: error: 'UIViewController' is unavailable in watchOS
extension UIViewController {
^~~~~~~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:102:12: note: 'UIViewController' has been explicitly marked unavailable here
@interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
^
SwiftEmitModule normal arm64_32 Emitting\ module\ for\ NKModalPresenter (in target 'NKModalPresenter' from project 'NKModalPresenter')
Failed frontend command:
/Applications/Xcode-26.0.0-Beta.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_32-apple-watchos5.0 -load-resolved-plugin /Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libFoundationMacros.dylib\#/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#FoundationMacros -load-resolved-plugin /Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libObservationMacros.dylib\#/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#ObservationMacros -load-resolved-plugin /Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libSwiftMacros.dylib\#/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#SwiftMacros -load-resolved-plugin /Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libSwiftUIMacros.dylib\#/Applications/Xcode-26.0.0-Beta.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.build/Objects-normal/arm64_32/NKModalPresenter-dependencies-2.json -enable-objc-interop -sdk /Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -I /Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/Developer/Library/Frameworks -no-color-diagnostics -Xcc -fno-color-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules -swift-version 5 -enforce-exclusivity\=checked -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NKModalPresenter.build/Debug-watchos/NKModalPresenter.build/Objects-normal/arm64_32/NKModalPresenter_const_extract_protocols.json -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 -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos26.0-23R5280j-041894b46d26f03ea1587ab1cb6ac97e.sdkstatcache -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NKModalPresenter.build/Debug-watchos/NKModalPresenter.build/swift-overrides.hmap -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.build/DerivedSources-normal/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NKModalPresenter.build/Debug-watchos/NKModalPresenter.build/DerivedSources/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NKModalPresenter.build/Debug-watchos/NKModalPresenter.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name NKModalPresenter -frontend-parseable-output -disable-clang-spi -target-sdk-version 26.0 -target-sdk-name watchos26.0 -clang-target arm64_32-apple-watchos26.0 -emit-module-doc-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NKModalPresenter.build/Debug-watchos/NKModalPresenter.build/Objects-normal/arm64_32/NKModalPresenter.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NKModalPresenter.build/Debug-watchos/NKModalPresenter.build/Objects-normal/arm64_32/NKModalPresenter.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NKModalPresenter.build/Debug-watchos/NKModalPresenter.build/Objects-normal/arm64_32/NKModalPresenter-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NKModalPresenter.build/Debug-watchos/NKModalPresenter.build/Objects-normal/arm64_32/NKModalPresenter-master-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NKModalPresenter.build/Debug-watchos/NKModalPresenter.build/Objects-normal/arm64_32/NKModalPresenter-master-emit-module.d -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NKModalPresenter.build/Debug-watchos/NKModalPresenter.build/Objects-normal/arm64_32/NKModalPresenter.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NKModalPresenter.build/Debug-watchos/NKModalPresenter.build/Objects-normal/arm64_32/NKModalPresenter.abi.json
EmitSwiftModule normal arm64_32 (in target 'NKModalPresenter' from project 'NKModalPresenter')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:28:18: error: 'UIView' is unavailable in watchOS
case from(view: UIView)
^~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:147:12: note: 'UIView' has been explicitly marked unavailable here
@interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:38:16: error: 'UIView' is unavailable in watchOS
case to(view: UIView)
^~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:147:12: note: 'UIView' has been explicitly marked unavailable here
@interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:50:84: error: 'UIViewController' is unavailable in watchOS
func modalController(_ controller: NKModalController, willPresent viewController: UIViewController)
^~~~~~~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:102:12: note: 'UIViewController' has been explicitly marked unavailable here
@interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:51:83: error: 'UIViewController' is unavailable in watchOS
func modalController(_ controller: NKModalController, didPresent viewController: UIViewController)
^~~~~~~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:102:12: note: 'UIViewController' has been explicitly marked unavailable here
@interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:52:84: error: 'UIViewController' is unavailable in watchOS
func modalController(_ controller: NKModalController, willDismiss viewController: UIViewController)
^~~~~~~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:102:12: note: 'UIViewController' has been explicitly marked unavailable here
@interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:53:83: error: 'UIViewController' is unavailable in watchOS
func modalController(_ controller: NKModalController, didDismiss viewController: UIViewController)
^~~~~~~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:102:12: note: 'UIViewController' has been explicitly marked unavailable here
@interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:54:67: error: 'UIGestureRecognizer' is unavailable in watchOS
func modalController(_ controller: NKModalController, dragState: UIGestureRecognizer.State)
^~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGestureRecognizer.h:35:12: note: 'UIGestureRecognizer' has been explicitly marked unavailable here
@interface UIGestureRecognizer : NSObject
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:61:71: error: 'UIViewController' is unavailable in watchOS
func presentingViewController(modalController: NKModalController) -> UIViewController?
^~~~~~~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:102:12: note: 'UIViewController' has been explicitly marked unavailable here
@interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:62:59: error: 'UIModalPresentationStyle' is unavailable in watchOS
func presentStyle(modalController: NKModalController) -> UIModalPresentationStyle
^~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:47:28: note: 'UIModalPresentationStyle' has been explicitly marked unavailable here
typedef NS_ENUM(NSInteger, UIModalPresentationStyle) {
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:70:57: error: 'CACornerMask' is unavailable in watchOS
func cornerMask(modalController: NKModalController) -> CACornerMask
^~~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CALayer.h:108:33: note: 'CACornerMask' has been explicitly marked unavailable here
typedef NS_OPTIONS (NSUInteger, CACornerMask)
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:71:58: error: 'UIWindow' is unavailable in watchOS
func windowLevel(modalController: NKModalController) -> UIWindow.Level
^~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h:22:12: note: 'UIWindow' has been explicitly marked unavailable here
@interface UIWindow : UIView
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:72:61: error: 'UIView' is unavailable in watchOS
func transitionView(modalController: NKModalController) -> UIView?
^~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:147:12: note: 'UIView' has been explicitly marked unavailable here
@interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:73:72: error: 'UIView' is unavailable in watchOS
func transitionViewContentMode(modalController: NKModalController) -> UIView.ContentMode?
^~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:147:12: note: 'UIView' has been explicitly marked unavailable here
@interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:79:84: error: 'UIViewController' is unavailable in watchOS
func modalController(_ controller: NKModalController, willPresent viewController: UIViewController) {}
^~~~~~~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:102:12: note: 'UIViewController' has been explicitly marked unavailable here
@interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:80:83: error: 'UIViewController' is unavailable in watchOS
func modalController(_ controller: NKModalController, didPresent viewController: UIViewController) {}
^~~~~~~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:102:12: note: 'UIViewController' has been explicitly marked unavailable here
@interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:81:84: error: 'UIViewController' is unavailable in watchOS
func modalController(_ controller: NKModalController, willDismiss viewController: UIViewController) {}
^~~~~~~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:102:12: note: 'UIViewController' has been explicitly marked unavailable here
@interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:82:83: error: 'UIViewController' is unavailable in watchOS
func modalController(_ controller: NKModalController, didDismiss viewController: UIViewController) {}
^~~~~~~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:102:12: note: 'UIViewController' has been explicitly marked unavailable here
@interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:83:67: error: 'UIGestureRecognizer' is unavailable in watchOS
func modalController(_ controller: NKModalController, dragState: UIGestureRecognizer.State) {}
^~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGestureRecognizer.h:35:12: note: 'UIGestureRecognizer' has been explicitly marked unavailable here
@interface UIGestureRecognizer : NSObject
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:90:71: error: 'UIViewController' is unavailable in watchOS
func presentingViewController(modalController: NKModalController) -> UIViewController? { nil }
^~~~~~~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:102:12: note: 'UIViewController' has been explicitly marked unavailable here
@interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:91:59: error: 'UIModalPresentationStyle' is unavailable in watchOS
func presentStyle(modalController: NKModalController) -> UIModalPresentationStyle { .custom }
^~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:47:28: note: 'UIModalPresentationStyle' has been explicitly marked unavailable here
typedef NS_ENUM(NSInteger, UIModalPresentationStyle) {
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:99:57: error: 'CACornerMask' is unavailable in watchOS
func cornerMask(modalController: NKModalController) -> CACornerMask { [.layerMaxXMaxYCorner, .layerMaxXMinYCorner, .layerMinXMaxYCorner, .layerMinXMinYCorner] }
^~~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CALayer.h:108:33: note: 'CACornerMask' has been explicitly marked unavailable here
typedef NS_OPTIONS (NSUInteger, CACornerMask)
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:100:58: error: 'UIWindow' is unavailable in watchOS
func windowLevel(modalController: NKModalController) -> UIWindow.Level { .normal + 1 }
^~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h:22:12: note: 'UIWindow' has been explicitly marked unavailable here
@interface UIWindow : UIView
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:101:61: error: 'UIView' is unavailable in watchOS
func transitionView(modalController: NKModalController) -> UIView? { nil }
^~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:147:12: note: 'UIView' has been explicitly marked unavailable here
@interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:102:72: error: 'UIView' is unavailable in watchOS
func transitionViewContentMode(modalController: NKModalController) -> UIView.ContentMode? { nil }
^~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:147:12: note: 'UIView' has been explicitly marked unavailable here
@interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:108:32: error: 'UIView' is unavailable in watchOS
func toPresentAnimation(view: UIView) -> NKModalPresentAnimation {
^~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:147:12: note: 'UIView' has been explicitly marked unavailable here
@interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:137:32: error: 'UIView' is unavailable in watchOS
func toDismissAnimation(view: UIView) -> NKModalDismissAnimation {
^~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:147:12: note: 'UIView' has been explicitly marked unavailable here
@interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:170:32: error: 'UIView' is unavailable in watchOS
func toDismissAnimation(view: UIView) -> NKModalDismissAnimation {
^~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:147:12: note: 'UIView' has been explicitly marked unavailable here
@interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:185:30: error: 'UIView' is unavailable in watchOS
func toAnimationOption() -> UIView.AnimationOptions {
^~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:147:12: note: 'UIView' has been explicitly marked unavailable here
@interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:198:24: error: 'UIWindow' is unavailable in watchOS
static var keyWindow: UIWindow? {
^~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h:22:12: note: 'UIWindow' has been explicitly marked unavailable here
@interface UIWindow : UIView
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:196:11: error: 'UIWindow' is unavailable in watchOS
extension UIWindow {
^~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h:22:12: note: 'UIWindow' has been explicitly marked unavailable here
@interface UIWindow : UIView
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:233:43: error: 'UIView' is unavailable in watchOS
public fileprivate(set) var contentView: UIView!
^~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:147:12: note: 'UIView' has been explicitly marked unavailable here
@interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:234:25: error: 'UIView' is unavailable in watchOS
public var anchorView: UIView? {
^~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:147:12: note: 'UIView' has been explicitly marked unavailable here
@interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:254:32: error: 'CACornerMask' is unavailable in watchOS
public static var cornerMask: CACornerMask = [.layerMaxXMaxYCorner, .layerMaxXMinYCorner, .layerMinXMaxYCorner, .layerMinXMinYCorner]
^~~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CALayer.h:108:33: note: 'CACornerMask' has been explicitly marked unavailable here
typedef NS_OPTIONS (NSUInteger, CACornerMask)
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:260:25: error: 'CACornerMask' is unavailable in watchOS
public var cornerMask: CACornerMask = NKModalController.cornerMask
^~~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CALayer.h:108:33: note: 'CACornerMask' has been explicitly marked unavailable here
typedef NS_OPTIONS (NSUInteger, CACornerMask)
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:262:22: error: 'UIView' is unavailable in watchOS
let containerView = UIView()
^~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:147:12: note: 'UIView' has been explicitly marked unavailable here
@interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:262:22: error: 'init()' is unavailable in watchOS
let containerView = UIView()
^~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:153:1: note: 'init()' has been explicitly marked unavailable here
- (instancetype)init API_AVAILABLE(ios(2.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:263:14: error: 'UIWindow' is unavailable in watchOS
var window: UIWindow?
^~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h:22:12: note: 'UIWindow' has been explicitly marked unavailable here
@interface UIWindow : UIView
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:264:23: error: 'UIWindow' is unavailable in watchOS
weak var lastWindow: UIWindow?
^~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h:22:12: note: 'UIWindow' has been explicitly marked unavailable here
@interface UIWindow : UIView
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:265:32: error: 'UIView' is unavailable in watchOS
var lastPosition: (container: UIView, frame: CGRect)?
^~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:147:12: note: 'UIView' has been explicitly marked unavailable here
@interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:266:26: error: 'UIImageView' is unavailable in watchOS
var anchorCapturedView: UIImageView?
^~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImageView.h:21:12: note: 'UIImageView' has been explicitly marked unavailable here
@interface UIImageView : UIView
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:267:27: error: 'UIImageView' is unavailable in watchOS
var contentCapturedView: UIImageView?
^~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImageView.h:21:12: note: 'UIImageView' has been explicitly marked unavailable here
@interface UIImageView : UIView
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:268:22: error: 'UIView' is unavailable in watchOS
var transitionView: UIView?
^~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:147:12: note: 'UIView' has been explicitly marked unavailable here
@interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:274:23: error: 'UIInterfaceOrientation' is unavailable in watchOS
var lastOrientation: UIInterfaceOrientation?
^~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIOrientation.h:41:28: note: 'UIInterfaceOrientation' has been explicitly marked unavailable here
typedef NS_ENUM(NSInteger, UIInterfaceOrientation) {
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:276:18: error: 'UITapGestureRecognizer' is unavailable in watchOS
var tapGesture: UITapGestureRecognizer?
^~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITapGestureRecognizer.h:23:12: note: 'UITapGestureRecognizer' has been explicitly marked unavailable here
@interface UITapGestureRecognizer : UIGestureRecognizer
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:277:18: error: 'UIPanGestureRecognizer' is unavailable in watchOS
var panGesture: UIPanGestureRecognizer?
^~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPanGestureRecognizer.h:31:12: note: 'UIPanGestureRecognizer' has been explicitly marked unavailable here
@interface UIPanGestureRecognizer : UIGestureRecognizer
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:279:30: error: 'UIViewController' is unavailable in watchOS
public init(viewController: UIViewController) {
^~~~~~~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:102:12: note: 'UIViewController' has been explicitly marked unavailable here
@interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:700:63: error: 'UIView' is unavailable in watchOS
private func animationBlock(duration: TimeInterval, options: UIView.AnimationOptions, animations: @escaping (() -> Void), completion: ((Bool) -> Void)? = nil) {
^~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:147:12: note: 'UIView' has been explicitly marked unavailable here
@interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:710:31: error: 'UIView' is unavailable in watchOS
private func capture(_ view: UIView) -> UIImageView {
^~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:147:12: note: 'UIView' has been explicitly marked unavailable here
@interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:710:42: error: 'UIImageView' is unavailable in watchOS
private func capture(_ view: UIView) -> UIImageView {
^~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImageView.h:21:12: note: 'UIImageView' has been explicitly marked unavailable here
@interface UIImageView : UIView
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:720:36: error: 'UIView' is unavailable in watchOS
private func captureImage(_ view: UIView) -> UIImage? {
^~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:147:12: note: 'UIView' has been explicitly marked unavailable here
@interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:735:53: error: 'UIImageView' is unavailable in watchOS
private func removeCapturedView(_ imageView: inout UIImageView?) {
^~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImageView.h:21:12: note: 'UIImageView' has been explicitly marked unavailable here
@interface UIImageView : UIView
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:863:30: error: 'UIPanGestureRecognizer' is unavailable in watchOS
@objc func onPan(_ gesture: UIPanGestureRecognizer) {
^~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPanGestureRecognizer.h:31:12: note: 'UIPanGestureRecognizer' has been explicitly marked unavailable here
@interface UIPanGestureRecognizer : UIGestureRecognizer
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:989:22: error: cannot override 'shouldAutorotate' which has been marked unavailable
public override var shouldAutorotate: Bool {
^
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:369:37: note: 'shouldAutorotate' has been explicitly marked unavailable here
@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);
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:989:22: note: remove 'override' modifier to declare a new 'shouldAutorotate'
public override var shouldAutorotate: Bool {
~~~~~~~~~ ^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:966:53: error: 'UIGestureRecognizer' is unavailable in watchOS
public func gestureRecognizer(_ gestureRecognizer: UIGestureRecognizer, shouldReceive touch: UITouch) -> Bool {
^~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGestureRecognizer.h:35:12: note: 'UIGestureRecognizer' has been explicitly marked unavailable here
@interface UIGestureRecognizer : NSObject
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:966:95: error: 'UITouch' is unavailable in watchOS
public func gestureRecognizer(_ gestureRecognizer: UIGestureRecognizer, shouldReceive touch: UITouch) -> Bool {
^~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITouch.h:51:12: note: 'UITouch' has been explicitly marked unavailable here
@interface UITouch : NSObject
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:964:30: error: 'UIGestureRecognizerDelegate' is unavailable in watchOS
extension NKModalController: UIGestureRecognizerDelegate {
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGestureRecognizer.h:91:11: note: 'UIGestureRecognizerDelegate' has been explicitly marked unavailable here
@protocol UIGestureRecognizerDelegate <NSObject>
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:981:53: error: 'UIViewController' is unavailable in watchOS
public fileprivate(set) var contentViewController: UIViewController!
^~~~~~~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:102:12: note: 'UIViewController' has been explicitly marked unavailable here
@interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:983:29: error: 'UIViewController' is unavailable in watchOS
var visibleViewController: UIViewController? {
^~~~~~~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:102:12: note: 'UIViewController' has been explicitly marked unavailable here
@interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:993:54: error: 'UIInterfaceOrientationMask' is unavailable in watchOS
public override var supportedInterfaceOrientations: UIInterfaceOrientationMask {
^~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIOrientation.h:49:32: note: 'UIInterfaceOrientationMask' has been explicitly marked unavailable here
typedef NS_OPTIONS(NSUInteger, UIInterfaceOrientationMask) {
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:997:68: error: 'UIInterfaceOrientation' is unavailable in watchOS
public override var preferredInterfaceOrientationForPresentation: UIInterfaceOrientation {
^~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIOrientation.h:41:28: note: 'UIInterfaceOrientation' has been explicitly marked unavailable here
typedef NS_ENUM(NSInteger, UIInterfaceOrientation) {
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:1011:47: error: 'UIStatusBarStyle' is unavailable in watchOS
public override var preferredStatusBarStyle: UIStatusBarStyle {
^~~~~~~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h:22:28: note: 'UIStatusBarStyle' has been explicitly marked unavailable here
typedef NS_ENUM(NSInteger, UIStatusBarStyle) {
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:1015:57: error: 'UIStatusBarAnimation' is unavailable in watchOS
public override var preferredStatusBarUpdateAnimation: UIStatusBarAnimation {
^~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h:31:28: note: 'UIStatusBarAnimation' has been explicitly marked unavailable here
typedef NS_ENUM(NSInteger, UIStatusBarAnimation) {
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:980:46: error: 'UIViewController' is unavailable in watchOS
public class NKModalContainerViewController: UIViewController {
^~~~~~~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:102:12: note: 'UIViewController' has been explicitly marked unavailable here
@interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:1023:11: error: 'UIViewController' is unavailable in watchOS
extension UIViewController {
^~~~~~~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:102:12: note: 'UIViewController' has been explicitly marked unavailable here
@interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalPresenter.swift:34:38: error: 'UIViewController' is unavailable in watchOS
public func present(viewController: UIViewController, animate: NKModalPresentAnimation? = nil, to position: NKModalPresentPosition? = nil) -> NKModalController {
^~~~~~~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:102:12: note: 'UIViewController' has been explicitly marked unavailable here
@interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalPresenter.swift:43:38: error: 'UIViewController' is unavailable in watchOS
public func dismiss(viewController: UIViewController, animated: Bool, completion: (() -> Void)? = nil) {
^~~~~~~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:102:12: note: 'UIViewController' has been explicitly marked unavailable here
@interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalPresenter.swift:63:57: error: 'UIViewController' is unavailable in watchOS
public func modalController(containing viewController: UIViewController) -> NKModalController? {
^~~~~~~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:102:12: note: 'UIViewController' has been explicitly marked unavailable here
@interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalPresenter.swift:67:47: error: 'UIView' is unavailable in watchOS
public func modalController(containing view: UIView) -> NKModalController? {
^~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:147:12: note: 'UIView' has been explicitly marked unavailable here
@interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
^
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalPresenter.swift:83:11: error: 'UIViewController' is unavailable in watchOS
extension UIViewController {
^~~~~~~~~~~~~~~~
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:102:12: note: 'UIViewController' has been explicitly marked unavailable here
@interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
^
SwiftCompile normal armv7k Compiling\ NKModalController.swift /Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift (in target 'NKModalPresenter' from project 'NKModalPresenter')
SwiftCompile normal armv7k /Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift (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
SwiftCompile normal arm64_32 Compiling\ NKModalController.swift /Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift (in target 'NKModalPresenter' from project 'NKModalPresenter')
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
SwiftCompile normal armv7k Compiling\ NKModalPresenter.swift /Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalPresenter.swift (in target 'NKModalPresenter' from project 'NKModalPresenter')
SwiftCompile normal armv7k /Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalPresenter.swift (in target 'NKModalPresenter' from project 'NKModalPresenter')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
** BUILD FAILED **
The following build commands failed:
EmitSwiftModule normal arm64 (in target 'NKModalPresenter' from project 'NKModalPresenter')
SwiftEmitModule normal arm64 Emitting\ module\ for\ NKModalPresenter (in target 'NKModalPresenter' from project 'NKModalPresenter')
SwiftEmitModule normal armv7k Emitting\ module\ for\ NKModalPresenter (in target 'NKModalPresenter' from project 'NKModalPresenter')
EmitSwiftModule normal armv7k (in target 'NKModalPresenter' from project 'NKModalPresenter')
SwiftEmitModule normal arm64_32 Emitting\ module\ for\ NKModalPresenter (in target 'NKModalPresenter' from project 'NKModalPresenter')
EmitSwiftModule normal arm64_32 (in target 'NKModalPresenter' from project 'NKModalPresenter')
Building workspace spi-builder-workspace with scheme NKModalPresenter
(7 failures)
BUILD FAILURE 6.2 watchOS