Build Information
Failed to build swiftui-uikit-presenting, reference 0.2.0 (39e4c9), with Swift 6.4 for watchOS using Xcode 27.0 on 18 Sep 2026 18:30:09 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 swiftui-uikit-presenting-Package -destination generic/platform=watchOSBuild Log
29 | /// A callback that should be called by the presented view controller if it dismisses itself.
30 | public typealias DismissHandler = () -> Void
/Users/admin/builder/spi-builder-workspace/Sources/UIViewControllerPresenting/ViewPresenting.swift:101:35: error: cannot find type 'UIHostingController' in scope
99 | sheetConfiguration: SheetConfiguration = .default,
100 | animated: Bool = true
101 | ) -> Self where Controller == UIHostingController<Content> {
| `- error: cannot find type 'UIHostingController' in scope
102 | .init(isPresented: isPresented) { _, _ in
103 | let hostingController = UIHostingController(rootView: content)
/Users/admin/builder/spi-builder-workspace/Sources/UIViewControllerPresenting/ViewPresenting.swift:98:33: error: 'UIModalPresentationStyle' is unavailable in watchOS
96 | _ content: Content,
97 | isPresented: Binding<Bool>,
98 | modalPresentationStyle: UIModalPresentationStyle = .automatic,
| `- error: 'UIModalPresentationStyle' is unavailable in watchOS
99 | sheetConfiguration: SheetConfiguration = .default,
100 | animated: 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/UIViewController.h:49:28: note: 'UIModalPresentationStyle' has been explicitly marked unavailable here
47 | } API_UNAVAILABLE(watchos);
48 |
49 | typedef NS_ENUM(NSInteger, UIModalPresentationStyle) {
| `- note: 'UIModalPresentationStyle' has been explicitly marked unavailable here
50 | UIModalPresentationFullScreen = 0,
51 | UIModalPresentationPageSheet API_AVAILABLE(ios(3.2)) API_UNAVAILABLE(tvos),
/Users/admin/builder/spi-builder-workspace/Sources/UIViewControllerPresenting/ViewPresenting.swift:98:61: error: 'automatic' is unavailable in watchOS
96 | _ content: Content,
97 | isPresented: Binding<Bool>,
98 | modalPresentationStyle: UIModalPresentationStyle = .automatic,
| `- error: 'automatic' is unavailable in watchOS
99 | sheetConfiguration: SheetConfiguration = .default,
100 | animated: Bool = true
UIKit.UIModalPresentationStyle.automatic:3:8: note: 'automatic' has been explicitly marked unavailable here
1 | enum UIModalPresentationStyle {
2 | @available(watchOS, unavailable)
3 | case automatic}
| `- note: 'automatic' has been explicitly marked unavailable here
4 |
/Users/admin/builder/spi-builder-workspace/Sources/UIViewControllerPresenting/ViewPresenting.swift:117:35: error: cannot find type 'UIHostingController' in scope
115 | modalPresentationStyle: UIModalPresentationStyle = .automatic,
116 | animated: Bool = true
117 | ) -> Self where Controller == UIHostingController<Content> {
| `- error: cannot find type 'UIHostingController' in scope
118 | .init(isPresented: isPresented) { _, _ in
119 | let hostingController = UIHostingController(rootView: content)
/Users/admin/builder/spi-builder-workspace/Sources/UIViewControllerPresenting/ViewPresenting.swift:115:33: error: 'UIModalPresentationStyle' is unavailable in watchOS
113 | _ content: Content,
114 | isPresented: Binding<Bool>,
115 | modalPresentationStyle: UIModalPresentationStyle = .automatic,
| `- error: 'UIModalPresentationStyle' is unavailable in watchOS
116 | animated: Bool = true
117 | ) -> Self where Controller == UIHostingController<Content> {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:49:28: note: 'UIModalPresentationStyle' has been explicitly marked unavailable here
47 | } API_UNAVAILABLE(watchos);
48 |
49 | typedef NS_ENUM(NSInteger, UIModalPresentationStyle) {
| `- note: 'UIModalPresentationStyle' has been explicitly marked unavailable here
50 | UIModalPresentationFullScreen = 0,
51 | UIModalPresentationPageSheet API_AVAILABLE(ios(3.2)) API_UNAVAILABLE(tvos),
/Users/admin/builder/spi-builder-workspace/Sources/UIViewControllerPresenting/ViewPresenting.swift:115:61: error: 'automatic' is unavailable in watchOS
113 | _ content: Content,
114 | isPresented: Binding<Bool>,
115 | modalPresentationStyle: UIModalPresentationStyle = .automatic,
| `- error: 'automatic' is unavailable in watchOS
116 | animated: Bool = true
117 | ) -> Self where Controller == UIHostingController<Content> {
UIKit.UIModalPresentationStyle.automatic:3:8: note: 'automatic' has been explicitly marked unavailable here
1 | enum UIModalPresentationStyle {
2 | @available(watchOS, unavailable)
3 | case automatic}
| `- note: 'automatic' has been explicitly marked unavailable here
4 |
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/UIViewControllerPresenting/ViewPresenting.swift (in target 'UIViewControllerPresenting' from project 'swiftui-uikit-presenting')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile ViewPresenting.swift
/Users/admin/builder/spi-builder-workspace/Sources/UIViewControllerPresenting/ViewPresenting.swift:130:21: error: 'UISheetPresentationController' is unavailable in watchOS
128 | public struct SheetConfiguration {
129 | /// A closure that will be called to configure the sheet presentation controller before presentation.
130 | var configure: (UISheetPresentationController) -> Void
| `- error: 'UISheetPresentationController' is unavailable in watchOS
131 |
132 | public init(configure: @escaping (UISheetPresentationController) -> Void) {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/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/UIViewControllerPresenting/ViewPresenting.swift:132:39: error: 'UISheetPresentationController' is unavailable in watchOS
130 | var configure: (UISheetPresentationController) -> Void
131 |
132 | public init(configure: @escaping (UISheetPresentationController) -> Void) {
| `- error: 'UISheetPresentationController' is unavailable in watchOS
133 | self.configure = configure
134 | }
/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/UIViewControllerPresenting/ViewPresenting.swift:53:9: error: failed to produce diagnostic for expression; please submit a bug report (https://swift.org/contributing/#reporting-bugs)
51 | @ViewBuilder content: () -> Content
52 | ) -> some View {
53 | background(
| `- error: failed to produce diagnostic for expression; please submit a bug report (https://swift.org/contributing/#reporting-bugs)
54 | UIViewControllerPresenting.content(
55 | content(),
/Users/admin/builder/spi-builder-workspace/Sources/UIViewControllerPresenting/ViewPresenting.swift:83:9: error: failed to produce diagnostic for expression; please submit a bug report (https://swift.org/contributing/#reporting-bugs)
81 | @ViewBuilder content: () -> Content
82 | ) -> some View {
83 | background(
| `- error: failed to produce diagnostic for expression; please submit a bug report (https://swift.org/contributing/#reporting-bugs)
84 | UIViewControllerPresenting.content(
85 | content(),
/Users/admin/builder/spi-builder-workspace/Sources/UIViewControllerPresenting/ViewPresenting.swift:103:37: error: cannot find 'UIHostingController' in scope
101 | ) -> Self where Controller == UIHostingController<Content> {
102 | .init(isPresented: isPresented) { _, _ in
103 | let hostingController = UIHostingController(rootView: content)
| `- error: cannot find 'UIHostingController' in scope
104 | hostingController.modalPresentationStyle = modalPresentationStyle
105 | if let sheet = hostingController.sheetPresentationController {
/Users/admin/builder/spi-builder-workspace/Sources/UIViewControllerPresenting/UIViewControllerPresenting.swift:75:42: error: cannot find type 'Context' in scope
73 | public init(
74 | isPresented: Binding<Bool>,
75 | makeUIViewController: @escaping (Context, @escaping DismissHandler) -> Controller,
| `- error: cannot find type 'Context' in scope
76 | makeCoordinator: @escaping (@escaping DismissHandler) -> Coordinator,
77 | animated: Bool = true
/Users/admin/builder/spi-builder-workspace/Sources/UIViewControllerPresenting/UIViewControllerPresenting.swift:155:42: error: cannot find type 'Context' in scope
153 | public init(
154 | isPresented: Binding<Bool>,
155 | makeUIViewController: @escaping (Context, @escaping DismissHandler) -> Controller,
| `- error: cannot find type 'Context' in scope
156 | animated: Bool = true
157 | ) {
SwiftCompile normal arm64_32 Compiling\ UIViewControllerPresenting.swift /Users/admin/builder/spi-builder-workspace/Sources/UIViewControllerPresenting/UIViewControllerPresenting.swift (in target 'UIViewControllerPresenting' from project 'swiftui-uikit-presenting')
/Users/admin/builder/spi-builder-workspace/Sources/UIViewControllerPresenting/UIViewControllerPresenting.swift:46:41: error: cannot find type 'Context' in scope
44 | /// - DismissHandler: A callback closure that can be called to indicate the controller was dismissed.
45 | ///
46 | private let _makeUIViewController: (Context, @escaping DismissHandler) -> Controller
| `- error: cannot find type 'Context' in scope
47 |
48 | /// A closure that should return a coordinator for this view, if one is needed.
/Users/admin/builder/spi-builder-workspace/Sources/UIViewControllerPresenting/UIViewControllerPresenting.swift:75:42: error: cannot find type 'Context' in scope
73 | public init(
74 | isPresented: Binding<Bool>,
75 | makeUIViewController: @escaping (Context, @escaping DismissHandler) -> Controller,
| `- error: cannot find type 'Context' in scope
76 | makeCoordinator: @escaping (@escaping DismissHandler) -> Coordinator,
77 | animated: Bool = true
/Users/admin/builder/spi-builder-workspace/Sources/UIViewControllerPresenting/UIViewControllerPresenting.swift:90:47: error: cannot find type 'Context' in scope
88 | }
89 |
90 | public func makeUIViewController(context: Context) -> UIViewController {
| `- error: cannot find type 'Context' in scope
91 | // We just need a plain view controller to hook into the presentation APIs.
92 | let presentingViewController = UIViewController()
/Users/admin/builder/spi-builder-workspace/Sources/UIViewControllerPresenting/UIViewControllerPresenting.swift:90:59: error: 'UIViewController' is unavailable in watchOS
88 | }
89 |
90 | public func makeUIViewController(context: Context) -> UIViewController {
| `- error: 'UIViewController' is unavailable in watchOS
91 | // We just need a plain view controller to hook into the presentation APIs.
92 | let presentingViewController = UIViewController()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/UIViewControllerPresenting/UIViewControllerPresenting.swift:101:95: error: cannot find type 'Context' in scope
99 | }
100 |
101 | public func updateUIViewController(_ presentingViewController: UIViewController, context: Context) {
| `- error: cannot find type 'Context' in scope
102 | switch (isPresented, presentationState.isActuallyPresented) {
103 | case (true, false):
/Users/admin/builder/spi-builder-workspace/Sources/UIViewControllerPresenting/UIViewControllerPresenting.swift:101:68: error: 'UIViewController' is unavailable in watchOS
99 | }
100 |
101 | public func updateUIViewController(_ presentingViewController: UIViewController, context: Context) {
| `- error: 'UIViewController' is unavailable in watchOS
102 | switch (isPresented, presentationState.isActuallyPresented) {
103 | case (true, 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/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/UIViewControllerPresenting/UIViewControllerPresenting.swift:119:98: error: cannot find type 'Context' in scope
117 | }
118 |
119 | private func presentViewController(from presentingViewController: UIViewController, context: Context) {
| `- error: cannot find type 'Context' in scope
120 | let viewController = _makeUIViewController(context, handleDismiss)
121 |
/Users/admin/builder/spi-builder-workspace/Sources/UIViewControllerPresenting/UIViewControllerPresenting.swift:119:71: error: 'UIViewController' is unavailable in watchOS
117 | }
118 |
119 | private func presentViewController(from presentingViewController: UIViewController, context: Context) {
| `- error: 'UIViewController' is unavailable in watchOS
120 | let viewController = _makeUIViewController(context, handleDismiss)
121 |
/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/UIViewControllerPresenting/UIViewControllerPresenting.swift:144:73: error: 'UIPresentationController' is unavailable in watchOS
142 | }
143 |
144 | func presentationControllerDidDismiss(_ presentationController: UIPresentationController) {
| `- error: 'UIPresentationController' is unavailable in watchOS
145 | self.handleDismiss()
146 | }
/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/UIViewControllerPresenting/UIViewControllerPresenting.swift:137:51: error: 'UIAdaptivePresentationControllerDelegate' is unavailable in watchOS
135 | }
136 |
137 | private class PresentationDelegate: NSObject, UIAdaptivePresentationControllerDelegate {
| `- error: 'UIAdaptivePresentationControllerDelegate' is unavailable in watchOS
138 | private let handleDismiss: () -> Void
139 |
/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/UIViewControllerPresenting/UIViewControllerPresenting.swift:144:14: error: cannot override 'presentationControllerDidDismiss' which has been marked unavailable
142 | }
143 |
144 | func presentationControllerDidDismiss(_ presentationController: UIPresentationController) {
| `- error: cannot override 'presentationControllerDidDismiss' which has been marked unavailable
145 | self.handleDismiss()
146 | }
/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:56:1: note: 'presentationControllerDidDismiss' has been explicitly marked unavailable here
54 | // Called on the delegate when the user has taken action to dismiss the presentation successfully, after all animations are finished.
55 | // This is not called if the presentation is dismissed programatically.
56 | - (void)presentationControllerDidDismiss:(UIPresentationController *)presentationController API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos);
| `- note: 'presentationControllerDidDismiss' has been explicitly marked unavailable here
57 |
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.
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/UIViewControllerPresenting/UIViewControllerPresenting.swift (in target 'UIViewControllerPresenting' from project 'swiftui-uikit-presenting')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile UIViewControllerPresenting.swift
/Users/admin/builder/spi-builder-workspace/Sources/UIViewControllerPresenting/UIViewControllerPresenting.swift:28:86: error: cannot find type 'UIViewControllerRepresentable' in scope
26 | /// closures for this purpose.
27 | ///
28 | public struct UIViewControllerPresenting<Controller: UIViewController, Coordinator>: UIViewControllerRepresentable {
| `- error: cannot find type 'UIViewControllerRepresentable' in scope
29 | /// A callback that should be called by the presented view controller if it dismisses itself.
30 | public typealias DismissHandler = () -> Void
/Users/admin/builder/spi-builder-workspace/Sources/UIViewControllerPresenting/UIViewControllerPresenting.swift:28:54: error: 'UIViewController' is unavailable in watchOS
26 | /// closures for this purpose.
27 | ///
28 | public struct UIViewControllerPresenting<Controller: UIViewController, Coordinator>: UIViewControllerRepresentable {
| `- error: 'UIViewController' is unavailable in watchOS
29 | /// A callback that should be called by the presented view controller if it dismisses itself.
30 | public typealias DismissHandler = () -> Void
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/UIViewControllerPresenting/UIViewControllerPresenting.swift:155:42: error: cannot find type 'Context' in scope
153 | public init(
154 | isPresented: Binding<Bool>,
155 | makeUIViewController: @escaping (Context, @escaping DismissHandler) -> Controller,
| `- error: cannot find type 'Context' in scope
156 | animated: Bool = true
157 | ) {
SwiftEmitModule normal arm64 Emitting\ module\ for\ UIViewControllerPresenting (in target 'UIViewControllerPresenting' from project 'swiftui-uikit-presenting')
/Users/admin/builder/spi-builder-workspace/Sources/UIViewControllerPresenting/UIViewControllerPresenting.swift:46:41: error: cannot find type 'Context' in scope
44 | /// - DismissHandler: A callback closure that can be called to indicate the controller was dismissed.
45 | ///
46 | private let _makeUIViewController: (Context, @escaping DismissHandler) -> Controller
| `- error: cannot find type 'Context' in scope
47 |
48 | /// A closure that should return a coordinator for this view, if one is needed.
/Users/admin/builder/spi-builder-workspace/Sources/UIViewControllerPresenting/UIViewControllerPresenting.swift:75:42: error: cannot find type 'Context' in scope
73 | public init(
74 | isPresented: Binding<Bool>,
75 | makeUIViewController: @escaping (Context, @escaping DismissHandler) -> Controller,
| `- error: cannot find type 'Context' in scope
76 | makeCoordinator: @escaping (@escaping DismissHandler) -> Coordinator,
77 | animated: Bool = true
/Users/admin/builder/spi-builder-workspace/Sources/UIViewControllerPresenting/UIViewControllerPresenting.swift:90:47: error: cannot find type 'Context' in scope
88 | }
89 |
90 | public func makeUIViewController(context: Context) -> UIViewController {
| `- error: cannot find type 'Context' in scope
91 | // We just need a plain view controller to hook into the presentation APIs.
92 | let presentingViewController = UIViewController()
/Users/admin/builder/spi-builder-workspace/Sources/UIViewControllerPresenting/UIViewControllerPresenting.swift:90:59: error: 'UIViewController' is unavailable in watchOS
88 | }
89 |
90 | public func makeUIViewController(context: Context) -> UIViewController {
| `- error: 'UIViewController' is unavailable in watchOS
91 | // We just need a plain view controller to hook into the presentation APIs.
92 | let presentingViewController = UIViewController()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/UIViewControllerPresenting/UIViewControllerPresenting.swift:101:95: error: cannot find type 'Context' in scope
99 | }
100 |
101 | public func updateUIViewController(_ presentingViewController: UIViewController, context: Context) {
| `- error: cannot find type 'Context' in scope
102 | switch (isPresented, presentationState.isActuallyPresented) {
103 | case (true, false):
/Users/admin/builder/spi-builder-workspace/Sources/UIViewControllerPresenting/UIViewControllerPresenting.swift:101:68: error: 'UIViewController' is unavailable in watchOS
99 | }
100 |
101 | public func updateUIViewController(_ presentingViewController: UIViewController, context: Context) {
| `- error: 'UIViewController' is unavailable in watchOS
102 | switch (isPresented, presentationState.isActuallyPresented) {
103 | case (true, 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/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/UIViewControllerPresenting/UIViewControllerPresenting.swift:119:98: error: cannot find type 'Context' in scope
117 | }
118 |
119 | private func presentViewController(from presentingViewController: UIViewController, context: Context) {
| `- error: cannot find type 'Context' in scope
120 | let viewController = _makeUIViewController(context, handleDismiss)
121 |
/Users/admin/builder/spi-builder-workspace/Sources/UIViewControllerPresenting/UIViewControllerPresenting.swift:119:71: error: 'UIViewController' is unavailable in watchOS
117 | }
118 |
119 | private func presentViewController(from presentingViewController: UIViewController, context: Context) {
| `- error: 'UIViewController' is unavailable in watchOS
120 | let viewController = _makeUIViewController(context, handleDismiss)
121 |
/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/UIViewControllerPresenting/UIViewControllerPresenting.swift:144:73: error: 'UIPresentationController' is unavailable in watchOS
142 | }
143 |
144 | func presentationControllerDidDismiss(_ presentationController: UIPresentationController) {
| `- error: 'UIPresentationController' is unavailable in watchOS
145 | self.handleDismiss()
146 | }
/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/UIViewControllerPresenting/UIViewControllerPresenting.swift:137:51: error: 'UIAdaptivePresentationControllerDelegate' is unavailable in watchOS
135 | }
136 |
137 | private class PresentationDelegate: NSObject, UIAdaptivePresentationControllerDelegate {
| `- error: 'UIAdaptivePresentationControllerDelegate' is unavailable in watchOS
138 | private let handleDismiss: () -> Void
139 |
/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/UIViewControllerPresenting/UIViewControllerPresenting.swift:144:14: error: cannot override 'presentationControllerDidDismiss' which has been marked unavailable
142 | }
143 |
144 | func presentationControllerDidDismiss(_ presentationController: UIPresentationController) {
| `- error: cannot override 'presentationControllerDidDismiss' which has been marked unavailable
145 | self.handleDismiss()
146 | }
/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:56:1: note: 'presentationControllerDidDismiss' has been explicitly marked unavailable here
54 | // Called on the delegate when the user has taken action to dismiss the presentation successfully, after all animations are finished.
55 | // This is not called if the presentation is dismissed programatically.
56 | - (void)presentationControllerDidDismiss:(UIPresentationController *)presentationController API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos);
| `- note: 'presentationControllerDidDismiss' has been explicitly marked unavailable here
57 |
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.
/Users/admin/builder/spi-builder-workspace/Sources/UIViewControllerPresenting/UIViewControllerPresenting.swift:28:86: error: cannot find type 'UIViewControllerRepresentable' in scope
26 | /// closures for this purpose.
27 | ///
28 | public struct UIViewControllerPresenting<Controller: UIViewController, Coordinator>: UIViewControllerRepresentable {
| `- error: cannot find type 'UIViewControllerRepresentable' in scope
29 | /// A callback that should be called by the presented view controller if it dismisses itself.
30 | public typealias DismissHandler = () -> Void
SwiftCompile normal arm64 (in target 'UIViewControllerPresenting' from project 'swiftui-uikit-presenting')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 Compiling\ ViewPresenting.swift /Users/admin/builder/spi-builder-workspace/Sources/UIViewControllerPresenting/ViewPresenting.swift (in target 'UIViewControllerPresenting' from project 'swiftui-uikit-presenting')
/Users/admin/builder/spi-builder-workspace/Sources/UIViewControllerPresenting/ViewPresenting.swift:49:33: error: 'UIModalPresentationStyle' is unavailable in watchOS
47 | isPresented: Binding<Bool>,
48 | animated: Bool = true,
49 | modalPresentationStyle: UIModalPresentationStyle = .automatic,
| `- error: 'UIModalPresentationStyle' is unavailable in watchOS
50 | sheetConfiguration: SheetConfiguration = .default,
51 | @ViewBuilder content: () -> Content
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:49:28: note: 'UIModalPresentationStyle' has been explicitly marked unavailable here
47 | } API_UNAVAILABLE(watchos);
48 |
49 | typedef NS_ENUM(NSInteger, UIModalPresentationStyle) {
| `- note: 'UIModalPresentationStyle' has been explicitly marked unavailable here
50 | UIModalPresentationFullScreen = 0,
51 | UIModalPresentationPageSheet API_AVAILABLE(ios(3.2)) API_UNAVAILABLE(tvos),
/Users/admin/builder/spi-builder-workspace/Sources/UIViewControllerPresenting/ViewPresenting.swift:49:61: error: 'automatic' is unavailable in watchOS
47 | isPresented: Binding<Bool>,
48 | animated: Bool = true,
49 | modalPresentationStyle: UIModalPresentationStyle = .automatic,
| `- error: 'automatic' is unavailable in watchOS
50 | sheetConfiguration: SheetConfiguration = .default,
51 | @ViewBuilder content: () -> Content
UIKit.UIModalPresentationStyle.automatic:3:8: note: 'automatic' has been explicitly marked unavailable here
1 | enum UIModalPresentationStyle {
2 | @available(watchOS, unavailable)
3 | case automatic}
| `- note: 'automatic' has been explicitly marked unavailable here
4 |
/Users/admin/builder/spi-builder-workspace/Sources/UIViewControllerPresenting/ViewPresenting.swift:80:33: error: 'UIModalPresentationStyle' is unavailable in watchOS
78 | isPresented: Binding<Bool>,
79 | animated: Bool = true,
80 | modalPresentationStyle: UIModalPresentationStyle = .automatic,
| `- error: 'UIModalPresentationStyle' is unavailable in watchOS
81 | @ViewBuilder content: () -> Content
82 | ) -> some 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/UIViewController.h:49:28: note: 'UIModalPresentationStyle' has been explicitly marked unavailable here
47 | } API_UNAVAILABLE(watchos);
48 |
49 | typedef NS_ENUM(NSInteger, UIModalPresentationStyle) {
| `- note: 'UIModalPresentationStyle' has been explicitly marked unavailable here
50 | UIModalPresentationFullScreen = 0,
51 | UIModalPresentationPageSheet API_AVAILABLE(ios(3.2)) API_UNAVAILABLE(tvos),
/Users/admin/builder/spi-builder-workspace/Sources/UIViewControllerPresenting/ViewPresenting.swift:80:61: error: 'automatic' is unavailable in watchOS
78 | isPresented: Binding<Bool>,
79 | animated: Bool = true,
80 | modalPresentationStyle: UIModalPresentationStyle = .automatic,
| `- error: 'automatic' is unavailable in watchOS
81 | @ViewBuilder content: () -> Content
82 | ) -> some View {
UIKit.UIModalPresentationStyle.automatic:3:8: note: 'automatic' has been explicitly marked unavailable here
1 | enum UIModalPresentationStyle {
2 | @available(watchOS, unavailable)
3 | case automatic}
| `- note: 'automatic' has been explicitly marked unavailable here
4 |
/Users/admin/builder/spi-builder-workspace/Sources/UIViewControllerPresenting/UIViewControllerPresenting.swift:28:86: error: cannot find type 'UIViewControllerRepresentable' in scope
26 | /// closures for this purpose.
27 | ///
28 | public struct UIViewControllerPresenting<Controller: UIViewController, Coordinator>: UIViewControllerRepresentable {
| `- error: cannot find type 'UIViewControllerRepresentable' in scope
29 | /// A callback that should be called by the presented view controller if it dismisses itself.
30 | public typealias DismissHandler = () -> Void
/Users/admin/builder/spi-builder-workspace/Sources/UIViewControllerPresenting/ViewPresenting.swift:101:35: error: cannot find type 'UIHostingController' in scope
99 | sheetConfiguration: SheetConfiguration = .default,
100 | animated: Bool = true
101 | ) -> Self where Controller == UIHostingController<Content> {
| `- error: cannot find type 'UIHostingController' in scope
102 | .init(isPresented: isPresented) { _, _ in
103 | let hostingController = UIHostingController(rootView: content)
/Users/admin/builder/spi-builder-workspace/Sources/UIViewControllerPresenting/ViewPresenting.swift:98:33: error: 'UIModalPresentationStyle' is unavailable in watchOS
96 | _ content: Content,
97 | isPresented: Binding<Bool>,
98 | modalPresentationStyle: UIModalPresentationStyle = .automatic,
| `- error: 'UIModalPresentationStyle' is unavailable in watchOS
99 | sheetConfiguration: SheetConfiguration = .default,
100 | animated: 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/UIViewController.h:49:28: note: 'UIModalPresentationStyle' has been explicitly marked unavailable here
47 | } API_UNAVAILABLE(watchos);
48 |
49 | typedef NS_ENUM(NSInteger, UIModalPresentationStyle) {
| `- note: 'UIModalPresentationStyle' has been explicitly marked unavailable here
50 | UIModalPresentationFullScreen = 0,
51 | UIModalPresentationPageSheet API_AVAILABLE(ios(3.2)) API_UNAVAILABLE(tvos),
/Users/admin/builder/spi-builder-workspace/Sources/UIViewControllerPresenting/ViewPresenting.swift:98:61: error: 'automatic' is unavailable in watchOS
96 | _ content: Content,
97 | isPresented: Binding<Bool>,
98 | modalPresentationStyle: UIModalPresentationStyle = .automatic,
| `- error: 'automatic' is unavailable in watchOS
99 | sheetConfiguration: SheetConfiguration = .default,
100 | animated: Bool = true
UIKit.UIModalPresentationStyle.automatic:3:8: note: 'automatic' has been explicitly marked unavailable here
1 | enum UIModalPresentationStyle {
2 | @available(watchOS, unavailable)
3 | case automatic}
| `- note: 'automatic' has been explicitly marked unavailable here
4 |
/Users/admin/builder/spi-builder-workspace/Sources/UIViewControllerPresenting/ViewPresenting.swift:117:35: error: cannot find type 'UIHostingController' in scope
115 | modalPresentationStyle: UIModalPresentationStyle = .automatic,
116 | animated: Bool = true
117 | ) -> Self where Controller == UIHostingController<Content> {
| `- error: cannot find type 'UIHostingController' in scope
118 | .init(isPresented: isPresented) { _, _ in
119 | let hostingController = UIHostingController(rootView: content)
/Users/admin/builder/spi-builder-workspace/Sources/UIViewControllerPresenting/ViewPresenting.swift:115:33: error: 'UIModalPresentationStyle' is unavailable in watchOS
113 | _ content: Content,
114 | isPresented: Binding<Bool>,
115 | modalPresentationStyle: UIModalPresentationStyle = .automatic,
| `- error: 'UIModalPresentationStyle' is unavailable in watchOS
116 | animated: Bool = true
117 | ) -> Self where Controller == UIHostingController<Content> {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:49:28: note: 'UIModalPresentationStyle' has been explicitly marked unavailable here
47 | } API_UNAVAILABLE(watchos);
48 |
49 | typedef NS_ENUM(NSInteger, UIModalPresentationStyle) {
| `- note: 'UIModalPresentationStyle' has been explicitly marked unavailable here
50 | UIModalPresentationFullScreen = 0,
51 | UIModalPresentationPageSheet API_AVAILABLE(ios(3.2)) API_UNAVAILABLE(tvos),
/Users/admin/builder/spi-builder-workspace/Sources/UIViewControllerPresenting/ViewPresenting.swift:115:61: error: 'automatic' is unavailable in watchOS
113 | _ content: Content,
114 | isPresented: Binding<Bool>,
115 | modalPresentationStyle: UIModalPresentationStyle = .automatic,
| `- error: 'automatic' is unavailable in watchOS
116 | animated: Bool = true
117 | ) -> Self where Controller == UIHostingController<Content> {
UIKit.UIModalPresentationStyle.automatic:3:8: note: 'automatic' has been explicitly marked unavailable here
1 | enum UIModalPresentationStyle {
2 | @available(watchOS, unavailable)
3 | case automatic}
| `- note: 'automatic' has been explicitly marked unavailable here
4 |
/Users/admin/builder/spi-builder-workspace/Sources/UIViewControllerPresenting/ViewPresenting.swift:130:21: error: 'UISheetPresentationController' is unavailable in watchOS
128 | public struct SheetConfiguration {
129 | /// A closure that will be called to configure the sheet presentation controller before presentation.
130 | var configure: (UISheetPresentationController) -> Void
| `- error: 'UISheetPresentationController' is unavailable in watchOS
131 |
132 | public init(configure: @escaping (UISheetPresentationController) -> Void) {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/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/UIViewControllerPresenting/ViewPresenting.swift:132:39: error: 'UISheetPresentationController' is unavailable in watchOS
130 | var configure: (UISheetPresentationController) -> Void
131 |
132 | public init(configure: @escaping (UISheetPresentationController) -> Void) {
| `- error: 'UISheetPresentationController' is unavailable in watchOS
133 | self.configure = configure
134 | }
/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/UIViewControllerPresenting/ViewPresenting.swift:53:9: error: failed to produce diagnostic for expression; please submit a bug report (https://swift.org/contributing/#reporting-bugs)
51 | @ViewBuilder content: () -> Content
52 | ) -> some View {
53 | background(
| `- error: failed to produce diagnostic for expression; please submit a bug report (https://swift.org/contributing/#reporting-bugs)
54 | UIViewControllerPresenting.content(
55 | content(),
/Users/admin/builder/spi-builder-workspace/Sources/UIViewControllerPresenting/ViewPresenting.swift:83:9: error: failed to produce diagnostic for expression; please submit a bug report (https://swift.org/contributing/#reporting-bugs)
81 | @ViewBuilder content: () -> Content
82 | ) -> some View {
83 | background(
| `- error: failed to produce diagnostic for expression; please submit a bug report (https://swift.org/contributing/#reporting-bugs)
84 | UIViewControllerPresenting.content(
85 | content(),
/Users/admin/builder/spi-builder-workspace/Sources/UIViewControllerPresenting/ViewPresenting.swift:103:37: error: cannot find 'UIHostingController' in scope
101 | ) -> Self where Controller == UIHostingController<Content> {
102 | .init(isPresented: isPresented) { _, _ in
103 | let hostingController = UIHostingController(rootView: content)
| `- error: cannot find 'UIHostingController' in scope
104 | hostingController.modalPresentationStyle = modalPresentationStyle
105 | if let sheet = hostingController.sheetPresentationController {
/Users/admin/builder/spi-builder-workspace/Sources/UIViewControllerPresenting/UIViewControllerPresenting.swift:75:42: error: cannot find type 'Context' in scope
73 | public init(
74 | isPresented: Binding<Bool>,
75 | makeUIViewController: @escaping (Context, @escaping DismissHandler) -> Controller,
| `- error: cannot find type 'Context' in scope
76 | makeCoordinator: @escaping (@escaping DismissHandler) -> Coordinator,
77 | animated: Bool = true
/Users/admin/builder/spi-builder-workspace/Sources/UIViewControllerPresenting/UIViewControllerPresenting.swift:155:42: error: cannot find type 'Context' in scope
153 | public init(
154 | isPresented: Binding<Bool>,
155 | makeUIViewController: @escaping (Context, @escaping DismissHandler) -> Controller,
| `- error: cannot find type 'Context' in scope
156 | animated: Bool = true
157 | ) {
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/UIViewControllerPresenting/ViewPresenting.swift (in target 'UIViewControllerPresenting' from project 'swiftui-uikit-presenting')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile ViewPresenting.swift
SwiftCompile normal arm64 Compiling\ UIViewControllerPresenting.swift /Users/admin/builder/spi-builder-workspace/Sources/UIViewControllerPresenting/UIViewControllerPresenting.swift (in target 'UIViewControllerPresenting' from project 'swiftui-uikit-presenting')
/Users/admin/builder/spi-builder-workspace/Sources/UIViewControllerPresenting/UIViewControllerPresenting.swift:46:41: error: cannot find type 'Context' in scope
44 | /// - DismissHandler: A callback closure that can be called to indicate the controller was dismissed.
45 | ///
46 | private let _makeUIViewController: (Context, @escaping DismissHandler) -> Controller
| `- error: cannot find type 'Context' in scope
47 |
48 | /// A closure that should return a coordinator for this view, if one is needed.
/Users/admin/builder/spi-builder-workspace/Sources/UIViewControllerPresenting/UIViewControllerPresenting.swift:75:42: error: cannot find type 'Context' in scope
73 | public init(
74 | isPresented: Binding<Bool>,
75 | makeUIViewController: @escaping (Context, @escaping DismissHandler) -> Controller,
| `- error: cannot find type 'Context' in scope
76 | makeCoordinator: @escaping (@escaping DismissHandler) -> Coordinator,
77 | animated: Bool = true
/Users/admin/builder/spi-builder-workspace/Sources/UIViewControllerPresenting/UIViewControllerPresenting.swift:90:47: error: cannot find type 'Context' in scope
88 | }
89 |
90 | public func makeUIViewController(context: Context) -> UIViewController {
| `- error: cannot find type 'Context' in scope
91 | // We just need a plain view controller to hook into the presentation APIs.
92 | let presentingViewController = UIViewController()
/Users/admin/builder/spi-builder-workspace/Sources/UIViewControllerPresenting/UIViewControllerPresenting.swift:90:59: error: 'UIViewController' is unavailable in watchOS
88 | }
89 |
90 | public func makeUIViewController(context: Context) -> UIViewController {
| `- error: 'UIViewController' is unavailable in watchOS
91 | // We just need a plain view controller to hook into the presentation APIs.
92 | let presentingViewController = UIViewController()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/UIViewControllerPresenting/UIViewControllerPresenting.swift:101:95: error: cannot find type 'Context' in scope
99 | }
100 |
101 | public func updateUIViewController(_ presentingViewController: UIViewController, context: Context) {
| `- error: cannot find type 'Context' in scope
102 | switch (isPresented, presentationState.isActuallyPresented) {
103 | case (true, false):
/Users/admin/builder/spi-builder-workspace/Sources/UIViewControllerPresenting/UIViewControllerPresenting.swift:101:68: error: 'UIViewController' is unavailable in watchOS
99 | }
100 |
101 | public func updateUIViewController(_ presentingViewController: UIViewController, context: Context) {
| `- error: 'UIViewController' is unavailable in watchOS
102 | switch (isPresented, presentationState.isActuallyPresented) {
103 | case (true, 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/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/UIViewControllerPresenting/UIViewControllerPresenting.swift:119:98: error: cannot find type 'Context' in scope
117 | }
118 |
119 | private func presentViewController(from presentingViewController: UIViewController, context: Context) {
| `- error: cannot find type 'Context' in scope
120 | let viewController = _makeUIViewController(context, handleDismiss)
121 |
/Users/admin/builder/spi-builder-workspace/Sources/UIViewControllerPresenting/UIViewControllerPresenting.swift:119:71: error: 'UIViewController' is unavailable in watchOS
117 | }
118 |
119 | private func presentViewController(from presentingViewController: UIViewController, context: Context) {
| `- error: 'UIViewController' is unavailable in watchOS
120 | let viewController = _makeUIViewController(context, handleDismiss)
121 |
/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/UIViewControllerPresenting/UIViewControllerPresenting.swift:144:73: error: 'UIPresentationController' is unavailable in watchOS
142 | }
143 |
144 | func presentationControllerDidDismiss(_ presentationController: UIPresentationController) {
| `- error: 'UIPresentationController' is unavailable in watchOS
145 | self.handleDismiss()
146 | }
/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/UIViewControllerPresenting/UIViewControllerPresenting.swift:137:51: error: 'UIAdaptivePresentationControllerDelegate' is unavailable in watchOS
135 | }
136 |
137 | private class PresentationDelegate: NSObject, UIAdaptivePresentationControllerDelegate {
| `- error: 'UIAdaptivePresentationControllerDelegate' is unavailable in watchOS
138 | private let handleDismiss: () -> Void
139 |
/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/UIViewControllerPresenting/UIViewControllerPresenting.swift:144:14: error: cannot override 'presentationControllerDidDismiss' which has been marked unavailable
142 | }
143 |
144 | func presentationControllerDidDismiss(_ presentationController: UIPresentationController) {
| `- error: cannot override 'presentationControllerDidDismiss' which has been marked unavailable
145 | self.handleDismiss()
146 | }
/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:56:1: note: 'presentationControllerDidDismiss' has been explicitly marked unavailable here
54 | // Called on the delegate when the user has taken action to dismiss the presentation successfully, after all animations are finished.
55 | // This is not called if the presentation is dismissed programatically.
56 | - (void)presentationControllerDidDismiss:(UIPresentationController *)presentationController API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos);
| `- note: 'presentationControllerDidDismiss' has been explicitly marked unavailable here
57 |
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.
/Users/admin/builder/spi-builder-workspace/Sources/UIViewControllerPresenting/UIViewControllerPresenting.swift:28:86: error: cannot find type 'UIViewControllerRepresentable' in scope
26 | /// closures for this purpose.
27 | ///
28 | public struct UIViewControllerPresenting<Controller: UIViewController, Coordinator>: UIViewControllerRepresentable {
| `- error: cannot find type 'UIViewControllerRepresentable' in scope
29 | /// A callback that should be called by the presented view controller if it dismisses itself.
30 | public typealias DismissHandler = () -> Void
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/UIViewControllerPresenting/UIViewControllerPresenting.swift (in target 'UIViewControllerPresenting' from project 'swiftui-uikit-presenting')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile UIViewControllerPresenting.swift
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules
2026-09-18 14:29:58.668 xcodebuild[648:4211] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
2026-09-18 14:29:58.809 xcodebuild[648:4211] [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 'UIViewControllerPresenting' from project 'swiftui-uikit-presenting')
SwiftEmitModule normal arm64_32 Emitting\ module\ for\ UIViewControllerPresenting (in target 'UIViewControllerPresenting' from project 'swiftui-uikit-presenting')
Building workspace swiftui-uikit-presenting with scheme swiftui-uikit-presenting-Package
(3 failures)
Command line invocation:
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -resolvePackageDependencies
Resolve Package Graph
Resolved source packages:
swiftui-uikit-presenting: /Users/admin/builder/spi-builder-workspace
resolved source packages: swiftui-uikit-presenting
2026-09-18 14:30:05.990 xcodebuild[789:4758] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
2026-09-18 14:30:06.129 xcodebuild[789:4758] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
{
"dependencies" : [
],
"manifest_display_name" : "swiftui-uikit-presenting",
"name" : "swiftui-uikit-presenting",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "14.0"
}
],
"products" : [
{
"name" : "UIViewControllerPresenting",
"targets" : [
"UIViewControllerPresenting"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "SafariWebView",
"targets" : [
"SafariWebView"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "UIViewControllerPresentingTests",
"module_type" : "SwiftTarget",
"name" : "UIViewControllerPresentingTests",
"path" : "Tests/UIViewControllerPresentingTests",
"sources" : [
"UIViewControllerPresentingTests.swift"
],
"target_dependencies" : [
"UIViewControllerPresenting"
],
"type" : "test"
},
{
"c99name" : "UIViewControllerPresenting",
"module_type" : "SwiftTarget",
"name" : "UIViewControllerPresenting",
"path" : "Sources/UIViewControllerPresenting",
"product_memberships" : [
"UIViewControllerPresenting",
"SafariWebView"
],
"sources" : [
"UIViewControllerPresenting.swift",
"ViewPresenting.swift"
],
"type" : "library"
},
{
"c99name" : "SafariWebView",
"module_type" : "SwiftTarget",
"name" : "SafariWebView",
"path" : "Sources/SafariWebView",
"product_memberships" : [
"SafariWebView"
],
"sources" : [
"SafariWebView.swift"
],
"target_dependencies" : [
"UIViewControllerPresenting"
],
"type" : "library"
}
],
"tools_version" : "5.6"
}
{
"workspace" : {
"name" : "swiftui-uikit-presenting",
"schemes" : [
"SafariWebView",
"swiftui-uikit-presenting-Package",
"UIViewControllerPresenting"
]
}
}
2026-09-18 14:30:07.261 xcodebuild[798:4828] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
2026-09-18 14:30:07.405 xcodebuild[798:4828] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme swiftui-uikit-presenting-Package -destination generic/platform=watchOS
Command line invocation:
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath /Users/admin/builder/spi-builder-workspace/.derivedData build -scheme swiftui-uikit-presenting-Package -destination generic/platform=watchOS
Resolve Package Graph
Resolved source packages:
swiftui-uikit-presenting: /Users/admin/builder/spi-builder-workspace
ComputePackagePrebuildTargetDependencyGraph
Prepare packages
CreateBuildRequest
SendProjectDescription
CreateBuildOperation
ComputeTargetDependencyGraph
note: Building targets in dependency order
note: Target dependency graph (4 targets)
Target 'SafariWebView-product' in project 'swiftui-uikit-presenting'
➜ Explicit dependency on target 'SafariWebView' in project 'swiftui-uikit-presenting'
➜ Explicit dependency on target 'UIViewControllerPresenting' in project 'swiftui-uikit-presenting'
Target 'SafariWebView' in project 'swiftui-uikit-presenting'
➜ Explicit dependency on target 'UIViewControllerPresenting' in project 'swiftui-uikit-presenting'
Target 'UIViewControllerPresenting-product' in project 'swiftui-uikit-presenting'
➜ Explicit dependency on target 'UIViewControllerPresenting' in project 'swiftui-uikit-presenting'
Target 'UIViewControllerPresenting' in project 'swiftui-uikit-presenting' (no dependencies)
GatherProvisioningInputs
CreateBuildDescription
ClangStatCache /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang-stat-cache /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos27.0-24R360-e829b21a6f8c9b70876ba0858053c04477534ef55a1706bf4c1112bbb242f0a2.sdkstatcache
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang-stat-cache /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk -o /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos27.0-24R360-e829b21a6f8c9b70876ba0858053c04477534ef55a1706bf4c1112bbb242f0a2.sdkstatcache
SwiftDriver UIViewControllerPresenting normal arm64 com.apple.xcode.tools.swift.compiler (in target 'UIViewControllerPresenting' from project 'swiftui-uikit-presenting')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftDriver -- /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -parse-as-library -module-name UIViewControllerPresenting -Onone @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swiftui-uikit-presenting.build/Debug-watchos/UIViewControllerPresenting-t.build/Objects-normal/arm64/UIViewControllerPresenting.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -DSWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -DXcode -plugin-path /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -enable-experimental-feature DebugDescriptionMacro -sdk /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk -target arm64-apple-watchos9.0 -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -Xfrontend -serialize-debugging-options -profile-coverage-mapping -profile-generate -enable-testing -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -swift-version 5 -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/Developer/Library/Frameworks -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos27.0-24R360-e829b21a6f8c9b70876ba0858053c04477534ef55a1706bf4c1112bbb242f0a2.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swiftui-uikit-presenting.build/Debug-watchos/UIViewControllerPresenting-t.build/Objects-normal/arm64/UIViewControllerPresenting-OutputFileMap.json -save-temps -no-color-diagnostics -explicit-module-build -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules -clang-scanner-module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -sdk-module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules -emit-dependencies -emit-module -emit-module-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swiftui-uikit-presenting.build/Debug-watchos/UIViewControllerPresenting-t.build/Objects-normal/arm64/UIViewControllerPresenting.swiftmodule -serialize-diagnostics -dependency-scan-serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swiftui-uikit-presenting.build/Debug-watchos/UIViewControllerPresenting-t.build/Objects-normal/arm64/UIViewControllerPresenting-dependency-scan.dia -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -emit-const-values -const-gather-protocols-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swiftui-uikit-presenting.build/Debug-watchos/UIViewControllerPresenting-t.build/Objects-normal/arm64/UIViewControllerPresenting_const_extract_protocols.json -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swiftui-uikit-presenting.build/Debug-watchos/UIViewControllerPresenting-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swiftui-uikit-presenting.build/Debug-watchos/UIViewControllerPresenting-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swiftui-uikit-presenting.build/Debug-watchos/UIViewControllerPresenting-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -emit-objc-header -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swiftui-uikit-presenting.build/Debug-watchos/UIViewControllerPresenting-t.build/Objects-normal/arm64/UIViewControllerPresenting-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
SwiftDriver UIViewControllerPresenting normal arm64_32 com.apple.xcode.tools.swift.compiler (in target 'UIViewControllerPresenting' from project 'swiftui-uikit-presenting')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftDriver -- /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -parse-as-library -module-name UIViewControllerPresenting -Onone @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swiftui-uikit-presenting.build/Debug-watchos/UIViewControllerPresenting-t.build/Objects-normal/arm64_32/UIViewControllerPresenting.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -DSWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -DXcode -plugin-path /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -enable-experimental-feature DebugDescriptionMacro -sdk /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk -target arm64_32-apple-watchos9.0 -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -Xfrontend -serialize-debugging-options -profile-coverage-mapping -profile-generate -enable-testing -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -swift-version 5 -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/Developer/Library/Frameworks -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos27.0-24R360-e829b21a6f8c9b70876ba0858053c04477534ef55a1706bf4c1112bbb242f0a2.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swiftui-uikit-presenting.build/Debug-watchos/UIViewControllerPresenting-t.build/Objects-normal/arm64_32/UIViewControllerPresenting-OutputFileMap.json -save-temps -no-color-diagnostics -explicit-module-build -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules -clang-scanner-module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -sdk-module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules -emit-dependencies -emit-module -emit-module-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swiftui-uikit-presenting.build/Debug-watchos/UIViewControllerPresenting-t.build/Objects-normal/arm64_32/UIViewControllerPresenting.swiftmodule -serialize-diagnostics -dependency-scan-serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swiftui-uikit-presenting.build/Debug-watchos/UIViewControllerPresenting-t.build/Objects-normal/arm64_32/UIViewControllerPresenting-dependency-scan.dia -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -emit-const-values -const-gather-protocols-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swiftui-uikit-presenting.build/Debug-watchos/UIViewControllerPresenting-t.build/Objects-normal/arm64_32/UIViewControllerPresenting_const_extract_protocols.json -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swiftui-uikit-presenting.build/Debug-watchos/UIViewControllerPresenting-t.build/DerivedSources-normal/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swiftui-uikit-presenting.build/Debug-watchos/UIViewControllerPresenting-t.build/DerivedSources/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swiftui-uikit-presenting.build/Debug-watchos/UIViewControllerPresenting-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -emit-objc-header -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swiftui-uikit-presenting.build/Debug-watchos/UIViewControllerPresenting-t.build/Objects-normal/arm64_32/UIViewControllerPresenting-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
SwiftEmitModule normal arm64 Emitting\ module\ for\ UIViewControllerPresenting (in target 'UIViewControllerPresenting' from project 'swiftui-uikit-presenting')
/Users/admin/builder/spi-builder-workspace/Sources/UIViewControllerPresenting/UIViewControllerPresenting.swift:46:41: error: cannot find type 'Context' in scope
44 | /// - DismissHandler: A callback closure that can be called to indicate the controller was dismissed.
45 | ///
46 | private let _makeUIViewController: (Context, @escaping DismissHandler) -> Controller
| `- error: cannot find type 'Context' in scope
47 |
48 | /// A closure that should return a coordinator for this view, if one is needed.
/Users/admin/builder/spi-builder-workspace/Sources/UIViewControllerPresenting/UIViewControllerPresenting.swift:75:42: error: cannot find type 'Context' in scope
73 | public init(
74 | isPresented: Binding<Bool>,
75 | makeUIViewController: @escaping (Context, @escaping DismissHandler) -> Controller,
| `- error: cannot find type 'Context' in scope
76 | makeCoordinator: @escaping (@escaping DismissHandler) -> Coordinator,
77 | animated: Bool = true
/Users/admin/builder/spi-builder-workspace/Sources/UIViewControllerPresenting/UIViewControllerPresenting.swift:90:47: error: cannot find type 'Context' in scope
88 | }
89 |
90 | public func makeUIViewController(context: Context) -> UIViewController {
| `- error: cannot find type 'Context' in scope
91 | // We just need a plain view controller to hook into the presentation APIs.
92 | let presentingViewController = UIViewController()
/Users/admin/builder/spi-builder-workspace/Sources/UIViewControllerPresenting/UIViewControllerPresenting.swift:90:59: error: 'UIViewController' is unavailable in watchOS
88 | }
89 |
90 | public func makeUIViewController(context: Context) -> UIViewController {
| `- error: 'UIViewController' is unavailable in watchOS
91 | // We just need a plain view controller to hook into the presentation APIs.
92 | let presentingViewController = UIViewController()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/UIViewControllerPresenting/UIViewControllerPresenting.swift:101:95: error: cannot find type 'Context' in scope
99 | }
100 |
101 | public func updateUIViewController(_ presentingViewController: UIViewController, context: Context) {
| `- error: cannot find type 'Context' in scope
102 | switch (isPresented, presentationState.isActuallyPresented) {
103 | case (true, false):
/Users/admin/builder/spi-builder-workspace/Sources/UIViewControllerPresenting/UIViewControllerPresenting.swift:101:68: error: 'UIViewController' is unavailable in watchOS
99 | }
100 |
101 | public func updateUIViewController(_ presentingViewController: UIViewController, context: Context) {
| `- error: 'UIViewController' is unavailable in watchOS
102 | switch (isPresented, presentationState.isActuallyPresented) {
103 | case (true, 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/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/UIViewControllerPresenting/UIViewControllerPresenting.swift:119:98: error: cannot find type 'Context' in scope
117 | }
118 |
119 | private func presentViewController(from presentingViewController: UIViewController, context: Context) {
| `- error: cannot find type 'Context' in scope
120 | let viewController = _makeUIViewController(context, handleDismiss)
121 |
/Users/admin/builder/spi-builder-workspace/Sources/UIViewControllerPresenting/UIViewControllerPresenting.swift:119:71: error: 'UIViewController' is unavailable in watchOS
117 | }
118 |
119 | private func presentViewController(from presentingViewController: UIViewController, context: Context) {
| `- error: 'UIViewController' is unavailable in watchOS
120 | let viewController = _makeUIViewController(context, handleDismiss)
121 |
/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/UIViewControllerPresenting/UIViewControllerPresenting.swift:144:73: error: 'UIPresentationController' is unavailable in watchOS
142 | }
143 |
144 | func presentationControllerDidDismiss(_ presentationController: UIPresentationController) {
| `- error: 'UIPresentationController' is unavailable in watchOS
145 | self.handleDismiss()
146 | }
/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/UIViewControllerPresenting/UIViewControllerPresenting.swift:137:51: error: 'UIAdaptivePresentationControllerDelegate' is unavailable in watchOS
135 | }
136 |
137 | private class PresentationDelegate: NSObject, UIAdaptivePresentationControllerDelegate {
| `- error: 'UIAdaptivePresentationControllerDelegate' is unavailable in watchOS
138 | private let handleDismiss: () -> Void
139 |
/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/UIViewControllerPresenting/UIViewControllerPresenting.swift:144:14: error: cannot override 'presentationControllerDidDismiss' which has been marked unavailable
142 | }
143 |
144 | func presentationControllerDidDismiss(_ presentationController: UIPresentationController) {
| `- error: cannot override 'presentationControllerDidDismiss' which has been marked unavailable
145 | self.handleDismiss()
146 | }
/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:56:1: note: 'presentationControllerDidDismiss' has been explicitly marked unavailable here
54 | // Called on the delegate when the user has taken action to dismiss the presentation successfully, after all animations are finished.
55 | // This is not called if the presentation is dismissed programatically.
56 | - (void)presentationControllerDidDismiss:(UIPresentationController *)presentationController API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos);
| `- note: 'presentationControllerDidDismiss' has been explicitly marked unavailable here
57 |
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.
/Users/admin/builder/spi-builder-workspace/Sources/UIViewControllerPresenting/UIViewControllerPresenting.swift:28:86: error: cannot find type 'UIViewControllerRepresentable' in scope
26 | /// closures for this purpose.
27 | ///
28 | public struct UIViewControllerPresenting<Controller: UIViewController, Coordinator>: UIViewControllerRepresentable {
| `- error: cannot find type 'UIViewControllerRepresentable' in scope
29 | /// A callback that should be called by the presented view controller if it dismisses itself.
30 | public typealias DismissHandler = () -> Void
/Users/admin/builder/spi-builder-workspace/Sources/UIViewControllerPresenting/UIViewControllerPresenting.swift:28:54: error: 'UIViewController' is unavailable in watchOS
26 | /// closures for this purpose.
27 | ///
28 | public struct UIViewControllerPresenting<Controller: UIViewController, Coordinator>: UIViewControllerRepresentable {
| `- error: 'UIViewController' is unavailable in watchOS
29 | /// A callback that should be called by the presented view controller if it dismisses itself.
30 | public typealias DismissHandler = () -> Void
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/UIViewControllerPresenting/UIViewControllerPresenting.swift:155:42: error: cannot find type 'Context' in scope
153 | public init(
154 | isPresented: Binding<Bool>,
155 | makeUIViewController: @escaping (Context, @escaping DismissHandler) -> Controller,
| `- error: cannot find type 'Context' in scope
156 | animated: Bool = true
157 | ) {
/Users/admin/builder/spi-builder-workspace/Sources/UIViewControllerPresenting/ViewPresenting.swift:49:33: error: 'UIModalPresentationStyle' is unavailable in watchOS
47 | isPresented: Binding<Bool>,
48 | animated: Bool = true,
49 | modalPresentationStyle: UIModalPresentationStyle = .automatic,
| `- error: 'UIModalPresentationStyle' is unavailable in watchOS
50 | sheetConfiguration: SheetConfiguration = .default,
51 | @ViewBuilder content: () -> Content
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:49:28: note: 'UIModalPresentationStyle' has been explicitly marked unavailable here
47 | } API_UNAVAILABLE(watchos);
48 |
49 | typedef NS_ENUM(NSInteger, UIModalPresentationStyle) {
| `- note: 'UIModalPresentationStyle' has been explicitly marked unavailable here
50 | UIModalPresentationFullScreen = 0,
51 | UIModalPresentationPageSheet API_AVAILABLE(ios(3.2)) API_UNAVAILABLE(tvos),
/Users/admin/builder/spi-builder-workspace/Sources/UIViewControllerPresenting/ViewPresenting.swift:49:61: error: 'automatic' is unavailable in watchOS
47 | isPresented: Binding<Bool>,
48 | animated: Bool = true,
49 | modalPresentationStyle: UIModalPresentationStyle = .automatic,
| `- error: 'automatic' is unavailable in watchOS
50 | sheetConfiguration: SheetConfiguration = .default,
51 | @ViewBuilder content: () -> Content
UIKit.UIModalPresentationStyle.automatic:3:8: note: 'automatic' has been explicitly marked unavailable here
1 | enum UIModalPresentationStyle {
2 | @available(watchOS, unavailable)
3 | case automatic}
| `- note: 'automatic' has been explicitly marked unavailable here
4 |
/Users/admin/builder/spi-builder-workspace/Sources/UIViewControllerPresenting/ViewPresenting.swift:80:33: error: 'UIModalPresentationStyle' is unavailable in watchOS
78 | isPresented: Binding<Bool>,
79 | animated: Bool = true,
80 | modalPresentationStyle: UIModalPresentationStyle = .automatic,
| `- error: 'UIModalPresentationStyle' is unavailable in watchOS
81 | @ViewBuilder content: () -> Content
82 | ) -> some 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/UIViewController.h:49:28: note: 'UIModalPresentationStyle' has been explicitly marked unavailable here
47 | } API_UNAVAILABLE(watchos);
48 |
49 | typedef NS_ENUM(NSInteger, UIModalPresentationStyle) {
| `- note: 'UIModalPresentationStyle' has been explicitly marked unavailable here
50 | UIModalPresentationFullScreen = 0,
51 | UIModalPresentationPageSheet API_AVAILABLE(ios(3.2)) API_UNAVAILABLE(tvos),
/Users/admin/builder/spi-builder-workspace/Sources/UIViewControllerPresenting/ViewPresenting.swift:80:61: error: 'automatic' is unavailable in watchOS
78 | isPresented: Binding<Bool>,
79 | animated: Bool = true,
80 | modalPresentationStyle: UIModalPresentationStyle = .automatic,
| `- error: 'automatic' is unavailable in watchOS
81 | @ViewBuilder content: () -> Content
82 | ) -> some View {
UIKit.UIModalPresentationStyle.automatic:3:8: note: 'automatic' has been explicitly marked unavailable here
1 | enum UIModalPresentationStyle {
2 | @available(watchOS, unavailable)
3 | case automatic}
| `- note: 'automatic' has been explicitly marked unavailable here
4 |
/Users/admin/builder/spi-builder-workspace/Sources/UIViewControllerPresenting/ViewPresenting.swift:101:35: error: cannot find type 'UIHostingController' in scope
99 | sheetConfiguration: SheetConfiguration = .default,
100 | animated: Bool = true
101 | ) -> Self where Controller == UIHostingController<Content> {
| `- error: cannot find type 'UIHostingController' in scope
102 | .init(isPresented: isPresented) { _, _ in
103 | let hostingController = UIHostingController(rootView: content)
/Users/admin/builder/spi-builder-workspace/Sources/UIViewControllerPresenting/ViewPresenting.swift:98:33: error: 'UIModalPresentationStyle' is unavailable in watchOS
96 | _ content: Content,
97 | isPresented: Binding<Bool>,
98 | modalPresentationStyle: UIModalPresentationStyle = .automatic,
| `- error: 'UIModalPresentationStyle' is unavailable in watchOS
99 | sheetConfiguration: SheetConfiguration = .default,
100 | animated: 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/UIViewController.h:49:28: note: 'UIModalPresentationStyle' has been explicitly marked unavailable here
47 | } API_UNAVAILABLE(watchos);
48 |
49 | typedef NS_ENUM(NSInteger, UIModalPresentationStyle) {
| `- note: 'UIModalPresentationStyle' has been explicitly marked unavailable here
50 | UIModalPresentationFullScreen = 0,
51 | UIModalPresentationPageSheet API_AVAILABLE(ios(3.2)) API_UNAVAILABLE(tvos),
/Users/admin/builder/spi-builder-workspace/Sources/UIViewControllerPresenting/ViewPresenting.swift:98:61: error: 'automatic' is unavailable in watchOS
96 | _ content: Content,
97 | isPresented: Binding<Bool>,
98 | modalPresentationStyle: UIModalPresentationStyle = .automatic,
| `- error: 'automatic' is unavailable in watchOS
99 | sheetConfiguration: SheetConfiguration = .default,
100 | animated: Bool = true
UIKit.UIModalPresentationStyle.automatic:3:8: note: 'automatic' has been explicitly marked unavailable here
1 | enum UIModalPresentationStyle {
2 | @available(watchOS, unavailable)
3 | case automatic}
| `- note: 'automatic' has been explicitly marked unavailable here
4 |
/Users/admin/builder/spi-builder-workspace/Sources/UIViewControllerPresenting/ViewPresenting.swift:117:35: error: cannot find type 'UIHostingController' in scope
115 | modalPresentationStyle: UIModalPresentationStyle = .automatic,
116 | animated: Bool = true
117 | ) -> Self where Controller == UIHostingController<Content> {
| `- error: cannot find type 'UIHostingController' in scope
118 | .init(isPresented: isPresented) { _, _ in
119 | let hostingController = UIHostingController(rootView: content)
/Users/admin/builder/spi-builder-workspace/Sources/UIViewControllerPresenting/ViewPresenting.swift:115:33: error: 'UIModalPresentationStyle' is unavailable in watchOS
113 | _ content: Content,
114 | isPresented: Binding<Bool>,
115 | modalPresentationStyle: UIModalPresentationStyle = .automatic,
| `- error: 'UIModalPresentationStyle' is unavailable in watchOS
116 | animated: Bool = true
117 | ) -> Self where Controller == UIHostingController<Content> {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:49:28: note: 'UIModalPresentationStyle' has been explicitly marked unavailable here
47 | } API_UNAVAILABLE(watchos);
48 |
49 | typedef NS_ENUM(NSInteger, UIModalPresentationStyle) {
| `- note: 'UIModalPresentationStyle' has been explicitly marked unavailable here
50 | UIModalPresentationFullScreen = 0,
51 | UIModalPresentationPageSheet API_AVAILABLE(ios(3.2)) API_UNAVAILABLE(tvos),
/Users/admin/builder/spi-builder-workspace/Sources/UIViewControllerPresenting/ViewPresenting.swift:115:61: error: 'automatic' is unavailable in watchOS
113 | _ content: Content,
114 | isPresented: Binding<Bool>,
115 | modalPresentationStyle: UIModalPresentationStyle = .automatic,
| `- error: 'automatic' is unavailable in watchOS
116 | animated: Bool = true
117 | ) -> Self where Controller == UIHostingController<Content> {
UIKit.UIModalPresentationStyle.automatic:3:8: note: 'automatic' has been explicitly marked unavailable here
1 | enum UIModalPresentationStyle {
2 | @available(watchOS, unavailable)
3 | case automatic}
| `- note: 'automatic' has been explicitly marked unavailable here
4 |
/Users/admin/builder/spi-builder-workspace/Sources/UIViewControllerPresenting/ViewPresenting.swift:130:21: error: 'UISheetPresentationController' is unavailable in watchOS
128 | public struct SheetConfiguration {
129 | /// A closure that will be called to configure the sheet presentation controller before presentation.
130 | var configure: (UISheetPresentationController) -> Void
| `- error: 'UISheetPresentationController' is unavailable in watchOS
131 |
132 | public init(configure: @escaping (UISheetPresentationController) -> Void) {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/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/UIViewControllerPresenting/ViewPresenting.swift:132:39: error: 'UISheetPresentationController' is unavailable in watchOS
130 | var configure: (UISheetPresentationController) -> Void
131 |
132 | public init(configure: @escaping (UISheetPresentationController) -> Void) {
| `- error: 'UISheetPresentationController' is unavailable in watchOS
133 | self.configure = configure
134 | }
/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.
Failed frontend command:
SwiftCompile normal arm64 (in target 'UIViewControllerPresenting' from project 'swiftui-uikit-presenting')
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/UIViewControllerPresenting/UIViewControllerPresenting.swift /Users/admin/builder/spi-builder-workspace/Sources/UIViewControllerPresenting/ViewPresenting.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/swiftui-uikit-presenting.build/Debug-watchos/UIViewControllerPresenting-t.build/Objects-normal/arm64/UIViewControllerPresenting-dependencies-1.json -Xllvm -aarch64-use-tbi -enable-objc-interop -stack-check -sdk /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/Developer/Library/Frameworks -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules -no-color-diagnostics -Xcc -fno-color-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -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/swiftui-uikit-presenting.build/Debug-watchos/UIViewControllerPresenting-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swiftui-uikit-presenting.build/Debug-watchos/UIViewControllerPresenting-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swiftui-uikit-presenting.build/Debug-watchos/UIViewControllerPresenting-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name UIViewControllerPresenting -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swiftui-uikit-presenting.build/Debug-watchos/UIViewControllerPresenting-t.build/Objects-normal/arm64/UIViewControllerPresenting_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/swiftui-uikit-presenting.build/Debug-watchos/UIViewControllerPresenting-t.build/Objects-normal/arm64/UIViewControllerPresenting.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swiftui-uikit-presenting.build/Debug-watchos/UIViewControllerPresenting-t.build/Objects-normal/arm64/UIViewControllerPresenting.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swiftui-uikit-presenting.build/Debug-watchos/UIViewControllerPresenting-t.build/Objects-normal/arm64/UIViewControllerPresenting-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swiftui-uikit-presenting.build/Debug-watchos/UIViewControllerPresenting-t.build/Objects-normal/arm64/UIViewControllerPresenting-primary-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swiftui-uikit-presenting.build/Debug-watchos/UIViewControllerPresenting-t.build/Objects-normal/arm64/UIViewControllerPresenting-primary-emit-module.d -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swiftui-uikit-presenting.build/Debug-watchos/UIViewControllerPresenting-t.build/Objects-normal/arm64/UIViewControllerPresenting.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swiftui-uikit-presenting.build/Debug-watchos/UIViewControllerPresenting-t.build/Objects-normal/arm64/UIViewControllerPresenting.abi.json
SwiftCompile normal arm64 Compiling\ ViewPresenting.swift /Users/admin/builder/spi-builder-workspace/Sources/UIViewControllerPresenting/ViewPresenting.swift (in target 'UIViewControllerPresenting' from project 'swiftui-uikit-presenting')
/Users/admin/builder/spi-builder-workspace/Sources/UIViewControllerPresenting/ViewPresenting.swift:49:33: error: 'UIModalPresentationStyle' is unavailable in watchOS
47 | isPresented: Binding<Bool>,
48 | animated: Bool = true,
49 | modalPresentationStyle: UIModalPresentationStyle = .automatic,
| `- error: 'UIModalPresentationStyle' is unavailable in watchOS
50 | sheetConfiguration: SheetConfiguration = .default,
51 | @ViewBuilder content: () -> Content
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:49:28: note: 'UIModalPresentationStyle' has been explicitly marked unavailable here
47 | } API_UNAVAILABLE(watchos);
48 |
49 | typedef NS_ENUM(NSInteger, UIModalPresentationStyle) {
| `- note: 'UIModalPresentationStyle' has been explicitly marked unavailable here
50 | UIModalPresentationFullScreen = 0,
51 | UIModalPresentationPageSheet API_AVAILABLE(ios(3.2)) API_UNAVAILABLE(tvos),
/Users/admin/builder/spi-builder-workspace/Sources/UIViewControllerPresenting/ViewPresenting.swift:49:61: error: 'automatic' is unavailable in watchOS
47 | isPresented: Binding<Bool>,
48 | animated: Bool = true,
49 | modalPresentationStyle: UIModalPresentationStyle = .automatic,
| `- error: 'automatic' is unavailable in watchOS
50 | sheetConfiguration: SheetConfiguration = .default,
51 | @ViewBuilder content: () -> Content
UIKit.UIModalPresentationStyle.automatic:3:8: note: 'automatic' has been explicitly marked unavailable here
1 | enum UIModalPresentationStyle {
2 | @available(watchOS, unavailable)
3 | case automatic}
| `- note: 'automatic' has been explicitly marked unavailable here
4 |
/Users/admin/builder/spi-builder-workspace/Sources/UIViewControllerPresenting/ViewPresenting.swift:80:33: error: 'UIModalPresentationStyle' is unavailable in watchOS
78 | isPresented: Binding<Bool>,
79 | animated: Bool = true,
80 | modalPresentationStyle: UIModalPresentationStyle = .automatic,
| `- error: 'UIModalPresentationStyle' is unavailable in watchOS
81 | @ViewBuilder content: () -> Content
82 | ) -> some 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/UIViewController.h:49:28: note: 'UIModalPresentationStyle' has been explicitly marked unavailable here
47 | } API_UNAVAILABLE(watchos);
48 |
49 | typedef NS_ENUM(NSInteger, UIModalPresentationStyle) {
| `- note: 'UIModalPresentationStyle' has been explicitly marked unavailable here
50 | UIModalPresentationFullScreen = 0,
51 | UIModalPresentationPageSheet API_AVAILABLE(ios(3.2)) API_UNAVAILABLE(tvos),
/Users/admin/builder/spi-builder-workspace/Sources/UIViewControllerPresenting/ViewPresenting.swift:80:61: error: 'automatic' is unavailable in watchOS
78 | isPresented: Binding<Bool>,
79 | animated: Bool = true,
80 | modalPresentationStyle: UIModalPresentationStyle = .automatic,
| `- error: 'automatic' is unavailable in watchOS
81 | @ViewBuilder content: () -> Content
82 | ) -> some View {
UIKit.UIModalPresentationStyle.automatic:3:8: note: 'automatic' has been explicitly marked unavailable here
1 | enum UIModalPresentationStyle {
2 | @available(watchOS, unavailable)
3 | case automatic}
| `- note: 'automatic' has been explicitly marked unavailable here
4 |
/Users/admin/builder/spi-builder-workspace/Sources/UIViewControllerPresenting/UIViewControllerPresenting.swift:28:86: error: cannot find type 'UIViewControllerRepresentable' in scope
26 | /// closures for this purpose.
27 | ///
28 | public struct UIViewControllerPresenting<Controller: UIViewController, Coordinator>: UIViewControllerRepresentable {
| `- error: cannot find type 'UIViewControllerRepresentable' in scope
29 | /// A callback that should be called by the presented view controller if it dismisses itself.
30 | public typealias DismissHandler = () -> Void
/Users/admin/builder/spi-builder-workspace/Sources/UIViewControllerPresenting/ViewPresenting.swift:101:35: error: cannot find type 'UIHostingController' in scope
99 | sheetConfiguration: SheetConfiguration = .default,
100 | animated: Bool = true
101 | ) -> Self where Controller == UIHostingController<Content> {
| `- error: cannot find type 'UIHostingController' in scope
102 | .init(isPresented: isPresented) { _, _ in
103 | let hostingController = UIHostingController(rootView: content)
/Users/admin/builder/spi-builder-workspace/Sources/UIViewControllerPresenting/ViewPresenting.swift:98:33: error: 'UIModalPresentationStyle' is unavailable in watchOS
96 | _ content: Content,
97 | isPresented: Binding<Bool>,
98 | modalPresentationStyle: UIModalPresentationStyle = .automatic,
| `- error: 'UIModalPresentationStyle' is unavailable in watchOS
99 | sheetConfiguration: SheetConfiguration = .default,
100 | animated: 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/UIViewController.h:49:28: note: 'UIModalPresentationStyle' has been explicitly marked unavailable here
47 | } API_UNAVAILABLE(watchos);
48 |
49 | typedef NS_ENUM(NSInteger, UIModalPresentationStyle) {
| `- note: 'UIModalPresentationStyle' has been explicitly marked unavailable here
50 | UIModalPresentationFullScreen = 0,
51 | UIModalPresentationPageSheet API_AVAILABLE(ios(3.2)) API_UNAVAILABLE(tvos),
/Users/admin/builder/spi-builder-workspace/Sources/UIViewControllerPresenting/ViewPresenting.swift:98:61: error: 'automatic' is unavailable in watchOS
96 | _ content: Content,
97 | isPresented: Binding<Bool>,
98 | modalPresentationStyle: UIModalPresentationStyle = .automatic,
| `- error: 'automatic' is unavailable in watchOS
99 | sheetConfiguration: SheetConfiguration = .default,
100 | animated: Bool = true
UIKit.UIModalPresentationStyle.automatic:3:8: note: 'automatic' has been explicitly marked unavailable here
1 | enum UIModalPresentationStyle {
2 | @available(watchOS, unavailable)
3 | case automatic}
| `- note: 'automatic' has been explicitly marked unavailable here
4 |
/Users/admin/builder/spi-builder-workspace/Sources/UIViewControllerPresenting/ViewPresenting.swift:117:35: error: cannot find type 'UIHostingController' in scope
115 | modalPresentationStyle: UIModalPresentationStyle = .automatic,
116 | animated: Bool = true
117 | ) -> Self where Controller == UIHostingController<Content> {
| `- error: cannot find type 'UIHostingController' in scope
118 | .init(isPresented: isPresented) { _, _ in
119 | let hostingController = UIHostingController(rootView: content)
/Users/admin/builder/spi-builder-workspace/Sources/UIViewControllerPresenting/ViewPresenting.swift:115:33: error: 'UIModalPresentationStyle' is unavailable in watchOS
113 | _ content: Content,
114 | isPresented: Binding<Bool>,
115 | modalPresentationStyle: UIModalPresentationStyle = .automatic,
| `- error: 'UIModalPresentationStyle' is unavailable in watchOS
116 | animated: Bool = true
117 | ) -> Self where Controller == UIHostingController<Content> {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:49:28: note: 'UIModalPresentationStyle' has been explicitly marked unavailable here
47 | } API_UNAVAILABLE(watchos);
48 |
49 | typedef NS_ENUM(NSInteger, UIModalPresentationStyle) {
| `- note: 'UIModalPresentationStyle' has been explicitly marked unavailable here
50 | UIModalPresentationFullScreen = 0,
51 | UIModalPresentationPageSheet API_AVAILABLE(ios(3.2)) API_UNAVAILABLE(tvos),
/Users/admin/builder/spi-builder-workspace/Sources/UIViewControllerPresenting/ViewPresenting.swift:115:61: error: 'automatic' is unavailable in watchOS
113 | _ content: Content,
114 | isPresented: Binding<Bool>,
115 | modalPresentationStyle: UIModalPresentationStyle = .automatic,
| `- error: 'automatic' is unavailable in watchOS
116 | animated: Bool = true
117 | ) -> Self where Controller == UIHostingController<Content> {
UIKit.UIModalPresentationStyle.automatic:3:8: note: 'automatic' has been explicitly marked unavailable here
1 | enum UIModalPresentationStyle {
2 | @available(watchOS, unavailable)
3 | case automatic}
| `- note: 'automatic' has been explicitly marked unavailable here
4 |
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/UIViewControllerPresenting/ViewPresenting.swift (in target 'UIViewControllerPresenting' from project 'swiftui-uikit-presenting')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile ViewPresenting.swift
/Users/admin/builder/spi-builder-workspace/Sources/UIViewControllerPresenting/ViewPresenting.swift:130:21: error: 'UISheetPresentationController' is unavailable in watchOS
128 | public struct SheetConfiguration {
129 | /// A closure that will be called to configure the sheet presentation controller before presentation.
130 | var configure: (UISheetPresentationController) -> Void
| `- error: 'UISheetPresentationController' is unavailable in watchOS
131 |
132 | public init(configure: @escaping (UISheetPresentationController) -> Void) {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/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/UIViewControllerPresenting/ViewPresenting.swift:132:39: error: 'UISheetPresentationController' is unavailable in watchOS
130 | var configure: (UISheetPresentationController) -> Void
131 |
132 | public init(configure: @escaping (UISheetPresentationController) -> Void) {
| `- error: 'UISheetPresentationController' is unavailable in watchOS
133 | self.configure = configure
134 | }
/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/UIViewControllerPresenting/ViewPresenting.swift:53:9: error: failed to produce diagnostic for expression; please submit a bug report (https://swift.org/contributing/#reporting-bugs)
51 | @ViewBuilder content: () -> Content
52 | ) -> some View {
53 | background(
| `- error: failed to produce diagnostic for expression; please submit a bug report (https://swift.org/contributing/#reporting-bugs)
54 | UIViewControllerPresenting.content(
55 | content(),
/Users/admin/builder/spi-builder-workspace/Sources/UIViewControllerPresenting/ViewPresenting.swift:83:9: error: failed to produce diagnostic for expression; please submit a bug report (https://swift.org/contributing/#reporting-bugs)
81 | @ViewBuilder content: () -> Content
82 | ) -> some View {
83 | background(
| `- error: failed to produce diagnostic for expression; please submit a bug report (https://swift.org/contributing/#reporting-bugs)
84 | UIViewControllerPresenting.content(
85 | content(),
/Users/admin/builder/spi-builder-workspace/Sources/UIViewControllerPresenting/ViewPresenting.swift:103:37: error: cannot find 'UIHostingController' in scope
101 | ) -> Self where Controller == UIHostingController<Content> {
102 | .init(isPresented: isPresented) { _, _ in
103 | let hostingController = UIHostingController(rootView: content)
| `- error: cannot find 'UIHostingController' in scope
104 | hostingController.modalPresentationStyle = modalPresentationStyle
105 | if let sheet = hostingController.sheetPresentationController {
/Users/admin/builder/spi-builder-workspace/Sources/UIViewControllerPresenting/UIViewControllerPresenting.swift:75:42: error: cannot find type 'Context' in scope
73 | public init(
74 | isPresented: Binding<Bool>,
75 | makeUIViewController: @escaping (Context, @escaping DismissHandler) -> Controller,
| `- error: cannot find type 'Context' in scope
76 | makeCoordinator: @escaping (@escaping DismissHandler) -> Coordinator,
77 | animated: Bool = true
/Users/admin/builder/spi-builder-workspace/Sources/UIViewControllerPresenting/UIViewControllerPresenting.swift:155:42: error: cannot find type 'Context' in scope
153 | public init(
154 | isPresented: Binding<Bool>,
155 | makeUIViewController: @escaping (Context, @escaping DismissHandler) -> Controller,
| `- error: cannot find type 'Context' in scope
156 | animated: Bool = true
157 | ) {
SwiftEmitModule normal arm64_32 Emitting\ module\ for\ UIViewControllerPresenting (in target 'UIViewControllerPresenting' from project 'swiftui-uikit-presenting')
/Users/admin/builder/spi-builder-workspace/Sources/UIViewControllerPresenting/UIViewControllerPresenting.swift:46:41: error: cannot find type 'Context' in scope
44 | /// - DismissHandler: A callback closure that can be called to indicate the controller was dismissed.
45 | ///
46 | private let _makeUIViewController: (Context, @escaping DismissHandler) -> Controller
| `- error: cannot find type 'Context' in scope
47 |
48 | /// A closure that should return a coordinator for this view, if one is needed.
/Users/admin/builder/spi-builder-workspace/Sources/UIViewControllerPresenting/UIViewControllerPresenting.swift:75:42: error: cannot find type 'Context' in scope
73 | public init(
74 | isPresented: Binding<Bool>,
75 | makeUIViewController: @escaping (Context, @escaping DismissHandler) -> Controller,
| `- error: cannot find type 'Context' in scope
76 | makeCoordinator: @escaping (@escaping DismissHandler) -> Coordinator,
77 | animated: Bool = true
/Users/admin/builder/spi-builder-workspace/Sources/UIViewControllerPresenting/UIViewControllerPresenting.swift:90:47: error: cannot find type 'Context' in scope
88 | }
89 |
90 | public func makeUIViewController(context: Context) -> UIViewController {
| `- error: cannot find type 'Context' in scope
91 | // We just need a plain view controller to hook into the presentation APIs.
92 | let presentingViewController = UIViewController()
/Users/admin/builder/spi-builder-workspace/Sources/UIViewControllerPresenting/UIViewControllerPresenting.swift:90:59: error: 'UIViewController' is unavailable in watchOS
88 | }
89 |
90 | public func makeUIViewController(context: Context) -> UIViewController {
| `- error: 'UIViewController' is unavailable in watchOS
91 | // We just need a plain view controller to hook into the presentation APIs.
92 | let presentingViewController = UIViewController()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/UIViewControllerPresenting/UIViewControllerPresenting.swift:101:95: error: cannot find type 'Context' in scope
99 | }
100 |
101 | public func updateUIViewController(_ presentingViewController: UIViewController, context: Context) {
| `- error: cannot find type 'Context' in scope
102 | switch (isPresented, presentationState.isActuallyPresented) {
103 | case (true, false):
/Users/admin/builder/spi-builder-workspace/Sources/UIViewControllerPresenting/UIViewControllerPresenting.swift:101:68: error: 'UIViewController' is unavailable in watchOS
99 | }
100 |
101 | public func updateUIViewController(_ presentingViewController: UIViewController, context: Context) {
| `- error: 'UIViewController' is unavailable in watchOS
102 | switch (isPresented, presentationState.isActuallyPresented) {
103 | case (true, 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/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/UIViewControllerPresenting/UIViewControllerPresenting.swift:119:98: error: cannot find type 'Context' in scope
117 | }
118 |
119 | private func presentViewController(from presentingViewController: UIViewController, context: Context) {
| `- error: cannot find type 'Context' in scope
120 | let viewController = _makeUIViewController(context, handleDismiss)
121 |
/Users/admin/builder/spi-builder-workspace/Sources/UIViewControllerPresenting/UIViewControllerPresenting.swift:119:71: error: 'UIViewController' is unavailable in watchOS
117 | }
118 |
119 | private func presentViewController(from presentingViewController: UIViewController, context: Context) {
| `- error: 'UIViewController' is unavailable in watchOS
120 | let viewController = _makeUIViewController(context, handleDismiss)
121 |
/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/UIViewControllerPresenting/UIViewControllerPresenting.swift:144:73: error: 'UIPresentationController' is unavailable in watchOS
142 | }
143 |
144 | func presentationControllerDidDismiss(_ presentationController: UIPresentationController) {
| `- error: 'UIPresentationController' is unavailable in watchOS
145 | self.handleDismiss()
146 | }
/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/UIViewControllerPresenting/UIViewControllerPresenting.swift:137:51: error: 'UIAdaptivePresentationControllerDelegate' is unavailable in watchOS
135 | }
136 |
137 | private class PresentationDelegate: NSObject, UIAdaptivePresentationControllerDelegate {
| `- error: 'UIAdaptivePresentationControllerDelegate' is unavailable in watchOS
138 | private let handleDismiss: () -> Void
139 |
/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/UIViewControllerPresenting/UIViewControllerPresenting.swift:144:14: error: cannot override 'presentationControllerDidDismiss' which has been marked unavailable
142 | }
143 |
144 | func presentationControllerDidDismiss(_ presentationController: UIPresentationController) {
| `- error: cannot override 'presentationControllerDidDismiss' which has been marked unavailable
145 | self.handleDismiss()
146 | }
/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:56:1: note: 'presentationControllerDidDismiss' has been explicitly marked unavailable here
54 | // Called on the delegate when the user has taken action to dismiss the presentation successfully, after all animations are finished.
55 | // This is not called if the presentation is dismissed programatically.
56 | - (void)presentationControllerDidDismiss:(UIPresentationController *)presentationController API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos);
| `- note: 'presentationControllerDidDismiss' has been explicitly marked unavailable here
57 |
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.
/Users/admin/builder/spi-builder-workspace/Sources/UIViewControllerPresenting/UIViewControllerPresenting.swift:28:86: error: cannot find type 'UIViewControllerRepresentable' in scope
26 | /// closures for this purpose.
27 | ///
28 | public struct UIViewControllerPresenting<Controller: UIViewController, Coordinator>: UIViewControllerRepresentable {
| `- error: cannot find type 'UIViewControllerRepresentable' in scope
29 | /// A callback that should be called by the presented view controller if it dismisses itself.
30 | public typealias DismissHandler = () -> Void
/Users/admin/builder/spi-builder-workspace/Sources/UIViewControllerPresenting/UIViewControllerPresenting.swift:28:54: error: 'UIViewController' is unavailable in watchOS
26 | /// closures for this purpose.
27 | ///
28 | public struct UIViewControllerPresenting<Controller: UIViewController, Coordinator>: UIViewControllerRepresentable {
| `- error: 'UIViewController' is unavailable in watchOS
29 | /// A callback that should be called by the presented view controller if it dismisses itself.
30 | public typealias DismissHandler = () -> Void
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/UIViewControllerPresenting/UIViewControllerPresenting.swift:155:42: error: cannot find type 'Context' in scope
153 | public init(
154 | isPresented: Binding<Bool>,
155 | makeUIViewController: @escaping (Context, @escaping DismissHandler) -> Controller,
| `- error: cannot find type 'Context' in scope
156 | animated: Bool = true
157 | ) {
/Users/admin/builder/spi-builder-workspace/Sources/UIViewControllerPresenting/ViewPresenting.swift:49:33: error: 'UIModalPresentationStyle' is unavailable in watchOS
47 | isPresented: Binding<Bool>,
48 | animated: Bool = true,
49 | modalPresentationStyle: UIModalPresentationStyle = .automatic,
| `- error: 'UIModalPresentationStyle' is unavailable in watchOS
50 | sheetConfiguration: SheetConfiguration = .default,
51 | @ViewBuilder content: () -> Content
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:49:28: note: 'UIModalPresentationStyle' has been explicitly marked unavailable here
47 | } API_UNAVAILABLE(watchos);
48 |
49 | typedef NS_ENUM(NSInteger, UIModalPresentationStyle) {
| `- note: 'UIModalPresentationStyle' has been explicitly marked unavailable here
50 | UIModalPresentationFullScreen = 0,
51 | UIModalPresentationPageSheet API_AVAILABLE(ios(3.2)) API_UNAVAILABLE(tvos),
/Users/admin/builder/spi-builder-workspace/Sources/UIViewControllerPresenting/ViewPresenting.swift:49:61: error: 'automatic' is unavailable in watchOS
47 | isPresented: Binding<Bool>,
48 | animated: Bool = true,
49 | modalPresentationStyle: UIModalPresentationStyle = .automatic,
| `- error: 'automatic' is unavailable in watchOS
50 | sheetConfiguration: SheetConfiguration = .default,
51 | @ViewBuilder content: () -> Content
UIKit.UIModalPresentationStyle.automatic:3:8: note: 'automatic' has been explicitly marked unavailable here
1 | enum UIModalPresentationStyle {
2 | @available(watchOS, unavailable)
3 | case automatic}
| `- note: 'automatic' has been explicitly marked unavailable here
4 |
/Users/admin/builder/spi-builder-workspace/Sources/UIViewControllerPresenting/ViewPresenting.swift:80:33: error: 'UIModalPresentationStyle' is unavailable in watchOS
78 | isPresented: Binding<Bool>,
79 | animated: Bool = true,
80 | modalPresentationStyle: UIModalPresentationStyle = .automatic,
| `- error: 'UIModalPresentationStyle' is unavailable in watchOS
81 | @ViewBuilder content: () -> Content
82 | ) -> some 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/UIViewController.h:49:28: note: 'UIModalPresentationStyle' has been explicitly marked unavailable here
47 | } API_UNAVAILABLE(watchos);
48 |
49 | typedef NS_ENUM(NSInteger, UIModalPresentationStyle) {
| `- note: 'UIModalPresentationStyle' has been explicitly marked unavailable here
50 | UIModalPresentationFullScreen = 0,
51 | UIModalPresentationPageSheet API_AVAILABLE(ios(3.2)) API_UNAVAILABLE(tvos),
/Users/admin/builder/spi-builder-workspace/Sources/UIViewControllerPresenting/ViewPresenting.swift:80:61: error: 'automatic' is unavailable in watchOS
78 | isPresented: Binding<Bool>,
79 | animated: Bool = true,
80 | modalPresentationStyle: UIModalPresentationStyle = .automatic,
| `- error: 'automatic' is unavailable in watchOS
81 | @ViewBuilder content: () -> Content
82 | ) -> some View {
UIKit.UIModalPresentationStyle.automatic:3:8: note: 'automatic' has been explicitly marked unavailable here
1 | enum UIModalPresentationStyle {
2 | @available(watchOS, unavailable)
3 | case automatic}
| `- note: 'automatic' has been explicitly marked unavailable here
4 |
/Users/admin/builder/spi-builder-workspace/Sources/UIViewControllerPresenting/ViewPresenting.swift:101:35: error: cannot find type 'UIHostingController' in scope
99 | sheetConfiguration: SheetConfiguration = .default,
100 | animated: Bool = true
101 | ) -> Self where Controller == UIHostingController<Content> {
| `- error: cannot find type 'UIHostingController' in scope
102 | .init(isPresented: isPresented) { _, _ in
103 | let hostingController = UIHostingController(rootView: content)
/Users/admin/builder/spi-builder-workspace/Sources/UIViewControllerPresenting/ViewPresenting.swift:98:33: error: 'UIModalPresentationStyle' is unavailable in watchOS
96 | _ content: Content,
97 | isPresented: Binding<Bool>,
98 | modalPresentationStyle: UIModalPresentationStyle = .automatic,
| `- error: 'UIModalPresentationStyle' is unavailable in watchOS
99 | sheetConfiguration: SheetConfiguration = .default,
100 | animated: 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/UIViewController.h:49:28: note: 'UIModalPresentationStyle' has been explicitly marked unavailable here
47 | } API_UNAVAILABLE(watchos);
48 |
49 | typedef NS_ENUM(NSInteger, UIModalPresentationStyle) {
| `- note: 'UIModalPresentationStyle' has been explicitly marked unavailable here
50 | UIModalPresentationFullScreen = 0,
51 | UIModalPresentationPageSheet API_AVAILABLE(ios(3.2)) API_UNAVAILABLE(tvos),
/Users/admin/builder/spi-builder-workspace/Sources/UIViewControllerPresenting/ViewPresenting.swift:98:61: error: 'automatic' is unavailable in watchOS
96 | _ content: Content,
97 | isPresented: Binding<Bool>,
98 | modalPresentationStyle: UIModalPresentationStyle = .automatic,
| `- error: 'automatic' is unavailable in watchOS
99 | sheetConfiguration: SheetConfiguration = .default,
100 | animated: Bool = true
UIKit.UIModalPresentationStyle.automatic:3:8: note: 'automatic' has been explicitly marked unavailable here
1 | enum UIModalPresentationStyle {
2 | @available(watchOS, unavailable)
3 | case automatic}
| `- note: 'automatic' has been explicitly marked unavailable here
4 |
/Users/admin/builder/spi-builder-workspace/Sources/UIViewControllerPresenting/ViewPresenting.swift:117:35: error: cannot find type 'UIHostingController' in scope
115 | modalPresentationStyle: UIModalPresentationStyle = .automatic,
116 | animated: Bool = true
117 | ) -> Self where Controller == UIHostingController<Content> {
| `- error: cannot find type 'UIHostingController' in scope
118 | .init(isPresented: isPresented) { _, _ in
119 | let hostingController = UIHostingController(rootView: content)
/Users/admin/builder/spi-builder-workspace/Sources/UIViewControllerPresenting/ViewPresenting.swift:115:33: error: 'UIModalPresentationStyle' is unavailable in watchOS
113 | _ content: Content,
114 | isPresented: Binding<Bool>,
115 | modalPresentationStyle: UIModalPresentationStyle = .automatic,
| `- error: 'UIModalPresentationStyle' is unavailable in watchOS
116 | animated: Bool = true
117 | ) -> Self where Controller == UIHostingController<Content> {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:49:28: note: 'UIModalPresentationStyle' has been explicitly marked unavailable here
47 | } API_UNAVAILABLE(watchos);
48 |
49 | typedef NS_ENUM(NSInteger, UIModalPresentationStyle) {
| `- note: 'UIModalPresentationStyle' has been explicitly marked unavailable here
50 | UIModalPresentationFullScreen = 0,
51 | UIModalPresentationPageSheet API_AVAILABLE(ios(3.2)) API_UNAVAILABLE(tvos),
/Users/admin/builder/spi-builder-workspace/Sources/UIViewControllerPresenting/ViewPresenting.swift:115:61: error: 'automatic' is unavailable in watchOS
113 | _ content: Content,
114 | isPresented: Binding<Bool>,
115 | modalPresentationStyle: UIModalPresentationStyle = .automatic,
| `- error: 'automatic' is unavailable in watchOS
116 | animated: Bool = true
117 | ) -> Self where Controller == UIHostingController<Content> {
UIKit.UIModalPresentationStyle.automatic:3:8: note: 'automatic' has been explicitly marked unavailable here
1 | enum UIModalPresentationStyle {
2 | @available(watchOS, unavailable)
3 | case automatic}
| `- note: 'automatic' has been explicitly marked unavailable here
4 |
/Users/admin/builder/spi-builder-workspace/Sources/UIViewControllerPresenting/ViewPresenting.swift:130:21: error: 'UISheetPresentationController' is unavailable in watchOS
128 | public struct SheetConfiguration {
129 | /// A closure that will be called to configure the sheet presentation controller before presentation.
130 | var configure: (UISheetPresentationController) -> Void
| `- error: 'UISheetPresentationController' is unavailable in watchOS
131 |
132 | public init(configure: @escaping (UISheetPresentationController) -> Void) {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/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/UIViewControllerPresenting/ViewPresenting.swift:132:39: error: 'UISheetPresentationController' is unavailable in watchOS
130 | var configure: (UISheetPresentationController) -> Void
131 |
132 | public init(configure: @escaping (UISheetPresentationController) -> Void) {
| `- error: 'UISheetPresentationController' is unavailable in watchOS
133 | self.configure = configure
134 | }
/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.
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/UIViewControllerPresenting/UIViewControllerPresenting.swift /Users/admin/builder/spi-builder-workspace/Sources/UIViewControllerPresenting/ViewPresenting.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/swiftui-uikit-presenting.build/Debug-watchos/UIViewControllerPresenting-t.build/Objects-normal/arm64_32/UIViewControllerPresenting-dependencies-2.json -enable-objc-interop -sdk /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/Developer/Library/Frameworks -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules -no-color-diagnostics -Xcc -fno-color-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -profile-generate -profile-coverage-mapping -swift-version 5 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -enable-anonymous-context-mangled-names -file-compilation-dir /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos27.0-24R360-e829b21a6f8c9b70876ba0858053c04477534ef55a1706bf4c1112bbb242f0a2.sdkstatcache -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swiftui-uikit-presenting.build/Debug-watchos/UIViewControllerPresenting-t.build/DerivedSources-normal/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swiftui-uikit-presenting.build/Debug-watchos/UIViewControllerPresenting-t.build/DerivedSources/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swiftui-uikit-presenting.build/Debug-watchos/UIViewControllerPresenting-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name UIViewControllerPresenting -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swiftui-uikit-presenting.build/Debug-watchos/UIViewControllerPresenting-t.build/Objects-normal/arm64_32/UIViewControllerPresenting_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/swiftui-uikit-presenting.build/Debug-watchos/UIViewControllerPresenting-t.build/Objects-normal/arm64_32/UIViewControllerPresenting.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swiftui-uikit-presenting.build/Debug-watchos/UIViewControllerPresenting-t.build/Objects-normal/arm64_32/UIViewControllerPresenting.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swiftui-uikit-presenting.build/Debug-watchos/UIViewControllerPresenting-t.build/Objects-normal/arm64_32/UIViewControllerPresenting-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swiftui-uikit-presenting.build/Debug-watchos/UIViewControllerPresenting-t.build/Objects-normal/arm64_32/UIViewControllerPresenting-primary-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swiftui-uikit-presenting.build/Debug-watchos/UIViewControllerPresenting-t.build/Objects-normal/arm64_32/UIViewControllerPresenting-primary-emit-module.d -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swiftui-uikit-presenting.build/Debug-watchos/UIViewControllerPresenting-t.build/Objects-normal/arm64_32/UIViewControllerPresenting.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swiftui-uikit-presenting.build/Debug-watchos/UIViewControllerPresenting-t.build/Objects-normal/arm64_32/UIViewControllerPresenting.abi.json
SwiftCompile normal arm64_32 (in target 'UIViewControllerPresenting' from project 'swiftui-uikit-presenting')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 Compiling\ UIViewControllerPresenting.swift /Users/admin/builder/spi-builder-workspace/Sources/UIViewControllerPresenting/UIViewControllerPresenting.swift (in target 'UIViewControllerPresenting' from project 'swiftui-uikit-presenting')
/Users/admin/builder/spi-builder-workspace/Sources/UIViewControllerPresenting/UIViewControllerPresenting.swift:46:41: error: cannot find type 'Context' in scope
44 | /// - DismissHandler: A callback closure that can be called to indicate the controller was dismissed.
45 | ///
46 | private let _makeUIViewController: (Context, @escaping DismissHandler) -> Controller
| `- error: cannot find type 'Context' in scope
47 |
48 | /// A closure that should return a coordinator for this view, if one is needed.
/Users/admin/builder/spi-builder-workspace/Sources/UIViewControllerPresenting/UIViewControllerPresenting.swift:75:42: error: cannot find type 'Context' in scope
73 | public init(
74 | isPresented: Binding<Bool>,
75 | makeUIViewController: @escaping (Context, @escaping DismissHandler) -> Controller,
| `- error: cannot find type 'Context' in scope
76 | makeCoordinator: @escaping (@escaping DismissHandler) -> Coordinator,
77 | animated: Bool = true
/Users/admin/builder/spi-builder-workspace/Sources/UIViewControllerPresenting/UIViewControllerPresenting.swift:90:47: error: cannot find type 'Context' in scope
88 | }
89 |
90 | public func makeUIViewController(context: Context) -> UIViewController {
| `- error: cannot find type 'Context' in scope
91 | // We just need a plain view controller to hook into the presentation APIs.
92 | let presentingViewController = UIViewController()
/Users/admin/builder/spi-builder-workspace/Sources/UIViewControllerPresenting/UIViewControllerPresenting.swift:90:59: error: 'UIViewController' is unavailable in watchOS
88 | }
89 |
90 | public func makeUIViewController(context: Context) -> UIViewController {
| `- error: 'UIViewController' is unavailable in watchOS
91 | // We just need a plain view controller to hook into the presentation APIs.
92 | let presentingViewController = UIViewController()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/UIViewControllerPresenting/UIViewControllerPresenting.swift:101:95: error: cannot find type 'Context' in scope
99 | }
100 |
101 | public func updateUIViewController(_ presentingViewController: UIViewController, context: Context) {
| `- error: cannot find type 'Context' in scope
102 | switch (isPresented, presentationState.isActuallyPresented) {
103 | case (true, false):
/Users/admin/builder/spi-builder-workspace/Sources/UIViewControllerPresenting/UIViewControllerPresenting.swift:101:68: error: 'UIViewController' is unavailable in watchOS
99 | }
100 |
101 | public func updateUIViewController(_ presentingViewController: UIViewController, context: Context) {
| `- error: 'UIViewController' is unavailable in watchOS
102 | switch (isPresented, presentationState.isActuallyPresented) {
103 | case (true, 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/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/UIViewControllerPresenting/UIViewControllerPresenting.swift:119:98: error: cannot find type 'Context' in scope
117 | }
118 |
119 | private func presentViewController(from presentingViewController: UIViewController, context: Context) {
| `- error: cannot find type 'Context' in scope
120 | let viewController = _makeUIViewController(context, handleDismiss)
121 |
/Users/admin/builder/spi-builder-workspace/Sources/UIViewControllerPresenting/UIViewControllerPresenting.swift:119:71: error: 'UIViewController' is unavailable in watchOS
117 | }
118 |
119 | private func presentViewController(from presentingViewController: UIViewController, context: Context) {
| `- error: 'UIViewController' is unavailable in watchOS
120 | let viewController = _makeUIViewController(context, handleDismiss)
121 |
/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/UIViewControllerPresenting/UIViewControllerPresenting.swift:144:73: error: 'UIPresentationController' is unavailable in watchOS
142 | }
143 |
144 | func presentationControllerDidDismiss(_ presentationController: UIPresentationController) {
| `- error: 'UIPresentationController' is unavailable in watchOS
145 | self.handleDismiss()
146 | }
/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/UIViewControllerPresenting/UIViewControllerPresenting.swift:137:51: error: 'UIAdaptivePresentationControllerDelegate' is unavailable in watchOS
135 | }
136 |
137 | private class PresentationDelegate: NSObject, UIAdaptivePresentationControllerDelegate {
| `- error: 'UIAdaptivePresentationControllerDelegate' is unavailable in watchOS
138 | private let handleDismiss: () -> Void
139 |
/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/UIViewControllerPresenting/UIViewControllerPresenting.swift:144:14: error: cannot override 'presentationControllerDidDismiss' which has been marked unavailable
142 | }
143 |
144 | func presentationControllerDidDismiss(_ presentationController: UIPresentationController) {
| `- error: cannot override 'presentationControllerDidDismiss' which has been marked unavailable
145 | self.handleDismiss()
146 | }
/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:56:1: note: 'presentationControllerDidDismiss' has been explicitly marked unavailable here
54 | // Called on the delegate when the user has taken action to dismiss the presentation successfully, after all animations are finished.
55 | // This is not called if the presentation is dismissed programatically.
56 | - (void)presentationControllerDidDismiss:(UIPresentationController *)presentationController API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos);
| `- note: 'presentationControllerDidDismiss' has been explicitly marked unavailable here
57 |
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.
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/UIViewControllerPresenting/UIViewControllerPresenting.swift (in target 'UIViewControllerPresenting' from project 'swiftui-uikit-presenting')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile UIViewControllerPresenting.swift
/Users/admin/builder/spi-builder-workspace/Sources/UIViewControllerPresenting/UIViewControllerPresenting.swift:28:86: error: cannot find type 'UIViewControllerRepresentable' in scope
26 | /// closures for this purpose.
27 | ///
28 | public struct UIViewControllerPresenting<Controller: UIViewController, Coordinator>: UIViewControllerRepresentable {
| `- error: cannot find type 'UIViewControllerRepresentable' in scope
29 | /// A callback that should be called by the presented view controller if it dismisses itself.
30 | public typealias DismissHandler = () -> Void
/Users/admin/builder/spi-builder-workspace/Sources/UIViewControllerPresenting/UIViewControllerPresenting.swift:28:54: error: 'UIViewController' is unavailable in watchOS
26 | /// closures for this purpose.
27 | ///
28 | public struct UIViewControllerPresenting<Controller: UIViewController, Coordinator>: UIViewControllerRepresentable {
| `- error: 'UIViewController' is unavailable in watchOS
29 | /// A callback that should be called by the presented view controller if it dismisses itself.
30 | public typealias DismissHandler = () -> Void
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/UIViewControllerPresenting/UIViewControllerPresenting.swift:155:42: error: cannot find type 'Context' in scope
153 | public init(
154 | isPresented: Binding<Bool>,
155 | makeUIViewController: @escaping (Context, @escaping DismissHandler) -> Controller,
| `- error: cannot find type 'Context' in scope
156 | animated: Bool = true
157 | ) {
SwiftCompile normal arm64_32 Compiling\ UIViewControllerPresenting.swift /Users/admin/builder/spi-builder-workspace/Sources/UIViewControllerPresenting/UIViewControllerPresenting.swift (in target 'UIViewControllerPresenting' from project 'swiftui-uikit-presenting')
/Users/admin/builder/spi-builder-workspace/Sources/UIViewControllerPresenting/UIViewControllerPresenting.swift:46:41: error: cannot find type 'Context' in scope
44 | /// - DismissHandler: A callback closure that can be called to indicate the controller was dismissed.
45 | ///
46 | private let _makeUIViewController: (Context, @escaping DismissHandler) -> Controller
| `- error: cannot find type 'Context' in scope
47 |
48 | /// A closure that should return a coordinator for this view, if one is needed.
/Users/admin/builder/spi-builder-workspace/Sources/UIViewControllerPresenting/UIViewControllerPresenting.swift:75:42: error: cannot find type 'Context' in scope
73 | public init(
74 | isPresented: Binding<Bool>,
75 | makeUIViewController: @escaping (Context, @escaping DismissHandler) -> Controller,
| `- error: cannot find type 'Context' in scope
76 | makeCoordinator: @escaping (@escaping DismissHandler) -> Coordinator,
77 | animated: Bool = true
/Users/admin/builder/spi-builder-workspace/Sources/UIViewControllerPresenting/UIViewControllerPresenting.swift:90:47: error: cannot find type 'Context' in scope
88 | }
89 |
90 | public func makeUIViewController(context: Context) -> UIViewController {
| `- error: cannot find type 'Context' in scope
91 | // We just need a plain view controller to hook into the presentation APIs.
92 | let presentingViewController = UIViewController()
/Users/admin/builder/spi-builder-workspace/Sources/UIViewControllerPresenting/UIViewControllerPresenting.swift:90:59: error: 'UIViewController' is unavailable in watchOS
88 | }
89 |
90 | public func makeUIViewController(context: Context) -> UIViewController {
| `- error: 'UIViewController' is unavailable in watchOS
91 | // We just need a plain view controller to hook into the presentation APIs.
92 | let presentingViewController = UIViewController()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/UIViewControllerPresenting/UIViewControllerPresenting.swift:101:95: error: cannot find type 'Context' in scope
99 | }
100 |
101 | public func updateUIViewController(_ presentingViewController: UIViewController, context: Context) {
| `- error: cannot find type 'Context' in scope
102 | switch (isPresented, presentationState.isActuallyPresented) {
103 | case (true, false):
/Users/admin/builder/spi-builder-workspace/Sources/UIViewControllerPresenting/UIViewControllerPresenting.swift:101:68: error: 'UIViewController' is unavailable in watchOS
99 | }
100 |
101 | public func updateUIViewController(_ presentingViewController: UIViewController, context: Context) {
| `- error: 'UIViewController' is unavailable in watchOS
102 | switch (isPresented, presentationState.isActuallyPresented) {
103 | case (true, 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/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/UIViewControllerPresenting/UIViewControllerPresenting.swift:119:98: error: cannot find type 'Context' in scope
117 | }
118 |
119 | private func presentViewController(from presentingViewController: UIViewController, context: Context) {
| `- error: cannot find type 'Context' in scope
120 | let viewController = _makeUIViewController(context, handleDismiss)
121 |
/Users/admin/builder/spi-builder-workspace/Sources/UIViewControllerPresenting/UIViewControllerPresenting.swift:119:71: error: 'UIViewController' is unavailable in watchOS
117 | }
118 |
119 | private func presentViewController(from presentingViewController: UIViewController, context: Context) {
| `- error: 'UIViewController' is unavailable in watchOS
120 | let viewController = _makeUIViewController(context, handleDismiss)
121 |
/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/UIViewControllerPresenting/UIViewControllerPresenting.swift:144:73: error: 'UIPresentationController' is unavailable in watchOS
142 | }
143 |
144 | func presentationControllerDidDismiss(_ presentationController: UIPresentationController) {
| `- error: 'UIPresentationController' is unavailable in watchOS
145 | self.handleDismiss()
146 | }
/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/UIViewControllerPresenting/UIViewControllerPresenting.swift:137:51: error: 'UIAdaptivePresentationControllerDelegate' is unavailable in watchOS
135 | }
136 |
137 | private class PresentationDelegate: NSObject, UIAdaptivePresentationControllerDelegate {
| `- error: 'UIAdaptivePresentationControllerDelegate' is unavailable in watchOS
138 | private let handleDismiss: () -> Void
139 |
/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/UIViewControllerPresenting/UIViewControllerPresenting.swift:144:14: error: cannot override 'presentationControllerDidDismiss' which has been marked unavailable
142 | }
143 |
144 | func presentationControllerDidDismiss(_ presentationController: UIPresentationController) {
| `- error: cannot override 'presentationControllerDidDismiss' which has been marked unavailable
145 | self.handleDismiss()
146 | }
/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:56:1: note: 'presentationControllerDidDismiss' has been explicitly marked unavailable here
54 | // Called on the delegate when the user has taken action to dismiss the presentation successfully, after all animations are finished.
55 | // This is not called if the presentation is dismissed programatically.
56 | - (void)presentationControllerDidDismiss:(UIPresentationController *)presentationController API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos);
| `- note: 'presentationControllerDidDismiss' has been explicitly marked unavailable here
57 |
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.
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/UIViewControllerPresenting/UIViewControllerPresenting.swift (in target 'UIViewControllerPresenting' from project 'swiftui-uikit-presenting')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile UIViewControllerPresenting.swift
/Users/admin/builder/spi-builder-workspace/Sources/UIViewControllerPresenting/UIViewControllerPresenting.swift:28:86: error: cannot find type 'UIViewControllerRepresentable' in scope
26 | /// closures for this purpose.
27 | ///
28 | public struct UIViewControllerPresenting<Controller: UIViewController, Coordinator>: UIViewControllerRepresentable {
| `- error: cannot find type 'UIViewControllerRepresentable' in scope
29 | /// A callback that should be called by the presented view controller if it dismisses itself.
30 | public typealias DismissHandler = () -> Void
/Users/admin/builder/spi-builder-workspace/Sources/UIViewControllerPresenting/UIViewControllerPresenting.swift:28:54: error: 'UIViewController' is unavailable in watchOS
26 | /// closures for this purpose.
27 | ///
28 | public struct UIViewControllerPresenting<Controller: UIViewController, Coordinator>: UIViewControllerRepresentable {
| `- error: 'UIViewController' is unavailable in watchOS
29 | /// A callback that should be called by the presented view controller if it dismisses itself.
30 | public typealias DismissHandler = () -> Void
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/UIViewControllerPresenting/UIViewControllerPresenting.swift:155:42: error: cannot find type 'Context' in scope
153 | public init(
154 | isPresented: Binding<Bool>,
155 | makeUIViewController: @escaping (Context, @escaping DismissHandler) -> Controller,
| `- error: cannot find type 'Context' in scope
156 | animated: Bool = true
157 | ) {
SwiftCompile normal arm64_32 Compiling\ ViewPresenting.swift /Users/admin/builder/spi-builder-workspace/Sources/UIViewControllerPresenting/ViewPresenting.swift (in target 'UIViewControllerPresenting' from project 'swiftui-uikit-presenting')
/Users/admin/builder/spi-builder-workspace/Sources/UIViewControllerPresenting/ViewPresenting.swift:49:33: error: 'UIModalPresentationStyle' is unavailable in watchOS
47 | isPresented: Binding<Bool>,
48 | animated: Bool = true,
49 | modalPresentationStyle: UIModalPresentationStyle = .automatic,
| `- error: 'UIModalPresentationStyle' is unavailable in watchOS
50 | sheetConfiguration: SheetConfiguration = .default,
51 | @ViewBuilder content: () -> Content
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:49:28: note: 'UIModalPresentationStyle' has been explicitly marked unavailable here
47 | } API_UNAVAILABLE(watchos);
48 |
49 | typedef NS_ENUM(NSInteger, UIModalPresentationStyle) {
| `- note: 'UIModalPresentationStyle' has been explicitly marked unavailable here
50 | UIModalPresentationFullScreen = 0,
51 | UIModalPresentationPageSheet API_AVAILABLE(ios(3.2)) API_UNAVAILABLE(tvos),
/Users/admin/builder/spi-builder-workspace/Sources/UIViewControllerPresenting/ViewPresenting.swift:49:61: error: 'automatic' is unavailable in watchOS
47 | isPresented: Binding<Bool>,
48 | animated: Bool = true,
49 | modalPresentationStyle: UIModalPresentationStyle = .automatic,
| `- error: 'automatic' is unavailable in watchOS
50 | sheetConfiguration: SheetConfiguration = .default,
51 | @ViewBuilder content: () -> Content
UIKit.UIModalPresentationStyle.automatic:3:8: note: 'automatic' has been explicitly marked unavailable here
1 | enum UIModalPresentationStyle {
2 | @available(watchOS, unavailable)
3 | case automatic}
| `- note: 'automatic' has been explicitly marked unavailable here
4 |
/Users/admin/builder/spi-builder-workspace/Sources/UIViewControllerPresenting/ViewPresenting.swift:80:33: error: 'UIModalPresentationStyle' is unavailable in watchOS
78 | isPresented: Binding<Bool>,
79 | animated: Bool = true,
80 | modalPresentationStyle: UIModalPresentationStyle = .automatic,
| `- error: 'UIModalPresentationStyle' is unavailable in watchOS
81 | @ViewBuilder content: () -> Content
82 | ) -> some 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/UIViewController.h:49:28: note: 'UIModalPresentationStyle' has been explicitly marked unavailable here
47 | } API_UNAVAILABLE(watchos);
48 |
49 | typedef NS_ENUM(NSInteger, UIModalPresentationStyle) {
| `- note: 'UIModalPresentationStyle' has been explicitly marked unavailable here
50 | UIModalPresentationFullScreen = 0,
51 | UIModalPresentationPageSheet API_AVAILABLE(ios(3.2)) API_UNAVAILABLE(tvos),
/Users/admin/builder/spi-builder-workspace/Sources/UIViewControllerPresenting/ViewPresenting.swift:80:61: error: 'automatic' is unavailable in watchOS
78 | isPresented: Binding<Bool>,
79 | animated: Bool = true,
80 | modalPresentationStyle: UIModalPresentationStyle = .automatic,
| `- error: 'automatic' is unavailable in watchOS
81 | @ViewBuilder content: () -> Content
82 | ) -> some View {
UIKit.UIModalPresentationStyle.automatic:3:8: note: 'automatic' has been explicitly marked unavailable here
1 | enum UIModalPresentationStyle {
2 | @available(watchOS, unavailable)
3 | case automatic}
| `- note: 'automatic' has been explicitly marked unavailable here
4 |
/Users/admin/builder/spi-builder-workspace/Sources/UIViewControllerPresenting/UIViewControllerPresenting.swift:28:86: error: cannot find type 'UIViewControllerRepresentable' in scope
26 | /// closures for this purpose.
27 | ///
28 | public struct UIViewControllerPresenting<Controller: UIViewController, Coordinator>: UIViewControllerRepresentable {
| `- error: cannot find type 'UIViewControllerRepresentable' in scope
29 | /// A callback that should be called by the presented view controller if it dismisses itself.
30 | public typealias DismissHandler = () -> Void
/Users/admin/builder/spi-builder-workspace/Sources/UIViewControllerPresenting/ViewPresenting.swift:101:35: error: cannot find type 'UIHostingController' in scope
99 | sheetConfiguration: SheetConfiguration = .default,
100 | animated: Bool = true
101 | ) -> Self where Controller == UIHostingController<Content> {
| `- error: cannot find type 'UIHostingController' in scope
102 | .init(isPresented: isPresented) { _, _ in
103 | let hostingController = UIHostingController(rootView: content)
/Users/admin/builder/spi-builder-workspace/Sources/UIViewControllerPresenting/ViewPresenting.swift:98:33: error: 'UIModalPresentationStyle' is unavailable in watchOS
96 | _ content: Content,
97 | isPresented: Binding<Bool>,
98 | modalPresentationStyle: UIModalPresentationStyle = .automatic,
| `- error: 'UIModalPresentationStyle' is unavailable in watchOS
99 | sheetConfiguration: SheetConfiguration = .default,
100 | animated: 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/UIViewController.h:49:28: note: 'UIModalPresentationStyle' has been explicitly marked unavailable here
47 | } API_UNAVAILABLE(watchos);
48 |
49 | typedef NS_ENUM(NSInteger, UIModalPresentationStyle) {
| `- note: 'UIModalPresentationStyle' has been explicitly marked unavailable here
50 | UIModalPresentationFullScreen = 0,
51 | UIModalPresentationPageSheet API_AVAILABLE(ios(3.2)) API_UNAVAILABLE(tvos),
/Users/admin/builder/spi-builder-workspace/Sources/UIViewControllerPresenting/ViewPresenting.swift:98:61: error: 'automatic' is unavailable in watchOS
96 | _ content: Content,
97 | isPresented: Binding<Bool>,
98 | modalPresentationStyle: UIModalPresentationStyle = .automatic,
| `- error: 'automatic' is unavailable in watchOS
99 | sheetConfiguration: SheetConfiguration = .default,
100 | animated: Bool = true
UIKit.UIModalPresentationStyle.automatic:3:8: note: 'automatic' has been explicitly marked unavailable here
1 | enum UIModalPresentationStyle {
2 | @available(watchOS, unavailable)
3 | case automatic}
| `- note: 'automatic' has been explicitly marked unavailable here
4 |
/Users/admin/builder/spi-builder-workspace/Sources/UIViewControllerPresenting/ViewPresenting.swift:117:35: error: cannot find type 'UIHostingController' in scope
115 | modalPresentationStyle: UIModalPresentationStyle = .automatic,
116 | animated: Bool = true
117 | ) -> Self where Controller == UIHostingController<Content> {
| `- error: cannot find type 'UIHostingController' in scope
118 | .init(isPresented: isPresented) { _, _ in
119 | let hostingController = UIHostingController(rootView: content)
/Users/admin/builder/spi-builder-workspace/Sources/UIViewControllerPresenting/ViewPresenting.swift:115:33: error: 'UIModalPresentationStyle' is unavailable in watchOS
113 | _ content: Content,
114 | isPresented: Binding<Bool>,
115 | modalPresentationStyle: UIModalPresentationStyle = .automatic,
| `- error: 'UIModalPresentationStyle' is unavailable in watchOS
116 | animated: Bool = true
117 | ) -> Self where Controller == UIHostingController<Content> {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:49:28: note: 'UIModalPresentationStyle' has been explicitly marked unavailable here
47 | } API_UNAVAILABLE(watchos);
48 |
49 | typedef NS_ENUM(NSInteger, UIModalPresentationStyle) {
| `- note: 'UIModalPresentationStyle' has been explicitly marked unavailable here
50 | UIModalPresentationFullScreen = 0,
51 | UIModalPresentationPageSheet API_AVAILABLE(ios(3.2)) API_UNAVAILABLE(tvos),
/Users/admin/builder/spi-builder-workspace/Sources/UIViewControllerPresenting/ViewPresenting.swift:115:61: error: 'automatic' is unavailable in watchOS
113 | _ content: Content,
114 | isPresented: Binding<Bool>,
115 | modalPresentationStyle: UIModalPresentationStyle = .automatic,
| `- error: 'automatic' is unavailable in watchOS
116 | animated: Bool = true
117 | ) -> Self where Controller == UIHostingController<Content> {
UIKit.UIModalPresentationStyle.automatic:3:8: note: 'automatic' has been explicitly marked unavailable here
1 | enum UIModalPresentationStyle {
2 | @available(watchOS, unavailable)
3 | case automatic}
| `- note: 'automatic' has been explicitly marked unavailable here
4 |
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/UIViewControllerPresenting/ViewPresenting.swift (in target 'UIViewControllerPresenting' from project 'swiftui-uikit-presenting')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile ViewPresenting.swift
/Users/admin/builder/spi-builder-workspace/Sources/UIViewControllerPresenting/ViewPresenting.swift:130:21: error: 'UISheetPresentationController' is unavailable in watchOS
128 | public struct SheetConfiguration {
129 | /// A closure that will be called to configure the sheet presentation controller before presentation.
130 | var configure: (UISheetPresentationController) -> Void
| `- error: 'UISheetPresentationController' is unavailable in watchOS
131 |
132 | public init(configure: @escaping (UISheetPresentationController) -> Void) {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/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/UIViewControllerPresenting/ViewPresenting.swift:132:39: error: 'UISheetPresentationController' is unavailable in watchOS
130 | var configure: (UISheetPresentationController) -> Void
131 |
132 | public init(configure: @escaping (UISheetPresentationController) -> Void) {
| `- error: 'UISheetPresentationController' is unavailable in watchOS
133 | self.configure = configure
134 | }
/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/UIViewControllerPresenting/ViewPresenting.swift:53:9: error: failed to produce diagnostic for expression; please submit a bug report (https://swift.org/contributing/#reporting-bugs)
51 | @ViewBuilder content: () -> Content
52 | ) -> some View {
53 | background(
| `- error: failed to produce diagnostic for expression; please submit a bug report (https://swift.org/contributing/#reporting-bugs)
54 | UIViewControllerPresenting.content(
55 | content(),
/Users/admin/builder/spi-builder-workspace/Sources/UIViewControllerPresenting/ViewPresenting.swift:83:9: error: failed to produce diagnostic for expression; please submit a bug report (https://swift.org/contributing/#reporting-bugs)
81 | @ViewBuilder content: () -> Content
82 | ) -> some View {
83 | background(
| `- error: failed to produce diagnostic for expression; please submit a bug report (https://swift.org/contributing/#reporting-bugs)
84 | UIViewControllerPresenting.content(
85 | content(),
/Users/admin/builder/spi-builder-workspace/Sources/UIViewControllerPresenting/ViewPresenting.swift:103:37: error: cannot find 'UIHostingController' in scope
101 | ) -> Self where Controller == UIHostingController<Content> {
102 | .init(isPresented: isPresented) { _, _ in
103 | let hostingController = UIHostingController(rootView: content)
| `- error: cannot find 'UIHostingController' in scope
104 | hostingController.modalPresentationStyle = modalPresentationStyle
105 | if let sheet = hostingController.sheetPresentationController {
/Users/admin/builder/spi-builder-workspace/Sources/UIViewControllerPresenting/UIViewControllerPresenting.swift:75:42: error: cannot find type 'Context' in scope
73 | public init(
74 | isPresented: Binding<Bool>,
75 | makeUIViewController: @escaping (Context, @escaping DismissHandler) -> Controller,
| `- error: cannot find type 'Context' in scope
76 | makeCoordinator: @escaping (@escaping DismissHandler) -> Coordinator,
77 | animated: Bool = true
/Users/admin/builder/spi-builder-workspace/Sources/UIViewControllerPresenting/UIViewControllerPresenting.swift:155:42: error: cannot find type 'Context' in scope
153 | public init(
154 | isPresented: Binding<Bool>,
155 | makeUIViewController: @escaping (Context, @escaping DismissHandler) -> Controller,
| `- error: cannot find type 'Context' in scope
156 | animated: Bool = true
157 | ) {
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules
2026-09-18 14:30:08.256 xcodebuild[799:4854] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
2026-09-18 14:30:08.396 xcodebuild[799:4854] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
** BUILD FAILED **
The following build commands failed:
SwiftCompile normal arm64 (in target 'UIViewControllerPresenting' from project 'swiftui-uikit-presenting')
SwiftEmitModule normal arm64 Emitting\ module\ for\ UIViewControllerPresenting (in target 'UIViewControllerPresenting' from project 'swiftui-uikit-presenting')
SwiftEmitModule normal arm64_32 Emitting\ module\ for\ UIViewControllerPresenting (in target 'UIViewControllerPresenting' from project 'swiftui-uikit-presenting')
SwiftCompile normal arm64_32 (in target 'UIViewControllerPresenting' from project 'swiftui-uikit-presenting')
Building workspace swiftui-uikit-presenting with scheme swiftui-uikit-presenting-Package
(5 failures)
BUILD FAILURE 6.4 watchOS