Build Information
Failed to build SheetKit, reference main (5e6daa), with Swift 6.4 for watchOS using Xcode 27.0 on 18 Sep 2026 03:51:21 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 SheetKit -destination generic/platform=watchOSBuild Log
13 | private let detents: [UISheetPresentationController.Detent]
14 | private let largestUndimmedDetentIdentifier: UISheetPresentationController.Detent.Identifier?
/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/SheetKit/BottomSheetViewController.swift:12:73: error: 'UISheetPresentationControllerDelegate' is unavailable in watchOS
10 | import UIKit
11 |
12 | final class BottomSheetViewController<Content: View>: UIViewController, UISheetPresentationControllerDelegate {
| `- error: 'UISheetPresentationControllerDelegate' is unavailable in watchOS
13 | private let detents: [UISheetPresentationController.Detent]
14 | private let largestUndimmedDetentIdentifier: UISheetPresentationController.Detent.Identifier?
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISheetPresentationController.h:96:11: note: 'UISheetPresentationControllerDelegate' has been explicitly marked unavailable here
94 |
95 | UIKIT_EXTERN API_AVAILABLE(ios(15.0)) API_UNAVAILABLE(tvos, watchos) NS_SWIFT_UI_ACTOR
96 | @protocol UISheetPresentationControllerDelegate <UIAdaptivePresentationControllerDelegate>
| `- note: 'UISheetPresentationControllerDelegate' has been explicitly marked unavailable here
97 |
98 | @optional
/Users/admin/builder/spi-builder-workspace/Sources/SheetKit/ClearBackgournd.swift:12:30: error: cannot find type 'Context' in scope
10 |
11 | struct BackgroundCleanerView: UIViewRepresentable {
12 | func makeUIView(context: Context) -> UIView {
| `- error: cannot find type 'Context' in scope
13 | let view = UIView()
14 | DispatchQueue.main.async {
/Users/admin/builder/spi-builder-workspace/Sources/SheetKit/ClearBackgournd.swift:12:42: error: 'UIView' is unavailable in watchOS
10 |
11 | struct BackgroundCleanerView: UIViewRepresentable {
12 | func makeUIView(context: Context) -> UIView {
| `- error: 'UIView' is unavailable in watchOS
13 | let view = UIView()
14 | DispatchQueue.main.async {
/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/SheetKit/ClearBackgournd.swift:20:50: error: cannot find type 'Context' in scope
18 | }
19 |
20 | func updateUIView(_ uiView: UIView, context: Context) {}
| `- error: cannot find type 'Context' in scope
21 | }
22 |
/Users/admin/builder/spi-builder-workspace/Sources/SheetKit/ClearBackgournd.swift:20:33: error: 'UIView' is unavailable in watchOS
18 | }
19 |
20 | func updateUIView(_ uiView: UIView, context: Context) {}
| `- error: 'UIView' is unavailable in watchOS
21 | }
22 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/SheetKit/ClearBackgournd.swift:11:31: error: cannot find type 'UIViewRepresentable' in scope
9 | import SwiftUI
10 |
11 | struct BackgroundCleanerView: UIViewRepresentable {
| `- error: cannot find type 'UIViewRepresentable' in scope
12 | func makeUIView(context: Context) -> UIView {
13 | let view = UIView()
/Users/admin/builder/spi-builder-workspace/Sources/SheetKit/InteractiveDismissDisabled.swift:18:30: error: cannot find type 'Context' in scope
16 | }
17 |
18 | func makeUIView(context: Context) -> some UIView {
| `- error: cannot find type 'Context' in scope
19 | let view = UIView()
20 | return view
/Users/admin/builder/spi-builder-workspace/Sources/SheetKit/InteractiveDismissDisabled.swift:18:47: error: 'UIView' is unavailable in watchOS
16 | }
17 |
18 | func makeUIView(context: Context) -> some UIView {
| `- error: 'UIView' is unavailable in watchOS
19 | let view = UIView()
20 | 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/SheetKit/InteractiveDismissDisabled.swift:23:33: error: cannot find type 'UIViewType' in scope
21 | }
22 |
23 | func updateUIView(_ uiView: UIViewType, context: Context) {
| `- error: cannot find type 'UIViewType' in scope
24 | DispatchQueue.main.async {
25 | if uiView.parentViewController?.sheetPresentationController != nil {
/Users/admin/builder/spi-builder-workspace/Sources/SheetKit/InteractiveDismissDisabled.swift:23:54: error: cannot find type 'Context' in scope
21 | }
22 |
23 | func updateUIView(_ uiView: UIViewType, context: Context) {
| `- error: cannot find type 'Context' in scope
24 | DispatchQueue.main.async {
25 | if uiView.parentViewController?.sheetPresentationController != nil {
/Users/admin/builder/spi-builder-workspace/Sources/SheetKit/InteractiveDismissDisabled.swift:11:26: error: cannot find type 'UIViewRepresentable' in scope
9 | import UIKit
10 |
11 | struct SetSheetDelegate: UIViewRepresentable {
| `- error: cannot find type 'UIViewRepresentable' in scope
12 | let delegate: SheetDelegate
13 |
/Users/admin/builder/spi-builder-workspace/Sources/SheetKit/InteractiveDismissDisabled.swift:39:31: error: 'UISheetPresentationControllerDelegate' is unavailable in watchOS
37 | var isDisable: Bool
38 | @Binding var attempToDismiss: UUID
39 | weak var originalDelegate:UISheetPresentationControllerDelegate?
| `- error: 'UISheetPresentationControllerDelegate' is unavailable in watchOS
40 |
41 | init(_ isDisable: Bool, attempToDismiss: Binding<UUID> = .constant(UUID())) {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISheetPresentationController.h:96:11: note: 'UISheetPresentationControllerDelegate' has been explicitly marked unavailable here
94 |
95 | UIKIT_EXTERN API_AVAILABLE(ios(15.0)) API_UNAVAILABLE(tvos, watchos) NS_SWIFT_UI_ACTOR
96 | @protocol UISheetPresentationControllerDelegate <UIAdaptivePresentationControllerDelegate>
| `- note: 'UISheetPresentationControllerDelegate' has been explicitly marked unavailable here
97 |
98 | @optional
/Users/admin/builder/spi-builder-workspace/Sources/SheetKit/InteractiveDismissDisabled.swift:46:72: error: 'UIPresentationController' is unavailable in watchOS
44 | }
45 |
46 | func presentationControllerShouldDismiss(_ presentationController: UIPresentationController) -> Bool {
| `- error: 'UIPresentationController' is unavailable in watchOS
47 | !isDisable
48 | }
/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/SheetKit/InteractiveDismissDisabled.swift:50:78: error: 'UIPresentationController' is unavailable in watchOS
48 | }
49 |
50 | func presentationControllerDidAttemptToDismiss(_ presentationController: UIPresentationController) {
| `- error: 'UIPresentationController' is unavailable in watchOS
51 | attempToDismiss = UUID()
52 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/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/SheetKit/InteractiveDismissDisabled.swift:54:102: error: 'UISheetPresentationController' is unavailable in watchOS
52 | }
53 |
54 | func sheetPresentationControllerDidChangeSelectedDetentIdentifier(_ sheetPresentationController: UISheetPresentationController) {
| `- error: 'UISheetPresentationController' is unavailable in watchOS
55 | originalDelegate?.sheetPresentationControllerDidChangeSelectedDetentIdentifier?(sheetPresentationController)
56 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISheetPresentationController.h:108:12: note: 'UISheetPresentationController' has been explicitly marked unavailable here
106 |
107 | UIKIT_EXTERN API_AVAILABLE(ios(15.0)) API_UNAVAILABLE(tvos, watchos) NS_SWIFT_UI_ACTOR
108 | @interface UISheetPresentationController : UIPresentationController
| `- note: 'UISheetPresentationController' has been explicitly marked unavailable here
109 |
110 | // The delegate inherited from UIPresentationController, redeclared with conformance to UISheetPresentationControllerDelegate.
/Users/admin/builder/spi-builder-workspace/Sources/SheetKit/InteractiveDismissDisabled.swift:36:38: error: 'UIAdaptivePresentationControllerDelegate' is unavailable in watchOS
34 | }
35 |
36 | final class SheetDelegate: NSObject, UIAdaptivePresentationControllerDelegate, UISheetPresentationControllerDelegate {
| `- error: 'UIAdaptivePresentationControllerDelegate' is unavailable in watchOS
37 | var isDisable: Bool
38 | @Binding var attempToDismiss: UUID
/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:24:11: note: 'UIAdaptivePresentationControllerDelegate' has been explicitly marked unavailable here
22 |
23 | API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
24 | @protocol UIAdaptivePresentationControllerDelegate <NSObject>
| `- note: 'UIAdaptivePresentationControllerDelegate' has been explicitly marked unavailable here
25 |
26 | @optional
/Users/admin/builder/spi-builder-workspace/Sources/SheetKit/InteractiveDismissDisabled.swift:36:80: error: 'UISheetPresentationControllerDelegate' is unavailable in watchOS
34 | }
35 |
36 | final class SheetDelegate: NSObject, UIAdaptivePresentationControllerDelegate, UISheetPresentationControllerDelegate {
| `- error: 'UISheetPresentationControllerDelegate' is unavailable in watchOS
37 | var isDisable: Bool
38 | @Binding var attempToDismiss: UUID
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISheetPresentationController.h:96:11: note: 'UISheetPresentationControllerDelegate' has been explicitly marked unavailable here
94 |
95 | UIKIT_EXTERN API_AVAILABLE(ios(15.0)) API_UNAVAILABLE(tvos, watchos) NS_SWIFT_UI_ACTOR
96 | @protocol UISheetPresentationControllerDelegate <UIAdaptivePresentationControllerDelegate>
| `- note: 'UISheetPresentationControllerDelegate' has been explicitly marked unavailable here
97 |
98 | @optional
/Users/admin/builder/spi-builder-workspace/Sources/SheetKit/InteractiveDismissDisabled.swift:46:10: error: cannot override 'presentationControllerShouldDismiss' which has been marked unavailable
44 | }
45 |
46 | func presentationControllerShouldDismiss(_ presentationController: UIPresentationController) -> Bool {
| `- error: cannot override 'presentationControllerShouldDismiss' which has been marked unavailable
47 | !isDisable
48 | }
/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:47:1: note: 'presentationControllerShouldDismiss' has been explicitly marked unavailable here
45 | // Any implementation of this method should be fast.
46 | // Return NO to prevent dismissal of the view controller.
47 | - (BOOL)presentationControllerShouldDismiss:(UIPresentationController *)presentationController API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos);
| `- note: 'presentationControllerShouldDismiss' has been explicitly marked unavailable here
48 |
49 | // Called on the delegate when the user has taken action to dismiss the presentation, before interaction or animations begin.
/Users/admin/builder/spi-builder-workspace/Sources/SheetKit/InteractiveDismissDisabled.swift:50:10: error: cannot override 'presentationControllerDidAttemptToDismiss' which has been marked unavailable
48 | }
49 |
50 | func presentationControllerDidAttemptToDismiss(_ presentationController: UIPresentationController) {
| `- error: cannot override 'presentationControllerDidAttemptToDismiss' which has been marked unavailable
51 | attempToDismiss = UUID()
52 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPresentationController.h:60:1: note: 'presentationControllerDidAttemptToDismiss' has been explicitly marked unavailable here
58 | // Called on the delegate when the user attempts to dismiss the presentation, but user-initiated dismissal is prevented because the presentedViewController isModalInPresentation or presentationControllerShouldDismiss: returned NO.
59 | // When this method is called, it is recommended that the user be informed why they cannot dismiss the presentation, such as by presenting an instance of UIAlertController.
60 | - (void)presentationControllerDidAttemptToDismiss:(UIPresentationController *)presentationController API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos);
| `- note: 'presentationControllerDidAttemptToDismiss' has been explicitly marked unavailable here
61 |
62 | @end
/Users/admin/builder/spi-builder-workspace/Sources/SheetKit/InteractiveDismissDisabled.swift:66:31: error: 'UIViewController' is unavailable in watchOS
64 |
65 | public extension UIView {
66 | var parentViewController: UIViewController? {
| `- error: 'UIViewController' is unavailable in watchOS
67 | var parentResponder: UIResponder? = next
68 | while parentResponder != 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/SheetKit/InteractiveDismissDisabled.swift:65:18: error: 'UIView' is unavailable in watchOS
63 | }
64 |
65 | public extension UIView {
| `- error: 'UIView' is unavailable in watchOS
66 | var parentViewController: UIViewController? {
67 | var parentResponder: UIResponder? = next
/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/SheetKit/SheetKit.swift:45:66: error: 'UISheetPresentationController' is unavailable in watchOS
43 | onDisappear:(() -> Void)? = nil,
44 | configuration: BottomSheetConfiguration? = nil,
45 | detentIdentifier: Binding<UISheetPresentationController.Detent.Identifier>? = nil,
| `- error: 'UISheetPresentationController' is unavailable in watchOS
46 | content: () -> Content)
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/UISheetPresentationController.h:108:12: note: 'UISheetPresentationController' has been explicitly marked unavailable here
106 |
107 | UIKIT_EXTERN API_AVAILABLE(ios(15.0)) API_UNAVAILABLE(tvos, watchos) NS_SWIFT_UI_ACTOR
108 | @interface UISheetPresentationController : UIPresentationController
| `- note: 'UISheetPresentationController' has been explicitly marked unavailable here
109 |
110 | // The delegate inherited from UIPresentationController, redeclared with conformance to UISheetPresentationControllerDelegate.
/Users/admin/builder/spi-builder-workspace/Sources/SheetKit/SheetKit.swift:91:20: error: 'UIWindow' is unavailable in watchOS
89 |
90 | public extension SheetKit {
91 | var keyWindow: UIWindow? { UIApplication.shared.connectedScenes
| `- error: 'UIWindow' is unavailable in watchOS
92 | .filter { $0.activationState == .foregroundActive }
93 | .map { $0 as? UIWindowScene }
/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/SheetKit/SheetKit.swift:99:29: error: 'UIViewController' is unavailable in watchOS
97 | }
98 |
99 | var rootViewController: UIViewController? {
| `- error: 'UIViewController' is unavailable in watchOS
100 | keyWindow?.rootViewController
101 | }
/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/SheetKit/SheetKit.swift:129:31: error: 'UISheetPresentationController' is unavailable in watchOS
127 | /// - widthFollowsPreferredContentSizeWhenEdgeAttached: 模态视图的宽度是否于视图控制器的首选内容大小相匹配
128 | /// - preferredCornerRadius: 模态视图圆角值
129 | public init(detents: [UISheetPresentationController.Detent],
| `- error: 'UISheetPresentationController' is unavailable in watchOS
130 | largestUndimmedDetentIdentifier: UISheetPresentationController.Detent.Identifier?,
131 | prefersGrabberVisible: Bool,
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISheetPresentationController.h:108:12: note: 'UISheetPresentationController' has been explicitly marked unavailable here
106 |
107 | UIKIT_EXTERN API_AVAILABLE(ios(15.0)) API_UNAVAILABLE(tvos, watchos) NS_SWIFT_UI_ACTOR
108 | @interface UISheetPresentationController : UIPresentationController
| `- note: 'UISheetPresentationController' has been explicitly marked unavailable here
109 |
110 | // The delegate inherited from UIPresentationController, redeclared with conformance to UISheetPresentationControllerDelegate.
/Users/admin/builder/spi-builder-workspace/Sources/SheetKit/SheetKit.swift:130:54: error: 'UISheetPresentationController' is unavailable in watchOS
128 | /// - preferredCornerRadius: 模态视图圆角值
129 | public init(detents: [UISheetPresentationController.Detent],
130 | largestUndimmedDetentIdentifier: UISheetPresentationController.Detent.Identifier?,
| `- error: 'UISheetPresentationController' is unavailable in watchOS
131 | prefersGrabberVisible: Bool,
132 | prefersScrollingExpandsWhenScrolledToEdge: Bool,
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISheetPresentationController.h:108:12: note: 'UISheetPresentationController' has been explicitly marked unavailable here
106 |
107 | UIKIT_EXTERN API_AVAILABLE(ios(15.0)) API_UNAVAILABLE(tvos, watchos) NS_SWIFT_UI_ACTOR
108 | @interface UISheetPresentationController : UIPresentationController
| `- note: 'UISheetPresentationController' has been explicitly marked unavailable here
109 |
110 | // The delegate inherited from UIPresentationController, redeclared with conformance to UISheetPresentationControllerDelegate.
/Users/admin/builder/spi-builder-workspace/Sources/SheetKit/SheetKit.swift:146:23: error: 'UISheetPresentationController' is unavailable in watchOS
144 | }
145 |
146 | let detents: [UISheetPresentationController.Detent]
| `- error: 'UISheetPresentationController' is unavailable in watchOS
147 | let largestUndimmedDetentIdentifier: UISheetPresentationController.Detent.Identifier?
148 | let prefersGrabberVisible: Bool
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISheetPresentationController.h:108:12: note: 'UISheetPresentationController' has been explicitly marked unavailable here
106 |
107 | UIKIT_EXTERN API_AVAILABLE(ios(15.0)) API_UNAVAILABLE(tvos, watchos) NS_SWIFT_UI_ACTOR
108 | @interface UISheetPresentationController : UIPresentationController
| `- note: 'UISheetPresentationController' has been explicitly marked unavailable here
109 |
110 | // The delegate inherited from UIPresentationController, redeclared with conformance to UISheetPresentationControllerDelegate.
/Users/admin/builder/spi-builder-workspace/Sources/SheetKit/SheetKit.swift:147:46: error: 'UISheetPresentationController' is unavailable in watchOS
145 |
146 | let detents: [UISheetPresentationController.Detent]
147 | let largestUndimmedDetentIdentifier: UISheetPresentationController.Detent.Identifier?
| `- error: 'UISheetPresentationController' is unavailable in watchOS
148 | let prefersGrabberVisible: Bool
149 | let prefersScrollingExpandsWhenScrolledToEdge: Bool
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISheetPresentationController.h:108:12: note: 'UISheetPresentationController' has been explicitly marked unavailable here
106 |
107 | UIKIT_EXTERN API_AVAILABLE(ios(15.0)) API_UNAVAILABLE(tvos, watchos) NS_SWIFT_UI_ACTOR
108 | @interface UISheetPresentationController : UIPresentationController
| `- note: 'UISheetPresentationController' has been explicitly marked unavailable here
109 |
110 | // The delegate inherited from UIPresentationController, redeclared with conformance to UISheetPresentationControllerDelegate.
/Users/admin/builder/spi-builder-workspace/Sources/SheetKit/SheetKit.swift:176:51: error: cannot find type 'UIHostingController' in scope
174 | // MARK: - UIHostingController
175 |
176 | final class MyUIHostingController<Content: View>: UIHostingController<Content> {
| `- error: cannot find type 'UIHostingController' in scope
177 | var onDisappear: (() -> Void)?
178 | override func viewDidDisappear(_ animated: Bool) {
/Users/admin/builder/spi-builder-workspace/Sources/SheetKit/SheetKit.swift:178:19: error: method does not override any method from its superclass
176 | final class MyUIHostingController<Content: View>: UIHostingController<Content> {
177 | var onDisappear: (() -> Void)?
178 | override func viewDidDisappear(_ animated: Bool) {
| `- error: method does not override any method from its superclass
179 | super.viewDidDisappear(animated)
180 | onDisappear?()
/Users/admin/builder/spi-builder-workspace/Sources/SheetKit/UIKit++.swift:11:41: error: 'UIViewController' is unavailable in watchOS
9 |
10 | extension UIViewController {
11 | var topmostPresentedViewController: UIViewController? {
| `- error: 'UIViewController' is unavailable in watchOS
12 | presentedViewController?.topmostPresentedViewController ?? self
13 | }
/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/SheetKit/UIKit++.swift:15:32: error: 'UIViewController' is unavailable in watchOS
13 | }
14 |
15 | var topmostViewController: UIViewController? {
| `- error: 'UIViewController' is unavailable in watchOS
16 | if let controller = (self as? UINavigationController)?.visibleViewController {
17 | return controller.topmostViewController
/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/SheetKit/UIKit++.swift:27:42: error: 'UIViewController' is unavailable in watchOS
25 | }
26 |
27 | var topmostPresentingViewController: UIViewController? {
| `- error: 'UIViewController' is unavailable in watchOS
28 | topmostViewController?.presentingViewController
29 | }
/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/SheetKit/UIKit++.swift:10:11: error: 'UIViewController' is unavailable in watchOS
8 | import UIKit
9 |
10 | extension UIViewController {
| `- error: 'UIViewController' is unavailable in watchOS
11 | var topmostPresentedViewController: UIViewController? {
12 | presentedViewController?.topmostPresentedViewController ?? self
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
Failed frontend command:
SwiftCompile normal arm64_32 (in target 'SheetKit' from project 'SheetKit')
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/SheetKit/BottomSheetViewController.swift /Users/admin/builder/spi-builder-workspace/Sources/SheetKit/ClearBackgournd.swift /Users/admin/builder/spi-builder-workspace/Sources/SheetKit/InteractiveDismissDisabled.swift /Users/admin/builder/spi-builder-workspace/Sources/SheetKit/SheetKit.swift /Users/admin/builder/spi-builder-workspace/Sources/SheetKit/UIKit++.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/libPreviewsMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#PreviewsMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libSwiftMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#SwiftMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libSwiftUIMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#SwiftUIMacros -disable-implicit-swift-modules -Xcc -fno-implicit-modules -Xcc -fno-implicit-module-maps -explicit-swift-module-map-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SheetKit.build/Debug-watchos/SheetKit-t.build/Objects-normal/arm64_32/SheetKit-dependencies-1.json -enable-objc-interop -sdk /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/Developer/Library/Frameworks -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules -no-color-diagnostics -Xcc -fno-color-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -profile-generate -profile-coverage-mapping -swift-version 5 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -enable-anonymous-context-mangled-names -file-compilation-dir /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos27.0-24R360-e829b21a6f8c9b70876ba0858053c04477534ef55a1706bf4c1112bbb242f0a2.sdkstatcache -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SheetKit.build/Debug-watchos/SheetKit-t.build/DerivedSources-normal/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SheetKit.build/Debug-watchos/SheetKit-t.build/DerivedSources/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SheetKit.build/Debug-watchos/SheetKit-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name SheetKit -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SheetKit.build/Debug-watchos/SheetKit-t.build/Objects-normal/arm64_32/SheetKit_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/SheetKit.build/Debug-watchos/SheetKit-t.build/Objects-normal/arm64_32/SheetKit.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SheetKit.build/Debug-watchos/SheetKit-t.build/Objects-normal/arm64_32/SheetKit.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SheetKit.build/Debug-watchos/SheetKit-t.build/Objects-normal/arm64_32/SheetKit-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SheetKit.build/Debug-watchos/SheetKit-t.build/Objects-normal/arm64_32/SheetKit-primary-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SheetKit.build/Debug-watchos/SheetKit-t.build/Objects-normal/arm64_32/SheetKit-primary-emit-module.d -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SheetKit.build/Debug-watchos/SheetKit-t.build/Objects-normal/arm64_32/SheetKit.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SheetKit.build/Debug-watchos/SheetKit-t.build/Objects-normal/arm64_32/SheetKit.abi.json
SwiftCompile normal arm64_32 Compiling\ UIKit++.swift /Users/admin/builder/spi-builder-workspace/Sources/SheetKit/UIKit++.swift (in target 'SheetKit' from project 'SheetKit')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/SheetKit/UIKit++.swift (in target 'SheetKit' from project 'SheetKit')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile UIKit++.swift
/Users/admin/builder/spi-builder-workspace/Sources/SheetKit/UIKit++.swift:11:41: error: 'UIViewController' is unavailable in watchOS
9 |
10 | extension UIViewController {
11 | var topmostPresentedViewController: UIViewController? {
| `- error: 'UIViewController' is unavailable in watchOS
12 | presentedViewController?.topmostPresentedViewController ?? self
13 | }
/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/SheetKit/UIKit++.swift:15:32: error: 'UIViewController' is unavailable in watchOS
13 | }
14 |
15 | var topmostViewController: UIViewController? {
| `- error: 'UIViewController' is unavailable in watchOS
16 | if let controller = (self as? UINavigationController)?.visibleViewController {
17 | return controller.topmostViewController
/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/SheetKit/UIKit++.swift:27:42: error: 'UIViewController' is unavailable in watchOS
25 | }
26 |
27 | var topmostPresentingViewController: UIViewController? {
| `- error: 'UIViewController' is unavailable in watchOS
28 | topmostViewController?.presentingViewController
29 | }
/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/SheetKit/UIKit++.swift:10:11: error: 'UIViewController' is unavailable in watchOS
8 | import UIKit
9 |
10 | extension UIViewController {
| `- error: 'UIViewController' is unavailable in watchOS
11 | var topmostPresentedViewController: UIViewController? {
12 | presentedViewController?.topmostPresentedViewController ?? self
/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/SheetKit/UIKit++.swift:16:39: error: 'UINavigationController' is unavailable in watchOS
14 |
15 | var topmostViewController: UIViewController? {
16 | if let controller = (self as? UINavigationController)?.visibleViewController {
| `- error: 'UINavigationController' is unavailable in watchOS
17 | return controller.topmostViewController
18 | } else if let controller = (self as? UITabBarController)?.selectedViewController {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINavigationController.h:46:12: note: 'UINavigationController' has been explicitly marked unavailable here
44 |
45 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
46 | @interface UINavigationController : UIViewController
| `- note: 'UINavigationController' has been explicitly marked unavailable here
47 |
48 |
SwiftCompile normal arm64_32 Compiling\ ClearBackgournd.swift /Users/admin/builder/spi-builder-workspace/Sources/SheetKit/ClearBackgournd.swift (in target 'SheetKit' from project 'SheetKit')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/SheetKit/ClearBackgournd.swift (in target 'SheetKit' from project 'SheetKit')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile ClearBackgournd.swift
/Users/admin/builder/spi-builder-workspace/Sources/SheetKit/ClearBackgournd.swift:12:30: error: cannot find type 'Context' in scope
10 |
11 | struct BackgroundCleanerView: UIViewRepresentable {
12 | func makeUIView(context: Context) -> UIView {
| `- error: cannot find type 'Context' in scope
13 | let view = UIView()
14 | DispatchQueue.main.async {
/Users/admin/builder/spi-builder-workspace/Sources/SheetKit/ClearBackgournd.swift:12:42: error: 'UIView' is unavailable in watchOS
10 |
11 | struct BackgroundCleanerView: UIViewRepresentable {
12 | func makeUIView(context: Context) -> UIView {
| `- error: 'UIView' is unavailable in watchOS
13 | let view = UIView()
14 | DispatchQueue.main.async {
/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/SheetKit/ClearBackgournd.swift:20:50: error: cannot find type 'Context' in scope
18 | }
19 |
20 | func updateUIView(_ uiView: UIView, context: Context) {}
| `- error: cannot find type 'Context' in scope
21 | }
22 |
/Users/admin/builder/spi-builder-workspace/Sources/SheetKit/ClearBackgournd.swift:20:33: error: 'UIView' is unavailable in watchOS
18 | }
19 |
20 | func updateUIView(_ uiView: UIView, context: Context) {}
| `- error: 'UIView' is unavailable in watchOS
21 | }
22 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/SheetKit/ClearBackgournd.swift:11:31: error: cannot find type 'UIViewRepresentable' in scope
9 | import SwiftUI
10 |
11 | struct BackgroundCleanerView: UIViewRepresentable {
| `- error: cannot find type 'UIViewRepresentable' in scope
12 | func makeUIView(context: Context) -> UIView {
13 | let view = UIView()
/Users/admin/builder/spi-builder-workspace/Sources/SheetKit/ClearBackgournd.swift:13:20: error: 'UIView' is unavailable in watchOS
11 | struct BackgroundCleanerView: UIViewRepresentable {
12 | func makeUIView(context: Context) -> UIView {
13 | let view = UIView()
| `- error: 'UIView' is unavailable in watchOS
14 | DispatchQueue.main.async {
15 | view.superview?.superview?.backgroundColor = .clear
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h: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/SheetKit/ClearBackgournd.swift:13:20: error: 'init()' is unavailable in watchOS
11 | struct BackgroundCleanerView: UIViewRepresentable {
12 | func makeUIView(context: Context) -> UIView {
13 | let view = UIView()
| `- error: 'init()' is unavailable in watchOS
14 | DispatchQueue.main.async {
15 | view.superview?.superview?.backgroundColor = .clear
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:158:1: note: 'init()' has been explicitly marked unavailable here
156 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER;
157 | - (nullable instancetype)initWithCoder:(NSCoder *)coder NS_DESIGNATED_INITIALIZER;
158 | - (instancetype)init API_AVAILABLE(ios(2.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
| `- note: 'init()' has been explicitly marked unavailable here
159 |
160 | @property(nonatomic,getter=isUserInteractionEnabled) BOOL userInteractionEnabled; // default is YES. if set to NO, user events (touch, keys) are ignored and removed from the event queue.
SwiftCompile normal arm64_32 Compiling\ InteractiveDismissDisabled.swift /Users/admin/builder/spi-builder-workspace/Sources/SheetKit/InteractiveDismissDisabled.swift (in target 'SheetKit' from project 'SheetKit')
/Users/admin/builder/spi-builder-workspace/Sources/SheetKit/InteractiveDismissDisabled.swift:18:30: error: cannot find type 'Context' in scope
16 | }
17 |
18 | func makeUIView(context: Context) -> some UIView {
| `- error: cannot find type 'Context' in scope
19 | let view = UIView()
20 | return view
/Users/admin/builder/spi-builder-workspace/Sources/SheetKit/InteractiveDismissDisabled.swift:18:47: error: 'UIView' is unavailable in watchOS
16 | }
17 |
18 | func makeUIView(context: Context) -> some UIView {
| `- error: 'UIView' is unavailable in watchOS
19 | let view = UIView()
20 | 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/SheetKit/InteractiveDismissDisabled.swift:23:33: error: cannot find type 'UIViewType' in scope
21 | }
22 |
23 | func updateUIView(_ uiView: UIViewType, context: Context) {
| `- error: cannot find type 'UIViewType' in scope
24 | DispatchQueue.main.async {
25 | if uiView.parentViewController?.sheetPresentationController != nil {
/Users/admin/builder/spi-builder-workspace/Sources/SheetKit/InteractiveDismissDisabled.swift:23:54: error: cannot find type 'Context' in scope
21 | }
22 |
23 | func updateUIView(_ uiView: UIViewType, context: Context) {
| `- error: cannot find type 'Context' in scope
24 | DispatchQueue.main.async {
25 | if uiView.parentViewController?.sheetPresentationController != nil {
/Users/admin/builder/spi-builder-workspace/Sources/SheetKit/InteractiveDismissDisabled.swift:11:26: error: cannot find type 'UIViewRepresentable' in scope
9 | import UIKit
10 |
11 | struct SetSheetDelegate: UIViewRepresentable {
| `- error: cannot find type 'UIViewRepresentable' in scope
12 | let delegate: SheetDelegate
13 |
/Users/admin/builder/spi-builder-workspace/Sources/SheetKit/InteractiveDismissDisabled.swift:39:31: error: 'UISheetPresentationControllerDelegate' is unavailable in watchOS
37 | var isDisable: Bool
38 | @Binding var attempToDismiss: UUID
39 | weak var originalDelegate:UISheetPresentationControllerDelegate?
| `- error: 'UISheetPresentationControllerDelegate' is unavailable in watchOS
40 |
41 | init(_ isDisable: Bool, attempToDismiss: Binding<UUID> = .constant(UUID())) {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISheetPresentationController.h:96:11: note: 'UISheetPresentationControllerDelegate' has been explicitly marked unavailable here
94 |
95 | UIKIT_EXTERN API_AVAILABLE(ios(15.0)) API_UNAVAILABLE(tvos, watchos) NS_SWIFT_UI_ACTOR
96 | @protocol UISheetPresentationControllerDelegate <UIAdaptivePresentationControllerDelegate>
| `- note: 'UISheetPresentationControllerDelegate' has been explicitly marked unavailable here
97 |
98 | @optional
/Users/admin/builder/spi-builder-workspace/Sources/SheetKit/InteractiveDismissDisabled.swift:46:72: error: 'UIPresentationController' is unavailable in watchOS
44 | }
45 |
46 | func presentationControllerShouldDismiss(_ presentationController: UIPresentationController) -> Bool {
| `- error: 'UIPresentationController' is unavailable in watchOS
47 | !isDisable
48 | }
/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/SheetKit/InteractiveDismissDisabled.swift:50:78: error: 'UIPresentationController' is unavailable in watchOS
48 | }
49 |
50 | func presentationControllerDidAttemptToDismiss(_ presentationController: UIPresentationController) {
| `- error: 'UIPresentationController' is unavailable in watchOS
51 | attempToDismiss = UUID()
52 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/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/SheetKit/InteractiveDismissDisabled.swift:54:102: error: 'UISheetPresentationController' is unavailable in watchOS
52 | }
53 |
54 | func sheetPresentationControllerDidChangeSelectedDetentIdentifier(_ sheetPresentationController: UISheetPresentationController) {
| `- error: 'UISheetPresentationController' is unavailable in watchOS
55 | originalDelegate?.sheetPresentationControllerDidChangeSelectedDetentIdentifier?(sheetPresentationController)
56 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISheetPresentationController.h:108:12: note: 'UISheetPresentationController' has been explicitly marked unavailable here
106 |
107 | UIKIT_EXTERN API_AVAILABLE(ios(15.0)) API_UNAVAILABLE(tvos, watchos) NS_SWIFT_UI_ACTOR
108 | @interface UISheetPresentationController : UIPresentationController
| `- note: 'UISheetPresentationController' has been explicitly marked unavailable here
109 |
110 | // The delegate inherited from UIPresentationController, redeclared with conformance to UISheetPresentationControllerDelegate.
/Users/admin/builder/spi-builder-workspace/Sources/SheetKit/InteractiveDismissDisabled.swift:36:38: error: 'UIAdaptivePresentationControllerDelegate' is unavailable in watchOS
34 | }
35 |
36 | final class SheetDelegate: NSObject, UIAdaptivePresentationControllerDelegate, UISheetPresentationControllerDelegate {
| `- error: 'UIAdaptivePresentationControllerDelegate' is unavailable in watchOS
37 | var isDisable: Bool
38 | @Binding var attempToDismiss: UUID
/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:24:11: note: 'UIAdaptivePresentationControllerDelegate' has been explicitly marked unavailable here
22 |
23 | API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
24 | @protocol UIAdaptivePresentationControllerDelegate <NSObject>
| `- note: 'UIAdaptivePresentationControllerDelegate' has been explicitly marked unavailable here
25 |
26 | @optional
/Users/admin/builder/spi-builder-workspace/Sources/SheetKit/InteractiveDismissDisabled.swift:36:80: error: 'UISheetPresentationControllerDelegate' is unavailable in watchOS
34 | }
35 |
36 | final class SheetDelegate: NSObject, UIAdaptivePresentationControllerDelegate, UISheetPresentationControllerDelegate {
| `- error: 'UISheetPresentationControllerDelegate' is unavailable in watchOS
37 | var isDisable: Bool
38 | @Binding var attempToDismiss: UUID
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISheetPresentationController.h:96:11: note: 'UISheetPresentationControllerDelegate' has been explicitly marked unavailable here
94 |
95 | UIKIT_EXTERN API_AVAILABLE(ios(15.0)) API_UNAVAILABLE(tvos, watchos) NS_SWIFT_UI_ACTOR
96 | @protocol UISheetPresentationControllerDelegate <UIAdaptivePresentationControllerDelegate>
| `- note: 'UISheetPresentationControllerDelegate' has been explicitly marked unavailable here
97 |
98 | @optional
/Users/admin/builder/spi-builder-workspace/Sources/SheetKit/InteractiveDismissDisabled.swift:46:10: error: cannot override 'presentationControllerShouldDismiss' which has been marked unavailable
44 | }
45 |
46 | func presentationControllerShouldDismiss(_ presentationController: UIPresentationController) -> Bool {
| `- error: cannot override 'presentationControllerShouldDismiss' which has been marked unavailable
47 | !isDisable
48 | }
/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:47:1: note: 'presentationControllerShouldDismiss' has been explicitly marked unavailable here
45 | // Any implementation of this method should be fast.
46 | // Return NO to prevent dismissal of the view controller.
47 | - (BOOL)presentationControllerShouldDismiss:(UIPresentationController *)presentationController API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos);
| `- note: 'presentationControllerShouldDismiss' has been explicitly marked unavailable here
48 |
49 | // Called on the delegate when the user has taken action to dismiss the presentation, before interaction or animations begin.
/Users/admin/builder/spi-builder-workspace/Sources/SheetKit/InteractiveDismissDisabled.swift:50:10: error: cannot override 'presentationControllerDidAttemptToDismiss' which has been marked unavailable
48 | }
49 |
50 | func presentationControllerDidAttemptToDismiss(_ presentationController: UIPresentationController) {
| `- error: cannot override 'presentationControllerDidAttemptToDismiss' which has been marked unavailable
51 | attempToDismiss = UUID()
52 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPresentationController.h:60:1: note: 'presentationControllerDidAttemptToDismiss' has been explicitly marked unavailable here
58 | // Called on the delegate when the user attempts to dismiss the presentation, but user-initiated dismissal is prevented because the presentedViewController isModalInPresentation or presentationControllerShouldDismiss: returned NO.
59 | // When this method is called, it is recommended that the user be informed why they cannot dismiss the presentation, such as by presenting an instance of UIAlertController.
60 | - (void)presentationControllerDidAttemptToDismiss:(UIPresentationController *)presentationController API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos);
| `- note: 'presentationControllerDidAttemptToDismiss' has been explicitly marked unavailable here
61 |
62 | @end
/Users/admin/builder/spi-builder-workspace/Sources/SheetKit/InteractiveDismissDisabled.swift:66:31: error: 'UIViewController' is unavailable in watchOS
64 |
65 | public extension UIView {
66 | var parentViewController: UIViewController? {
| `- error: 'UIViewController' is unavailable in watchOS
67 | var parentResponder: UIResponder? = next
68 | while parentResponder != 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/SheetKit/InteractiveDismissDisabled.swift:65:18: error: 'UIView' is unavailable in watchOS
63 | }
64 |
65 | public extension UIView {
| `- error: 'UIView' is unavailable in watchOS
66 | var parentViewController: UIViewController? {
67 | var parentResponder: UIResponder? = next
/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/SheetKit/InteractiveDismissDisabled.swift:19:20: error: 'UIView' is unavailable in watchOS
17 |
18 | func makeUIView(context: Context) -> some UIView {
19 | let view = UIView()
| `- error: 'UIView' is unavailable in watchOS
20 | return view
21 | }
/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/SheetKit/InteractiveDismissDisabled.swift:19:20: error: 'init()' is unavailable in watchOS
17 |
18 | func makeUIView(context: Context) -> some UIView {
19 | let view = UIView()
| `- error: 'init()' is unavailable in watchOS
20 | return view
21 | }
/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/SheetKit/InteractiveDismissDisabled.swift:61:9: error: instance method 'background(_:ignoresSafeAreaEdges:)' requires that 'SetSheetDelegate' conform to 'ShapeStyle'
59 | public extension View {
60 | func interactiveDismissDisabled(_ isDisable: Bool, attempToDismiss: Binding<UUID>) -> some View {
61 | background(SetSheetDelegate(isDisable: isDisable, attempToDismiss: attempToDismiss))
| `- error: instance method 'background(_:ignoresSafeAreaEdges:)' requires that 'SetSheetDelegate' conform to 'ShapeStyle'
62 | }
63 | }
SwiftUI.View.background:2:36: note: where 'S' = 'SetSheetDelegate'
1 | protocol View {
2 | @inlinable nonisolated public func background<S>(_ style: S, ignoresSafeAreaEdges edges: Edge.Set = .all) -> some View where S : ShapeStyle
| `- note: where 'S' = 'SetSheetDelegate'
3 | }
4 |
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/SheetKit/InteractiveDismissDisabled.swift (in target 'SheetKit' from project 'SheetKit')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile InteractiveDismissDisabled.swift
SwiftCompile normal arm64_32 Compiling\ SheetKit.swift /Users/admin/builder/spi-builder-workspace/Sources/SheetKit/SheetKit.swift (in target 'SheetKit' from project 'SheetKit')
/Users/admin/builder/spi-builder-workspace/Sources/SheetKit/SheetKit.swift:45:66: error: 'UISheetPresentationController' is unavailable in watchOS
43 | onDisappear:(() -> Void)? = nil,
44 | configuration: BottomSheetConfiguration? = nil,
45 | detentIdentifier: Binding<UISheetPresentationController.Detent.Identifier>? = nil,
| `- error: 'UISheetPresentationController' is unavailable in watchOS
46 | content: () -> Content)
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/UISheetPresentationController.h:108:12: note: 'UISheetPresentationController' has been explicitly marked unavailable here
106 |
107 | UIKIT_EXTERN API_AVAILABLE(ios(15.0)) API_UNAVAILABLE(tvos, watchos) NS_SWIFT_UI_ACTOR
108 | @interface UISheetPresentationController : UIPresentationController
| `- note: 'UISheetPresentationController' has been explicitly marked unavailable here
109 |
110 | // The delegate inherited from UIPresentationController, redeclared with conformance to UISheetPresentationControllerDelegate.
/Users/admin/builder/spi-builder-workspace/Sources/SheetKit/SheetKit.swift:91:20: error: 'UIWindow' is unavailable in watchOS
89 |
90 | public extension SheetKit {
91 | var keyWindow: UIWindow? { UIApplication.shared.connectedScenes
| `- error: 'UIWindow' is unavailable in watchOS
92 | .filter { $0.activationState == .foregroundActive }
93 | .map { $0 as? UIWindowScene }
/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/SheetKit/SheetKit.swift:99:29: error: 'UIViewController' is unavailable in watchOS
97 | }
98 |
99 | var rootViewController: UIViewController? {
| `- error: 'UIViewController' is unavailable in watchOS
100 | keyWindow?.rootViewController
101 | }
/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/SheetKit/SheetKit.swift:129:31: error: 'UISheetPresentationController' is unavailable in watchOS
127 | /// - widthFollowsPreferredContentSizeWhenEdgeAttached: 模态视图的宽度是否于视图控制器的首选内容大小相匹配
128 | /// - preferredCornerRadius: 模态视图圆角值
129 | public init(detents: [UISheetPresentationController.Detent],
| `- error: 'UISheetPresentationController' is unavailable in watchOS
130 | largestUndimmedDetentIdentifier: UISheetPresentationController.Detent.Identifier?,
131 | prefersGrabberVisible: Bool,
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISheetPresentationController.h:108:12: note: 'UISheetPresentationController' has been explicitly marked unavailable here
106 |
107 | UIKIT_EXTERN API_AVAILABLE(ios(15.0)) API_UNAVAILABLE(tvos, watchos) NS_SWIFT_UI_ACTOR
108 | @interface UISheetPresentationController : UIPresentationController
| `- note: 'UISheetPresentationController' has been explicitly marked unavailable here
109 |
110 | // The delegate inherited from UIPresentationController, redeclared with conformance to UISheetPresentationControllerDelegate.
/Users/admin/builder/spi-builder-workspace/Sources/SheetKit/SheetKit.swift:130:54: error: 'UISheetPresentationController' is unavailable in watchOS
128 | /// - preferredCornerRadius: 模态视图圆角值
129 | public init(detents: [UISheetPresentationController.Detent],
130 | largestUndimmedDetentIdentifier: UISheetPresentationController.Detent.Identifier?,
| `- error: 'UISheetPresentationController' is unavailable in watchOS
131 | prefersGrabberVisible: Bool,
132 | prefersScrollingExpandsWhenScrolledToEdge: Bool,
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISheetPresentationController.h:108:12: note: 'UISheetPresentationController' has been explicitly marked unavailable here
106 |
107 | UIKIT_EXTERN API_AVAILABLE(ios(15.0)) API_UNAVAILABLE(tvos, watchos) NS_SWIFT_UI_ACTOR
108 | @interface UISheetPresentationController : UIPresentationController
| `- note: 'UISheetPresentationController' has been explicitly marked unavailable here
109 |
110 | // The delegate inherited from UIPresentationController, redeclared with conformance to UISheetPresentationControllerDelegate.
/Users/admin/builder/spi-builder-workspace/Sources/SheetKit/SheetKit.swift:146:23: error: 'UISheetPresentationController' is unavailable in watchOS
144 | }
145 |
146 | let detents: [UISheetPresentationController.Detent]
| `- error: 'UISheetPresentationController' is unavailable in watchOS
147 | let largestUndimmedDetentIdentifier: UISheetPresentationController.Detent.Identifier?
148 | let prefersGrabberVisible: Bool
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISheetPresentationController.h:108:12: note: 'UISheetPresentationController' has been explicitly marked unavailable here
106 |
107 | UIKIT_EXTERN API_AVAILABLE(ios(15.0)) API_UNAVAILABLE(tvos, watchos) NS_SWIFT_UI_ACTOR
108 | @interface UISheetPresentationController : UIPresentationController
| `- note: 'UISheetPresentationController' has been explicitly marked unavailable here
109 |
110 | // The delegate inherited from UIPresentationController, redeclared with conformance to UISheetPresentationControllerDelegate.
/Users/admin/builder/spi-builder-workspace/Sources/SheetKit/SheetKit.swift:147:46: error: 'UISheetPresentationController' is unavailable in watchOS
145 |
146 | let detents: [UISheetPresentationController.Detent]
147 | let largestUndimmedDetentIdentifier: UISheetPresentationController.Detent.Identifier?
| `- error: 'UISheetPresentationController' is unavailable in watchOS
148 | let prefersGrabberVisible: Bool
149 | let prefersScrollingExpandsWhenScrolledToEdge: Bool
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISheetPresentationController.h:108:12: note: 'UISheetPresentationController' has been explicitly marked unavailable here
106 |
107 | UIKIT_EXTERN API_AVAILABLE(ios(15.0)) API_UNAVAILABLE(tvos, watchos) NS_SWIFT_UI_ACTOR
108 | @interface UISheetPresentationController : UIPresentationController
| `- note: 'UISheetPresentationController' has been explicitly marked unavailable here
109 |
110 | // The delegate inherited from UIPresentationController, redeclared with conformance to UISheetPresentationControllerDelegate.
/Users/admin/builder/spi-builder-workspace/Sources/SheetKit/SheetKit.swift:176:51: error: cannot find type 'UIHostingController' in scope
174 | // MARK: - UIHostingController
175 |
176 | final class MyUIHostingController<Content: View>: UIHostingController<Content> {
| `- error: cannot find type 'UIHostingController' in scope
177 | var onDisappear: (() -> Void)?
178 | override func viewDidDisappear(_ animated: Bool) {
/Users/admin/builder/spi-builder-workspace/Sources/SheetKit/SheetKit.swift:178:19: error: method does not override any method from its superclass
176 | final class MyUIHostingController<Content: View>: UIHostingController<Content> {
177 | var onDisappear: (() -> Void)?
178 | override func viewDidDisappear(_ animated: Bool) {
| `- error: method does not override any method from its superclass
179 | super.viewDidDisappear(animated)
180 | onDisappear?()
/Users/admin/builder/spi-builder-workspace/Sources/SheetKit/SheetKit.swift:50:36: error: 'UIViewController' is unavailable in watchOS
48 | let viewController = controller == .rootController ? rootViewController?.topmostPresentedViewController : rootViewController?.topmostViewController
49 |
50 | let contentViewController: UIViewController
| `- error: 'UIViewController' is unavailable in watchOS
51 |
52 | switch style {
/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/SheetKit/SheetKit.swift:54:37: error: cannot assign value of type 'MyUIHostingController<Content>' to type 'UIViewController'
52 | switch style {
53 | case .sheet:
54 | contentViewController = MyUIHostingController(rootView: content(),onDisappear: onDisappear)
| `- error: cannot assign value of type 'MyUIHostingController<Content>' to type 'UIViewController'
55 | case .fullScreenCover:
56 | contentViewController = MyUIHostingController(rootView: content(),onDisappear: onDisappear)
/Users/admin/builder/spi-builder-workspace/Sources/SheetKit/SheetKit.swift:56:37: error: cannot assign value of type 'MyUIHostingController<Content>' to type 'UIViewController'
54 | contentViewController = MyUIHostingController(rootView: content(),onDisappear: onDisappear)
55 | case .fullScreenCover:
56 | contentViewController = MyUIHostingController(rootView: content(),onDisappear: onDisappear)
| `- error: cannot assign value of type 'MyUIHostingController<Content>' to type 'UIViewController'
57 | contentViewController.modalPresentationStyle = .fullScreen
58 | case .bottomSheet:
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/SheetKit/SheetKit.swift (in target 'SheetKit' from project 'SheetKit')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile SheetKit.swift
SwiftCompile normal arm64_32 Compiling\ BottomSheetViewController.swift /Users/admin/builder/spi-builder-workspace/Sources/SheetKit/BottomSheetViewController.swift (in target 'SheetKit' from project 'SheetKit')
/Users/admin/builder/spi-builder-workspace/Sources/SheetKit/BottomSheetViewController.swift:13:27: error: 'UISheetPresentationController' is unavailable in watchOS
11 |
12 | final class BottomSheetViewController<Content: View>: UIViewController, UISheetPresentationControllerDelegate {
13 | private let detents: [UISheetPresentationController.Detent]
| `- error: 'UISheetPresentationController' is unavailable in watchOS
14 | private let largestUndimmedDetentIdentifier: UISheetPresentationController.Detent.Identifier?
15 | private let prefersGrabberVisible: Bool
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISheetPresentationController.h:108:12: note: 'UISheetPresentationController' has been explicitly marked unavailable here
106 |
107 | UIKIT_EXTERN API_AVAILABLE(ios(15.0)) API_UNAVAILABLE(tvos, watchos) NS_SWIFT_UI_ACTOR
108 | @interface UISheetPresentationController : UIPresentationController
| `- note: 'UISheetPresentationController' has been explicitly marked unavailable here
109 |
110 | // The delegate inherited from UIPresentationController, redeclared with conformance to UISheetPresentationControllerDelegate.
/Users/admin/builder/spi-builder-workspace/Sources/SheetKit/BottomSheetViewController.swift:14:50: error: 'UISheetPresentationController' is unavailable in watchOS
12 | final class BottomSheetViewController<Content: View>: UIViewController, UISheetPresentationControllerDelegate {
13 | private let detents: [UISheetPresentationController.Detent]
14 | private let largestUndimmedDetentIdentifier: UISheetPresentationController.Detent.Identifier?
| `- error: 'UISheetPresentationController' is unavailable in watchOS
15 | private let prefersGrabberVisible: Bool
16 | private let prefersScrollingExpandsWhenScrolledToEdge: Bool
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISheetPresentationController.h:108:12: note: 'UISheetPresentationController' has been explicitly marked unavailable here
106 |
107 | UIKIT_EXTERN API_AVAILABLE(ios(15.0)) API_UNAVAILABLE(tvos, watchos) NS_SWIFT_UI_ACTOR
108 | @interface UISheetPresentationController : UIPresentationController
| `- note: 'UISheetPresentationController' has been explicitly marked unavailable here
109 |
110 | // The delegate inherited from UIPresentationController, redeclared with conformance to UISheetPresentationControllerDelegate.
/Users/admin/builder/spi-builder-workspace/Sources/SheetKit/BottomSheetViewController.swift:19:43: error: 'UISheetPresentationController' is unavailable in watchOS
17 | private let prefersEdgeAttachedInCompactHeight: Bool
18 | private let widthFollowsPreferredContentSizeWhenEdgeAttached: Bool
19 | private var detentIdentifier: Binding<UISheetPresentationController.Detent.Identifier>?
| `- error: 'UISheetPresentationController' is unavailable in watchOS
20 | private let preferredCornerRadius: CGFloat?
21 | private let notificationName: Notification.Name
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISheetPresentationController.h:108:12: note: 'UISheetPresentationController' has been explicitly marked unavailable here
106 |
107 | UIKIT_EXTERN API_AVAILABLE(ios(15.0)) API_UNAVAILABLE(tvos, watchos) NS_SWIFT_UI_ACTOR
108 | @interface UISheetPresentationController : UIPresentationController
| `- note: 'UISheetPresentationController' has been explicitly marked unavailable here
109 |
110 | // The delegate inherited from UIPresentationController, redeclared with conformance to UISheetPresentationControllerDelegate.
/Users/admin/builder/spi-builder-workspace/Sources/SheetKit/BottomSheetViewController.swift:23:30: error: cannot find type 'UIHostingController' in scope
21 | private let notificationName: Notification.Name
22 | private let onDisappear: (() -> Void)?
23 | private let contentView: UIHostingController<Content>
| `- error: cannot find type 'UIHostingController' in scope
24 |
25 | public init(
/Users/admin/builder/spi-builder-workspace/Sources/SheetKit/BottomSheetViewController.swift:26:19: error: 'UISheetPresentationController' is unavailable in watchOS
24 |
25 | public init(
26 | detents: [UISheetPresentationController.Detent] = [.medium(), .large()],
| `- error: 'UISheetPresentationController' is unavailable in watchOS
27 | largestUndimmedDetentIdentifier: UISheetPresentationController.Detent.Identifier? = nil,
28 | prefersGrabberVisible: Bool = false,
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISheetPresentationController.h:108:12: note: 'UISheetPresentationController' has been explicitly marked unavailable here
106 |
107 | UIKIT_EXTERN API_AVAILABLE(ios(15.0)) API_UNAVAILABLE(tvos, watchos) NS_SWIFT_UI_ACTOR
108 | @interface UISheetPresentationController : UIPresentationController
| `- note: 'UISheetPresentationController' has been explicitly marked unavailable here
109 |
110 | // The delegate inherited from UIPresentationController, redeclared with conformance to UISheetPresentationControllerDelegate.
/Users/admin/builder/spi-builder-workspace/Sources/SheetKit/BottomSheetViewController.swift:27:42: error: 'UISheetPresentationController' is unavailable in watchOS
25 | public init(
26 | detents: [UISheetPresentationController.Detent] = [.medium(), .large()],
27 | largestUndimmedDetentIdentifier: UISheetPresentationController.Detent.Identifier? = nil,
| `- error: 'UISheetPresentationController' is unavailable in watchOS
28 | prefersGrabberVisible: Bool = false,
29 | prefersScrollingExpandsWhenScrolledToEdge: Bool = 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/UISheetPresentationController.h:108:12: note: 'UISheetPresentationController' has been explicitly marked unavailable here
106 |
107 | UIKIT_EXTERN API_AVAILABLE(ios(15.0)) API_UNAVAILABLE(tvos, watchos) NS_SWIFT_UI_ACTOR
108 | @interface UISheetPresentationController : UIPresentationController
| `- note: 'UISheetPresentationController' has been explicitly marked unavailable here
109 |
110 | // The delegate inherited from UIPresentationController, redeclared with conformance to UISheetPresentationControllerDelegate.
/Users/admin/builder/spi-builder-workspace/Sources/SheetKit/BottomSheetViewController.swift:32:35: error: 'UISheetPresentationController' is unavailable in watchOS
30 | prefersEdgeAttachedInCompactHeight: Bool = false,
31 | widthFollowsPreferredContentSizeWhenEdgeAttached: Bool = false,
32 | detentIdentifier: Binding<UISheetPresentationController.Detent.Identifier>? = nil,
| `- error: 'UISheetPresentationController' is unavailable in watchOS
33 | preferredCornerRadius: CGFloat?,
34 | notificationName: Notification.Name = .bottomSheetDetentIdentifierDidChanged,
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISheetPresentationController.h:108:12: note: 'UISheetPresentationController' has been explicitly marked unavailable here
106 |
107 | UIKIT_EXTERN API_AVAILABLE(ios(15.0)) API_UNAVAILABLE(tvos, watchos) NS_SWIFT_UI_ACTOR
108 | @interface UISheetPresentationController : UIPresentationController
| `- note: 'UISheetPresentationController' has been explicitly marked unavailable here
109 |
110 | // The delegate inherited from UIPresentationController, redeclared with conformance to UISheetPresentationControllerDelegate.
/Users/admin/builder/spi-builder-workspace/Sources/SheetKit/BottomSheetViewController.swift:90:102: error: 'UISheetPresentationController' is unavailable in watchOS
88 | }
89 |
90 | func sheetPresentationControllerDidChangeSelectedDetentIdentifier(_ sheetPresentationController: UISheetPresentationController) {
| `- error: 'UISheetPresentationController' is unavailable in watchOS
91 | guard let selectedDetentIdentifier = sheetPresentationController.selectedDetentIdentifier else { return }
92 | detentIdentifier?.wrappedValue = selectedDetentIdentifier
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISheetPresentationController.h:108:12: note: 'UISheetPresentationController' has been explicitly marked unavailable here
106 |
107 | UIKIT_EXTERN API_AVAILABLE(ios(15.0)) API_UNAVAILABLE(tvos, watchos) NS_SWIFT_UI_ACTOR
108 | @interface UISheetPresentationController : UIPresentationController
| `- note: 'UISheetPresentationController' has been explicitly marked unavailable here
109 |
110 | // The delegate inherited from UIPresentationController, redeclared with conformance to UISheetPresentationControllerDelegate.
/Users/admin/builder/spi-builder-workspace/Sources/SheetKit/BottomSheetViewController.swift:12:55: error: 'UIViewController' is unavailable in watchOS
10 | import UIKit
11 |
12 | final class BottomSheetViewController<Content: View>: UIViewController, UISheetPresentationControllerDelegate {
| `- error: 'UIViewController' is unavailable in watchOS
13 | private let detents: [UISheetPresentationController.Detent]
14 | private let largestUndimmedDetentIdentifier: UISheetPresentationController.Detent.Identifier?
/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/SheetKit/BottomSheetViewController.swift:12:73: error: 'UISheetPresentationControllerDelegate' is unavailable in watchOS
10 | import UIKit
11 |
12 | final class BottomSheetViewController<Content: View>: UIViewController, UISheetPresentationControllerDelegate {
| `- error: 'UISheetPresentationControllerDelegate' is unavailable in watchOS
13 | private let detents: [UISheetPresentationController.Detent]
14 | private let largestUndimmedDetentIdentifier: UISheetPresentationController.Detent.Identifier?
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISheetPresentationController.h:96:11: note: 'UISheetPresentationControllerDelegate' has been explicitly marked unavailable here
94 |
95 | UIKIT_EXTERN API_AVAILABLE(ios(15.0)) API_UNAVAILABLE(tvos, watchos) NS_SWIFT_UI_ACTOR
96 | @protocol UISheetPresentationControllerDelegate <UIAdaptivePresentationControllerDelegate>
| `- note: 'UISheetPresentationControllerDelegate' has been explicitly marked unavailable here
97 |
98 | @optional
/Users/admin/builder/spi-builder-workspace/Sources/SheetKit/BottomSheetViewController.swift:48:23: error: cannot find 'UIHostingController' in scope
46 | self.notificationName = notificationName
47 | self.onDisappear = onDisappear
48 | contentView = UIHostingController(rootView: content)
| `- error: cannot find 'UIHostingController' in scope
49 |
50 | super.init(nibName: nil, bundle: nil)
/Users/admin/builder/spi-builder-workspace/Sources/SheetKit/BottomSheetViewController.swift:62:14: error: failed to produce diagnostic for expression; please submit a bug report (https://swift.org/contributing/#reporting-bugs)
60 |
61 | addChild(contentView)
62 | view.addSubview(contentView.view)
| `- error: failed to produce diagnostic for expression; please submit a bug report (https://swift.org/contributing/#reporting-bugs)
63 |
64 | contentView.view.translatesAutoresizingMaskIntoConstraints = false
/Users/admin/builder/spi-builder-workspace/Sources/SheetKit/BottomSheetViewController.swift:66:28: error: failed to produce diagnostic for expression; please submit a bug report (https://swift.org/contributing/#reporting-bugs)
64 | contentView.view.translatesAutoresizingMaskIntoConstraints = false
65 |
66 | NSLayoutConstraint.activate([
| `- error: failed to produce diagnostic for expression; please submit a bug report (https://swift.org/contributing/#reporting-bugs)
67 | contentView.view.topAnchor.constraint(equalTo: view.topAnchor),
68 | contentView.view.bottomAnchor.constraint(equalTo: view.bottomAnchor),
/Users/admin/builder/spi-builder-workspace/Sources/SheetKit/BottomSheetViewController.swift:73:68: error: 'UISheetPresentationController' is unavailable in watchOS
71 | ])
72 |
73 | if let presentationController = presentationController as? UISheetPresentationController {
| `- error: 'UISheetPresentationController' is unavailable in watchOS
74 | presentationController.detents = detents
75 | presentationController.largestUndimmedDetentIdentifier = largestUndimmedDetentIdentifier
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISheetPresentationController.h:108:12: note: 'UISheetPresentationController' has been explicitly marked unavailable here
106 |
107 | UIKIT_EXTERN API_AVAILABLE(ios(15.0)) API_UNAVAILABLE(tvos, watchos) NS_SWIFT_UI_ACTOR
108 | @interface UISheetPresentationController : UIPresentationController
| `- note: 'UISheetPresentationController' has been explicitly marked unavailable here
109 |
110 | // The delegate inherited from UIPresentationController, redeclared with conformance to UISheetPresentationControllerDelegate.
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/SheetKit/BottomSheetViewController.swift (in target 'SheetKit' from project 'SheetKit')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile BottomSheetViewController.swift
SwiftCompile normal arm64 Compiling\ InteractiveDismissDisabled.swift /Users/admin/builder/spi-builder-workspace/Sources/SheetKit/InteractiveDismissDisabled.swift (in target 'SheetKit' from project 'SheetKit')
/Users/admin/builder/spi-builder-workspace/Sources/SheetKit/InteractiveDismissDisabled.swift:18:30: error: cannot find type 'Context' in scope
16 | }
17 |
18 | func makeUIView(context: Context) -> some UIView {
| `- error: cannot find type 'Context' in scope
19 | let view = UIView()
20 | return view
/Users/admin/builder/spi-builder-workspace/Sources/SheetKit/InteractiveDismissDisabled.swift:18:47: error: 'UIView' is unavailable in watchOS
16 | }
17 |
18 | func makeUIView(context: Context) -> some UIView {
| `- error: 'UIView' is unavailable in watchOS
19 | let view = UIView()
20 | 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/SheetKit/InteractiveDismissDisabled.swift:23:33: error: cannot find type 'UIViewType' in scope
21 | }
22 |
23 | func updateUIView(_ uiView: UIViewType, context: Context) {
| `- error: cannot find type 'UIViewType' in scope
24 | DispatchQueue.main.async {
25 | if uiView.parentViewController?.sheetPresentationController != nil {
/Users/admin/builder/spi-builder-workspace/Sources/SheetKit/InteractiveDismissDisabled.swift:23:54: error: cannot find type 'Context' in scope
21 | }
22 |
23 | func updateUIView(_ uiView: UIViewType, context: Context) {
| `- error: cannot find type 'Context' in scope
24 | DispatchQueue.main.async {
25 | if uiView.parentViewController?.sheetPresentationController != nil {
/Users/admin/builder/spi-builder-workspace/Sources/SheetKit/InteractiveDismissDisabled.swift:11:26: error: cannot find type 'UIViewRepresentable' in scope
9 | import UIKit
10 |
11 | struct SetSheetDelegate: UIViewRepresentable {
| `- error: cannot find type 'UIViewRepresentable' in scope
12 | let delegate: SheetDelegate
13 |
/Users/admin/builder/spi-builder-workspace/Sources/SheetKit/InteractiveDismissDisabled.swift:39:31: error: 'UISheetPresentationControllerDelegate' is unavailable in watchOS
37 | var isDisable: Bool
38 | @Binding var attempToDismiss: UUID
39 | weak var originalDelegate:UISheetPresentationControllerDelegate?
| `- error: 'UISheetPresentationControllerDelegate' is unavailable in watchOS
40 |
41 | init(_ isDisable: Bool, attempToDismiss: Binding<UUID> = .constant(UUID())) {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISheetPresentationController.h:96:11: note: 'UISheetPresentationControllerDelegate' has been explicitly marked unavailable here
94 |
95 | UIKIT_EXTERN API_AVAILABLE(ios(15.0)) API_UNAVAILABLE(tvos, watchos) NS_SWIFT_UI_ACTOR
96 | @protocol UISheetPresentationControllerDelegate <UIAdaptivePresentationControllerDelegate>
| `- note: 'UISheetPresentationControllerDelegate' has been explicitly marked unavailable here
97 |
98 | @optional
/Users/admin/builder/spi-builder-workspace/Sources/SheetKit/InteractiveDismissDisabled.swift:46:72: error: 'UIPresentationController' is unavailable in watchOS
44 | }
45 |
46 | func presentationControllerShouldDismiss(_ presentationController: UIPresentationController) -> Bool {
| `- error: 'UIPresentationController' is unavailable in watchOS
47 | !isDisable
48 | }
/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/SheetKit/InteractiveDismissDisabled.swift:50:78: error: 'UIPresentationController' is unavailable in watchOS
48 | }
49 |
50 | func presentationControllerDidAttemptToDismiss(_ presentationController: UIPresentationController) {
| `- error: 'UIPresentationController' is unavailable in watchOS
51 | attempToDismiss = UUID()
52 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/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/SheetKit/InteractiveDismissDisabled.swift:54:102: error: 'UISheetPresentationController' is unavailable in watchOS
52 | }
53 |
54 | func sheetPresentationControllerDidChangeSelectedDetentIdentifier(_ sheetPresentationController: UISheetPresentationController) {
| `- error: 'UISheetPresentationController' is unavailable in watchOS
55 | originalDelegate?.sheetPresentationControllerDidChangeSelectedDetentIdentifier?(sheetPresentationController)
56 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISheetPresentationController.h:108:12: note: 'UISheetPresentationController' has been explicitly marked unavailable here
106 |
107 | UIKIT_EXTERN API_AVAILABLE(ios(15.0)) API_UNAVAILABLE(tvos, watchos) NS_SWIFT_UI_ACTOR
108 | @interface UISheetPresentationController : UIPresentationController
| `- note: 'UISheetPresentationController' has been explicitly marked unavailable here
109 |
110 | // The delegate inherited from UIPresentationController, redeclared with conformance to UISheetPresentationControllerDelegate.
/Users/admin/builder/spi-builder-workspace/Sources/SheetKit/InteractiveDismissDisabled.swift:36:38: error: 'UIAdaptivePresentationControllerDelegate' is unavailable in watchOS
34 | }
35 |
36 | final class SheetDelegate: NSObject, UIAdaptivePresentationControllerDelegate, UISheetPresentationControllerDelegate {
| `- error: 'UIAdaptivePresentationControllerDelegate' is unavailable in watchOS
37 | var isDisable: Bool
38 | @Binding var attempToDismiss: UUID
/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:24:11: note: 'UIAdaptivePresentationControllerDelegate' has been explicitly marked unavailable here
22 |
23 | API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
24 | @protocol UIAdaptivePresentationControllerDelegate <NSObject>
| `- note: 'UIAdaptivePresentationControllerDelegate' has been explicitly marked unavailable here
25 |
26 | @optional
/Users/admin/builder/spi-builder-workspace/Sources/SheetKit/InteractiveDismissDisabled.swift:36:80: error: 'UISheetPresentationControllerDelegate' is unavailable in watchOS
34 | }
35 |
36 | final class SheetDelegate: NSObject, UIAdaptivePresentationControllerDelegate, UISheetPresentationControllerDelegate {
| `- error: 'UISheetPresentationControllerDelegate' is unavailable in watchOS
37 | var isDisable: Bool
38 | @Binding var attempToDismiss: UUID
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISheetPresentationController.h:96:11: note: 'UISheetPresentationControllerDelegate' has been explicitly marked unavailable here
94 |
95 | UIKIT_EXTERN API_AVAILABLE(ios(15.0)) API_UNAVAILABLE(tvos, watchos) NS_SWIFT_UI_ACTOR
96 | @protocol UISheetPresentationControllerDelegate <UIAdaptivePresentationControllerDelegate>
| `- note: 'UISheetPresentationControllerDelegate' has been explicitly marked unavailable here
97 |
98 | @optional
/Users/admin/builder/spi-builder-workspace/Sources/SheetKit/InteractiveDismissDisabled.swift:46:10: error: cannot override 'presentationControllerShouldDismiss' which has been marked unavailable
44 | }
45 |
46 | func presentationControllerShouldDismiss(_ presentationController: UIPresentationController) -> Bool {
| `- error: cannot override 'presentationControllerShouldDismiss' which has been marked unavailable
47 | !isDisable
48 | }
/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:47:1: note: 'presentationControllerShouldDismiss' has been explicitly marked unavailable here
45 | // Any implementation of this method should be fast.
46 | // Return NO to prevent dismissal of the view controller.
47 | - (BOOL)presentationControllerShouldDismiss:(UIPresentationController *)presentationController API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos);
| `- note: 'presentationControllerShouldDismiss' has been explicitly marked unavailable here
48 |
49 | // Called on the delegate when the user has taken action to dismiss the presentation, before interaction or animations begin.
/Users/admin/builder/spi-builder-workspace/Sources/SheetKit/InteractiveDismissDisabled.swift:50:10: error: cannot override 'presentationControllerDidAttemptToDismiss' which has been marked unavailable
48 | }
49 |
50 | func presentationControllerDidAttemptToDismiss(_ presentationController: UIPresentationController) {
| `- error: cannot override 'presentationControllerDidAttemptToDismiss' which has been marked unavailable
51 | attempToDismiss = UUID()
52 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPresentationController.h:60:1: note: 'presentationControllerDidAttemptToDismiss' has been explicitly marked unavailable here
58 | // Called on the delegate when the user attempts to dismiss the presentation, but user-initiated dismissal is prevented because the presentedViewController isModalInPresentation or presentationControllerShouldDismiss: returned NO.
59 | // When this method is called, it is recommended that the user be informed why they cannot dismiss the presentation, such as by presenting an instance of UIAlertController.
60 | - (void)presentationControllerDidAttemptToDismiss:(UIPresentationController *)presentationController API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos);
| `- note: 'presentationControllerDidAttemptToDismiss' has been explicitly marked unavailable here
61 |
62 | @end
/Users/admin/builder/spi-builder-workspace/Sources/SheetKit/InteractiveDismissDisabled.swift:66:31: error: 'UIViewController' is unavailable in watchOS
64 |
65 | public extension UIView {
66 | var parentViewController: UIViewController? {
| `- error: 'UIViewController' is unavailable in watchOS
67 | var parentResponder: UIResponder? = next
68 | while parentResponder != 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/SheetKit/InteractiveDismissDisabled.swift:65:18: error: 'UIView' is unavailable in watchOS
63 | }
64 |
65 | public extension UIView {
| `- error: 'UIView' is unavailable in watchOS
66 | var parentViewController: UIViewController? {
67 | var parentResponder: UIResponder? = next
/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/SheetKit/InteractiveDismissDisabled.swift:19:20: error: 'UIView' is unavailable in watchOS
17 |
18 | func makeUIView(context: Context) -> some UIView {
19 | let view = UIView()
| `- error: 'UIView' is unavailable in watchOS
20 | return view
21 | }
/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/SheetKit/InteractiveDismissDisabled.swift:19:20: error: 'init()' is unavailable in watchOS
17 |
18 | func makeUIView(context: Context) -> some UIView {
19 | let view = UIView()
| `- error: 'init()' is unavailable in watchOS
20 | return view
21 | }
/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/SheetKit/InteractiveDismissDisabled.swift:61:9: error: instance method 'background(_:ignoresSafeAreaEdges:)' requires that 'SetSheetDelegate' conform to 'ShapeStyle'
59 | public extension View {
60 | func interactiveDismissDisabled(_ isDisable: Bool, attempToDismiss: Binding<UUID>) -> some View {
61 | background(SetSheetDelegate(isDisable: isDisable, attempToDismiss: attempToDismiss))
| `- error: instance method 'background(_:ignoresSafeAreaEdges:)' requires that 'SetSheetDelegate' conform to 'ShapeStyle'
62 | }
63 | }
SwiftUI.View.background:2:36: note: where 'S' = 'SetSheetDelegate'
1 | protocol View {
2 | @inlinable nonisolated public func background<S>(_ style: S, ignoresSafeAreaEdges edges: Edge.Set = .all) -> some View where S : ShapeStyle
| `- note: where 'S' = 'SetSheetDelegate'
3 | }
4 |
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SheetKit/InteractiveDismissDisabled.swift (in target 'SheetKit' from project 'SheetKit')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile InteractiveDismissDisabled.swift
SwiftEmitModule normal arm64 Emitting\ module\ for\ SheetKit (in target 'SheetKit' from project 'SheetKit')
/Users/admin/builder/spi-builder-workspace/Sources/SheetKit/BottomSheetViewController.swift:13:27: error: 'UISheetPresentationController' is unavailable in watchOS
11 |
12 | final class BottomSheetViewController<Content: View>: UIViewController, UISheetPresentationControllerDelegate {
13 | private let detents: [UISheetPresentationController.Detent]
| `- error: 'UISheetPresentationController' is unavailable in watchOS
14 | private let largestUndimmedDetentIdentifier: UISheetPresentationController.Detent.Identifier?
15 | private let prefersGrabberVisible: Bool
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISheetPresentationController.h:108:12: note: 'UISheetPresentationController' has been explicitly marked unavailable here
106 |
107 | UIKIT_EXTERN API_AVAILABLE(ios(15.0)) API_UNAVAILABLE(tvos, watchos) NS_SWIFT_UI_ACTOR
108 | @interface UISheetPresentationController : UIPresentationController
| `- note: 'UISheetPresentationController' has been explicitly marked unavailable here
109 |
110 | // The delegate inherited from UIPresentationController, redeclared with conformance to UISheetPresentationControllerDelegate.
/Users/admin/builder/spi-builder-workspace/Sources/SheetKit/BottomSheetViewController.swift:14:50: error: 'UISheetPresentationController' is unavailable in watchOS
12 | final class BottomSheetViewController<Content: View>: UIViewController, UISheetPresentationControllerDelegate {
13 | private let detents: [UISheetPresentationController.Detent]
14 | private let largestUndimmedDetentIdentifier: UISheetPresentationController.Detent.Identifier?
| `- error: 'UISheetPresentationController' is unavailable in watchOS
15 | private let prefersGrabberVisible: Bool
16 | private let prefersScrollingExpandsWhenScrolledToEdge: Bool
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISheetPresentationController.h:108:12: note: 'UISheetPresentationController' has been explicitly marked unavailable here
106 |
107 | UIKIT_EXTERN API_AVAILABLE(ios(15.0)) API_UNAVAILABLE(tvos, watchos) NS_SWIFT_UI_ACTOR
108 | @interface UISheetPresentationController : UIPresentationController
| `- note: 'UISheetPresentationController' has been explicitly marked unavailable here
109 |
110 | // The delegate inherited from UIPresentationController, redeclared with conformance to UISheetPresentationControllerDelegate.
/Users/admin/builder/spi-builder-workspace/Sources/SheetKit/BottomSheetViewController.swift:19:43: error: 'UISheetPresentationController' is unavailable in watchOS
17 | private let prefersEdgeAttachedInCompactHeight: Bool
18 | private let widthFollowsPreferredContentSizeWhenEdgeAttached: Bool
19 | private var detentIdentifier: Binding<UISheetPresentationController.Detent.Identifier>?
| `- error: 'UISheetPresentationController' is unavailable in watchOS
20 | private let preferredCornerRadius: CGFloat?
21 | private let notificationName: Notification.Name
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISheetPresentationController.h:108:12: note: 'UISheetPresentationController' has been explicitly marked unavailable here
106 |
107 | UIKIT_EXTERN API_AVAILABLE(ios(15.0)) API_UNAVAILABLE(tvos, watchos) NS_SWIFT_UI_ACTOR
108 | @interface UISheetPresentationController : UIPresentationController
| `- note: 'UISheetPresentationController' has been explicitly marked unavailable here
109 |
110 | // The delegate inherited from UIPresentationController, redeclared with conformance to UISheetPresentationControllerDelegate.
/Users/admin/builder/spi-builder-workspace/Sources/SheetKit/BottomSheetViewController.swift:23:30: error: cannot find type 'UIHostingController' in scope
21 | private let notificationName: Notification.Name
22 | private let onDisappear: (() -> Void)?
23 | private let contentView: UIHostingController<Content>
| `- error: cannot find type 'UIHostingController' in scope
24 |
25 | public init(
/Users/admin/builder/spi-builder-workspace/Sources/SheetKit/BottomSheetViewController.swift:26:19: error: 'UISheetPresentationController' is unavailable in watchOS
24 |
25 | public init(
26 | detents: [UISheetPresentationController.Detent] = [.medium(), .large()],
| `- error: 'UISheetPresentationController' is unavailable in watchOS
27 | largestUndimmedDetentIdentifier: UISheetPresentationController.Detent.Identifier? = nil,
28 | prefersGrabberVisible: Bool = false,
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISheetPresentationController.h:108:12: note: 'UISheetPresentationController' has been explicitly marked unavailable here
106 |
107 | UIKIT_EXTERN API_AVAILABLE(ios(15.0)) API_UNAVAILABLE(tvos, watchos) NS_SWIFT_UI_ACTOR
108 | @interface UISheetPresentationController : UIPresentationController
| `- note: 'UISheetPresentationController' has been explicitly marked unavailable here
109 |
110 | // The delegate inherited from UIPresentationController, redeclared with conformance to UISheetPresentationControllerDelegate.
/Users/admin/builder/spi-builder-workspace/Sources/SheetKit/BottomSheetViewController.swift:27:42: error: 'UISheetPresentationController' is unavailable in watchOS
25 | public init(
26 | detents: [UISheetPresentationController.Detent] = [.medium(), .large()],
27 | largestUndimmedDetentIdentifier: UISheetPresentationController.Detent.Identifier? = nil,
| `- error: 'UISheetPresentationController' is unavailable in watchOS
28 | prefersGrabberVisible: Bool = false,
29 | prefersScrollingExpandsWhenScrolledToEdge: Bool = 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/UISheetPresentationController.h:108:12: note: 'UISheetPresentationController' has been explicitly marked unavailable here
106 |
107 | UIKIT_EXTERN API_AVAILABLE(ios(15.0)) API_UNAVAILABLE(tvos, watchos) NS_SWIFT_UI_ACTOR
108 | @interface UISheetPresentationController : UIPresentationController
| `- note: 'UISheetPresentationController' has been explicitly marked unavailable here
109 |
110 | // The delegate inherited from UIPresentationController, redeclared with conformance to UISheetPresentationControllerDelegate.
/Users/admin/builder/spi-builder-workspace/Sources/SheetKit/BottomSheetViewController.swift:32:35: error: 'UISheetPresentationController' is unavailable in watchOS
30 | prefersEdgeAttachedInCompactHeight: Bool = false,
31 | widthFollowsPreferredContentSizeWhenEdgeAttached: Bool = false,
32 | detentIdentifier: Binding<UISheetPresentationController.Detent.Identifier>? = nil,
| `- error: 'UISheetPresentationController' is unavailable in watchOS
33 | preferredCornerRadius: CGFloat?,
34 | notificationName: Notification.Name = .bottomSheetDetentIdentifierDidChanged,
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISheetPresentationController.h:108:12: note: 'UISheetPresentationController' has been explicitly marked unavailable here
106 |
107 | UIKIT_EXTERN API_AVAILABLE(ios(15.0)) API_UNAVAILABLE(tvos, watchos) NS_SWIFT_UI_ACTOR
108 | @interface UISheetPresentationController : UIPresentationController
| `- note: 'UISheetPresentationController' has been explicitly marked unavailable here
109 |
110 | // The delegate inherited from UIPresentationController, redeclared with conformance to UISheetPresentationControllerDelegate.
/Users/admin/builder/spi-builder-workspace/Sources/SheetKit/BottomSheetViewController.swift:90:102: error: 'UISheetPresentationController' is unavailable in watchOS
88 | }
89 |
90 | func sheetPresentationControllerDidChangeSelectedDetentIdentifier(_ sheetPresentationController: UISheetPresentationController) {
| `- error: 'UISheetPresentationController' is unavailable in watchOS
91 | guard let selectedDetentIdentifier = sheetPresentationController.selectedDetentIdentifier else { return }
92 | detentIdentifier?.wrappedValue = selectedDetentIdentifier
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISheetPresentationController.h:108:12: note: 'UISheetPresentationController' has been explicitly marked unavailable here
106 |
107 | UIKIT_EXTERN API_AVAILABLE(ios(15.0)) API_UNAVAILABLE(tvos, watchos) NS_SWIFT_UI_ACTOR
108 | @interface UISheetPresentationController : UIPresentationController
| `- note: 'UISheetPresentationController' has been explicitly marked unavailable here
109 |
110 | // The delegate inherited from UIPresentationController, redeclared with conformance to UISheetPresentationControllerDelegate.
/Users/admin/builder/spi-builder-workspace/Sources/SheetKit/BottomSheetViewController.swift:12:55: error: 'UIViewController' is unavailable in watchOS
10 | import UIKit
11 |
12 | final class BottomSheetViewController<Content: View>: UIViewController, UISheetPresentationControllerDelegate {
| `- error: 'UIViewController' is unavailable in watchOS
13 | private let detents: [UISheetPresentationController.Detent]
14 | private let largestUndimmedDetentIdentifier: UISheetPresentationController.Detent.Identifier?
/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/SheetKit/BottomSheetViewController.swift:12:73: error: 'UISheetPresentationControllerDelegate' is unavailable in watchOS
10 | import UIKit
11 |
12 | final class BottomSheetViewController<Content: View>: UIViewController, UISheetPresentationControllerDelegate {
| `- error: 'UISheetPresentationControllerDelegate' is unavailable in watchOS
13 | private let detents: [UISheetPresentationController.Detent]
14 | private let largestUndimmedDetentIdentifier: UISheetPresentationController.Detent.Identifier?
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISheetPresentationController.h:96:11: note: 'UISheetPresentationControllerDelegate' has been explicitly marked unavailable here
94 |
95 | UIKIT_EXTERN API_AVAILABLE(ios(15.0)) API_UNAVAILABLE(tvos, watchos) NS_SWIFT_UI_ACTOR
96 | @protocol UISheetPresentationControllerDelegate <UIAdaptivePresentationControllerDelegate>
| `- note: 'UISheetPresentationControllerDelegate' has been explicitly marked unavailable here
97 |
98 | @optional
/Users/admin/builder/spi-builder-workspace/Sources/SheetKit/ClearBackgournd.swift:12:30: error: cannot find type 'Context' in scope
10 |
11 | struct BackgroundCleanerView: UIViewRepresentable {
12 | func makeUIView(context: Context) -> UIView {
| `- error: cannot find type 'Context' in scope
13 | let view = UIView()
14 | DispatchQueue.main.async {
/Users/admin/builder/spi-builder-workspace/Sources/SheetKit/ClearBackgournd.swift:12:42: error: 'UIView' is unavailable in watchOS
10 |
11 | struct BackgroundCleanerView: UIViewRepresentable {
12 | func makeUIView(context: Context) -> UIView {
| `- error: 'UIView' is unavailable in watchOS
13 | let view = UIView()
14 | DispatchQueue.main.async {
/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/SheetKit/ClearBackgournd.swift:20:50: error: cannot find type 'Context' in scope
18 | }
19 |
20 | func updateUIView(_ uiView: UIView, context: Context) {}
| `- error: cannot find type 'Context' in scope
21 | }
22 |
/Users/admin/builder/spi-builder-workspace/Sources/SheetKit/ClearBackgournd.swift:20:33: error: 'UIView' is unavailable in watchOS
18 | }
19 |
20 | func updateUIView(_ uiView: UIView, context: Context) {}
| `- error: 'UIView' is unavailable in watchOS
21 | }
22 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/SheetKit/ClearBackgournd.swift:11:31: error: cannot find type 'UIViewRepresentable' in scope
9 | import SwiftUI
10 |
11 | struct BackgroundCleanerView: UIViewRepresentable {
| `- error: cannot find type 'UIViewRepresentable' in scope
12 | func makeUIView(context: Context) -> UIView {
13 | let view = UIView()
/Users/admin/builder/spi-builder-workspace/Sources/SheetKit/InteractiveDismissDisabled.swift:18:30: error: cannot find type 'Context' in scope
16 | }
17 |
18 | func makeUIView(context: Context) -> some UIView {
| `- error: cannot find type 'Context' in scope
19 | let view = UIView()
20 | return view
/Users/admin/builder/spi-builder-workspace/Sources/SheetKit/InteractiveDismissDisabled.swift:18:47: error: 'UIView' is unavailable in watchOS
16 | }
17 |
18 | func makeUIView(context: Context) -> some UIView {
| `- error: 'UIView' is unavailable in watchOS
19 | let view = UIView()
20 | 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/SheetKit/InteractiveDismissDisabled.swift:23:33: error: cannot find type 'UIViewType' in scope
21 | }
22 |
23 | func updateUIView(_ uiView: UIViewType, context: Context) {
| `- error: cannot find type 'UIViewType' in scope
24 | DispatchQueue.main.async {
25 | if uiView.parentViewController?.sheetPresentationController != nil {
/Users/admin/builder/spi-builder-workspace/Sources/SheetKit/InteractiveDismissDisabled.swift:23:54: error: cannot find type 'Context' in scope
21 | }
22 |
23 | func updateUIView(_ uiView: UIViewType, context: Context) {
| `- error: cannot find type 'Context' in scope
24 | DispatchQueue.main.async {
25 | if uiView.parentViewController?.sheetPresentationController != nil {
/Users/admin/builder/spi-builder-workspace/Sources/SheetKit/InteractiveDismissDisabled.swift:11:26: error: cannot find type 'UIViewRepresentable' in scope
9 | import UIKit
10 |
11 | struct SetSheetDelegate: UIViewRepresentable {
| `- error: cannot find type 'UIViewRepresentable' in scope
12 | let delegate: SheetDelegate
13 |
/Users/admin/builder/spi-builder-workspace/Sources/SheetKit/InteractiveDismissDisabled.swift:39:31: error: 'UISheetPresentationControllerDelegate' is unavailable in watchOS
37 | var isDisable: Bool
38 | @Binding var attempToDismiss: UUID
39 | weak var originalDelegate:UISheetPresentationControllerDelegate?
| `- error: 'UISheetPresentationControllerDelegate' is unavailable in watchOS
40 |
41 | init(_ isDisable: Bool, attempToDismiss: Binding<UUID> = .constant(UUID())) {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISheetPresentationController.h:96:11: note: 'UISheetPresentationControllerDelegate' has been explicitly marked unavailable here
94 |
95 | UIKIT_EXTERN API_AVAILABLE(ios(15.0)) API_UNAVAILABLE(tvos, watchos) NS_SWIFT_UI_ACTOR
96 | @protocol UISheetPresentationControllerDelegate <UIAdaptivePresentationControllerDelegate>
| `- note: 'UISheetPresentationControllerDelegate' has been explicitly marked unavailable here
97 |
98 | @optional
/Users/admin/builder/spi-builder-workspace/Sources/SheetKit/InteractiveDismissDisabled.swift:46:72: error: 'UIPresentationController' is unavailable in watchOS
44 | }
45 |
46 | func presentationControllerShouldDismiss(_ presentationController: UIPresentationController) -> Bool {
| `- error: 'UIPresentationController' is unavailable in watchOS
47 | !isDisable
48 | }
/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/SheetKit/InteractiveDismissDisabled.swift:50:78: error: 'UIPresentationController' is unavailable in watchOS
48 | }
49 |
50 | func presentationControllerDidAttemptToDismiss(_ presentationController: UIPresentationController) {
| `- error: 'UIPresentationController' is unavailable in watchOS
51 | attempToDismiss = UUID()
52 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/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/SheetKit/InteractiveDismissDisabled.swift:54:102: error: 'UISheetPresentationController' is unavailable in watchOS
52 | }
53 |
54 | func sheetPresentationControllerDidChangeSelectedDetentIdentifier(_ sheetPresentationController: UISheetPresentationController) {
| `- error: 'UISheetPresentationController' is unavailable in watchOS
55 | originalDelegate?.sheetPresentationControllerDidChangeSelectedDetentIdentifier?(sheetPresentationController)
56 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISheetPresentationController.h:108:12: note: 'UISheetPresentationController' has been explicitly marked unavailable here
106 |
107 | UIKIT_EXTERN API_AVAILABLE(ios(15.0)) API_UNAVAILABLE(tvos, watchos) NS_SWIFT_UI_ACTOR
108 | @interface UISheetPresentationController : UIPresentationController
| `- note: 'UISheetPresentationController' has been explicitly marked unavailable here
109 |
110 | // The delegate inherited from UIPresentationController, redeclared with conformance to UISheetPresentationControllerDelegate.
/Users/admin/builder/spi-builder-workspace/Sources/SheetKit/InteractiveDismissDisabled.swift:36:38: error: 'UIAdaptivePresentationControllerDelegate' is unavailable in watchOS
34 | }
35 |
36 | final class SheetDelegate: NSObject, UIAdaptivePresentationControllerDelegate, UISheetPresentationControllerDelegate {
| `- error: 'UIAdaptivePresentationControllerDelegate' is unavailable in watchOS
37 | var isDisable: Bool
38 | @Binding var attempToDismiss: UUID
/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:24:11: note: 'UIAdaptivePresentationControllerDelegate' has been explicitly marked unavailable here
22 |
23 | API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
24 | @protocol UIAdaptivePresentationControllerDelegate <NSObject>
| `- note: 'UIAdaptivePresentationControllerDelegate' has been explicitly marked unavailable here
25 |
26 | @optional
/Users/admin/builder/spi-builder-workspace/Sources/SheetKit/InteractiveDismissDisabled.swift:36:80: error: 'UISheetPresentationControllerDelegate' is unavailable in watchOS
34 | }
35 |
36 | final class SheetDelegate: NSObject, UIAdaptivePresentationControllerDelegate, UISheetPresentationControllerDelegate {
| `- error: 'UISheetPresentationControllerDelegate' is unavailable in watchOS
37 | var isDisable: Bool
38 | @Binding var attempToDismiss: UUID
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISheetPresentationController.h:96:11: note: 'UISheetPresentationControllerDelegate' has been explicitly marked unavailable here
94 |
95 | UIKIT_EXTERN API_AVAILABLE(ios(15.0)) API_UNAVAILABLE(tvos, watchos) NS_SWIFT_UI_ACTOR
96 | @protocol UISheetPresentationControllerDelegate <UIAdaptivePresentationControllerDelegate>
| `- note: 'UISheetPresentationControllerDelegate' has been explicitly marked unavailable here
97 |
98 | @optional
/Users/admin/builder/spi-builder-workspace/Sources/SheetKit/InteractiveDismissDisabled.swift:46:10: error: cannot override 'presentationControllerShouldDismiss' which has been marked unavailable
44 | }
45 |
46 | func presentationControllerShouldDismiss(_ presentationController: UIPresentationController) -> Bool {
| `- error: cannot override 'presentationControllerShouldDismiss' which has been marked unavailable
47 | !isDisable
48 | }
/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:47:1: note: 'presentationControllerShouldDismiss' has been explicitly marked unavailable here
45 | // Any implementation of this method should be fast.
46 | // Return NO to prevent dismissal of the view controller.
47 | - (BOOL)presentationControllerShouldDismiss:(UIPresentationController *)presentationController API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos);
| `- note: 'presentationControllerShouldDismiss' has been explicitly marked unavailable here
48 |
49 | // Called on the delegate when the user has taken action to dismiss the presentation, before interaction or animations begin.
/Users/admin/builder/spi-builder-workspace/Sources/SheetKit/InteractiveDismissDisabled.swift:50:10: error: cannot override 'presentationControllerDidAttemptToDismiss' which has been marked unavailable
48 | }
49 |
50 | func presentationControllerDidAttemptToDismiss(_ presentationController: UIPresentationController) {
| `- error: cannot override 'presentationControllerDidAttemptToDismiss' which has been marked unavailable
51 | attempToDismiss = UUID()
52 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPresentationController.h:60:1: note: 'presentationControllerDidAttemptToDismiss' has been explicitly marked unavailable here
58 | // Called on the delegate when the user attempts to dismiss the presentation, but user-initiated dismissal is prevented because the presentedViewController isModalInPresentation or presentationControllerShouldDismiss: returned NO.
59 | // When this method is called, it is recommended that the user be informed why they cannot dismiss the presentation, such as by presenting an instance of UIAlertController.
60 | - (void)presentationControllerDidAttemptToDismiss:(UIPresentationController *)presentationController API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos);
| `- note: 'presentationControllerDidAttemptToDismiss' has been explicitly marked unavailable here
61 |
62 | @end
/Users/admin/builder/spi-builder-workspace/Sources/SheetKit/InteractiveDismissDisabled.swift:66:31: error: 'UIViewController' is unavailable in watchOS
64 |
65 | public extension UIView {
66 | var parentViewController: UIViewController? {
| `- error: 'UIViewController' is unavailable in watchOS
67 | var parentResponder: UIResponder? = next
68 | while parentResponder != 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/SheetKit/InteractiveDismissDisabled.swift:65:18: error: 'UIView' is unavailable in watchOS
63 | }
64 |
65 | public extension UIView {
| `- error: 'UIView' is unavailable in watchOS
66 | var parentViewController: UIViewController? {
67 | var parentResponder: UIResponder? = next
/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/SheetKit/SheetKit.swift:45:66: error: 'UISheetPresentationController' is unavailable in watchOS
43 | onDisappear:(() -> Void)? = nil,
44 | configuration: BottomSheetConfiguration? = nil,
45 | detentIdentifier: Binding<UISheetPresentationController.Detent.Identifier>? = nil,
| `- error: 'UISheetPresentationController' is unavailable in watchOS
46 | content: () -> Content)
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/UISheetPresentationController.h:108:12: note: 'UISheetPresentationController' has been explicitly marked unavailable here
106 |
107 | UIKIT_EXTERN API_AVAILABLE(ios(15.0)) API_UNAVAILABLE(tvos, watchos) NS_SWIFT_UI_ACTOR
108 | @interface UISheetPresentationController : UIPresentationController
| `- note: 'UISheetPresentationController' has been explicitly marked unavailable here
109 |
110 | // The delegate inherited from UIPresentationController, redeclared with conformance to UISheetPresentationControllerDelegate.
/Users/admin/builder/spi-builder-workspace/Sources/SheetKit/SheetKit.swift:91:20: error: 'UIWindow' is unavailable in watchOS
89 |
90 | public extension SheetKit {
91 | var keyWindow: UIWindow? { UIApplication.shared.connectedScenes
| `- error: 'UIWindow' is unavailable in watchOS
92 | .filter { $0.activationState == .foregroundActive }
93 | .map { $0 as? UIWindowScene }
/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/SheetKit/SheetKit.swift:99:29: error: 'UIViewController' is unavailable in watchOS
97 | }
98 |
99 | var rootViewController: UIViewController? {
| `- error: 'UIViewController' is unavailable in watchOS
100 | keyWindow?.rootViewController
101 | }
/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/SheetKit/SheetKit.swift:129:31: error: 'UISheetPresentationController' is unavailable in watchOS
127 | /// - widthFollowsPreferredContentSizeWhenEdgeAttached: 模态视图的宽度是否于视图控制器的首选内容大小相匹配
128 | /// - preferredCornerRadius: 模态视图圆角值
129 | public init(detents: [UISheetPresentationController.Detent],
| `- error: 'UISheetPresentationController' is unavailable in watchOS
130 | largestUndimmedDetentIdentifier: UISheetPresentationController.Detent.Identifier?,
131 | prefersGrabberVisible: Bool,
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISheetPresentationController.h:108:12: note: 'UISheetPresentationController' has been explicitly marked unavailable here
106 |
107 | UIKIT_EXTERN API_AVAILABLE(ios(15.0)) API_UNAVAILABLE(tvos, watchos) NS_SWIFT_UI_ACTOR
108 | @interface UISheetPresentationController : UIPresentationController
| `- note: 'UISheetPresentationController' has been explicitly marked unavailable here
109 |
110 | // The delegate inherited from UIPresentationController, redeclared with conformance to UISheetPresentationControllerDelegate.
/Users/admin/builder/spi-builder-workspace/Sources/SheetKit/SheetKit.swift:130:54: error: 'UISheetPresentationController' is unavailable in watchOS
128 | /// - preferredCornerRadius: 模态视图圆角值
129 | public init(detents: [UISheetPresentationController.Detent],
130 | largestUndimmedDetentIdentifier: UISheetPresentationController.Detent.Identifier?,
| `- error: 'UISheetPresentationController' is unavailable in watchOS
131 | prefersGrabberVisible: Bool,
132 | prefersScrollingExpandsWhenScrolledToEdge: Bool,
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISheetPresentationController.h:108:12: note: 'UISheetPresentationController' has been explicitly marked unavailable here
106 |
107 | UIKIT_EXTERN API_AVAILABLE(ios(15.0)) API_UNAVAILABLE(tvos, watchos) NS_SWIFT_UI_ACTOR
108 | @interface UISheetPresentationController : UIPresentationController
| `- note: 'UISheetPresentationController' has been explicitly marked unavailable here
109 |
110 | // The delegate inherited from UIPresentationController, redeclared with conformance to UISheetPresentationControllerDelegate.
/Users/admin/builder/spi-builder-workspace/Sources/SheetKit/SheetKit.swift:146:23: error: 'UISheetPresentationController' is unavailable in watchOS
144 | }
145 |
146 | let detents: [UISheetPresentationController.Detent]
| `- error: 'UISheetPresentationController' is unavailable in watchOS
147 | let largestUndimmedDetentIdentifier: UISheetPresentationController.Detent.Identifier?
148 | let prefersGrabberVisible: Bool
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISheetPresentationController.h:108:12: note: 'UISheetPresentationController' has been explicitly marked unavailable here
106 |
107 | UIKIT_EXTERN API_AVAILABLE(ios(15.0)) API_UNAVAILABLE(tvos, watchos) NS_SWIFT_UI_ACTOR
108 | @interface UISheetPresentationController : UIPresentationController
| `- note: 'UISheetPresentationController' has been explicitly marked unavailable here
109 |
110 | // The delegate inherited from UIPresentationController, redeclared with conformance to UISheetPresentationControllerDelegate.
/Users/admin/builder/spi-builder-workspace/Sources/SheetKit/SheetKit.swift:147:46: error: 'UISheetPresentationController' is unavailable in watchOS
145 |
146 | let detents: [UISheetPresentationController.Detent]
147 | let largestUndimmedDetentIdentifier: UISheetPresentationController.Detent.Identifier?
| `- error: 'UISheetPresentationController' is unavailable in watchOS
148 | let prefersGrabberVisible: Bool
149 | let prefersScrollingExpandsWhenScrolledToEdge: Bool
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISheetPresentationController.h:108:12: note: 'UISheetPresentationController' has been explicitly marked unavailable here
106 |
107 | UIKIT_EXTERN API_AVAILABLE(ios(15.0)) API_UNAVAILABLE(tvos, watchos) NS_SWIFT_UI_ACTOR
108 | @interface UISheetPresentationController : UIPresentationController
| `- note: 'UISheetPresentationController' has been explicitly marked unavailable here
109 |
110 | // The delegate inherited from UIPresentationController, redeclared with conformance to UISheetPresentationControllerDelegate.
/Users/admin/builder/spi-builder-workspace/Sources/SheetKit/SheetKit.swift:176:51: error: cannot find type 'UIHostingController' in scope
174 | // MARK: - UIHostingController
175 |
176 | final class MyUIHostingController<Content: View>: UIHostingController<Content> {
| `- error: cannot find type 'UIHostingController' in scope
177 | var onDisappear: (() -> Void)?
178 | override func viewDidDisappear(_ animated: Bool) {
/Users/admin/builder/spi-builder-workspace/Sources/SheetKit/SheetKit.swift:178:19: error: method does not override any method from its superclass
176 | final class MyUIHostingController<Content: View>: UIHostingController<Content> {
177 | var onDisappear: (() -> Void)?
178 | override func viewDidDisappear(_ animated: Bool) {
| `- error: method does not override any method from its superclass
179 | super.viewDidDisappear(animated)
180 | onDisappear?()
/Users/admin/builder/spi-builder-workspace/Sources/SheetKit/UIKit++.swift:11:41: error: 'UIViewController' is unavailable in watchOS
9 |
10 | extension UIViewController {
11 | var topmostPresentedViewController: UIViewController? {
| `- error: 'UIViewController' is unavailable in watchOS
12 | presentedViewController?.topmostPresentedViewController ?? self
13 | }
/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/SheetKit/UIKit++.swift:15:32: error: 'UIViewController' is unavailable in watchOS
13 | }
14 |
15 | var topmostViewController: UIViewController? {
| `- error: 'UIViewController' is unavailable in watchOS
16 | if let controller = (self as? UINavigationController)?.visibleViewController {
17 | return controller.topmostViewController
/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/SheetKit/UIKit++.swift:27:42: error: 'UIViewController' is unavailable in watchOS
25 | }
26 |
27 | var topmostPresentingViewController: UIViewController? {
| `- error: 'UIViewController' is unavailable in watchOS
28 | topmostViewController?.presentingViewController
29 | }
/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/SheetKit/UIKit++.swift:10:11: error: 'UIViewController' is unavailable in watchOS
8 | import UIKit
9 |
10 | extension UIViewController {
| `- error: 'UIViewController' is unavailable in watchOS
11 | var topmostPresentedViewController: UIViewController? {
12 | presentedViewController?.topmostPresentedViewController ?? self
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
Failed frontend command:
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /Users/admin/builder/spi-builder-workspace/Sources/SheetKit/BottomSheetViewController.swift /Users/admin/builder/spi-builder-workspace/Sources/SheetKit/ClearBackgournd.swift /Users/admin/builder/spi-builder-workspace/Sources/SheetKit/InteractiveDismissDisabled.swift /Users/admin/builder/spi-builder-workspace/Sources/SheetKit/SheetKit.swift /Users/admin/builder/spi-builder-workspace/Sources/SheetKit/UIKit++.swift -target arm64-apple-watchos9.0 -disable-cross-import-overlay-search -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libFoundationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#FoundationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libObservationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#ObservationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libPreviewsMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#PreviewsMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libSwiftMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#SwiftMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libSwiftUIMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#SwiftUIMacros -disable-implicit-swift-modules -Xcc -fno-implicit-modules -Xcc -fno-implicit-module-maps -explicit-swift-module-map-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SheetKit.build/Debug-watchos/SheetKit-t.build/Objects-normal/arm64/SheetKit-dependencies-2.json -Xllvm -aarch64-use-tbi -enable-objc-interop -stack-check -sdk /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/Developer/Library/Frameworks -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules -no-color-diagnostics -Xcc -fno-color-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -profile-generate -profile-coverage-mapping -swift-version 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/SheetKit.build/Debug-watchos/SheetKit-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SheetKit.build/Debug-watchos/SheetKit-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SheetKit.build/Debug-watchos/SheetKit-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name SheetKit -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SheetKit.build/Debug-watchos/SheetKit-t.build/Objects-normal/arm64/SheetKit_const_extract_protocols.json -disable-clang-spi -clang-target arm64-apple-watchos27.0 -target-sdk-version 27.0 -target-sdk-name watchos27.0 -in-process-plugin-server-path /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/libSwiftInProcPluginServer.dylib -emit-module-doc-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SheetKit.build/Debug-watchos/SheetKit-t.build/Objects-normal/arm64/SheetKit.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SheetKit.build/Debug-watchos/SheetKit-t.build/Objects-normal/arm64/SheetKit.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SheetKit.build/Debug-watchos/SheetKit-t.build/Objects-normal/arm64/SheetKit-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SheetKit.build/Debug-watchos/SheetKit-t.build/Objects-normal/arm64/SheetKit-primary-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SheetKit.build/Debug-watchos/SheetKit-t.build/Objects-normal/arm64/SheetKit-primary-emit-module.d -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SheetKit.build/Debug-watchos/SheetKit-t.build/Objects-normal/arm64/SheetKit.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SheetKit.build/Debug-watchos/SheetKit-t.build/Objects-normal/arm64/SheetKit.abi.json
SwiftCompile normal arm64 (in target 'SheetKit' from project 'SheetKit')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 Compiling\ SheetKit.swift /Users/admin/builder/spi-builder-workspace/Sources/SheetKit/SheetKit.swift (in target 'SheetKit' from project 'SheetKit')
/Users/admin/builder/spi-builder-workspace/Sources/SheetKit/SheetKit.swift:45:66: error: 'UISheetPresentationController' is unavailable in watchOS
43 | onDisappear:(() -> Void)? = nil,
44 | configuration: BottomSheetConfiguration? = nil,
45 | detentIdentifier: Binding<UISheetPresentationController.Detent.Identifier>? = nil,
| `- error: 'UISheetPresentationController' is unavailable in watchOS
46 | content: () -> Content)
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/UISheetPresentationController.h:108:12: note: 'UISheetPresentationController' has been explicitly marked unavailable here
106 |
107 | UIKIT_EXTERN API_AVAILABLE(ios(15.0)) API_UNAVAILABLE(tvos, watchos) NS_SWIFT_UI_ACTOR
108 | @interface UISheetPresentationController : UIPresentationController
| `- note: 'UISheetPresentationController' has been explicitly marked unavailable here
109 |
110 | // The delegate inherited from UIPresentationController, redeclared with conformance to UISheetPresentationControllerDelegate.
/Users/admin/builder/spi-builder-workspace/Sources/SheetKit/SheetKit.swift:91:20: error: 'UIWindow' is unavailable in watchOS
89 |
90 | public extension SheetKit {
91 | var keyWindow: UIWindow? { UIApplication.shared.connectedScenes
| `- error: 'UIWindow' is unavailable in watchOS
92 | .filter { $0.activationState == .foregroundActive }
93 | .map { $0 as? UIWindowScene }
/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/SheetKit/SheetKit.swift:99:29: error: 'UIViewController' is unavailable in watchOS
97 | }
98 |
99 | var rootViewController: UIViewController? {
| `- error: 'UIViewController' is unavailable in watchOS
100 | keyWindow?.rootViewController
101 | }
/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/SheetKit/SheetKit.swift:129:31: error: 'UISheetPresentationController' is unavailable in watchOS
127 | /// - widthFollowsPreferredContentSizeWhenEdgeAttached: 模态视图的宽度是否于视图控制器的首选内容大小相匹配
128 | /// - preferredCornerRadius: 模态视图圆角值
129 | public init(detents: [UISheetPresentationController.Detent],
| `- error: 'UISheetPresentationController' is unavailable in watchOS
130 | largestUndimmedDetentIdentifier: UISheetPresentationController.Detent.Identifier?,
131 | prefersGrabberVisible: Bool,
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISheetPresentationController.h:108:12: note: 'UISheetPresentationController' has been explicitly marked unavailable here
106 |
107 | UIKIT_EXTERN API_AVAILABLE(ios(15.0)) API_UNAVAILABLE(tvos, watchos) NS_SWIFT_UI_ACTOR
108 | @interface UISheetPresentationController : UIPresentationController
| `- note: 'UISheetPresentationController' has been explicitly marked unavailable here
109 |
110 | // The delegate inherited from UIPresentationController, redeclared with conformance to UISheetPresentationControllerDelegate.
/Users/admin/builder/spi-builder-workspace/Sources/SheetKit/SheetKit.swift:130:54: error: 'UISheetPresentationController' is unavailable in watchOS
128 | /// - preferredCornerRadius: 模态视图圆角值
129 | public init(detents: [UISheetPresentationController.Detent],
130 | largestUndimmedDetentIdentifier: UISheetPresentationController.Detent.Identifier?,
| `- error: 'UISheetPresentationController' is unavailable in watchOS
131 | prefersGrabberVisible: Bool,
132 | prefersScrollingExpandsWhenScrolledToEdge: Bool,
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISheetPresentationController.h:108:12: note: 'UISheetPresentationController' has been explicitly marked unavailable here
106 |
107 | UIKIT_EXTERN API_AVAILABLE(ios(15.0)) API_UNAVAILABLE(tvos, watchos) NS_SWIFT_UI_ACTOR
108 | @interface UISheetPresentationController : UIPresentationController
| `- note: 'UISheetPresentationController' has been explicitly marked unavailable here
109 |
110 | // The delegate inherited from UIPresentationController, redeclared with conformance to UISheetPresentationControllerDelegate.
/Users/admin/builder/spi-builder-workspace/Sources/SheetKit/SheetKit.swift:146:23: error: 'UISheetPresentationController' is unavailable in watchOS
144 | }
145 |
146 | let detents: [UISheetPresentationController.Detent]
| `- error: 'UISheetPresentationController' is unavailable in watchOS
147 | let largestUndimmedDetentIdentifier: UISheetPresentationController.Detent.Identifier?
148 | let prefersGrabberVisible: Bool
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISheetPresentationController.h:108:12: note: 'UISheetPresentationController' has been explicitly marked unavailable here
106 |
107 | UIKIT_EXTERN API_AVAILABLE(ios(15.0)) API_UNAVAILABLE(tvos, watchos) NS_SWIFT_UI_ACTOR
108 | @interface UISheetPresentationController : UIPresentationController
| `- note: 'UISheetPresentationController' has been explicitly marked unavailable here
109 |
110 | // The delegate inherited from UIPresentationController, redeclared with conformance to UISheetPresentationControllerDelegate.
/Users/admin/builder/spi-builder-workspace/Sources/SheetKit/SheetKit.swift:147:46: error: 'UISheetPresentationController' is unavailable in watchOS
145 |
146 | let detents: [UISheetPresentationController.Detent]
147 | let largestUndimmedDetentIdentifier: UISheetPresentationController.Detent.Identifier?
| `- error: 'UISheetPresentationController' is unavailable in watchOS
148 | let prefersGrabberVisible: Bool
149 | let prefersScrollingExpandsWhenScrolledToEdge: Bool
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISheetPresentationController.h:108:12: note: 'UISheetPresentationController' has been explicitly marked unavailable here
106 |
107 | UIKIT_EXTERN API_AVAILABLE(ios(15.0)) API_UNAVAILABLE(tvos, watchos) NS_SWIFT_UI_ACTOR
108 | @interface UISheetPresentationController : UIPresentationController
| `- note: 'UISheetPresentationController' has been explicitly marked unavailable here
109 |
110 | // The delegate inherited from UIPresentationController, redeclared with conformance to UISheetPresentationControllerDelegate.
/Users/admin/builder/spi-builder-workspace/Sources/SheetKit/SheetKit.swift:176:51: error: cannot find type 'UIHostingController' in scope
174 | // MARK: - UIHostingController
175 |
176 | final class MyUIHostingController<Content: View>: UIHostingController<Content> {
| `- error: cannot find type 'UIHostingController' in scope
177 | var onDisappear: (() -> Void)?
178 | override func viewDidDisappear(_ animated: Bool) {
/Users/admin/builder/spi-builder-workspace/Sources/SheetKit/SheetKit.swift:178:19: error: method does not override any method from its superclass
176 | final class MyUIHostingController<Content: View>: UIHostingController<Content> {
177 | var onDisappear: (() -> Void)?
178 | override func viewDidDisappear(_ animated: Bool) {
| `- error: method does not override any method from its superclass
179 | super.viewDidDisappear(animated)
180 | onDisappear?()
/Users/admin/builder/spi-builder-workspace/Sources/SheetKit/SheetKit.swift:50:36: error: 'UIViewController' is unavailable in watchOS
48 | let viewController = controller == .rootController ? rootViewController?.topmostPresentedViewController : rootViewController?.topmostViewController
49 |
50 | let contentViewController: UIViewController
| `- error: 'UIViewController' is unavailable in watchOS
51 |
52 | switch style {
/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/SheetKit/SheetKit.swift:54:37: error: cannot assign value of type 'MyUIHostingController<Content>' to type 'UIViewController'
52 | switch style {
53 | case .sheet:
54 | contentViewController = MyUIHostingController(rootView: content(),onDisappear: onDisappear)
| `- error: cannot assign value of type 'MyUIHostingController<Content>' to type 'UIViewController'
55 | case .fullScreenCover:
56 | contentViewController = MyUIHostingController(rootView: content(),onDisappear: onDisappear)
/Users/admin/builder/spi-builder-workspace/Sources/SheetKit/SheetKit.swift:56:37: error: cannot assign value of type 'MyUIHostingController<Content>' to type 'UIViewController'
54 | contentViewController = MyUIHostingController(rootView: content(),onDisappear: onDisappear)
55 | case .fullScreenCover:
56 | contentViewController = MyUIHostingController(rootView: content(),onDisappear: onDisappear)
| `- error: cannot assign value of type 'MyUIHostingController<Content>' to type 'UIViewController'
57 | contentViewController.modalPresentationStyle = .fullScreen
58 | case .bottomSheet:
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SheetKit/SheetKit.swift (in target 'SheetKit' from project 'SheetKit')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile SheetKit.swift
SwiftCompile normal arm64 Compiling\ BottomSheetViewController.swift /Users/admin/builder/spi-builder-workspace/Sources/SheetKit/BottomSheetViewController.swift (in target 'SheetKit' from project 'SheetKit')
/Users/admin/builder/spi-builder-workspace/Sources/SheetKit/BottomSheetViewController.swift:13:27: error: 'UISheetPresentationController' is unavailable in watchOS
11 |
12 | final class BottomSheetViewController<Content: View>: UIViewController, UISheetPresentationControllerDelegate {
13 | private let detents: [UISheetPresentationController.Detent]
| `- error: 'UISheetPresentationController' is unavailable in watchOS
14 | private let largestUndimmedDetentIdentifier: UISheetPresentationController.Detent.Identifier?
15 | private let prefersGrabberVisible: Bool
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISheetPresentationController.h:108:12: note: 'UISheetPresentationController' has been explicitly marked unavailable here
106 |
107 | UIKIT_EXTERN API_AVAILABLE(ios(15.0)) API_UNAVAILABLE(tvos, watchos) NS_SWIFT_UI_ACTOR
108 | @interface UISheetPresentationController : UIPresentationController
| `- note: 'UISheetPresentationController' has been explicitly marked unavailable here
109 |
110 | // The delegate inherited from UIPresentationController, redeclared with conformance to UISheetPresentationControllerDelegate.
/Users/admin/builder/spi-builder-workspace/Sources/SheetKit/BottomSheetViewController.swift:14:50: error: 'UISheetPresentationController' is unavailable in watchOS
12 | final class BottomSheetViewController<Content: View>: UIViewController, UISheetPresentationControllerDelegate {
13 | private let detents: [UISheetPresentationController.Detent]
14 | private let largestUndimmedDetentIdentifier: UISheetPresentationController.Detent.Identifier?
| `- error: 'UISheetPresentationController' is unavailable in watchOS
15 | private let prefersGrabberVisible: Bool
16 | private let prefersScrollingExpandsWhenScrolledToEdge: Bool
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISheetPresentationController.h:108:12: note: 'UISheetPresentationController' has been explicitly marked unavailable here
106 |
107 | UIKIT_EXTERN API_AVAILABLE(ios(15.0)) API_UNAVAILABLE(tvos, watchos) NS_SWIFT_UI_ACTOR
108 | @interface UISheetPresentationController : UIPresentationController
| `- note: 'UISheetPresentationController' has been explicitly marked unavailable here
109 |
110 | // The delegate inherited from UIPresentationController, redeclared with conformance to UISheetPresentationControllerDelegate.
/Users/admin/builder/spi-builder-workspace/Sources/SheetKit/BottomSheetViewController.swift:19:43: error: 'UISheetPresentationController' is unavailable in watchOS
17 | private let prefersEdgeAttachedInCompactHeight: Bool
18 | private let widthFollowsPreferredContentSizeWhenEdgeAttached: Bool
19 | private var detentIdentifier: Binding<UISheetPresentationController.Detent.Identifier>?
| `- error: 'UISheetPresentationController' is unavailable in watchOS
20 | private let preferredCornerRadius: CGFloat?
21 | private let notificationName: Notification.Name
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISheetPresentationController.h:108:12: note: 'UISheetPresentationController' has been explicitly marked unavailable here
106 |
107 | UIKIT_EXTERN API_AVAILABLE(ios(15.0)) API_UNAVAILABLE(tvos, watchos) NS_SWIFT_UI_ACTOR
108 | @interface UISheetPresentationController : UIPresentationController
| `- note: 'UISheetPresentationController' has been explicitly marked unavailable here
109 |
110 | // The delegate inherited from UIPresentationController, redeclared with conformance to UISheetPresentationControllerDelegate.
/Users/admin/builder/spi-builder-workspace/Sources/SheetKit/BottomSheetViewController.swift:23:30: error: cannot find type 'UIHostingController' in scope
21 | private let notificationName: Notification.Name
22 | private let onDisappear: (() -> Void)?
23 | private let contentView: UIHostingController<Content>
| `- error: cannot find type 'UIHostingController' in scope
24 |
25 | public init(
/Users/admin/builder/spi-builder-workspace/Sources/SheetKit/BottomSheetViewController.swift:26:19: error: 'UISheetPresentationController' is unavailable in watchOS
24 |
25 | public init(
26 | detents: [UISheetPresentationController.Detent] = [.medium(), .large()],
| `- error: 'UISheetPresentationController' is unavailable in watchOS
27 | largestUndimmedDetentIdentifier: UISheetPresentationController.Detent.Identifier? = nil,
28 | prefersGrabberVisible: Bool = false,
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISheetPresentationController.h:108:12: note: 'UISheetPresentationController' has been explicitly marked unavailable here
106 |
107 | UIKIT_EXTERN API_AVAILABLE(ios(15.0)) API_UNAVAILABLE(tvos, watchos) NS_SWIFT_UI_ACTOR
108 | @interface UISheetPresentationController : UIPresentationController
| `- note: 'UISheetPresentationController' has been explicitly marked unavailable here
109 |
110 | // The delegate inherited from UIPresentationController, redeclared with conformance to UISheetPresentationControllerDelegate.
/Users/admin/builder/spi-builder-workspace/Sources/SheetKit/BottomSheetViewController.swift:27:42: error: 'UISheetPresentationController' is unavailable in watchOS
25 | public init(
26 | detents: [UISheetPresentationController.Detent] = [.medium(), .large()],
27 | largestUndimmedDetentIdentifier: UISheetPresentationController.Detent.Identifier? = nil,
| `- error: 'UISheetPresentationController' is unavailable in watchOS
28 | prefersGrabberVisible: Bool = false,
29 | prefersScrollingExpandsWhenScrolledToEdge: Bool = 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/UISheetPresentationController.h:108:12: note: 'UISheetPresentationController' has been explicitly marked unavailable here
106 |
107 | UIKIT_EXTERN API_AVAILABLE(ios(15.0)) API_UNAVAILABLE(tvos, watchos) NS_SWIFT_UI_ACTOR
108 | @interface UISheetPresentationController : UIPresentationController
| `- note: 'UISheetPresentationController' has been explicitly marked unavailable here
109 |
110 | // The delegate inherited from UIPresentationController, redeclared with conformance to UISheetPresentationControllerDelegate.
/Users/admin/builder/spi-builder-workspace/Sources/SheetKit/BottomSheetViewController.swift:32:35: error: 'UISheetPresentationController' is unavailable in watchOS
30 | prefersEdgeAttachedInCompactHeight: Bool = false,
31 | widthFollowsPreferredContentSizeWhenEdgeAttached: Bool = false,
32 | detentIdentifier: Binding<UISheetPresentationController.Detent.Identifier>? = nil,
| `- error: 'UISheetPresentationController' is unavailable in watchOS
33 | preferredCornerRadius: CGFloat?,
34 | notificationName: Notification.Name = .bottomSheetDetentIdentifierDidChanged,
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISheetPresentationController.h:108:12: note: 'UISheetPresentationController' has been explicitly marked unavailable here
106 |
107 | UIKIT_EXTERN API_AVAILABLE(ios(15.0)) API_UNAVAILABLE(tvos, watchos) NS_SWIFT_UI_ACTOR
108 | @interface UISheetPresentationController : UIPresentationController
| `- note: 'UISheetPresentationController' has been explicitly marked unavailable here
109 |
110 | // The delegate inherited from UIPresentationController, redeclared with conformance to UISheetPresentationControllerDelegate.
/Users/admin/builder/spi-builder-workspace/Sources/SheetKit/BottomSheetViewController.swift:90:102: error: 'UISheetPresentationController' is unavailable in watchOS
88 | }
89 |
90 | func sheetPresentationControllerDidChangeSelectedDetentIdentifier(_ sheetPresentationController: UISheetPresentationController) {
| `- error: 'UISheetPresentationController' is unavailable in watchOS
91 | guard let selectedDetentIdentifier = sheetPresentationController.selectedDetentIdentifier else { return }
92 | detentIdentifier?.wrappedValue = selectedDetentIdentifier
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISheetPresentationController.h:108:12: note: 'UISheetPresentationController' has been explicitly marked unavailable here
106 |
107 | UIKIT_EXTERN API_AVAILABLE(ios(15.0)) API_UNAVAILABLE(tvos, watchos) NS_SWIFT_UI_ACTOR
108 | @interface UISheetPresentationController : UIPresentationController
| `- note: 'UISheetPresentationController' has been explicitly marked unavailable here
109 |
110 | // The delegate inherited from UIPresentationController, redeclared with conformance to UISheetPresentationControllerDelegate.
/Users/admin/builder/spi-builder-workspace/Sources/SheetKit/BottomSheetViewController.swift:12:55: error: 'UIViewController' is unavailable in watchOS
10 | import UIKit
11 |
12 | final class BottomSheetViewController<Content: View>: UIViewController, UISheetPresentationControllerDelegate {
| `- error: 'UIViewController' is unavailable in watchOS
13 | private let detents: [UISheetPresentationController.Detent]
14 | private let largestUndimmedDetentIdentifier: UISheetPresentationController.Detent.Identifier?
/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/SheetKit/BottomSheetViewController.swift:12:73: error: 'UISheetPresentationControllerDelegate' is unavailable in watchOS
10 | import UIKit
11 |
12 | final class BottomSheetViewController<Content: View>: UIViewController, UISheetPresentationControllerDelegate {
| `- error: 'UISheetPresentationControllerDelegate' is unavailable in watchOS
13 | private let detents: [UISheetPresentationController.Detent]
14 | private let largestUndimmedDetentIdentifier: UISheetPresentationController.Detent.Identifier?
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISheetPresentationController.h:96:11: note: 'UISheetPresentationControllerDelegate' has been explicitly marked unavailable here
94 |
95 | UIKIT_EXTERN API_AVAILABLE(ios(15.0)) API_UNAVAILABLE(tvos, watchos) NS_SWIFT_UI_ACTOR
96 | @protocol UISheetPresentationControllerDelegate <UIAdaptivePresentationControllerDelegate>
| `- note: 'UISheetPresentationControllerDelegate' has been explicitly marked unavailable here
97 |
98 | @optional
/Users/admin/builder/spi-builder-workspace/Sources/SheetKit/BottomSheetViewController.swift:48:23: error: cannot find 'UIHostingController' in scope
46 | self.notificationName = notificationName
47 | self.onDisappear = onDisappear
48 | contentView = UIHostingController(rootView: content)
| `- error: cannot find 'UIHostingController' in scope
49 |
50 | super.init(nibName: nil, bundle: nil)
/Users/admin/builder/spi-builder-workspace/Sources/SheetKit/BottomSheetViewController.swift:62:14: error: failed to produce diagnostic for expression; please submit a bug report (https://swift.org/contributing/#reporting-bugs)
60 |
61 | addChild(contentView)
62 | view.addSubview(contentView.view)
| `- error: failed to produce diagnostic for expression; please submit a bug report (https://swift.org/contributing/#reporting-bugs)
63 |
64 | contentView.view.translatesAutoresizingMaskIntoConstraints = false
/Users/admin/builder/spi-builder-workspace/Sources/SheetKit/BottomSheetViewController.swift:66:28: error: failed to produce diagnostic for expression; please submit a bug report (https://swift.org/contributing/#reporting-bugs)
64 | contentView.view.translatesAutoresizingMaskIntoConstraints = false
65 |
66 | NSLayoutConstraint.activate([
| `- error: failed to produce diagnostic for expression; please submit a bug report (https://swift.org/contributing/#reporting-bugs)
67 | contentView.view.topAnchor.constraint(equalTo: view.topAnchor),
68 | contentView.view.bottomAnchor.constraint(equalTo: view.bottomAnchor),
/Users/admin/builder/spi-builder-workspace/Sources/SheetKit/BottomSheetViewController.swift:73:68: error: 'UISheetPresentationController' is unavailable in watchOS
71 | ])
72 |
73 | if let presentationController = presentationController as? UISheetPresentationController {
| `- error: 'UISheetPresentationController' is unavailable in watchOS
74 | presentationController.detents = detents
75 | presentationController.largestUndimmedDetentIdentifier = largestUndimmedDetentIdentifier
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISheetPresentationController.h:108:12: note: 'UISheetPresentationController' has been explicitly marked unavailable here
106 |
107 | UIKIT_EXTERN API_AVAILABLE(ios(15.0)) API_UNAVAILABLE(tvos, watchos) NS_SWIFT_UI_ACTOR
108 | @interface UISheetPresentationController : UIPresentationController
| `- note: 'UISheetPresentationController' has been explicitly marked unavailable here
109 |
110 | // The delegate inherited from UIPresentationController, redeclared with conformance to UISheetPresentationControllerDelegate.
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SheetKit/BottomSheetViewController.swift (in target 'SheetKit' from project 'SheetKit')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile BottomSheetViewController.swift
SwiftCompile normal arm64 Compiling\ UIKit++.swift /Users/admin/builder/spi-builder-workspace/Sources/SheetKit/UIKit++.swift (in target 'SheetKit' from project 'SheetKit')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SheetKit/UIKit++.swift (in target 'SheetKit' from project 'SheetKit')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile UIKit++.swift
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-17 23:51:19.631 xcodebuild[802:4802] [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 'SheetKit' from project 'SheetKit')
SwiftEmitModule normal arm64_32 Emitting\ module\ for\ SheetKit (in target 'SheetKit' from project 'SheetKit')
SwiftEmitModule normal arm64 Emitting\ module\ for\ SheetKit (in target 'SheetKit' from project 'SheetKit')
SwiftCompile normal arm64 (in target 'SheetKit' from project 'SheetKit')
Building workspace SheetKit with scheme SheetKit
(5 failures)
BUILD FAILURE 6.4 watchOS