Build Information
Failed to build ModalKit, reference main (a62bda), with Swift 6.4 for watchOS using Xcode 27.0 on 21 Sep 2026 18:09:56 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme ModalKit -destination generic/platform=watchOSBuild Log
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/ModalKit/Extension/UIViewController.swift:19:57: error: 'UIViewController' is unavailable in watchOS
17 | /// - animated: Whether to animate the presentation
18 | /// - completion: A closure to execute after the presentation finishes. Defaults to `nil`.
19 | public func presentModal(_ viewControllerToPresent: UIViewController,
| `- error: 'UIViewController' is unavailable in watchOS
20 | animated: Bool = true,
21 | completion: (() -> Void)? = nil) {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/ModalKit/Extension/UIViewController.swift:12:11: error: 'UIViewController' is unavailable in watchOS
10 |
11 | /// Extension on `UIViewController` to provide modal presentation functionality with a custom presentation style.
12 | extension UIViewController {
| `- error: 'UIViewController' is unavailable in watchOS
13 | /// Presents a view controller modally using the custom `MKPresentationManager`.
14 | ///
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/ModalKit/View/DimmingView.swift:63:46: error: 'UIGestureRecognizer' is unavailable in watchOS
61 | // MARK: - Methods
62 |
63 | @objc private func didTapView(_ gesture: UIGestureRecognizer) {
| `- error: 'UIGestureRecognizer' is unavailable in watchOS
64 | handler?()
65 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGestureRecognizer.h:35:12: note: 'UIGestureRecognizer' has been explicitly marked unavailable here
33 |
34 | UIKIT_EXTERN API_AVAILABLE(ios(3.2)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
35 | @interface UIGestureRecognizer : NSObject
| `- note: 'UIGestureRecognizer' has been explicitly marked unavailable here
36 |
37 | // Valid action method signatures:
/Users/admin/builder/spi-builder-workspace/Sources/ModalKit/View/DimmingView.swift:13:25: error: 'UIView' is unavailable in watchOS
11 | /// A custom view that dims the background when presented.
12 | /// It supports visibility states and allows for tap gestures with customizable handlers.
13 | open class DimmingView: UIView {
| `- error: 'UIView' is unavailable in watchOS
14 | // MARK: - State
15 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
Failed frontend command:
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /Users/admin/builder/spi-builder-workspace/Sources/ModalKit/Animator/MKPresentationAnimator.swift /Users/admin/builder/spi-builder-workspace/Sources/ModalKit/Controller/MKPresentationController.swift /Users/admin/builder/spi-builder-workspace/Sources/ModalKit/Controller/MKPresentationSize.swift /Users/admin/builder/spi-builder-workspace/Sources/ModalKit/Controller/Presentable/MKPresentable+UIViewController.swift /Users/admin/builder/spi-builder-workspace/Sources/ModalKit/Controller/Presentable/MKPresentable.swift /Users/admin/builder/spi-builder-workspace/Sources/ModalKit/Controller/Presentable/MKPresentableConfiguration.swift /Users/admin/builder/spi-builder-workspace/Sources/ModalKit/Delegate/MKPresentationManager.swift /Users/admin/builder/spi-builder-workspace/Sources/ModalKit/Extension/Sequence.swift /Users/admin/builder/spi-builder-workspace/Sources/ModalKit/Extension/UIColor.swift /Users/admin/builder/spi-builder-workspace/Sources/ModalKit/Extension/UIEdgeInsets.swift /Users/admin/builder/spi-builder-workspace/Sources/ModalKit/Extension/UIView.swift /Users/admin/builder/spi-builder-workspace/Sources/ModalKit/Extension/UIViewController.swift /Users/admin/builder/spi-builder-workspace/Sources/ModalKit/View/DimmingView.swift -target arm64_32-apple-watchos9.0 -disable-cross-import-overlay-search -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libFoundationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#FoundationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libObservationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#ObservationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libSwiftMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#SwiftMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libSwiftUIMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#SwiftUIMacros -disable-implicit-swift-modules -Xcc -fno-implicit-modules -Xcc -fno-implicit-module-maps -explicit-swift-module-map-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ModalKit.build/Debug-watchos/ModalKit-t.build/Objects-normal/arm64_32/ModalKit-dependencies-2.json -enable-objc-interop -sdk /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/Developer/Library/Frameworks -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules -no-color-diagnostics -Xcc -fno-color-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -swift-version 5 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -enable-anonymous-context-mangled-names -file-compilation-dir /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos27.0-24R360-e829b21a6f8c9b70876ba0858053c04477534ef55a1706bf4c1112bbb242f0a2.sdkstatcache -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ModalKit.build/Debug-watchos/ModalKit-t.build/DerivedSources-normal/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ModalKit.build/Debug-watchos/ModalKit-t.build/DerivedSources/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ModalKit.build/Debug-watchos/ModalKit-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name ModalKit -package-name spi_builder_workspace -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ModalKit.build/Debug-watchos/ModalKit-t.build/Objects-normal/arm64_32/ModalKit_const_extract_protocols.json -disable-clang-spi -clang-target arm64_32-apple-watchos27.0 -target-sdk-version 27.0 -target-sdk-name watchos27.0 -in-process-plugin-server-path /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/libSwiftInProcPluginServer.dylib -emit-module-doc-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ModalKit.build/Debug-watchos/ModalKit-t.build/Objects-normal/arm64_32/ModalKit.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ModalKit.build/Debug-watchos/ModalKit-t.build/Objects-normal/arm64_32/ModalKit.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ModalKit.build/Debug-watchos/ModalKit-t.build/Objects-normal/arm64_32/ModalKit-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ModalKit.build/Debug-watchos/ModalKit-t.build/Objects-normal/arm64_32/ModalKit-primary-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ModalKit.build/Debug-watchos/ModalKit-t.build/Objects-normal/arm64_32/ModalKit-primary-emit-module.d -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ModalKit.build/Debug-watchos/ModalKit-t.build/Objects-normal/arm64_32/ModalKit.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ModalKit.build/Debug-watchos/ModalKit-t.build/Objects-normal/arm64_32/ModalKit.abi.json
SwiftCompile normal arm64_32 (in target 'ModalKit' from project 'ModalKit')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64_32 Compiling\ MKPresentationAnimator.swift,\ MKPresentationController.swift /Users/admin/builder/spi-builder-workspace/Sources/ModalKit/Animator/MKPresentationAnimator.swift /Users/admin/builder/spi-builder-workspace/Sources/ModalKit/Controller/MKPresentationController.swift (in target 'ModalKit' from project 'ModalKit')
/Users/admin/builder/spi-builder-workspace/Sources/ModalKit/Animator/MKPresentationAnimator.swift:37:34: error: 'UIViewControllerContextTransitioning' is unavailable in watchOS
35 |
36 | public func transitionDuration(
37 | using transitionContext: UIViewControllerContextTransitioning?
| `- error: 'UIViewControllerContextTransitioning' is unavailable in watchOS
38 | ) -> TimeInterval {
39 | return tranistionDuration
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewControllerTransitioning.h:68:11: note: 'UIViewControllerContextTransitioning' has been explicitly marked unavailable here
66 |
67 | API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
68 | @protocol UIViewControllerContextTransitioning <NSObject>
| `- note: 'UIViewControllerContextTransitioning' has been explicitly marked unavailable here
69 |
70 | // The view in which the animated transition should take place.
/Users/admin/builder/spi-builder-workspace/Sources/ModalKit/Animator/MKPresentationAnimator.swift:42:60: error: 'UIViewControllerContextTransitioning' is unavailable in watchOS
40 | }
41 |
42 | public func animateTransition(using transitionContext: UIViewControllerContextTransitioning) {
| `- error: 'UIViewControllerContextTransitioning' is unavailable in watchOS
43 | let key: UITransitionContextViewControllerKey = isPresenting ? .to : .from
44 | // Retrieve the view controller for the transition
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewControllerTransitioning.h:68:11: note: 'UIViewControllerContextTransitioning' has been explicitly marked unavailable here
66 |
67 | API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
68 | @protocol UIViewControllerContextTransitioning <NSObject>
| `- note: 'UIViewControllerContextTransitioning' has been explicitly marked unavailable here
69 |
70 | // The view in which the animated transition should take place.
/Users/admin/builder/spi-builder-workspace/Sources/ModalKit/Animator/MKPresentationAnimator.swift:13:54: error: 'UIViewControllerAnimatedTransitioning' is unavailable in watchOS
11 | /// `MKPresentationAnimator` is responsible for managing the presentation and dismissal.
12 | /// It conforms to `UIViewControllerAnimatedTransitioning` to provide custom transition animations.
13 | public final class MKPresentationAnimator: NSObject, UIViewControllerAnimatedTransitioning {
| `- error: 'UIViewControllerAnimatedTransitioning' is unavailable in watchOS
14 | // MARK: Properties
15 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewControllerTransitioning.h:137:11: note: 'UIViewControllerAnimatedTransitioning' has been explicitly marked unavailable here
135 |
136 | API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
137 | @protocol UIViewControllerAnimatedTransitioning <NSObject>
| `- note: 'UIViewControllerAnimatedTransitioning' has been explicitly marked unavailable here
138 |
139 | // This is used for percent driven interactive transitions, as well as for
/Users/admin/builder/spi-builder-workspace/Sources/ModalKit/Animator/MKPresentationAnimator.swift:43:18: error: 'UITransitionContextViewControllerKey' is unavailable in watchOS
41 |
42 | public func animateTransition(using transitionContext: UIViewControllerContextTransitioning) {
43 | let key: UITransitionContextViewControllerKey = isPresenting ? .to : .from
| `- error: 'UITransitionContextViewControllerKey' is unavailable in watchOS
44 | // Retrieve the view controller for the transition
45 | guard let controller = transitionContext.viewController(forKey: key) else { return }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewControllerTransitionCoordinator.h:16:20: note: 'UITransitionContextViewControllerKey' has been explicitly marked unavailable here
14 | NS_HEADER_AUDIT_BEGIN(nullability, sendability)
15 |
16 | typedef NSString * UITransitionContextViewControllerKey NS_TYPED_ENUM API_UNAVAILABLE(watchos);
| `- note: 'UITransitionContextViewControllerKey' has been explicitly marked unavailable here
17 | typedef NSString * UITransitionContextViewKey NS_TYPED_ENUM API_UNAVAILABLE(watchos);
18 |
/Users/admin/builder/spi-builder-workspace/Sources/ModalKit/Animator/MKPresentationAnimator.swift:43:73: error: 'to' is unavailable in watchOS
41 |
42 | public func animateTransition(using transitionContext: UIViewControllerContextTransitioning) {
43 | let key: UITransitionContextViewControllerKey = isPresenting ? .to : .from
| `- error: 'to' is unavailable in watchOS
44 | // Retrieve the view controller for the transition
45 | guard let controller = transitionContext.viewController(forKey: key) else { return }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewControllerTransitioning.h:24:57: note: 'to' has been explicitly marked unavailable here
22 |
23 | UIKIT_EXTERN UITransitionContextViewControllerKey const UITransitionContextFromViewControllerKey API_UNAVAILABLE(watchos) NS_SWIFT_NAME(from) API_AVAILABLE(ios(7.0));
24 | UIKIT_EXTERN UITransitionContextViewControllerKey const UITransitionContextToViewControllerKey API_UNAVAILABLE(watchos) NS_SWIFT_NAME(to) API_AVAILABLE(ios(7.0));
| `- note: 'to' has been explicitly marked unavailable here
25 |
26 | UIKIT_EXTERN UITransitionContextViewKey const UITransitionContextFromViewKey API_UNAVAILABLE(watchos) NS_SWIFT_NAME(from) API_AVAILABLE(ios(8.0));
/Users/admin/builder/spi-builder-workspace/Sources/ModalKit/Animator/MKPresentationAnimator.swift:43:79: error: 'from' is unavailable in watchOS
41 |
42 | public func animateTransition(using transitionContext: UIViewControllerContextTransitioning) {
43 | let key: UITransitionContextViewControllerKey = isPresenting ? .to : .from
| `- error: 'from' is unavailable in watchOS
44 | // Retrieve the view controller for the transition
45 | guard let controller = transitionContext.viewController(forKey: key) else { return }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewControllerTransitioning.h:23:57: note: 'from' has been explicitly marked unavailable here
21 | // that are created by the system.
22 |
23 | UIKIT_EXTERN UITransitionContextViewControllerKey const UITransitionContextFromViewControllerKey API_UNAVAILABLE(watchos) NS_SWIFT_NAME(from) API_AVAILABLE(ios(7.0));
| `- note: 'from' has been explicitly marked unavailable here
24 | UIKIT_EXTERN UITransitionContextViewControllerKey const UITransitionContextToViewControllerKey API_UNAVAILABLE(watchos) NS_SWIFT_NAME(to) API_AVAILABLE(ios(7.0));
25 |
/Users/admin/builder/spi-builder-workspace/Sources/ModalKit/Animator/MKPresentationAnimator.swift:47:47: error: 'containerView' is unavailable in watchOS
45 | guard let controller = transitionContext.viewController(forKey: key) else { return }
46 |
47 | let containerView = transitionContext.containerView
| `- error: 'containerView' is unavailable in watchOS
48 | if isPresenting {
49 | containerView.addSubview(controller.view)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewControllerTransitioning.h:71:40: note: 'containerView' has been explicitly marked unavailable here
69 |
70 | // The view in which the animated transition should take place.
71 | @property(nonatomic, readonly) UIView *containerView API_UNAVAILABLE(watchos);
| `- note: 'containerView' has been explicitly marked unavailable here
72 |
73 | // Most of the time this is YES. For custom transitions that use the new UIModalPresentationCustom
/Users/admin/builder/spi-builder-workspace/Sources/ModalKit/Animator/MKPresentationAnimator.swift:64:9: error: 'UIView' is unavailable in watchOS
62 | let animationDuration = transitionDuration(using: transitionContext)
63 | controller.view.frame = initialFrame
64 | UIView.animate(withDuration: animationDuration,
| `- error: 'UIView' is unavailable in watchOS
65 | delay: 0,
66 | usingSpringWithDamping: 1.0,
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/ModalKit/Controller/MKPresentationController.swift:23:35: error: 'UIView' is unavailable in watchOS
21 |
22 | /// The drag indicator shown at the top of the modal, allowing users to drag it.
23 | open lazy var swipeIndicator: UIView = {
| `- error: 'UIView' is unavailable in watchOS
24 | let view = UIView()
25 | view.backgroundColor = config.dragIndicatorColor
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/ModalKit/Controller/MKPresentationController.swift:24:20: error: 'UIView' is unavailable in watchOS
22 | /// The drag indicator shown at the top of the modal, allowing users to drag it.
23 | open lazy var swipeIndicator: UIView = {
24 | let view = UIView()
| `- error: 'UIView' is unavailable in watchOS
25 | view.backgroundColor = config.dragIndicatorColor
26 | return view
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/ModalKit/Controller/MKPresentationController.swift:24:20: error: 'init()' is unavailable in watchOS
22 | /// The drag indicator shown at the top of the modal, allowing users to drag it.
23 | open lazy var swipeIndicator: UIView = {
24 | let view = UIView()
| `- error: 'init()' is unavailable in watchOS
25 | view.backgroundColor = config.dragIndicatorColor
26 | return view
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:158:1: note: 'init()' has been explicitly marked unavailable here
156 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER;
157 | - (nullable instancetype)initWithCoder:(NSCoder *)coder NS_DESIGNATED_INITIALIZER;
158 | - (instancetype)init API_AVAILABLE(ios(2.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
| `- note: 'init()' has been explicitly marked unavailable here
159 |
160 | @property(nonatomic,getter=isUserInteractionEnabled) BOOL userInteractionEnabled; // default is YES. if set to NO, user events (touch, keys) are ignored and removed from the event queue.
/Users/admin/builder/spi-builder-workspace/Sources/ModalKit/Controller/MKPresentationController.swift:30:41: error: 'UIPanGestureRecognizer' is unavailable in watchOS
28 |
29 | /// The gesture recognizer for dragging the modal view.
30 | open lazy var panGestureRecognizer: UIPanGestureRecognizer = {
| `- error: 'UIPanGestureRecognizer' is unavailable in watchOS
31 | let gesture = UIPanGestureRecognizer(target: self, action: #selector(handlePanGesture(_:)))
32 | gesture.minimumNumberOfTouches = 1
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPanGestureRecognizer.h:31:12: note: 'UIPanGestureRecognizer' has been explicitly marked unavailable here
29 |
30 | UIKIT_EXTERN API_AVAILABLE(ios(3.2)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
31 | @interface UIPanGestureRecognizer : UIGestureRecognizer
| `- note: 'UIPanGestureRecognizer' has been explicitly marked unavailable here
32 |
33 | @property (nonatomic) NSUInteger minimumNumberOfTouches API_UNAVAILABLE(tvos); // default is 1. the minimum number of touches required to match
/Users/admin/builder/spi-builder-workspace/Sources/ModalKit/Controller/MKPresentationController.swift:31:23: error: 'UIPanGestureRecognizer' is unavailable in watchOS
29 | /// The gesture recognizer for dragging the modal view.
30 | open lazy var panGestureRecognizer: UIPanGestureRecognizer = {
31 | let gesture = UIPanGestureRecognizer(target: self, action: #selector(handlePanGesture(_:)))
| `- error: 'UIPanGestureRecognizer' is unavailable in watchOS
32 | gesture.minimumNumberOfTouches = 1
33 | gesture.maximumNumberOfTouches = 1
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPanGestureRecognizer.h:31:12: note: 'UIPanGestureRecognizer' has been explicitly marked unavailable here
29 |
30 | UIKIT_EXTERN API_AVAILABLE(ios(3.2)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
31 | @interface UIPanGestureRecognizer : UIGestureRecognizer
| `- note: 'UIPanGestureRecognizer' has been explicitly marked unavailable here
32 |
33 | @property (nonatomic) NSUInteger minimumNumberOfTouches API_UNAVAILABLE(tvos); // default is 1. the minimum number of touches required to match
/Users/admin/builder/spi-builder-workspace/Sources/ModalKit/Controller/MKPresentationController.swift:39:17: error: 'name' is unavailable in watchOS
37 | gesture.delaysTouchesEnded = false
38 |
39 | gesture.name = "mkpresentationcontroller.pangesture"
| `- error: 'name' is unavailable in watchOS
40 | gesture.delegate = self
41 | return gesture
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGestureRecognizer.h:80:49: note: 'name' has been explicitly marked unavailable here
78 | - (CGPoint)locationOfTouch:(NSUInteger)touchIndex inView:(nullable UIView*)view; // the location of a particular touch
79 |
80 | @property (nullable, nonatomic, copy) NSString *name API_AVAILABLE(ios(11.0), tvos(11.0)) API_UNAVAILABLE(watchos); // name for debugging to appear in logging
| `- note: 'name' has been explicitly marked unavailable here
81 |
82 | // Values from the last event processed.
/Users/admin/builder/spi-builder-workspace/Sources/ModalKit/Controller/Presentable/MKPresentableConfiguration.swift:45:48: error: 'label' is unavailable in watchOS
43 | showDragIndicator: Bool = true,
44 | dragIndicatorSize: CGSize = .init(width: 40, height: 5),
45 | dragIndicatorColor: UIColor = .label,
| `- error: 'label' is unavailable in watchOS
46 | dismissibleScale: CGFloat = 0.6
47 | ) {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIInterface.h:171:49: note: 'label' has been explicitly marked unavailable here
169 | /* Foreground colors for static text and related elements.
170 | */
171 | @property (class, nonatomic, readonly) UIColor *labelColor API_AVAILABLE(ios(13.0), tvos(13.0)) API_UNAVAILABLE(watchos);
| `- note: 'label' has been explicitly marked unavailable here
172 | @property (class, nonatomic, readonly) UIColor *secondaryLabelColor API_AVAILABLE(ios(13.0), tvos(13.0)) API_UNAVAILABLE(watchos);
173 | @property (class, nonatomic, readonly) UIColor *tertiaryLabelColor API_AVAILABLE(ios(13.0), tvos(13.0)) API_UNAVAILABLE(watchos);
/Users/admin/builder/spi-builder-workspace/Sources/ModalKit/Controller/MKPresentationController.swift:91:28: error: 'UIWindow' is unavailable in watchOS
89 |
90 | /// The current key window.
91 | private var keyWindow: UIWindow? {
| `- error: 'UIWindow' is unavailable in watchOS
92 | UIApplication.shared.connectedScenes
93 | .flatMap { ($0 as? UIWindowScene)?.windows ?? [] }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h:22:12: note: 'UIWindow' has been explicitly marked unavailable here
20 |
21 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
22 | @interface UIWindow : UIView
| `- note: 'UIWindow' has been explicitly marked unavailable here
23 |
24 | // instantiate a UIWindow already associated with a given UIWindowScene instance, with matching frame & interface orientations.
/Users/admin/builder/spi-builder-workspace/Sources/ModalKit/Controller/MKPresentationController.swift:173:35: error: 'UIViewController' is unavailable in watchOS
171 | /// - direction: The direction of the presentation.
172 | /// - onDismiss: A closure to execute when the modal is dismissed.
173 | init(presentedViewController: UIViewController,
| `- error: 'UIViewController' is unavailable in watchOS
174 | presenting presentingViewController: UIViewController?,
175 | onDismiss: (() -> Void)?) {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/ModalKit/Controller/MKPresentationController.swift:174:47: error: 'UIViewController' is unavailable in watchOS
172 | /// - onDismiss: A closure to execute when the modal is dismissed.
173 | init(presentedViewController: UIViewController,
174 | presenting presentingViewController: UIViewController?,
| `- error: 'UIViewController' is unavailable in watchOS
175 | onDismiss: (() -> Void)?) {
176 | self.onDismiss = onDismiss
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/ModalKit/Controller/MKPresentationController.swift:12:40: error: 'UIPresentationController' is unavailable in watchOS
10 |
11 | /// A custom presentation controller for managing modal presentations with configurable sizes, gestures, and animations.
12 | public class MKPresentationController: UIPresentationController {
| `- error: 'UIPresentationController' is unavailable in watchOS
13 | // MARK: Public Properties
14 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPresentationController.h:65:12: note: 'UIPresentationController' has been explicitly marked unavailable here
63 |
64 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
65 | @interface UIPresentationController : NSObject <UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIPresentationController' has been explicitly marked unavailable here
66 |
67 | @property(nonatomic, strong, readonly) UIViewController *presentingViewController;
/Users/admin/builder/spi-builder-workspace/Sources/ModalKit/Controller/MKPresentationController.swift:431:23: error: 'UIScrollView' is unavailable in watchOS
429 | /// Otherwise, normal scrolling is allowed.
430 | private func handleScrollViewOffsetChange(
431 | _ scrollView: UIScrollView,
| `- error: 'UIScrollView' is unavailable in watchOS
432 | change: NSKeyValueObservedChange<CGPoint>
433 | ) {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScrollView.h:87:12: note: 'UIScrollView' has been explicitly marked unavailable here
85 |
86 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
87 | @interface UIScrollView : UIView <NSCoding, UIFocusItemScrollableContainer>
| `- note: 'UIScrollView' has been explicitly marked unavailable here
88 |
89 | @property(nonatomic) CGPoint contentOffset; // default CGPointZero
/Users/admin/builder/spi-builder-workspace/Sources/ModalKit/Controller/MKPresentationController.swift:455:41: error: 'UIPanGestureRecognizer' is unavailable in watchOS
453 | ///
454 | /// Returns `false` if the scroll view is scrolling downward from a nonzero offset.
455 | private func shouldBegin(_ gesture: UIPanGestureRecognizer) -> Bool {
| `- error: 'UIPanGestureRecognizer' is unavailable in watchOS
456 | // Check basic conditions & scrollView presence
457 | guard presentable?.shouldContinue(with: gesture) ?? true else {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPanGestureRecognizer.h:31:12: note: 'UIPanGestureRecognizer' has been explicitly marked unavailable here
29 |
30 | UIKIT_EXTERN API_AVAILABLE(ios(3.2)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
31 | @interface UIPanGestureRecognizer : UIGestureRecognizer
| `- note: 'UIPanGestureRecognizer' has been explicitly marked unavailable here
32 |
33 | @property (nonatomic) NSUInteger minimumNumberOfTouches API_UNAVAILABLE(tvos); // default is 1. the minimum number of touches required to match
/Users/admin/builder/spi-builder-workspace/Sources/ModalKit/Controller/MKPresentationController.swift:492:52: error: 'UIPanGestureRecognizer' is unavailable in watchOS
490 | /// any “resistance” factor or dismissible logic. When the gesture ends,
491 | /// it snaps to the nearest valid origin or dismisses if the user pulled it far enough.
492 | @objc private func handlePanGesture(_ gesture: UIPanGestureRecognizer) {
| `- error: 'UIPanGestureRecognizer' is unavailable in watchOS
493 | // Get the current translation of the gesture
494 | let translation = gesture.translation(in: presentedViewController.view)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPanGestureRecognizer.h:31:12: note: 'UIPanGestureRecognizer' has been explicitly marked unavailable here
29 |
30 | UIKIT_EXTERN API_AVAILABLE(ios(3.2)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
31 | @interface UIPanGestureRecognizer : UIGestureRecognizer
| `- note: 'UIPanGestureRecognizer' has been explicitly marked unavailable here
32 |
33 | @property (nonatomic) NSUInteger minimumNumberOfTouches API_UNAVAILABLE(tvos); // default is 1. the minimum number of touches required to match
/Users/admin/builder/spi-builder-workspace/Sources/ModalKit/Controller/MKPresentationController.swift:549:56: error: 'UIGestureRecognizer' is unavailable in watchOS
547 |
548 | extension MKPresentationController: UIGestureRecognizerDelegate {
549 | public func gestureRecognizer(_ gestureRecognizer: UIGestureRecognizer, shouldBeRequiredToFailBy otherGestureRecognizer: UIGestureRecognizer) -> Bool {
| `- error: 'UIGestureRecognizer' is unavailable in watchOS
550 | return false
551 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGestureRecognizer.h:35:12: note: 'UIGestureRecognizer' has been explicitly marked unavailable here
33 |
34 | UIKIT_EXTERN API_AVAILABLE(ios(3.2)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
35 | @interface UIGestureRecognizer : NSObject
| `- note: 'UIGestureRecognizer' has been explicitly marked unavailable here
36 |
37 | // Valid action method signatures:
/Users/admin/builder/spi-builder-workspace/Sources/ModalKit/Controller/MKPresentationController.swift:549:126: error: 'UIGestureRecognizer' is unavailable in watchOS
547 |
548 | extension MKPresentationController: UIGestureRecognizerDelegate {
549 | public func gestureRecognizer(_ gestureRecognizer: UIGestureRecognizer, shouldBeRequiredToFailBy otherGestureRecognizer: UIGestureRecognizer) -> Bool {
| `- error: 'UIGestureRecognizer' is unavailable in watchOS
550 | return false
551 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGestureRecognizer.h:35:12: note: 'UIGestureRecognizer' has been explicitly marked unavailable here
33 |
34 | UIKIT_EXTERN API_AVAILABLE(ios(3.2)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
35 | @interface UIGestureRecognizer : NSObject
| `- note: 'UIGestureRecognizer' has been explicitly marked unavailable here
36 |
37 | // Valid action method signatures:
/Users/admin/builder/spi-builder-workspace/Sources/ModalKit/Controller/MKPresentationController.swift:553:56: error: 'UIGestureRecognizer' is unavailable in watchOS
551 | }
552 |
553 | public func gestureRecognizer(_ gestureRecognizer: UIGestureRecognizer, shouldRecognizeSimultaneouslyWith otherGestureRecognizer: UIGestureRecognizer) -> Bool {
| `- error: 'UIGestureRecognizer' is unavailable in watchOS
554 | // This ensures that other panGesture can work together with the scrollView's internal pan gesture
555 | return otherGestureRecognizer.view == presentable?.scrollView
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGestureRecognizer.h:35:12: note: 'UIGestureRecognizer' has been explicitly marked unavailable here
33 |
34 | UIKIT_EXTERN API_AVAILABLE(ios(3.2)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
35 | @interface UIGestureRecognizer : NSObject
| `- note: 'UIGestureRecognizer' has been explicitly marked unavailable here
36 |
37 | // Valid action method signatures:
/Users/admin/builder/spi-builder-workspace/Sources/ModalKit/Controller/MKPresentationController.swift:553:135: error: 'UIGestureRecognizer' is unavailable in watchOS
551 | }
552 |
553 | public func gestureRecognizer(_ gestureRecognizer: UIGestureRecognizer, shouldRecognizeSimultaneouslyWith otherGestureRecognizer: UIGestureRecognizer) -> Bool {
| `- error: 'UIGestureRecognizer' is unavailable in watchOS
554 | // This ensures that other panGesture can work together with the scrollView's internal pan gesture
555 | return otherGestureRecognizer.view == presentable?.scrollView
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGestureRecognizer.h:35:12: note: 'UIGestureRecognizer' has been explicitly marked unavailable here
33 |
34 | UIKIT_EXTERN API_AVAILABLE(ios(3.2)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
35 | @interface UIGestureRecognizer : NSObject
| `- note: 'UIGestureRecognizer' has been explicitly marked unavailable here
36 |
37 | // Valid action method signatures:
/Users/admin/builder/spi-builder-workspace/Sources/ModalKit/Controller/MKPresentationController.swift:548:37: error: 'UIGestureRecognizerDelegate' is unavailable in watchOS
546 | // MARK: - UIGestureRecognizerDelegate
547 |
548 | extension MKPresentationController: UIGestureRecognizerDelegate {
| `- error: 'UIGestureRecognizerDelegate' is unavailable in watchOS
549 | public func gestureRecognizer(_ gestureRecognizer: UIGestureRecognizer, shouldBeRequiredToFailBy otherGestureRecognizer: UIGestureRecognizer) -> Bool {
550 | return false
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGestureRecognizer.h:91:11: note: 'UIGestureRecognizerDelegate' has been explicitly marked unavailable here
89 |
90 | API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
91 | @protocol UIGestureRecognizerDelegate <NSObject>
| `- note: 'UIGestureRecognizerDelegate' has been explicitly marked unavailable here
92 | @optional
93 | // called when a gesture recognizer attempts to transition out of UIGestureRecognizerStatePossible. returning NO causes it to transition to UIGestureRecognizerStateFailed
/Users/admin/builder/spi-builder-workspace/Sources/ModalKit/Controller/MKPresentationController.swift:63:42: error: 'UIScreen' is unavailable in watchOS
61 | /// The size of the screen, calculated from the key window.
62 | private var screenSize: CGSize {
63 | return keyWindow?.bounds.size ?? UIScreen.main.bounds.size
| `- error: 'UIScreen' is unavailable in watchOS
64 | }
65 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScreen.h:54:12: note: 'UIScreen' has been explicitly marked unavailable here
52 |
53 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(visionos, watchos) NS_SWIFT_UI_ACTOR
54 | @interface UIScreen : NSObject <UITraitEnvironment>
| `- note: 'UIScreen' has been explicitly marked unavailable here
55 |
56 | @property(class, nonatomic, readonly) NSArray<UIScreen *> *screens API_DEPRECATED("Use UIApplication.shared.openSessions to find open sessions with scenes from other screens", ios(3.2, 16.0), visionos(1.0, 1.0)) API_UNAVAILABLE(watchos); // all screens currently attached to the device
/Users/admin/builder/spi-builder-workspace/Sources/ModalKit/Controller/MKPresentationController.swift:63:51: error: 'main' is unavailable in watchOS
61 | /// The size of the screen, calculated from the key window.
62 | private var screenSize: CGSize {
63 | return keyWindow?.bounds.size ?? UIScreen.main.bounds.size
| `- error: 'main' is unavailable in watchOS
64 | }
65 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScreen.h:57:49: note: 'main' has been explicitly marked unavailable here
55 |
56 | @property(class, nonatomic, readonly) NSArray<UIScreen *> *screens API_DEPRECATED("Use UIApplication.shared.openSessions to find open sessions with scenes from other screens", ios(3.2, 16.0), visionos(1.0, 1.0)) API_UNAVAILABLE(watchos); // all screens currently attached to the device
57 | @property(class, nonatomic, readonly) UIScreen *mainScreen API_DEPRECATED("Use a UIScreen instance found through context instead (i.e, view.window.windowScene.screen), or for properties like UIScreen.scale with trait equivalents, use a traitCollection found through context.", ios(2.0, 26.0), tvos(9.0, 26.0), visionos(1.0, 26.0)) API_UNAVAILABLE(watchos);
| `- note: 'main' has been explicitly marked unavailable here
58 |
59 | @property(nonatomic,readonly) CGRect bounds; // Bounds of entire screen in points
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/ModalKit/Animator/MKPresentationAnimator.swift (in target 'ModalKit' from project 'ModalKit')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile MKPresentationAnimator.swift
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/ModalKit/Controller/MKPresentationController.swift (in target 'ModalKit' from project 'ModalKit')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile MKPresentationController.swift
SwiftCompile normal arm64_32 Compiling\ MKPresentationSize.swift,\ MKPresentable+UIViewController.swift /Users/admin/builder/spi-builder-workspace/Sources/ModalKit/Controller/MKPresentationSize.swift /Users/admin/builder/spi-builder-workspace/Sources/ModalKit/Controller/Presentable/MKPresentable+UIViewController.swift (in target 'ModalKit' from project 'ModalKit')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/ModalKit/Controller/MKPresentationSize.swift (in target 'ModalKit' from project 'ModalKit')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile MKPresentationSize.swift
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/ModalKit/Controller/Presentable/MKPresentable+UIViewController.swift (in target 'ModalKit' from project 'ModalKit')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile MKPresentable+UIViewController.swift
SwiftCompile normal arm64_32 Compiling\ MKPresentable.swift,\ MKPresentableConfiguration.swift /Users/admin/builder/spi-builder-workspace/Sources/ModalKit/Controller/Presentable/MKPresentable.swift /Users/admin/builder/spi-builder-workspace/Sources/ModalKit/Controller/Presentable/MKPresentableConfiguration.swift (in target 'ModalKit' from project 'ModalKit')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/ModalKit/Controller/Presentable/MKPresentable.swift (in target 'ModalKit' from project 'ModalKit')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile MKPresentable.swift
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/ModalKit/Controller/Presentable/MKPresentableConfiguration.swift (in target 'ModalKit' from project 'ModalKit')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile MKPresentableConfiguration.swift
/Users/admin/builder/spi-builder-workspace/Sources/ModalKit/Controller/Presentable/MKPresentable.swift:28:21: error: 'UIScrollView' is unavailable in watchOS
26 | ///
27 | /// - Default: `nil`
28 | var scrollView: UIScrollView? { get }
| `- error: 'UIScrollView' is unavailable in watchOS
29 |
30 | /// Handles the event when the dimming view (the background area outside the modal) is tapped.
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScrollView.h:87:12: note: 'UIScrollView' has been explicitly marked unavailable here
85 |
86 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
87 | @interface UIScrollView : UIView <NSCoding, UIFocusItemScrollableContainer>
| `- note: 'UIScrollView' has been explicitly marked unavailable here
88 |
89 | @property(nonatomic) CGPoint contentOffset; // default CGPointZero
/Users/admin/builder/spi-builder-workspace/Sources/ModalKit/Controller/Presentable/MKPresentable.swift:50:49: error: 'UIPanGestureRecognizer' is unavailable in watchOS
48 | /// - Parameter gestureRecognizer: The gesture recognizer detecting the pan gesture.
49 | /// - Returns: A Boolean value indicating whether the view controller should respond to the gesture. Defaults to `true`.
50 | func shouldContinue(with gestureRecognizer: UIPanGestureRecognizer) -> Bool
| `- error: 'UIPanGestureRecognizer' is unavailable in watchOS
51 |
52 | /// Determines if the view controller should transition to a new presentation size.
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPanGestureRecognizer.h:31:12: note: 'UIPanGestureRecognizer' has been explicitly marked unavailable here
29 |
30 | UIKIT_EXTERN API_AVAILABLE(ios(3.2)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
31 | @interface UIPanGestureRecognizer : UIGestureRecognizer
| `- note: 'UIPanGestureRecognizer' has been explicitly marked unavailable here
32 |
33 | @property (nonatomic) NSUInteger minimumNumberOfTouches API_UNAVAILABLE(tvos); // default is 1. the minimum number of touches required to match
/Users/admin/builder/spi-builder-workspace/Sources/ModalKit/Controller/Presentable/MKPresentable.swift:82:21: error: 'UIScrollView' is unavailable in watchOS
80 | var preferredPresentationSize: [MKPresentationSize] { [.intrinsicHeight] }
81 |
82 | var scrollView: UIScrollView? { nil }
| `- error: 'UIScrollView' is unavailable in watchOS
83 |
84 | func onDimmingViewTap() {}
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScrollView.h:87:12: note: 'UIScrollView' has been explicitly marked unavailable here
85 |
86 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
87 | @interface UIScrollView : UIView <NSCoding, UIFocusItemScrollableContainer>
| `- note: 'UIScrollView' has been explicitly marked unavailable here
88 |
89 | @property(nonatomic) CGPoint contentOffset; // default CGPointZero
/Users/admin/builder/spi-builder-workspace/Sources/ModalKit/Controller/Presentable/MKPresentable.swift:88:49: error: 'UIPanGestureRecognizer' is unavailable in watchOS
86 | func configure(_ configuration: inout MKPresentableConfiguration) {}
87 |
88 | func shouldContinue(with gestureRecognizer: UIPanGestureRecognizer) -> Bool { return true }
| `- error: 'UIPanGestureRecognizer' is unavailable in watchOS
89 |
90 | func shouldTransition(to size: MKPresentationSize) -> Bool { return true }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPanGestureRecognizer.h:31:12: note: 'UIPanGestureRecognizer' has been explicitly marked unavailable here
29 |
30 | UIKIT_EXTERN API_AVAILABLE(ios(3.2)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
31 | @interface UIPanGestureRecognizer : UIGestureRecognizer
| `- note: 'UIPanGestureRecognizer' has been explicitly marked unavailable here
32 |
33 | @property (nonatomic) NSUInteger minimumNumberOfTouches API_UNAVAILABLE(tvos); // default is 1. the minimum number of touches required to match
SwiftCompile normal arm64_32 Compiling\ UIViewController.swift /Users/admin/builder/spi-builder-workspace/Sources/ModalKit/Extension/UIViewController.swift (in target 'ModalKit' from project 'ModalKit')
/Users/admin/builder/spi-builder-workspace/Sources/ModalKit/Extension/UIViewController.swift:19:57: error: 'UIViewController' is unavailable in watchOS
17 | /// - animated: Whether to animate the presentation
18 | /// - completion: A closure to execute after the presentation finishes. Defaults to `nil`.
19 | public func presentModal(_ viewControllerToPresent: UIViewController,
| `- error: 'UIViewController' is unavailable in watchOS
20 | animated: Bool = true,
21 | completion: (() -> Void)? = nil) {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/ModalKit/Extension/UIViewController.swift (in target 'ModalKit' from project 'ModalKit')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile UIViewController.swift
SwiftEmitModule normal arm64 Emitting\ module\ for\ ModalKit (in target 'ModalKit' from project 'ModalKit')
SwiftCompile normal arm64 (in target 'ModalKit' from project 'ModalKit')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules
2026-09-21 14:09:46.780 xcodebuild[670:4202] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
** BUILD FAILED **
The following build commands failed:
SwiftEmitModule normal arm64_32 Emitting\ module\ for\ ModalKit (in target 'ModalKit' from project 'ModalKit')
SwiftCompile normal arm64_32 (in target 'ModalKit' from project 'ModalKit')
Building workspace ModalKit with scheme ModalKit
(3 failures)
Command line invocation:
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -resolvePackageDependencies
Resolve Package Graph
Resolved source packages:
ModalKit: /Users/admin/builder/spi-builder-workspace
resolved source packages: ModalKit
2026-09-21 14:09:52.883 xcodebuild[797:4672] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
{
"dependencies" : [
],
"manifest_display_name" : "ModalKit",
"name" : "ModalKit",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "13.0"
}
],
"products" : [
{
"name" : "ModalKit",
"targets" : [
"ModalKit"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"swift_languages_versions" : [
"5"
],
"targets" : [
{
"c99name" : "ModalKit",
"module_type" : "SwiftTarget",
"name" : "ModalKit",
"path" : "Sources",
"product_memberships" : [
"ModalKit"
],
"sources" : [
"ModalKit/Animator/MKPresentationAnimator.swift",
"ModalKit/Controller/MKPresentationController.swift",
"ModalKit/Controller/MKPresentationSize.swift",
"ModalKit/Controller/Presentable/MKPresentable+UIViewController.swift",
"ModalKit/Controller/Presentable/MKPresentable.swift",
"ModalKit/Controller/Presentable/MKPresentableConfiguration.swift",
"ModalKit/Delegate/MKPresentationManager.swift",
"ModalKit/Extension/Sequence.swift",
"ModalKit/Extension/UIColor.swift",
"ModalKit/Extension/UIEdgeInsets.swift",
"ModalKit/Extension/UIView.swift",
"ModalKit/Extension/UIViewController.swift",
"ModalKit/View/DimmingView.swift"
],
"type" : "library"
}
],
"tools_version" : "5.10"
}
{
"workspace" : {
"name" : "ModalKit",
"schemes" : [
"ModalKit"
]
}
}
2026-09-21 14:09:54.147 xcodebuild[805:4745] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme ModalKit -destination generic/platform=watchOS
Command line invocation:
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath /Users/admin/builder/spi-builder-workspace/.derivedData build -scheme ModalKit -destination generic/platform=watchOS
Resolve Package Graph
Resolved source packages:
ModalKit: /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 'ModalKit-product' in project 'ModalKit'
➜ Explicit dependency on target 'ModalKit' in project 'ModalKit'
Target 'ModalKit' in project 'ModalKit' (no dependencies)
GatherProvisioningInputs
CreateBuildDescription
ClangStatCache /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang-stat-cache /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos27.0-24R360-e829b21a6f8c9b70876ba0858053c04477534ef55a1706bf4c1112bbb242f0a2.sdkstatcache
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang-stat-cache /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk -o /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos27.0-24R360-e829b21a6f8c9b70876ba0858053c04477534ef55a1706bf4c1112bbb242f0a2.sdkstatcache
SwiftDriver ModalKit normal arm64 com.apple.xcode.tools.swift.compiler (in target 'ModalKit' from project 'ModalKit')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftDriver -- /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -parse-as-library -module-name ModalKit -Onone @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ModalKit.build/Debug-watchos/ModalKit-t.build/Objects-normal/arm64/ModalKit.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -DSWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -DXcode -plugin-path /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -enable-experimental-feature DebugDescriptionMacro -sdk /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk -target arm64-apple-watchos9.0 -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -Xfrontend -serialize-debugging-options -enable-testing -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -swift-version 5 -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/Developer/Library/Frameworks -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos27.0-24R360-e829b21a6f8c9b70876ba0858053c04477534ef55a1706bf4c1112bbb242f0a2.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ModalKit.build/Debug-watchos/ModalKit-t.build/Objects-normal/arm64/ModalKit-OutputFileMap.json -save-temps -no-color-diagnostics -explicit-module-build -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules -clang-scanner-module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -sdk-module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules -emit-dependencies -emit-module -emit-module-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ModalKit.build/Debug-watchos/ModalKit-t.build/Objects-normal/arm64/ModalKit.swiftmodule -serialize-diagnostics -dependency-scan-serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ModalKit.build/Debug-watchos/ModalKit-t.build/Objects-normal/arm64/ModalKit-dependency-scan.dia -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -package-name spi_builder_workspace -emit-const-values -const-gather-protocols-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ModalKit.build/Debug-watchos/ModalKit-t.build/Objects-normal/arm64/ModalKit_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/ModalKit.build/Debug-watchos/ModalKit-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ModalKit.build/Debug-watchos/ModalKit-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ModalKit.build/Debug-watchos/ModalKit-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -emit-objc-header -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ModalKit.build/Debug-watchos/ModalKit-t.build/Objects-normal/arm64/ModalKit-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
SwiftDriver ModalKit normal arm64_32 com.apple.xcode.tools.swift.compiler (in target 'ModalKit' from project 'ModalKit')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftDriver -- /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -parse-as-library -module-name ModalKit -Onone @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ModalKit.build/Debug-watchos/ModalKit-t.build/Objects-normal/arm64_32/ModalKit.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -DSWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -DXcode -plugin-path /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -enable-experimental-feature DebugDescriptionMacro -sdk /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk -target arm64_32-apple-watchos9.0 -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -Xfrontend -serialize-debugging-options -enable-testing -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -swift-version 5 -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/Developer/Library/Frameworks -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos27.0-24R360-e829b21a6f8c9b70876ba0858053c04477534ef55a1706bf4c1112bbb242f0a2.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ModalKit.build/Debug-watchos/ModalKit-t.build/Objects-normal/arm64_32/ModalKit-OutputFileMap.json -save-temps -no-color-diagnostics -explicit-module-build -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules -clang-scanner-module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -sdk-module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules -emit-dependencies -emit-module -emit-module-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ModalKit.build/Debug-watchos/ModalKit-t.build/Objects-normal/arm64_32/ModalKit.swiftmodule -serialize-diagnostics -dependency-scan-serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ModalKit.build/Debug-watchos/ModalKit-t.build/Objects-normal/arm64_32/ModalKit-dependency-scan.dia -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -package-name spi_builder_workspace -emit-const-values -const-gather-protocols-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ModalKit.build/Debug-watchos/ModalKit-t.build/Objects-normal/arm64_32/ModalKit_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/ModalKit.build/Debug-watchos/ModalKit-t.build/DerivedSources-normal/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ModalKit.build/Debug-watchos/ModalKit-t.build/DerivedSources/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ModalKit.build/Debug-watchos/ModalKit-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -emit-objc-header -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ModalKit.build/Debug-watchos/ModalKit-t.build/Objects-normal/arm64_32/ModalKit-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
SwiftEmitModule normal arm64_32 Emitting\ module\ for\ ModalKit (in target 'ModalKit' from project 'ModalKit')
/Users/admin/builder/spi-builder-workspace/Sources/ModalKit/Animator/MKPresentationAnimator.swift:37:34: error: 'UIViewControllerContextTransitioning' is unavailable in watchOS
35 |
36 | public func transitionDuration(
37 | using transitionContext: UIViewControllerContextTransitioning?
| `- error: 'UIViewControllerContextTransitioning' is unavailable in watchOS
38 | ) -> TimeInterval {
39 | return tranistionDuration
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewControllerTransitioning.h:68:11: note: 'UIViewControllerContextTransitioning' has been explicitly marked unavailable here
66 |
67 | API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
68 | @protocol UIViewControllerContextTransitioning <NSObject>
| `- note: 'UIViewControllerContextTransitioning' has been explicitly marked unavailable here
69 |
70 | // The view in which the animated transition should take place.
/Users/admin/builder/spi-builder-workspace/Sources/ModalKit/Animator/MKPresentationAnimator.swift:42:60: error: 'UIViewControllerContextTransitioning' is unavailable in watchOS
40 | }
41 |
42 | public func animateTransition(using transitionContext: UIViewControllerContextTransitioning) {
| `- error: 'UIViewControllerContextTransitioning' is unavailable in watchOS
43 | let key: UITransitionContextViewControllerKey = isPresenting ? .to : .from
44 | // Retrieve the view controller for the transition
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewControllerTransitioning.h:68:11: note: 'UIViewControllerContextTransitioning' has been explicitly marked unavailable here
66 |
67 | API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
68 | @protocol UIViewControllerContextTransitioning <NSObject>
| `- note: 'UIViewControllerContextTransitioning' has been explicitly marked unavailable here
69 |
70 | // The view in which the animated transition should take place.
/Users/admin/builder/spi-builder-workspace/Sources/ModalKit/Animator/MKPresentationAnimator.swift:13:54: error: 'UIViewControllerAnimatedTransitioning' is unavailable in watchOS
11 | /// `MKPresentationAnimator` is responsible for managing the presentation and dismissal.
12 | /// It conforms to `UIViewControllerAnimatedTransitioning` to provide custom transition animations.
13 | public final class MKPresentationAnimator: NSObject, UIViewControllerAnimatedTransitioning {
| `- error: 'UIViewControllerAnimatedTransitioning' is unavailable in watchOS
14 | // MARK: Properties
15 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewControllerTransitioning.h:137:11: note: 'UIViewControllerAnimatedTransitioning' has been explicitly marked unavailable here
135 |
136 | API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
137 | @protocol UIViewControllerAnimatedTransitioning <NSObject>
| `- note: 'UIViewControllerAnimatedTransitioning' has been explicitly marked unavailable here
138 |
139 | // This is used for percent driven interactive transitions, as well as for
/Users/admin/builder/spi-builder-workspace/Sources/ModalKit/Controller/MKPresentationController.swift:23:35: error: 'UIView' is unavailable in watchOS
21 |
22 | /// The drag indicator shown at the top of the modal, allowing users to drag it.
23 | open lazy var swipeIndicator: UIView = {
| `- error: 'UIView' is unavailable in watchOS
24 | let view = UIView()
25 | view.backgroundColor = config.dragIndicatorColor
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/ModalKit/Controller/MKPresentationController.swift:24:20: error: 'UIView' is unavailable in watchOS
22 | /// The drag indicator shown at the top of the modal, allowing users to drag it.
23 | open lazy var swipeIndicator: UIView = {
24 | let view = UIView()
| `- error: 'UIView' is unavailable in watchOS
25 | view.backgroundColor = config.dragIndicatorColor
26 | return view
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/ModalKit/Controller/MKPresentationController.swift:24:20: error: 'init()' is unavailable in watchOS
22 | /// The drag indicator shown at the top of the modal, allowing users to drag it.
23 | open lazy var swipeIndicator: UIView = {
24 | let view = UIView()
| `- error: 'init()' is unavailable in watchOS
25 | view.backgroundColor = config.dragIndicatorColor
26 | return view
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:158:1: note: 'init()' has been explicitly marked unavailable here
156 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER;
157 | - (nullable instancetype)initWithCoder:(NSCoder *)coder NS_DESIGNATED_INITIALIZER;
158 | - (instancetype)init API_AVAILABLE(ios(2.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
| `- note: 'init()' has been explicitly marked unavailable here
159 |
160 | @property(nonatomic,getter=isUserInteractionEnabled) BOOL userInteractionEnabled; // default is YES. if set to NO, user events (touch, keys) are ignored and removed from the event queue.
/Users/admin/builder/spi-builder-workspace/Sources/ModalKit/Controller/MKPresentationController.swift:30:41: error: 'UIPanGestureRecognizer' is unavailable in watchOS
28 |
29 | /// The gesture recognizer for dragging the modal view.
30 | open lazy var panGestureRecognizer: UIPanGestureRecognizer = {
| `- error: 'UIPanGestureRecognizer' is unavailable in watchOS
31 | let gesture = UIPanGestureRecognizer(target: self, action: #selector(handlePanGesture(_:)))
32 | gesture.minimumNumberOfTouches = 1
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPanGestureRecognizer.h:31:12: note: 'UIPanGestureRecognizer' has been explicitly marked unavailable here
29 |
30 | UIKIT_EXTERN API_AVAILABLE(ios(3.2)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
31 | @interface UIPanGestureRecognizer : UIGestureRecognizer
| `- note: 'UIPanGestureRecognizer' has been explicitly marked unavailable here
32 |
33 | @property (nonatomic) NSUInteger minimumNumberOfTouches API_UNAVAILABLE(tvos); // default is 1. the minimum number of touches required to match
/Users/admin/builder/spi-builder-workspace/Sources/ModalKit/Controller/MKPresentationController.swift:31:23: error: 'UIPanGestureRecognizer' is unavailable in watchOS
29 | /// The gesture recognizer for dragging the modal view.
30 | open lazy var panGestureRecognizer: UIPanGestureRecognizer = {
31 | let gesture = UIPanGestureRecognizer(target: self, action: #selector(handlePanGesture(_:)))
| `- error: 'UIPanGestureRecognizer' is unavailable in watchOS
32 | gesture.minimumNumberOfTouches = 1
33 | gesture.maximumNumberOfTouches = 1
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPanGestureRecognizer.h:31:12: note: 'UIPanGestureRecognizer' has been explicitly marked unavailable here
29 |
30 | UIKIT_EXTERN API_AVAILABLE(ios(3.2)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
31 | @interface UIPanGestureRecognizer : UIGestureRecognizer
| `- note: 'UIPanGestureRecognizer' has been explicitly marked unavailable here
32 |
33 | @property (nonatomic) NSUInteger minimumNumberOfTouches API_UNAVAILABLE(tvos); // default is 1. the minimum number of touches required to match
/Users/admin/builder/spi-builder-workspace/Sources/ModalKit/Controller/MKPresentationController.swift:39:17: error: 'name' is unavailable in watchOS
37 | gesture.delaysTouchesEnded = false
38 |
39 | gesture.name = "mkpresentationcontroller.pangesture"
| `- error: 'name' is unavailable in watchOS
40 | gesture.delegate = self
41 | return gesture
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGestureRecognizer.h:80:49: note: 'name' has been explicitly marked unavailable here
78 | - (CGPoint)locationOfTouch:(NSUInteger)touchIndex inView:(nullable UIView*)view; // the location of a particular touch
79 |
80 | @property (nullable, nonatomic, copy) NSString *name API_AVAILABLE(ios(11.0), tvos(11.0)) API_UNAVAILABLE(watchos); // name for debugging to appear in logging
| `- note: 'name' has been explicitly marked unavailable here
81 |
82 | // Values from the last event processed.
/Users/admin/builder/spi-builder-workspace/Sources/ModalKit/Controller/Presentable/MKPresentableConfiguration.swift:45:48: error: 'label' is unavailable in watchOS
43 | showDragIndicator: Bool = true,
44 | dragIndicatorSize: CGSize = .init(width: 40, height: 5),
45 | dragIndicatorColor: UIColor = .label,
| `- error: 'label' is unavailable in watchOS
46 | dismissibleScale: CGFloat = 0.6
47 | ) {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIInterface.h:171:49: note: 'label' has been explicitly marked unavailable here
169 | /* Foreground colors for static text and related elements.
170 | */
171 | @property (class, nonatomic, readonly) UIColor *labelColor API_AVAILABLE(ios(13.0), tvos(13.0)) API_UNAVAILABLE(watchos);
| `- note: 'label' has been explicitly marked unavailable here
172 | @property (class, nonatomic, readonly) UIColor *secondaryLabelColor API_AVAILABLE(ios(13.0), tvos(13.0)) API_UNAVAILABLE(watchos);
173 | @property (class, nonatomic, readonly) UIColor *tertiaryLabelColor API_AVAILABLE(ios(13.0), tvos(13.0)) API_UNAVAILABLE(watchos);
/Users/admin/builder/spi-builder-workspace/Sources/ModalKit/Controller/MKPresentationController.swift:91:28: error: 'UIWindow' is unavailable in watchOS
89 |
90 | /// The current key window.
91 | private var keyWindow: UIWindow? {
| `- error: 'UIWindow' is unavailable in watchOS
92 | UIApplication.shared.connectedScenes
93 | .flatMap { ($0 as? UIWindowScene)?.windows ?? [] }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h:22:12: note: 'UIWindow' has been explicitly marked unavailable here
20 |
21 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
22 | @interface UIWindow : UIView
| `- note: 'UIWindow' has been explicitly marked unavailable here
23 |
24 | // instantiate a UIWindow already associated with a given UIWindowScene instance, with matching frame & interface orientations.
/Users/admin/builder/spi-builder-workspace/Sources/ModalKit/Controller/MKPresentationController.swift:173:35: error: 'UIViewController' is unavailable in watchOS
171 | /// - direction: The direction of the presentation.
172 | /// - onDismiss: A closure to execute when the modal is dismissed.
173 | init(presentedViewController: UIViewController,
| `- error: 'UIViewController' is unavailable in watchOS
174 | presenting presentingViewController: UIViewController?,
175 | onDismiss: (() -> Void)?) {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/ModalKit/Controller/MKPresentationController.swift:174:47: error: 'UIViewController' is unavailable in watchOS
172 | /// - onDismiss: A closure to execute when the modal is dismissed.
173 | init(presentedViewController: UIViewController,
174 | presenting presentingViewController: UIViewController?,
| `- error: 'UIViewController' is unavailable in watchOS
175 | onDismiss: (() -> Void)?) {
176 | self.onDismiss = onDismiss
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/ModalKit/Controller/MKPresentationController.swift:12:40: error: 'UIPresentationController' is unavailable in watchOS
10 |
11 | /// A custom presentation controller for managing modal presentations with configurable sizes, gestures, and animations.
12 | public class MKPresentationController: UIPresentationController {
| `- error: 'UIPresentationController' is unavailable in watchOS
13 | // MARK: Public Properties
14 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPresentationController.h:65:12: note: 'UIPresentationController' has been explicitly marked unavailable here
63 |
64 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
65 | @interface UIPresentationController : NSObject <UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIPresentationController' has been explicitly marked unavailable here
66 |
67 | @property(nonatomic, strong, readonly) UIViewController *presentingViewController;
/Users/admin/builder/spi-builder-workspace/Sources/ModalKit/Controller/MKPresentationController.swift:431:23: error: 'UIScrollView' is unavailable in watchOS
429 | /// Otherwise, normal scrolling is allowed.
430 | private func handleScrollViewOffsetChange(
431 | _ scrollView: UIScrollView,
| `- error: 'UIScrollView' is unavailable in watchOS
432 | change: NSKeyValueObservedChange<CGPoint>
433 | ) {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScrollView.h:87:12: note: 'UIScrollView' has been explicitly marked unavailable here
85 |
86 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
87 | @interface UIScrollView : UIView <NSCoding, UIFocusItemScrollableContainer>
| `- note: 'UIScrollView' has been explicitly marked unavailable here
88 |
89 | @property(nonatomic) CGPoint contentOffset; // default CGPointZero
/Users/admin/builder/spi-builder-workspace/Sources/ModalKit/Controller/MKPresentationController.swift:455:41: error: 'UIPanGestureRecognizer' is unavailable in watchOS
453 | ///
454 | /// Returns `false` if the scroll view is scrolling downward from a nonzero offset.
455 | private func shouldBegin(_ gesture: UIPanGestureRecognizer) -> Bool {
| `- error: 'UIPanGestureRecognizer' is unavailable in watchOS
456 | // Check basic conditions & scrollView presence
457 | guard presentable?.shouldContinue(with: gesture) ?? true else {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPanGestureRecognizer.h:31:12: note: 'UIPanGestureRecognizer' has been explicitly marked unavailable here
29 |
30 | UIKIT_EXTERN API_AVAILABLE(ios(3.2)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
31 | @interface UIPanGestureRecognizer : UIGestureRecognizer
| `- note: 'UIPanGestureRecognizer' has been explicitly marked unavailable here
32 |
33 | @property (nonatomic) NSUInteger minimumNumberOfTouches API_UNAVAILABLE(tvos); // default is 1. the minimum number of touches required to match
/Users/admin/builder/spi-builder-workspace/Sources/ModalKit/Controller/MKPresentationController.swift:492:52: error: 'UIPanGestureRecognizer' is unavailable in watchOS
490 | /// any “resistance” factor or dismissible logic. When the gesture ends,
491 | /// it snaps to the nearest valid origin or dismisses if the user pulled it far enough.
492 | @objc private func handlePanGesture(_ gesture: UIPanGestureRecognizer) {
| `- error: 'UIPanGestureRecognizer' is unavailable in watchOS
493 | // Get the current translation of the gesture
494 | let translation = gesture.translation(in: presentedViewController.view)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPanGestureRecognizer.h:31:12: note: 'UIPanGestureRecognizer' has been explicitly marked unavailable here
29 |
30 | UIKIT_EXTERN API_AVAILABLE(ios(3.2)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
31 | @interface UIPanGestureRecognizer : UIGestureRecognizer
| `- note: 'UIPanGestureRecognizer' has been explicitly marked unavailable here
32 |
33 | @property (nonatomic) NSUInteger minimumNumberOfTouches API_UNAVAILABLE(tvos); // default is 1. the minimum number of touches required to match
/Users/admin/builder/spi-builder-workspace/Sources/ModalKit/Controller/MKPresentationController.swift:549:56: error: 'UIGestureRecognizer' is unavailable in watchOS
547 |
548 | extension MKPresentationController: UIGestureRecognizerDelegate {
549 | public func gestureRecognizer(_ gestureRecognizer: UIGestureRecognizer, shouldBeRequiredToFailBy otherGestureRecognizer: UIGestureRecognizer) -> Bool {
| `- error: 'UIGestureRecognizer' is unavailable in watchOS
550 | return false
551 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGestureRecognizer.h:35:12: note: 'UIGestureRecognizer' has been explicitly marked unavailable here
33 |
34 | UIKIT_EXTERN API_AVAILABLE(ios(3.2)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
35 | @interface UIGestureRecognizer : NSObject
| `- note: 'UIGestureRecognizer' has been explicitly marked unavailable here
36 |
37 | // Valid action method signatures:
/Users/admin/builder/spi-builder-workspace/Sources/ModalKit/Controller/MKPresentationController.swift:549:126: error: 'UIGestureRecognizer' is unavailable in watchOS
547 |
548 | extension MKPresentationController: UIGestureRecognizerDelegate {
549 | public func gestureRecognizer(_ gestureRecognizer: UIGestureRecognizer, shouldBeRequiredToFailBy otherGestureRecognizer: UIGestureRecognizer) -> Bool {
| `- error: 'UIGestureRecognizer' is unavailable in watchOS
550 | return false
551 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGestureRecognizer.h:35:12: note: 'UIGestureRecognizer' has been explicitly marked unavailable here
33 |
34 | UIKIT_EXTERN API_AVAILABLE(ios(3.2)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
35 | @interface UIGestureRecognizer : NSObject
| `- note: 'UIGestureRecognizer' has been explicitly marked unavailable here
36 |
37 | // Valid action method signatures:
/Users/admin/builder/spi-builder-workspace/Sources/ModalKit/Controller/MKPresentationController.swift:553:56: error: 'UIGestureRecognizer' is unavailable in watchOS
551 | }
552 |
553 | public func gestureRecognizer(_ gestureRecognizer: UIGestureRecognizer, shouldRecognizeSimultaneouslyWith otherGestureRecognizer: UIGestureRecognizer) -> Bool {
| `- error: 'UIGestureRecognizer' is unavailable in watchOS
554 | // This ensures that other panGesture can work together with the scrollView's internal pan gesture
555 | return otherGestureRecognizer.view == presentable?.scrollView
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGestureRecognizer.h:35:12: note: 'UIGestureRecognizer' has been explicitly marked unavailable here
33 |
34 | UIKIT_EXTERN API_AVAILABLE(ios(3.2)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
35 | @interface UIGestureRecognizer : NSObject
| `- note: 'UIGestureRecognizer' has been explicitly marked unavailable here
36 |
37 | // Valid action method signatures:
/Users/admin/builder/spi-builder-workspace/Sources/ModalKit/Controller/MKPresentationController.swift:553:135: error: 'UIGestureRecognizer' is unavailable in watchOS
551 | }
552 |
553 | public func gestureRecognizer(_ gestureRecognizer: UIGestureRecognizer, shouldRecognizeSimultaneouslyWith otherGestureRecognizer: UIGestureRecognizer) -> Bool {
| `- error: 'UIGestureRecognizer' is unavailable in watchOS
554 | // This ensures that other panGesture can work together with the scrollView's internal pan gesture
555 | return otherGestureRecognizer.view == presentable?.scrollView
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGestureRecognizer.h:35:12: note: 'UIGestureRecognizer' has been explicitly marked unavailable here
33 |
34 | UIKIT_EXTERN API_AVAILABLE(ios(3.2)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
35 | @interface UIGestureRecognizer : NSObject
| `- note: 'UIGestureRecognizer' has been explicitly marked unavailable here
36 |
37 | // Valid action method signatures:
/Users/admin/builder/spi-builder-workspace/Sources/ModalKit/Controller/MKPresentationController.swift:548:37: error: 'UIGestureRecognizerDelegate' is unavailable in watchOS
546 | // MARK: - UIGestureRecognizerDelegate
547 |
548 | extension MKPresentationController: UIGestureRecognizerDelegate {
| `- error: 'UIGestureRecognizerDelegate' is unavailable in watchOS
549 | public func gestureRecognizer(_ gestureRecognizer: UIGestureRecognizer, shouldBeRequiredToFailBy otherGestureRecognizer: UIGestureRecognizer) -> Bool {
550 | return false
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGestureRecognizer.h:91:11: note: 'UIGestureRecognizerDelegate' has been explicitly marked unavailable here
89 |
90 | API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
91 | @protocol UIGestureRecognizerDelegate <NSObject>
| `- note: 'UIGestureRecognizerDelegate' has been explicitly marked unavailable here
92 | @optional
93 | // called when a gesture recognizer attempts to transition out of UIGestureRecognizerStatePossible. returning NO causes it to transition to UIGestureRecognizerStateFailed
/Users/admin/builder/spi-builder-workspace/Sources/ModalKit/Controller/Presentable/MKPresentable+UIViewController.swift:12:44: error: 'UIViewController' is unavailable in watchOS
10 |
11 | /// Extension on `MKPresentable` for view controllers to interact with the custom presentation controller.
12 | public extension MKPresentable where Self: UIViewController {
| `- error: 'UIViewController' is unavailable in watchOS
13 | /// The associated `MKPresentationController` managing the modal presentation.
14 | private var _presentationController: MKPresentationController? {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/ModalKit/Controller/Presentable/MKPresentable.swift:28:21: error: 'UIScrollView' is unavailable in watchOS
26 | ///
27 | /// - Default: `nil`
28 | var scrollView: UIScrollView? { get }
| `- error: 'UIScrollView' is unavailable in watchOS
29 |
30 | /// Handles the event when the dimming view (the background area outside the modal) is tapped.
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScrollView.h:87:12: note: 'UIScrollView' has been explicitly marked unavailable here
85 |
86 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
87 | @interface UIScrollView : UIView <NSCoding, UIFocusItemScrollableContainer>
| `- note: 'UIScrollView' has been explicitly marked unavailable here
88 |
89 | @property(nonatomic) CGPoint contentOffset; // default CGPointZero
/Users/admin/builder/spi-builder-workspace/Sources/ModalKit/Controller/Presentable/MKPresentable.swift:50:49: error: 'UIPanGestureRecognizer' is unavailable in watchOS
48 | /// - Parameter gestureRecognizer: The gesture recognizer detecting the pan gesture.
49 | /// - Returns: A Boolean value indicating whether the view controller should respond to the gesture. Defaults to `true`.
50 | func shouldContinue(with gestureRecognizer: UIPanGestureRecognizer) -> Bool
| `- error: 'UIPanGestureRecognizer' is unavailable in watchOS
51 |
52 | /// Determines if the view controller should transition to a new presentation size.
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPanGestureRecognizer.h:31:12: note: 'UIPanGestureRecognizer' has been explicitly marked unavailable here
29 |
30 | UIKIT_EXTERN API_AVAILABLE(ios(3.2)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
31 | @interface UIPanGestureRecognizer : UIGestureRecognizer
| `- note: 'UIPanGestureRecognizer' has been explicitly marked unavailable here
32 |
33 | @property (nonatomic) NSUInteger minimumNumberOfTouches API_UNAVAILABLE(tvos); // default is 1. the minimum number of touches required to match
/Users/admin/builder/spi-builder-workspace/Sources/ModalKit/Controller/Presentable/MKPresentable.swift:82:21: error: 'UIScrollView' is unavailable in watchOS
80 | var preferredPresentationSize: [MKPresentationSize] { [.intrinsicHeight] }
81 |
82 | var scrollView: UIScrollView? { nil }
| `- error: 'UIScrollView' is unavailable in watchOS
83 |
84 | func onDimmingViewTap() {}
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScrollView.h:87:12: note: 'UIScrollView' has been explicitly marked unavailable here
85 |
86 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
87 | @interface UIScrollView : UIView <NSCoding, UIFocusItemScrollableContainer>
| `- note: 'UIScrollView' has been explicitly marked unavailable here
88 |
89 | @property(nonatomic) CGPoint contentOffset; // default CGPointZero
/Users/admin/builder/spi-builder-workspace/Sources/ModalKit/Controller/Presentable/MKPresentable.swift:88:49: error: 'UIPanGestureRecognizer' is unavailable in watchOS
86 | func configure(_ configuration: inout MKPresentableConfiguration) {}
87 |
88 | func shouldContinue(with gestureRecognizer: UIPanGestureRecognizer) -> Bool { return true }
| `- error: 'UIPanGestureRecognizer' is unavailable in watchOS
89 |
90 | func shouldTransition(to size: MKPresentationSize) -> Bool { return true }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPanGestureRecognizer.h:31:12: note: 'UIPanGestureRecognizer' has been explicitly marked unavailable here
29 |
30 | UIKIT_EXTERN API_AVAILABLE(ios(3.2)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
31 | @interface UIPanGestureRecognizer : UIGestureRecognizer
| `- note: 'UIPanGestureRecognizer' has been explicitly marked unavailable here
32 |
33 | @property (nonatomic) NSUInteger minimumNumberOfTouches API_UNAVAILABLE(tvos); // default is 1. the minimum number of touches required to match
/Users/admin/builder/spi-builder-workspace/Sources/ModalKit/Delegate/MKPresentationManager.swift:36:64: error: 'UIViewController' is unavailable in watchOS
34 | // MARK: - UIViewControllerTransitioningDelegate
35 |
36 | public func presentationController(forPresented presented: UIViewController, presenting: UIViewController?, source: UIViewController) -> UIPresentationController? {
| `- error: 'UIViewController' is unavailable in watchOS
37 | let presentationController = MKPresentationController(presentedViewController: presented,
38 | presenting: presenting,
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/ModalKit/Delegate/MKPresentationManager.swift:36:94: error: 'UIViewController' is unavailable in watchOS
34 | // MARK: - UIViewControllerTransitioningDelegate
35 |
36 | public func presentationController(forPresented presented: UIViewController, presenting: UIViewController?, source: UIViewController) -> UIPresentationController? {
| `- error: 'UIViewController' is unavailable in watchOS
37 | let presentationController = MKPresentationController(presentedViewController: presented,
38 | presenting: presenting,
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/ModalKit/Delegate/MKPresentationManager.swift:36:121: error: 'UIViewController' is unavailable in watchOS
34 | // MARK: - UIViewControllerTransitioningDelegate
35 |
36 | public func presentationController(forPresented presented: UIViewController, presenting: UIViewController?, source: UIViewController) -> UIPresentationController? {
| `- error: 'UIViewController' is unavailable in watchOS
37 | let presentationController = MKPresentationController(presentedViewController: presented,
38 | presenting: presenting,
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/ModalKit/Delegate/MKPresentationManager.swift:36:142: error: 'UIPresentationController' is unavailable in watchOS
34 | // MARK: - UIViewControllerTransitioningDelegate
35 |
36 | public func presentationController(forPresented presented: UIViewController, presenting: UIViewController?, source: UIViewController) -> UIPresentationController? {
| `- error: 'UIPresentationController' is unavailable in watchOS
37 | let presentationController = MKPresentationController(presentedViewController: presented,
38 | presenting: presenting,
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPresentationController.h:65:12: note: 'UIPresentationController' has been explicitly marked unavailable here
63 |
64 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
65 | @interface UIPresentationController : NSObject <UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIPresentationController' has been explicitly marked unavailable here
66 |
67 | @property(nonatomic, strong, readonly) UIViewController *presentingViewController;
/Users/admin/builder/spi-builder-workspace/Sources/ModalKit/Delegate/MKPresentationManager.swift:45:61: error: 'UIViewController' is unavailable in watchOS
43 | }
44 |
45 | public func animationController(forPresented presented: UIViewController, presenting: UIViewController, source: UIViewController) -> UIViewControllerAnimatedTransitioning? {
| `- error: 'UIViewController' is unavailable in watchOS
46 | return MKPresentationAnimator(isPresenting: true, tranistionDuration: 0.4)
47 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/ModalKit/Delegate/MKPresentationManager.swift:45:91: error: 'UIViewController' is unavailable in watchOS
43 | }
44 |
45 | public func animationController(forPresented presented: UIViewController, presenting: UIViewController, source: UIViewController) -> UIViewControllerAnimatedTransitioning? {
| `- error: 'UIViewController' is unavailable in watchOS
46 | return MKPresentationAnimator(isPresenting: true, tranistionDuration: 0.4)
47 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/ModalKit/Delegate/MKPresentationManager.swift:45:117: error: 'UIViewController' is unavailable in watchOS
43 | }
44 |
45 | public func animationController(forPresented presented: UIViewController, presenting: UIViewController, source: UIViewController) -> UIViewControllerAnimatedTransitioning? {
| `- error: 'UIViewController' is unavailable in watchOS
46 | return MKPresentationAnimator(isPresenting: true, tranistionDuration: 0.4)
47 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/ModalKit/Delegate/MKPresentationManager.swift:45:138: error: 'UIViewControllerAnimatedTransitioning' is unavailable in watchOS
43 | }
44 |
45 | public func animationController(forPresented presented: UIViewController, presenting: UIViewController, source: UIViewController) -> UIViewControllerAnimatedTransitioning? {
| `- error: 'UIViewControllerAnimatedTransitioning' is unavailable in watchOS
46 | return MKPresentationAnimator(isPresenting: true, tranistionDuration: 0.4)
47 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewControllerTransitioning.h:137:11: note: 'UIViewControllerAnimatedTransitioning' has been explicitly marked unavailable here
135 |
136 | API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
137 | @protocol UIViewControllerAnimatedTransitioning <NSObject>
| `- note: 'UIViewControllerAnimatedTransitioning' has been explicitly marked unavailable here
138 |
139 | // This is used for percent driven interactive transitions, as well as for
/Users/admin/builder/spi-builder-workspace/Sources/ModalKit/Delegate/MKPresentationManager.swift:49:61: error: 'UIViewController' is unavailable in watchOS
47 | }
48 |
49 | public func animationController(forDismissed dismissed: UIViewController) -> UIViewControllerAnimatedTransitioning? {
| `- error: 'UIViewController' is unavailable in watchOS
50 | return MKPresentationAnimator(isPresenting: false, tranistionDuration: 0.4)
51 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/ModalKit/Delegate/MKPresentationManager.swift:49:82: error: 'UIViewControllerAnimatedTransitioning' is unavailable in watchOS
47 | }
48 |
49 | public func animationController(forDismissed dismissed: UIViewController) -> UIViewControllerAnimatedTransitioning? {
| `- error: 'UIViewControllerAnimatedTransitioning' is unavailable in watchOS
50 | return MKPresentationAnimator(isPresenting: false, tranistionDuration: 0.4)
51 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewControllerTransitioning.h:137:11: note: 'UIViewControllerAnimatedTransitioning' has been explicitly marked unavailable here
135 |
136 | API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
137 | @protocol UIViewControllerAnimatedTransitioning <NSObject>
| `- note: 'UIViewControllerAnimatedTransitioning' has been explicitly marked unavailable here
138 |
139 | // This is used for percent driven interactive transitions, as well as for
/Users/admin/builder/spi-builder-workspace/Sources/ModalKit/Delegate/MKPresentationManager.swift:14:47: error: 'UIViewControllerTransitioningDelegate' is unavailable in watchOS
12 | /// `MKPresentationManager` is responsible for managing the transition and presentation of view controllers in the `ModalKit` framework.
13 | /// It conforms to `UIViewControllerTransitioningDelegate` and provides the necessary methods to handle custom presentation and dismissal animations.
14 | public class MKPresentationManager: NSObject, UIViewControllerTransitioningDelegate {
| `- error: 'UIViewControllerTransitioningDelegate' is unavailable in watchOS
15 | // MARK: Properties
16 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewControllerTransitioning.h:180:11: note: 'UIViewControllerTransitioningDelegate' has been explicitly marked unavailable here
178 |
179 | API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
180 | @protocol UIViewControllerTransitioningDelegate <NSObject>
| `- note: 'UIViewControllerTransitioningDelegate' has been explicitly marked unavailable here
181 |
182 | @optional
/Users/admin/builder/spi-builder-workspace/Sources/ModalKit/Extension/UIView.swift:11:11: error: 'UIView' is unavailable in watchOS
9 | import UIKit
10 |
11 | extension UIView {
| `- error: 'UIView' is unavailable in watchOS
12 | func roundCorners(corners: UIRectCorner, radius: CGFloat) {
13 | let path = UIBezierPath(roundedRect: bounds, byRoundingCorners: corners,
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/ModalKit/Extension/UIViewController.swift:19:57: error: 'UIViewController' is unavailable in watchOS
17 | /// - animated: Whether to animate the presentation
18 | /// - completion: A closure to execute after the presentation finishes. Defaults to `nil`.
19 | public func presentModal(_ viewControllerToPresent: UIViewController,
| `- error: 'UIViewController' is unavailable in watchOS
20 | animated: Bool = true,
21 | completion: (() -> Void)? = nil) {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/ModalKit/Extension/UIViewController.swift:12:11: error: 'UIViewController' is unavailable in watchOS
10 |
11 | /// Extension on `UIViewController` to provide modal presentation functionality with a custom presentation style.
12 | extension UIViewController {
| `- error: 'UIViewController' is unavailable in watchOS
13 | /// Presents a view controller modally using the custom `MKPresentationManager`.
14 | ///
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/ModalKit/View/DimmingView.swift:63:46: error: 'UIGestureRecognizer' is unavailable in watchOS
61 | // MARK: - Methods
62 |
63 | @objc private func didTapView(_ gesture: UIGestureRecognizer) {
| `- error: 'UIGestureRecognizer' is unavailable in watchOS
64 | handler?()
65 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGestureRecognizer.h:35:12: note: 'UIGestureRecognizer' has been explicitly marked unavailable here
33 |
34 | UIKIT_EXTERN API_AVAILABLE(ios(3.2)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
35 | @interface UIGestureRecognizer : NSObject
| `- note: 'UIGestureRecognizer' has been explicitly marked unavailable here
36 |
37 | // Valid action method signatures:
/Users/admin/builder/spi-builder-workspace/Sources/ModalKit/View/DimmingView.swift:13:25: error: 'UIView' is unavailable in watchOS
11 | /// A custom view that dims the background when presented.
12 | /// It supports visibility states and allows for tap gestures with customizable handlers.
13 | open class DimmingView: UIView {
| `- error: 'UIView' is unavailable in watchOS
14 | // MARK: - State
15 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
Failed frontend command:
SwiftCompile normal arm64_32 (in target 'ModalKit' from project 'ModalKit')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /Users/admin/builder/spi-builder-workspace/Sources/ModalKit/Animator/MKPresentationAnimator.swift /Users/admin/builder/spi-builder-workspace/Sources/ModalKit/Controller/MKPresentationController.swift /Users/admin/builder/spi-builder-workspace/Sources/ModalKit/Controller/MKPresentationSize.swift /Users/admin/builder/spi-builder-workspace/Sources/ModalKit/Controller/Presentable/MKPresentable+UIViewController.swift /Users/admin/builder/spi-builder-workspace/Sources/ModalKit/Controller/Presentable/MKPresentable.swift /Users/admin/builder/spi-builder-workspace/Sources/ModalKit/Controller/Presentable/MKPresentableConfiguration.swift /Users/admin/builder/spi-builder-workspace/Sources/ModalKit/Delegate/MKPresentationManager.swift /Users/admin/builder/spi-builder-workspace/Sources/ModalKit/Extension/Sequence.swift /Users/admin/builder/spi-builder-workspace/Sources/ModalKit/Extension/UIColor.swift /Users/admin/builder/spi-builder-workspace/Sources/ModalKit/Extension/UIEdgeInsets.swift /Users/admin/builder/spi-builder-workspace/Sources/ModalKit/Extension/UIView.swift /Users/admin/builder/spi-builder-workspace/Sources/ModalKit/Extension/UIViewController.swift /Users/admin/builder/spi-builder-workspace/Sources/ModalKit/View/DimmingView.swift -target arm64_32-apple-watchos9.0 -disable-cross-import-overlay-search -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libFoundationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#FoundationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libObservationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#ObservationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libSwiftMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#SwiftMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libSwiftUIMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#SwiftUIMacros -disable-implicit-swift-modules -Xcc -fno-implicit-modules -Xcc -fno-implicit-module-maps -explicit-swift-module-map-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ModalKit.build/Debug-watchos/ModalKit-t.build/Objects-normal/arm64_32/ModalKit-dependencies-2.json -enable-objc-interop -sdk /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/Developer/Library/Frameworks -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules -no-color-diagnostics -Xcc -fno-color-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -swift-version 5 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -enable-anonymous-context-mangled-names -file-compilation-dir /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos27.0-24R360-e829b21a6f8c9b70876ba0858053c04477534ef55a1706bf4c1112bbb242f0a2.sdkstatcache -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ModalKit.build/Debug-watchos/ModalKit-t.build/DerivedSources-normal/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ModalKit.build/Debug-watchos/ModalKit-t.build/DerivedSources/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ModalKit.build/Debug-watchos/ModalKit-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name ModalKit -package-name spi_builder_workspace -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ModalKit.build/Debug-watchos/ModalKit-t.build/Objects-normal/arm64_32/ModalKit_const_extract_protocols.json -disable-clang-spi -clang-target arm64_32-apple-watchos27.0 -target-sdk-version 27.0 -target-sdk-name watchos27.0 -in-process-plugin-server-path /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/libSwiftInProcPluginServer.dylib -emit-module-doc-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ModalKit.build/Debug-watchos/ModalKit-t.build/Objects-normal/arm64_32/ModalKit.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ModalKit.build/Debug-watchos/ModalKit-t.build/Objects-normal/arm64_32/ModalKit.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ModalKit.build/Debug-watchos/ModalKit-t.build/Objects-normal/arm64_32/ModalKit-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ModalKit.build/Debug-watchos/ModalKit-t.build/Objects-normal/arm64_32/ModalKit-primary-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ModalKit.build/Debug-watchos/ModalKit-t.build/Objects-normal/arm64_32/ModalKit-primary-emit-module.d -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ModalKit.build/Debug-watchos/ModalKit-t.build/Objects-normal/arm64_32/ModalKit.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ModalKit.build/Debug-watchos/ModalKit-t.build/Objects-normal/arm64_32/ModalKit.abi.json
SwiftCompile normal arm64_32 Compiling\ MKPresentationAnimator.swift,\ MKPresentationController.swift /Users/admin/builder/spi-builder-workspace/Sources/ModalKit/Animator/MKPresentationAnimator.swift /Users/admin/builder/spi-builder-workspace/Sources/ModalKit/Controller/MKPresentationController.swift (in target 'ModalKit' from project 'ModalKit')
/Users/admin/builder/spi-builder-workspace/Sources/ModalKit/Animator/MKPresentationAnimator.swift:37:34: error: 'UIViewControllerContextTransitioning' is unavailable in watchOS
35 |
36 | public func transitionDuration(
37 | using transitionContext: UIViewControllerContextTransitioning?
| `- error: 'UIViewControllerContextTransitioning' is unavailable in watchOS
38 | ) -> TimeInterval {
39 | return tranistionDuration
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewControllerTransitioning.h:68:11: note: 'UIViewControllerContextTransitioning' has been explicitly marked unavailable here
66 |
67 | API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
68 | @protocol UIViewControllerContextTransitioning <NSObject>
| `- note: 'UIViewControllerContextTransitioning' has been explicitly marked unavailable here
69 |
70 | // The view in which the animated transition should take place.
/Users/admin/builder/spi-builder-workspace/Sources/ModalKit/Animator/MKPresentationAnimator.swift:42:60: error: 'UIViewControllerContextTransitioning' is unavailable in watchOS
40 | }
41 |
42 | public func animateTransition(using transitionContext: UIViewControllerContextTransitioning) {
| `- error: 'UIViewControllerContextTransitioning' is unavailable in watchOS
43 | let key: UITransitionContextViewControllerKey = isPresenting ? .to : .from
44 | // Retrieve the view controller for the transition
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewControllerTransitioning.h:68:11: note: 'UIViewControllerContextTransitioning' has been explicitly marked unavailable here
66 |
67 | API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
68 | @protocol UIViewControllerContextTransitioning <NSObject>
| `- note: 'UIViewControllerContextTransitioning' has been explicitly marked unavailable here
69 |
70 | // The view in which the animated transition should take place.
/Users/admin/builder/spi-builder-workspace/Sources/ModalKit/Animator/MKPresentationAnimator.swift:13:54: error: 'UIViewControllerAnimatedTransitioning' is unavailable in watchOS
11 | /// `MKPresentationAnimator` is responsible for managing the presentation and dismissal.
12 | /// It conforms to `UIViewControllerAnimatedTransitioning` to provide custom transition animations.
13 | public final class MKPresentationAnimator: NSObject, UIViewControllerAnimatedTransitioning {
| `- error: 'UIViewControllerAnimatedTransitioning' is unavailable in watchOS
14 | // MARK: Properties
15 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewControllerTransitioning.h:137:11: note: 'UIViewControllerAnimatedTransitioning' has been explicitly marked unavailable here
135 |
136 | API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
137 | @protocol UIViewControllerAnimatedTransitioning <NSObject>
| `- note: 'UIViewControllerAnimatedTransitioning' has been explicitly marked unavailable here
138 |
139 | // This is used for percent driven interactive transitions, as well as for
/Users/admin/builder/spi-builder-workspace/Sources/ModalKit/Animator/MKPresentationAnimator.swift:43:18: error: 'UITransitionContextViewControllerKey' is unavailable in watchOS
41 |
42 | public func animateTransition(using transitionContext: UIViewControllerContextTransitioning) {
43 | let key: UITransitionContextViewControllerKey = isPresenting ? .to : .from
| `- error: 'UITransitionContextViewControllerKey' is unavailable in watchOS
44 | // Retrieve the view controller for the transition
45 | guard let controller = transitionContext.viewController(forKey: key) else { return }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewControllerTransitionCoordinator.h:16:20: note: 'UITransitionContextViewControllerKey' has been explicitly marked unavailable here
14 | NS_HEADER_AUDIT_BEGIN(nullability, sendability)
15 |
16 | typedef NSString * UITransitionContextViewControllerKey NS_TYPED_ENUM API_UNAVAILABLE(watchos);
| `- note: 'UITransitionContextViewControllerKey' has been explicitly marked unavailable here
17 | typedef NSString * UITransitionContextViewKey NS_TYPED_ENUM API_UNAVAILABLE(watchos);
18 |
/Users/admin/builder/spi-builder-workspace/Sources/ModalKit/Animator/MKPresentationAnimator.swift:43:73: error: 'to' is unavailable in watchOS
41 |
42 | public func animateTransition(using transitionContext: UIViewControllerContextTransitioning) {
43 | let key: UITransitionContextViewControllerKey = isPresenting ? .to : .from
| `- error: 'to' is unavailable in watchOS
44 | // Retrieve the view controller for the transition
45 | guard let controller = transitionContext.viewController(forKey: key) else { return }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewControllerTransitioning.h:24:57: note: 'to' has been explicitly marked unavailable here
22 |
23 | UIKIT_EXTERN UITransitionContextViewControllerKey const UITransitionContextFromViewControllerKey API_UNAVAILABLE(watchos) NS_SWIFT_NAME(from) API_AVAILABLE(ios(7.0));
24 | UIKIT_EXTERN UITransitionContextViewControllerKey const UITransitionContextToViewControllerKey API_UNAVAILABLE(watchos) NS_SWIFT_NAME(to) API_AVAILABLE(ios(7.0));
| `- note: 'to' has been explicitly marked unavailable here
25 |
26 | UIKIT_EXTERN UITransitionContextViewKey const UITransitionContextFromViewKey API_UNAVAILABLE(watchos) NS_SWIFT_NAME(from) API_AVAILABLE(ios(8.0));
/Users/admin/builder/spi-builder-workspace/Sources/ModalKit/Animator/MKPresentationAnimator.swift:43:79: error: 'from' is unavailable in watchOS
41 |
42 | public func animateTransition(using transitionContext: UIViewControllerContextTransitioning) {
43 | let key: UITransitionContextViewControllerKey = isPresenting ? .to : .from
| `- error: 'from' is unavailable in watchOS
44 | // Retrieve the view controller for the transition
45 | guard let controller = transitionContext.viewController(forKey: key) else { return }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewControllerTransitioning.h:23:57: note: 'from' has been explicitly marked unavailable here
21 | // that are created by the system.
22 |
23 | UIKIT_EXTERN UITransitionContextViewControllerKey const UITransitionContextFromViewControllerKey API_UNAVAILABLE(watchos) NS_SWIFT_NAME(from) API_AVAILABLE(ios(7.0));
| `- note: 'from' has been explicitly marked unavailable here
24 | UIKIT_EXTERN UITransitionContextViewControllerKey const UITransitionContextToViewControllerKey API_UNAVAILABLE(watchos) NS_SWIFT_NAME(to) API_AVAILABLE(ios(7.0));
25 |
/Users/admin/builder/spi-builder-workspace/Sources/ModalKit/Animator/MKPresentationAnimator.swift:47:47: error: 'containerView' is unavailable in watchOS
45 | guard let controller = transitionContext.viewController(forKey: key) else { return }
46 |
47 | let containerView = transitionContext.containerView
| `- error: 'containerView' is unavailable in watchOS
48 | if isPresenting {
49 | containerView.addSubview(controller.view)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewControllerTransitioning.h:71:40: note: 'containerView' has been explicitly marked unavailable here
69 |
70 | // The view in which the animated transition should take place.
71 | @property(nonatomic, readonly) UIView *containerView API_UNAVAILABLE(watchos);
| `- note: 'containerView' has been explicitly marked unavailable here
72 |
73 | // Most of the time this is YES. For custom transitions that use the new UIModalPresentationCustom
/Users/admin/builder/spi-builder-workspace/Sources/ModalKit/Animator/MKPresentationAnimator.swift:64:9: error: 'UIView' is unavailable in watchOS
62 | let animationDuration = transitionDuration(using: transitionContext)
63 | controller.view.frame = initialFrame
64 | UIView.animate(withDuration: animationDuration,
| `- error: 'UIView' is unavailable in watchOS
65 | delay: 0,
66 | usingSpringWithDamping: 1.0,
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/ModalKit/Controller/MKPresentationController.swift:23:35: error: 'UIView' is unavailable in watchOS
21 |
22 | /// The drag indicator shown at the top of the modal, allowing users to drag it.
23 | open lazy var swipeIndicator: UIView = {
| `- error: 'UIView' is unavailable in watchOS
24 | let view = UIView()
25 | view.backgroundColor = config.dragIndicatorColor
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/ModalKit/Controller/MKPresentationController.swift:24:20: error: 'UIView' is unavailable in watchOS
22 | /// The drag indicator shown at the top of the modal, allowing users to drag it.
23 | open lazy var swipeIndicator: UIView = {
24 | let view = UIView()
| `- error: 'UIView' is unavailable in watchOS
25 | view.backgroundColor = config.dragIndicatorColor
26 | return view
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/ModalKit/Controller/MKPresentationController.swift:24:20: error: 'init()' is unavailable in watchOS
22 | /// The drag indicator shown at the top of the modal, allowing users to drag it.
23 | open lazy var swipeIndicator: UIView = {
24 | let view = UIView()
| `- error: 'init()' is unavailable in watchOS
25 | view.backgroundColor = config.dragIndicatorColor
26 | return view
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:158:1: note: 'init()' has been explicitly marked unavailable here
156 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER;
157 | - (nullable instancetype)initWithCoder:(NSCoder *)coder NS_DESIGNATED_INITIALIZER;
158 | - (instancetype)init API_AVAILABLE(ios(2.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
| `- note: 'init()' has been explicitly marked unavailable here
159 |
160 | @property(nonatomic,getter=isUserInteractionEnabled) BOOL userInteractionEnabled; // default is YES. if set to NO, user events (touch, keys) are ignored and removed from the event queue.
/Users/admin/builder/spi-builder-workspace/Sources/ModalKit/Controller/MKPresentationController.swift:30:41: error: 'UIPanGestureRecognizer' is unavailable in watchOS
28 |
29 | /// The gesture recognizer for dragging the modal view.
30 | open lazy var panGestureRecognizer: UIPanGestureRecognizer = {
| `- error: 'UIPanGestureRecognizer' is unavailable in watchOS
31 | let gesture = UIPanGestureRecognizer(target: self, action: #selector(handlePanGesture(_:)))
32 | gesture.minimumNumberOfTouches = 1
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPanGestureRecognizer.h:31:12: note: 'UIPanGestureRecognizer' has been explicitly marked unavailable here
29 |
30 | UIKIT_EXTERN API_AVAILABLE(ios(3.2)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
31 | @interface UIPanGestureRecognizer : UIGestureRecognizer
| `- note: 'UIPanGestureRecognizer' has been explicitly marked unavailable here
32 |
33 | @property (nonatomic) NSUInteger minimumNumberOfTouches API_UNAVAILABLE(tvos); // default is 1. the minimum number of touches required to match
/Users/admin/builder/spi-builder-workspace/Sources/ModalKit/Controller/MKPresentationController.swift:31:23: error: 'UIPanGestureRecognizer' is unavailable in watchOS
29 | /// The gesture recognizer for dragging the modal view.
30 | open lazy var panGestureRecognizer: UIPanGestureRecognizer = {
31 | let gesture = UIPanGestureRecognizer(target: self, action: #selector(handlePanGesture(_:)))
| `- error: 'UIPanGestureRecognizer' is unavailable in watchOS
32 | gesture.minimumNumberOfTouches = 1
33 | gesture.maximumNumberOfTouches = 1
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPanGestureRecognizer.h:31:12: note: 'UIPanGestureRecognizer' has been explicitly marked unavailable here
29 |
30 | UIKIT_EXTERN API_AVAILABLE(ios(3.2)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
31 | @interface UIPanGestureRecognizer : UIGestureRecognizer
| `- note: 'UIPanGestureRecognizer' has been explicitly marked unavailable here
32 |
33 | @property (nonatomic) NSUInteger minimumNumberOfTouches API_UNAVAILABLE(tvos); // default is 1. the minimum number of touches required to match
/Users/admin/builder/spi-builder-workspace/Sources/ModalKit/Controller/MKPresentationController.swift:39:17: error: 'name' is unavailable in watchOS
37 | gesture.delaysTouchesEnded = false
38 |
39 | gesture.name = "mkpresentationcontroller.pangesture"
| `- error: 'name' is unavailable in watchOS
40 | gesture.delegate = self
41 | return gesture
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGestureRecognizer.h:80:49: note: 'name' has been explicitly marked unavailable here
78 | - (CGPoint)locationOfTouch:(NSUInteger)touchIndex inView:(nullable UIView*)view; // the location of a particular touch
79 |
80 | @property (nullable, nonatomic, copy) NSString *name API_AVAILABLE(ios(11.0), tvos(11.0)) API_UNAVAILABLE(watchos); // name for debugging to appear in logging
| `- note: 'name' has been explicitly marked unavailable here
81 |
82 | // Values from the last event processed.
/Users/admin/builder/spi-builder-workspace/Sources/ModalKit/Controller/Presentable/MKPresentableConfiguration.swift:45:48: error: 'label' is unavailable in watchOS
43 | showDragIndicator: Bool = true,
44 | dragIndicatorSize: CGSize = .init(width: 40, height: 5),
45 | dragIndicatorColor: UIColor = .label,
| `- error: 'label' is unavailable in watchOS
46 | dismissibleScale: CGFloat = 0.6
47 | ) {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIInterface.h:171:49: note: 'label' has been explicitly marked unavailable here
169 | /* Foreground colors for static text and related elements.
170 | */
171 | @property (class, nonatomic, readonly) UIColor *labelColor API_AVAILABLE(ios(13.0), tvos(13.0)) API_UNAVAILABLE(watchos);
| `- note: 'label' has been explicitly marked unavailable here
172 | @property (class, nonatomic, readonly) UIColor *secondaryLabelColor API_AVAILABLE(ios(13.0), tvos(13.0)) API_UNAVAILABLE(watchos);
173 | @property (class, nonatomic, readonly) UIColor *tertiaryLabelColor API_AVAILABLE(ios(13.0), tvos(13.0)) API_UNAVAILABLE(watchos);
/Users/admin/builder/spi-builder-workspace/Sources/ModalKit/Controller/MKPresentationController.swift:91:28: error: 'UIWindow' is unavailable in watchOS
89 |
90 | /// The current key window.
91 | private var keyWindow: UIWindow? {
| `- error: 'UIWindow' is unavailable in watchOS
92 | UIApplication.shared.connectedScenes
93 | .flatMap { ($0 as? UIWindowScene)?.windows ?? [] }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h:22:12: note: 'UIWindow' has been explicitly marked unavailable here
20 |
21 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
22 | @interface UIWindow : UIView
| `- note: 'UIWindow' has been explicitly marked unavailable here
23 |
24 | // instantiate a UIWindow already associated with a given UIWindowScene instance, with matching frame & interface orientations.
/Users/admin/builder/spi-builder-workspace/Sources/ModalKit/Controller/MKPresentationController.swift:173:35: error: 'UIViewController' is unavailable in watchOS
171 | /// - direction: The direction of the presentation.
172 | /// - onDismiss: A closure to execute when the modal is dismissed.
173 | init(presentedViewController: UIViewController,
| `- error: 'UIViewController' is unavailable in watchOS
174 | presenting presentingViewController: UIViewController?,
175 | onDismiss: (() -> Void)?) {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/ModalKit/Controller/MKPresentationController.swift:174:47: error: 'UIViewController' is unavailable in watchOS
172 | /// - onDismiss: A closure to execute when the modal is dismissed.
173 | init(presentedViewController: UIViewController,
174 | presenting presentingViewController: UIViewController?,
| `- error: 'UIViewController' is unavailable in watchOS
175 | onDismiss: (() -> Void)?) {
176 | self.onDismiss = onDismiss
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/ModalKit/Controller/MKPresentationController.swift:12:40: error: 'UIPresentationController' is unavailable in watchOS
10 |
11 | /// A custom presentation controller for managing modal presentations with configurable sizes, gestures, and animations.
12 | public class MKPresentationController: UIPresentationController {
| `- error: 'UIPresentationController' is unavailable in watchOS
13 | // MARK: Public Properties
14 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPresentationController.h:65:12: note: 'UIPresentationController' has been explicitly marked unavailable here
63 |
64 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
65 | @interface UIPresentationController : NSObject <UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIPresentationController' has been explicitly marked unavailable here
66 |
67 | @property(nonatomic, strong, readonly) UIViewController *presentingViewController;
/Users/admin/builder/spi-builder-workspace/Sources/ModalKit/Controller/MKPresentationController.swift:431:23: error: 'UIScrollView' is unavailable in watchOS
429 | /// Otherwise, normal scrolling is allowed.
430 | private func handleScrollViewOffsetChange(
431 | _ scrollView: UIScrollView,
| `- error: 'UIScrollView' is unavailable in watchOS
432 | change: NSKeyValueObservedChange<CGPoint>
433 | ) {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScrollView.h:87:12: note: 'UIScrollView' has been explicitly marked unavailable here
85 |
86 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
87 | @interface UIScrollView : UIView <NSCoding, UIFocusItemScrollableContainer>
| `- note: 'UIScrollView' has been explicitly marked unavailable here
88 |
89 | @property(nonatomic) CGPoint contentOffset; // default CGPointZero
/Users/admin/builder/spi-builder-workspace/Sources/ModalKit/Controller/MKPresentationController.swift:455:41: error: 'UIPanGestureRecognizer' is unavailable in watchOS
453 | ///
454 | /// Returns `false` if the scroll view is scrolling downward from a nonzero offset.
455 | private func shouldBegin(_ gesture: UIPanGestureRecognizer) -> Bool {
| `- error: 'UIPanGestureRecognizer' is unavailable in watchOS
456 | // Check basic conditions & scrollView presence
457 | guard presentable?.shouldContinue(with: gesture) ?? true else {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPanGestureRecognizer.h:31:12: note: 'UIPanGestureRecognizer' has been explicitly marked unavailable here
29 |
30 | UIKIT_EXTERN API_AVAILABLE(ios(3.2)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
31 | @interface UIPanGestureRecognizer : UIGestureRecognizer
| `- note: 'UIPanGestureRecognizer' has been explicitly marked unavailable here
32 |
33 | @property (nonatomic) NSUInteger minimumNumberOfTouches API_UNAVAILABLE(tvos); // default is 1. the minimum number of touches required to match
/Users/admin/builder/spi-builder-workspace/Sources/ModalKit/Controller/MKPresentationController.swift:492:52: error: 'UIPanGestureRecognizer' is unavailable in watchOS
490 | /// any “resistance” factor or dismissible logic. When the gesture ends,
491 | /// it snaps to the nearest valid origin or dismisses if the user pulled it far enough.
492 | @objc private func handlePanGesture(_ gesture: UIPanGestureRecognizer) {
| `- error: 'UIPanGestureRecognizer' is unavailable in watchOS
493 | // Get the current translation of the gesture
494 | let translation = gesture.translation(in: presentedViewController.view)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPanGestureRecognizer.h:31:12: note: 'UIPanGestureRecognizer' has been explicitly marked unavailable here
29 |
30 | UIKIT_EXTERN API_AVAILABLE(ios(3.2)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
31 | @interface UIPanGestureRecognizer : UIGestureRecognizer
| `- note: 'UIPanGestureRecognizer' has been explicitly marked unavailable here
32 |
33 | @property (nonatomic) NSUInteger minimumNumberOfTouches API_UNAVAILABLE(tvos); // default is 1. the minimum number of touches required to match
/Users/admin/builder/spi-builder-workspace/Sources/ModalKit/Controller/MKPresentationController.swift:549:56: error: 'UIGestureRecognizer' is unavailable in watchOS
547 |
548 | extension MKPresentationController: UIGestureRecognizerDelegate {
549 | public func gestureRecognizer(_ gestureRecognizer: UIGestureRecognizer, shouldBeRequiredToFailBy otherGestureRecognizer: UIGestureRecognizer) -> Bool {
| `- error: 'UIGestureRecognizer' is unavailable in watchOS
550 | return false
551 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGestureRecognizer.h:35:12: note: 'UIGestureRecognizer' has been explicitly marked unavailable here
33 |
34 | UIKIT_EXTERN API_AVAILABLE(ios(3.2)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
35 | @interface UIGestureRecognizer : NSObject
| `- note: 'UIGestureRecognizer' has been explicitly marked unavailable here
36 |
37 | // Valid action method signatures:
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/ModalKit/Animator/MKPresentationAnimator.swift (in target 'ModalKit' from project 'ModalKit')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile MKPresentationAnimator.swift
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/ModalKit/Controller/MKPresentationController.swift (in target 'ModalKit' from project 'ModalKit')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile MKPresentationController.swift
/Users/admin/builder/spi-builder-workspace/Sources/ModalKit/Controller/MKPresentationController.swift:549:126: error: 'UIGestureRecognizer' is unavailable in watchOS
547 |
548 | extension MKPresentationController: UIGestureRecognizerDelegate {
549 | public func gestureRecognizer(_ gestureRecognizer: UIGestureRecognizer, shouldBeRequiredToFailBy otherGestureRecognizer: UIGestureRecognizer) -> Bool {
| `- error: 'UIGestureRecognizer' is unavailable in watchOS
550 | return false
551 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGestureRecognizer.h:35:12: note: 'UIGestureRecognizer' has been explicitly marked unavailable here
33 |
34 | UIKIT_EXTERN API_AVAILABLE(ios(3.2)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
35 | @interface UIGestureRecognizer : NSObject
| `- note: 'UIGestureRecognizer' has been explicitly marked unavailable here
36 |
37 | // Valid action method signatures:
/Users/admin/builder/spi-builder-workspace/Sources/ModalKit/Controller/MKPresentationController.swift:553:56: error: 'UIGestureRecognizer' is unavailable in watchOS
551 | }
552 |
553 | public func gestureRecognizer(_ gestureRecognizer: UIGestureRecognizer, shouldRecognizeSimultaneouslyWith otherGestureRecognizer: UIGestureRecognizer) -> Bool {
| `- error: 'UIGestureRecognizer' is unavailable in watchOS
554 | // This ensures that other panGesture can work together with the scrollView's internal pan gesture
555 | return otherGestureRecognizer.view == presentable?.scrollView
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGestureRecognizer.h:35:12: note: 'UIGestureRecognizer' has been explicitly marked unavailable here
33 |
34 | UIKIT_EXTERN API_AVAILABLE(ios(3.2)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
35 | @interface UIGestureRecognizer : NSObject
| `- note: 'UIGestureRecognizer' has been explicitly marked unavailable here
36 |
37 | // Valid action method signatures:
/Users/admin/builder/spi-builder-workspace/Sources/ModalKit/Controller/MKPresentationController.swift:553:135: error: 'UIGestureRecognizer' is unavailable in watchOS
551 | }
552 |
553 | public func gestureRecognizer(_ gestureRecognizer: UIGestureRecognizer, shouldRecognizeSimultaneouslyWith otherGestureRecognizer: UIGestureRecognizer) -> Bool {
| `- error: 'UIGestureRecognizer' is unavailable in watchOS
554 | // This ensures that other panGesture can work together with the scrollView's internal pan gesture
555 | return otherGestureRecognizer.view == presentable?.scrollView
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGestureRecognizer.h:35:12: note: 'UIGestureRecognizer' has been explicitly marked unavailable here
33 |
34 | UIKIT_EXTERN API_AVAILABLE(ios(3.2)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
35 | @interface UIGestureRecognizer : NSObject
| `- note: 'UIGestureRecognizer' has been explicitly marked unavailable here
36 |
37 | // Valid action method signatures:
/Users/admin/builder/spi-builder-workspace/Sources/ModalKit/Controller/MKPresentationController.swift:548:37: error: 'UIGestureRecognizerDelegate' is unavailable in watchOS
546 | // MARK: - UIGestureRecognizerDelegate
547 |
548 | extension MKPresentationController: UIGestureRecognizerDelegate {
| `- error: 'UIGestureRecognizerDelegate' is unavailable in watchOS
549 | public func gestureRecognizer(_ gestureRecognizer: UIGestureRecognizer, shouldBeRequiredToFailBy otherGestureRecognizer: UIGestureRecognizer) -> Bool {
550 | return false
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGestureRecognizer.h:91:11: note: 'UIGestureRecognizerDelegate' has been explicitly marked unavailable here
89 |
90 | API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
91 | @protocol UIGestureRecognizerDelegate <NSObject>
| `- note: 'UIGestureRecognizerDelegate' has been explicitly marked unavailable here
92 | @optional
93 | // called when a gesture recognizer attempts to transition out of UIGestureRecognizerStatePossible. returning NO causes it to transition to UIGestureRecognizerStateFailed
/Users/admin/builder/spi-builder-workspace/Sources/ModalKit/Controller/MKPresentationController.swift:63:42: error: 'UIScreen' is unavailable in watchOS
61 | /// The size of the screen, calculated from the key window.
62 | private var screenSize: CGSize {
63 | return keyWindow?.bounds.size ?? UIScreen.main.bounds.size
| `- error: 'UIScreen' is unavailable in watchOS
64 | }
65 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScreen.h:54:12: note: 'UIScreen' has been explicitly marked unavailable here
52 |
53 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(visionos, watchos) NS_SWIFT_UI_ACTOR
54 | @interface UIScreen : NSObject <UITraitEnvironment>
| `- note: 'UIScreen' has been explicitly marked unavailable here
55 |
56 | @property(class, nonatomic, readonly) NSArray<UIScreen *> *screens API_DEPRECATED("Use UIApplication.shared.openSessions to find open sessions with scenes from other screens", ios(3.2, 16.0), visionos(1.0, 1.0)) API_UNAVAILABLE(watchos); // all screens currently attached to the device
/Users/admin/builder/spi-builder-workspace/Sources/ModalKit/Controller/MKPresentationController.swift:63:51: error: 'main' is unavailable in watchOS
61 | /// The size of the screen, calculated from the key window.
62 | private var screenSize: CGSize {
63 | return keyWindow?.bounds.size ?? UIScreen.main.bounds.size
| `- error: 'main' is unavailable in watchOS
64 | }
65 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScreen.h:57:49: note: 'main' has been explicitly marked unavailable here
55 |
56 | @property(class, nonatomic, readonly) NSArray<UIScreen *> *screens API_DEPRECATED("Use UIApplication.shared.openSessions to find open sessions with scenes from other screens", ios(3.2, 16.0), visionos(1.0, 1.0)) API_UNAVAILABLE(watchos); // all screens currently attached to the device
57 | @property(class, nonatomic, readonly) UIScreen *mainScreen API_DEPRECATED("Use a UIScreen instance found through context instead (i.e, view.window.windowScene.screen), or for properties like UIScreen.scale with trait equivalents, use a traitCollection found through context.", ios(2.0, 26.0), tvos(9.0, 26.0), visionos(1.0, 26.0)) API_UNAVAILABLE(watchos);
| `- note: 'main' has been explicitly marked unavailable here
58 |
59 | @property(nonatomic,readonly) CGRect bounds; // Bounds of entire screen in points
/Users/admin/builder/spi-builder-workspace/Sources/ModalKit/Controller/MKPresentationController.swift:72:35: error: 'safeAreaInsets' is unavailable in watchOS
70 | private var safeAreaInsets: UIEdgeInsets {
71 | // We can not use `presentedViewController.view.safeAreaInsets` since the view ist not fully layed out yet. So we simply use the UIWindow for now
72 | let topInset = keyWindow?.safeAreaInsets.top ?? 64
| `- error: 'safeAreaInsets' is unavailable in watchOS
73 | let bottomInset = (keyWindow?.safeAreaInsets.bottom ?? .zero)
74 | return UIEdgeInsets(top: topInset, left: 0, bottom: bottomInset, right: 0)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:293:45: note: 'safeAreaInsets' has been explicitly marked unavailable here
291 | - (void)layoutMarginsDidChange API_AVAILABLE(ios(8.0));
292 |
293 | @property (nonatomic,readonly) UIEdgeInsets safeAreaInsets API_AVAILABLE(ios(11.0), tvos(11.0)) API_UNAVAILABLE(watchos);
| `- note: 'safeAreaInsets' has been explicitly marked unavailable here
294 | - (void)safeAreaInsetsDidChange API_AVAILABLE(ios(11.0), tvos(11.0)) API_UNAVAILABLE(watchos);
295 |
SwiftCompile normal arm64_32 Compiling\ MKPresentationSize.swift,\ MKPresentable+UIViewController.swift /Users/admin/builder/spi-builder-workspace/Sources/ModalKit/Controller/MKPresentationSize.swift /Users/admin/builder/spi-builder-workspace/Sources/ModalKit/Controller/Presentable/MKPresentable+UIViewController.swift (in target 'ModalKit' from project 'ModalKit')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/ModalKit/Controller/MKPresentationSize.swift (in target 'ModalKit' from project 'ModalKit')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile MKPresentationSize.swift
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/ModalKit/Controller/Presentable/MKPresentable+UIViewController.swift (in target 'ModalKit' from project 'ModalKit')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile MKPresentable+UIViewController.swift
SwiftCompile normal arm64_32 Compiling\ UIView.swift /Users/admin/builder/spi-builder-workspace/Sources/ModalKit/Extension/UIView.swift (in target 'ModalKit' from project 'ModalKit')
/Users/admin/builder/spi-builder-workspace/Sources/ModalKit/Extension/UIView.swift:11:11: error: 'UIView' is unavailable in watchOS
9 | import UIKit
10 |
11 | extension UIView {
| `- error: 'UIView' is unavailable in watchOS
12 | func roundCorners(corners: UIRectCorner, radius: CGFloat) {
13 | let path = UIBezierPath(roundedRect: bounds, byRoundingCorners: corners,
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/ModalKit/Extension/UIView.swift:16:20: error: 'CAShapeLayer' is unavailable in watchOS
14 | cornerRadii: CGSize(width: radius, height: radius))
15 |
16 | let mask = CAShapeLayer()
| `- error: 'CAShapeLayer' is unavailable in watchOS
17 | mask.path = path.cgPath
18 | layer.mask = mask
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAShapeLayer.h:40:12: note: 'CAShapeLayer' has been explicitly marked unavailable here
38 |
39 | API_AVAILABLE(macos(10.6), ios(3.0), tvos(9.0)) API_UNAVAILABLE(watchos)
40 | @interface CAShapeLayer : CALayer
| `- note: 'CAShapeLayer' has been explicitly marked unavailable here
41 |
42 | /* The path defining the shape to be rendered. If the path extends
/Users/admin/builder/spi-builder-workspace/Sources/ModalKit/Extension/UIView.swift:20:36: error: 'UIScreen' is unavailable in watchOS
18 | layer.mask = mask
19 | layer.shouldRasterize = true
20 | layer.rasterizationScale = UIScreen.main.scale
| `- error: 'UIScreen' is unavailable in watchOS
21 | }
22 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScreen.h:54:12: note: 'UIScreen' has been explicitly marked unavailable here
52 |
53 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(visionos, watchos) NS_SWIFT_UI_ACTOR
54 | @interface UIScreen : NSObject <UITraitEnvironment>
| `- note: 'UIScreen' has been explicitly marked unavailable here
55 |
56 | @property(class, nonatomic, readonly) NSArray<UIScreen *> *screens API_DEPRECATED("Use UIApplication.shared.openSessions to find open sessions with scenes from other screens", ios(3.2, 16.0), visionos(1.0, 1.0)) API_UNAVAILABLE(watchos); // all screens currently attached to the device
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/ModalKit/Extension/UIView.swift (in target 'ModalKit' from project 'ModalKit')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile UIView.swift
SwiftCompile normal arm64_32 Compiling\ MKPresentationManager.swift /Users/admin/builder/spi-builder-workspace/Sources/ModalKit/Delegate/MKPresentationManager.swift (in target 'ModalKit' from project 'ModalKit')
/Users/admin/builder/spi-builder-workspace/Sources/ModalKit/Delegate/MKPresentationManager.swift:36:64: error: 'UIViewController' is unavailable in watchOS
34 | // MARK: - UIViewControllerTransitioningDelegate
35 |
36 | public func presentationController(forPresented presented: UIViewController, presenting: UIViewController?, source: UIViewController) -> UIPresentationController? {
| `- error: 'UIViewController' is unavailable in watchOS
37 | let presentationController = MKPresentationController(presentedViewController: presented,
38 | presenting: presenting,
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/ModalKit/Delegate/MKPresentationManager.swift:36:94: error: 'UIViewController' is unavailable in watchOS
34 | // MARK: - UIViewControllerTransitioningDelegate
35 |
36 | public func presentationController(forPresented presented: UIViewController, presenting: UIViewController?, source: UIViewController) -> UIPresentationController? {
| `- error: 'UIViewController' is unavailable in watchOS
37 | let presentationController = MKPresentationController(presentedViewController: presented,
38 | presenting: presenting,
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/ModalKit/Delegate/MKPresentationManager.swift:36:121: error: 'UIViewController' is unavailable in watchOS
34 | // MARK: - UIViewControllerTransitioningDelegate
35 |
36 | public func presentationController(forPresented presented: UIViewController, presenting: UIViewController?, source: UIViewController) -> UIPresentationController? {
| `- error: 'UIViewController' is unavailable in watchOS
37 | let presentationController = MKPresentationController(presentedViewController: presented,
38 | presenting: presenting,
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/ModalKit/Delegate/MKPresentationManager.swift:36:142: error: 'UIPresentationController' is unavailable in watchOS
34 | // MARK: - UIViewControllerTransitioningDelegate
35 |
36 | public func presentationController(forPresented presented: UIViewController, presenting: UIViewController?, source: UIViewController) -> UIPresentationController? {
| `- error: 'UIPresentationController' is unavailable in watchOS
37 | let presentationController = MKPresentationController(presentedViewController: presented,
38 | presenting: presenting,
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPresentationController.h:65:12: note: 'UIPresentationController' has been explicitly marked unavailable here
63 |
64 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
65 | @interface UIPresentationController : NSObject <UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIPresentationController' has been explicitly marked unavailable here
66 |
67 | @property(nonatomic, strong, readonly) UIViewController *presentingViewController;
/Users/admin/builder/spi-builder-workspace/Sources/ModalKit/Delegate/MKPresentationManager.swift:45:61: error: 'UIViewController' is unavailable in watchOS
43 | }
44 |
45 | public func animationController(forPresented presented: UIViewController, presenting: UIViewController, source: UIViewController) -> UIViewControllerAnimatedTransitioning? {
| `- error: 'UIViewController' is unavailable in watchOS
46 | return MKPresentationAnimator(isPresenting: true, tranistionDuration: 0.4)
47 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/ModalKit/Delegate/MKPresentationManager.swift:45:91: error: 'UIViewController' is unavailable in watchOS
43 | }
44 |
45 | public func animationController(forPresented presented: UIViewController, presenting: UIViewController, source: UIViewController) -> UIViewControllerAnimatedTransitioning? {
| `- error: 'UIViewController' is unavailable in watchOS
46 | return MKPresentationAnimator(isPresenting: true, tranistionDuration: 0.4)
47 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/ModalKit/Delegate/MKPresentationManager.swift:45:117: error: 'UIViewController' is unavailable in watchOS
43 | }
44 |
45 | public func animationController(forPresented presented: UIViewController, presenting: UIViewController, source: UIViewController) -> UIViewControllerAnimatedTransitioning? {
| `- error: 'UIViewController' is unavailable in watchOS
46 | return MKPresentationAnimator(isPresenting: true, tranistionDuration: 0.4)
47 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/ModalKit/Delegate/MKPresentationManager.swift:45:138: error: 'UIViewControllerAnimatedTransitioning' is unavailable in watchOS
43 | }
44 |
45 | public func animationController(forPresented presented: UIViewController, presenting: UIViewController, source: UIViewController) -> UIViewControllerAnimatedTransitioning? {
| `- error: 'UIViewControllerAnimatedTransitioning' is unavailable in watchOS
46 | return MKPresentationAnimator(isPresenting: true, tranistionDuration: 0.4)
47 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewControllerTransitioning.h:137:11: note: 'UIViewControllerAnimatedTransitioning' has been explicitly marked unavailable here
135 |
136 | API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
137 | @protocol UIViewControllerAnimatedTransitioning <NSObject>
| `- note: 'UIViewControllerAnimatedTransitioning' has been explicitly marked unavailable here
138 |
139 | // This is used for percent driven interactive transitions, as well as for
/Users/admin/builder/spi-builder-workspace/Sources/ModalKit/Delegate/MKPresentationManager.swift:49:61: error: 'UIViewController' is unavailable in watchOS
47 | }
48 |
49 | public func animationController(forDismissed dismissed: UIViewController) -> UIViewControllerAnimatedTransitioning? {
| `- error: 'UIViewController' is unavailable in watchOS
50 | return MKPresentationAnimator(isPresenting: false, tranistionDuration: 0.4)
51 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/ModalKit/Delegate/MKPresentationManager.swift:49:82: error: 'UIViewControllerAnimatedTransitioning' is unavailable in watchOS
47 | }
48 |
49 | public func animationController(forDismissed dismissed: UIViewController) -> UIViewControllerAnimatedTransitioning? {
| `- error: 'UIViewControllerAnimatedTransitioning' is unavailable in watchOS
50 | return MKPresentationAnimator(isPresenting: false, tranistionDuration: 0.4)
51 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewControllerTransitioning.h:137:11: note: 'UIViewControllerAnimatedTransitioning' has been explicitly marked unavailable here
135 |
136 | API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
137 | @protocol UIViewControllerAnimatedTransitioning <NSObject>
| `- note: 'UIViewControllerAnimatedTransitioning' has been explicitly marked unavailable here
138 |
139 | // This is used for percent driven interactive transitions, as well as for
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/ModalKit/Delegate/MKPresentationManager.swift (in target 'ModalKit' from project 'ModalKit')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile MKPresentationManager.swift
SwiftCompile normal arm64_32 Compiling\ UIViewController.swift /Users/admin/builder/spi-builder-workspace/Sources/ModalKit/Extension/UIViewController.swift (in target 'ModalKit' from project 'ModalKit')
/Users/admin/builder/spi-builder-workspace/Sources/ModalKit/Extension/UIViewController.swift:19:57: error: 'UIViewController' is unavailable in watchOS
17 | /// - animated: Whether to animate the presentation
18 | /// - completion: A closure to execute after the presentation finishes. Defaults to `nil`.
19 | public func presentModal(_ viewControllerToPresent: UIViewController,
| `- error: 'UIViewController' is unavailable in watchOS
20 | animated: Bool = true,
21 | completion: (() -> Void)? = nil) {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/ModalKit/Extension/UIViewController.swift (in target 'ModalKit' from project 'ModalKit')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile UIViewController.swift
SwiftCompile normal arm64_32 Compiling\ DimmingView.swift /Users/admin/builder/spi-builder-workspace/Sources/ModalKit/View/DimmingView.swift (in target 'ModalKit' from project 'ModalKit')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/ModalKit/View/DimmingView.swift (in target 'ModalKit' from project 'ModalKit')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile DimmingView.swift
/Users/admin/builder/spi-builder-workspace/Sources/ModalKit/View/DimmingView.swift:63:46: error: 'UIGestureRecognizer' is unavailable in watchOS
61 | // MARK: - Methods
62 |
63 | @objc private func didTapView(_ gesture: UIGestureRecognizer) {
| `- error: 'UIGestureRecognizer' is unavailable in watchOS
64 | handler?()
65 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGestureRecognizer.h:35:12: note: 'UIGestureRecognizer' has been explicitly marked unavailable here
33 |
34 | UIKIT_EXTERN API_AVAILABLE(ios(3.2)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
35 | @interface UIGestureRecognizer : NSObject
| `- note: 'UIGestureRecognizer' has been explicitly marked unavailable here
36 |
37 | // Valid action method signatures:
/Users/admin/builder/spi-builder-workspace/Sources/ModalKit/View/DimmingView.swift:13:25: error: 'UIView' is unavailable in watchOS
11 | /// A custom view that dims the background when presented.
12 | /// It supports visibility states and allows for tap gestures with customizable handlers.
13 | open class DimmingView: UIView {
| `- error: 'UIView' is unavailable in watchOS
14 | // MARK: - State
15 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
SwiftCompile normal arm64_32 Compiling\ UIEdgeInsets.swift /Users/admin/builder/spi-builder-workspace/Sources/ModalKit/Extension/UIEdgeInsets.swift (in target 'ModalKit' from project 'ModalKit')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/ModalKit/Extension/UIEdgeInsets.swift (in target 'ModalKit' from project 'ModalKit')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile UIEdgeInsets.swift
SwiftCompile normal arm64_32 Compiling\ Sequence.swift /Users/admin/builder/spi-builder-workspace/Sources/ModalKit/Extension/Sequence.swift (in target 'ModalKit' from project 'ModalKit')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/ModalKit/Extension/Sequence.swift (in target 'ModalKit' from project 'ModalKit')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile Sequence.swift
SwiftCompile normal arm64_32 Compiling\ UIColor.swift /Users/admin/builder/spi-builder-workspace/Sources/ModalKit/Extension/UIColor.swift (in target 'ModalKit' from project 'ModalKit')
/Users/admin/builder/spi-builder-workspace/Sources/ModalKit/Extension/UIColor.swift:16:16: error: 'init(dynamicProvider:)' is unavailable in watchOS
14 | /// - Returns: A `UIColor` that adapts based on the current trait environment.
15 | public static var modalKitBackground: UIColor {
16 | return UIColor { traitCollection in
| `- error: 'init(dynamicProvider:)' is unavailable in watchOS
17 | switch traitCollection.userInterfaceStyle {
18 | case .dark:
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIColor.h:144:1: note: 'init(dynamicProvider:)' has been explicitly marked unavailable here
142 |
143 | + (UIColor *)colorWithDynamicProvider:(UIColor * (^)(UITraitCollection *traitCollection))dynamicProvider API_AVAILABLE(ios(13.0), tvos(13.0)) API_UNAVAILABLE(watchos);
144 | - (UIColor *)initWithDynamicProvider:(UIColor * (^)(UITraitCollection *traitCollection))dynamicProvider API_AVAILABLE(ios(13.0), tvos(13.0)) API_UNAVAILABLE(watchos);
| `- note: 'init(dynamicProvider:)' has been explicitly marked unavailable here
145 |
146 | /* Resolve any color to its most fundamental form (a non-dynamic color) for a specific trait collection.
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/ModalKit/Extension/UIColor.swift (in target 'ModalKit' from project 'ModalKit')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile UIColor.swift
SwiftEmitModule normal arm64 Emitting\ module\ for\ ModalKit (in target 'ModalKit' from project 'ModalKit')
SwiftCompile normal arm64 (in target 'ModalKit' from project 'ModalKit')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules
2026-09-21 14:09:55.127 xcodebuild[806:4774] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
** BUILD FAILED **
The following build commands failed:
SwiftCompile normal arm64_32 (in target 'ModalKit' from project 'ModalKit')
SwiftEmitModule normal arm64_32 Emitting\ module\ for\ ModalKit (in target 'ModalKit' from project 'ModalKit')
Building workspace ModalKit with scheme ModalKit
(3 failures)
BUILD FAILURE 6.4 watchOS