The Swift Package Index logo.Swift Package Index

Build Information

Failed to build swiftui-uikit-presenting, reference main (152b07), with Swift 6.4 for watchOS using Xcode 27.0 on 18 Sep 2026 18:30:04 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=watchOS

Build Log

 45 |     ///    - DismissHandler: A callback closure that can be called to indicate the controller was dismissed.
 46 |     ///
 47 |     private let _makeUIViewController: (Context, @escaping DismissHandler) -> Controller
    |                                         `- error: cannot find type 'Context' in scope
 48 |
 49 |     /// A closure that should return a coordinator for this view, if one is needed.
/Users/admin/builder/spi-builder-workspace/Sources/UIViewControllerPresenting/UIViewControllerPresenting.swift:76:42: error: cannot find type 'Context' in scope
 74 |     public init(
 75 |         isPresented: Binding<Bool>,
 76 |         makeUIViewController: @escaping (Context, @escaping DismissHandler) -> Controller,
    |                                          `- error: cannot find type 'Context' in scope
 77 |         makeCoordinator: @escaping (@escaping DismissHandler) -> Coordinator,
 78 |         animated: Bool = true
/Users/admin/builder/spi-builder-workspace/Sources/UIViewControllerPresenting/UIViewControllerPresenting.swift:91:47: error: cannot find type 'Context' in scope
 89 |     }
 90 |
 91 |     public func makeUIViewController(context: Context) -> UIViewController {
    |                                               `- error: cannot find type 'Context' in scope
 92 |         // We just need a plain view controller to hook into the presentation APIs.
 93 |         let presentingViewController = UIViewController()
/Users/admin/builder/spi-builder-workspace/Sources/UIViewControllerPresenting/UIViewControllerPresenting.swift:91:59: error: 'UIViewController' is unavailable in watchOS
 89 |     }
 90 |
 91 |     public func makeUIViewController(context: Context) -> UIViewController {
    |                                                           `- error: 'UIViewController' is unavailable in watchOS
 92 |         // We just need a plain view controller to hook into the presentation APIs.
 93 |         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:102:95: error: cannot find type 'Context' in scope
100 |     }
101 |
102 |     public func updateUIViewController(_ presentingViewController: UIViewController, context: Context) {
    |                                                                                               `- error: cannot find type 'Context' in scope
103 |         switch (isPresented, presentationState.isActuallyPresented) {
104 |         case (true, false):
/Users/admin/builder/spi-builder-workspace/Sources/UIViewControllerPresenting/UIViewControllerPresenting.swift:102:68: error: 'UIViewController' is unavailable in watchOS
100 |     }
101 |
102 |     public func updateUIViewController(_ presentingViewController: UIViewController, context: Context) {
    |                                                                    `- error: 'UIViewController' is unavailable in watchOS
103 |         switch (isPresented, presentationState.isActuallyPresented) {
104 |         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:120:98: error: cannot find type 'Context' in scope
118 |     }
119 |
120 |     private func presentViewController(from presentingViewController: UIViewController, context: Context) {
    |                                                                                                  `- error: cannot find type 'Context' in scope
121 |         let viewController = _makeUIViewController(context, handleDismiss)
122 |
/Users/admin/builder/spi-builder-workspace/Sources/UIViewControllerPresenting/UIViewControllerPresenting.swift:120:71: error: 'UIViewController' is unavailable in watchOS
118 |     }
119 |
120 |     private func presentViewController(from presentingViewController: UIViewController, context: Context) {
    |                                                                       `- error: 'UIViewController' is unavailable in watchOS
121 |         let viewController = _makeUIViewController(context, handleDismiss)
122 |
/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:145:73: error: 'UIPresentationController' is unavailable in watchOS
143 |         }
144 |
145 |         func presentationControllerDidDismiss(_ presentationController: UIPresentationController) {
    |                                                                         `- error: 'UIPresentationController' is unavailable in watchOS
146 |             self.handleDismiss()
147 |         }
/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:138:51: error: 'UIAdaptivePresentationControllerDelegate' is unavailable in watchOS
136 |     }
137 |
138 |     private class PresentationDelegate: NSObject, UIAdaptivePresentationControllerDelegate {
    |                                                   `- error: 'UIAdaptivePresentationControllerDelegate' is unavailable in watchOS
139 |         private let handleDismiss: () -> Void
140 |
/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:145:14: error: cannot override 'presentationControllerDidDismiss' which has been marked unavailable
143 |         }
144 |
145 |         func presentationControllerDidDismiss(_ presentationController: UIPresentationController) {
    |              `- error: cannot override 'presentationControllerDidDismiss' which has been marked unavailable
146 |             self.handleDismiss()
147 |         }
/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:29:86: error: cannot find type 'UIViewControllerRepresentable' in scope
 27 | /// closures for this purpose.
 28 | ///
 29 | public struct UIViewControllerPresenting<Controller: UIViewController, Coordinator>: UIViewControllerRepresentable {
    |                                                                                      `- error: cannot find type 'UIViewControllerRepresentable' in scope
 30 |     /// A callback that should be called by the presented view controller if it dismisses itself.
 31 |     public typealias DismissHandler = () -> Void
/Users/admin/builder/spi-builder-workspace/Sources/UIViewControllerPresenting/UIViewControllerPresenting.swift:29:54: error: 'UIViewController' is unavailable in watchOS
 27 | /// closures for this purpose.
 28 | ///
 29 | public struct UIViewControllerPresenting<Controller: UIViewController, Coordinator>: UIViewControllerRepresentable {
    |                                                      `- error: 'UIViewController' is unavailable in watchOS
 30 |     /// A callback that should be called by the presented view controller if it dismisses itself.
 31 |     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:156:42: error: cannot find type 'Context' in scope
154 |     public init(
155 |         isPresented: Binding<Bool>,
156 |         makeUIViewController: @escaping (Context, @escaping DismissHandler) -> Controller,
    |                                          `- error: cannot find type 'Context' in scope
157 |         animated: Bool = true
158 |     ) {
/Users/admin/builder/spi-builder-workspace/Sources/UIViewControllerPresenting/ViewPresenting.swift:50:33: error: 'UIModalPresentationStyle' is unavailable in watchOS
 48 |         isPresented: Binding<Bool>,
 49 |         animated: Bool = true,
 50 |         modalPresentationStyle: UIModalPresentationStyle = .automatic,
    |                                 `- error: 'UIModalPresentationStyle' is unavailable in watchOS
 51 |         sheetConfiguration: SheetConfiguration = .default,
 52 |         @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:50:61: error: 'automatic' is unavailable in watchOS
 48 |         isPresented: Binding<Bool>,
 49 |         animated: Bool = true,
 50 |         modalPresentationStyle: UIModalPresentationStyle = .automatic,
    |                                                             `- error: 'automatic' is unavailable in watchOS
 51 |         sheetConfiguration: SheetConfiguration = .default,
 52 |         @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:81:33: error: 'UIModalPresentationStyle' is unavailable in watchOS
 79 |         isPresented: Binding<Bool>,
 80 |         animated: Bool = true,
 81 |         modalPresentationStyle: UIModalPresentationStyle = .automatic,
    |                                 `- error: 'UIModalPresentationStyle' is unavailable in watchOS
 82 |         @ViewBuilder content: () -> Content
 83 |     ) -> 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:81:61: error: 'automatic' is unavailable in watchOS
 79 |         isPresented: Binding<Bool>,
 80 |         animated: Bool = true,
 81 |         modalPresentationStyle: UIModalPresentationStyle = .automatic,
    |                                                             `- error: 'automatic' is unavailable in watchOS
 82 |         @ViewBuilder content: () -> Content
 83 |     ) -> 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:102:35: error: cannot find type 'UIHostingController' in scope
100 |         sheetConfiguration: SheetConfiguration = .default,
101 |         animated: Bool = true
102 |     ) -> Self where Controller == UIHostingController<Content> {
    |                                   `- error: cannot find type 'UIHostingController' in scope
103 |         .init(isPresented: isPresented) { _, _ in
104 |             let hostingController = UIHostingController(rootView: content)
/Users/admin/builder/spi-builder-workspace/Sources/UIViewControllerPresenting/ViewPresenting.swift:99:33: error: 'UIModalPresentationStyle' is unavailable in watchOS
 97 |         _ content: Content,
 98 |         isPresented: Binding<Bool>,
 99 |         modalPresentationStyle: UIModalPresentationStyle = .automatic,
    |                                 `- error: 'UIModalPresentationStyle' is unavailable in watchOS
100 |         sheetConfiguration: SheetConfiguration = .default,
101 |         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:99:61: error: 'automatic' is unavailable in watchOS
 97 |         _ content: Content,
 98 |         isPresented: Binding<Bool>,
 99 |         modalPresentationStyle: UIModalPresentationStyle = .automatic,
    |                                                             `- error: 'automatic' is unavailable in watchOS
100 |         sheetConfiguration: SheetConfiguration = .default,
101 |         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:118:35: error: cannot find type 'UIHostingController' in scope
116 |         modalPresentationStyle: UIModalPresentationStyle = .automatic,
117 |         animated: Bool = true
118 |     ) -> Self where Controller == UIHostingController<Content> {
    |                                   `- error: cannot find type 'UIHostingController' in scope
119 |         .init(isPresented: isPresented) { _, _ in
120 |             let hostingController = UIHostingController(rootView: content)
/Users/admin/builder/spi-builder-workspace/Sources/UIViewControllerPresenting/ViewPresenting.swift:116:33: error: 'UIModalPresentationStyle' is unavailable in watchOS
114 |         _ content: Content,
115 |         isPresented: Binding<Bool>,
116 |         modalPresentationStyle: UIModalPresentationStyle = .automatic,
    |                                 `- error: 'UIModalPresentationStyle' is unavailable in watchOS
117 |         animated: Bool = true
118 |     ) -> 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:116:61: error: 'automatic' is unavailable in watchOS
114 |         _ content: Content,
115 |         isPresented: Binding<Bool>,
116 |         modalPresentationStyle: UIModalPresentationStyle = .automatic,
    |                                                             `- error: 'automatic' is unavailable in watchOS
117 |         animated: Bool = true
118 |     ) -> 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:131:21: error: 'UISheetPresentationController' is unavailable in watchOS
129 | public struct SheetConfiguration {
130 |     /// A closure that will be called to configure the sheet presentation controller before presentation.
131 |     var configure: (UISheetPresentationController) -> Void
    |                     `- error: 'UISheetPresentationController' is unavailable in watchOS
132 |
133 |     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:133:39: error: 'UISheetPresentationController' is unavailable in watchOS
131 |     var configure: (UISheetPresentationController) -> Void
132 |
133 |     public init(configure: @escaping (UISheetPresentationController) -> Void) {
    |                                       `- error: 'UISheetPresentationController' is unavailable in watchOS
134 |         self.configure = configure
135 |     }
/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_32 (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_32-apple-watchos9.0 -module-can-import-version UIKit 9127.0.84.1 9127.0.84 -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-1.json -enable-objc-interop -sdk /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/Developer/Library/Frameworks -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules -no-color-diagnostics -Xcc -fno-color-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -profile-generate -profile-coverage-mapping -swift-version 5 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -enable-anonymous-context-mangled-names -file-compilation-dir /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos27.0-24R360-e829b21a6f8c9b70876ba0858053c04477534ef55a1706bf4c1112bbb242f0a2.sdkstatcache -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/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 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:50:33: error: 'UIModalPresentationStyle' is unavailable in watchOS
 48 |         isPresented: Binding<Bool>,
 49 |         animated: Bool = true,
 50 |         modalPresentationStyle: UIModalPresentationStyle = .automatic,
    |                                 `- error: 'UIModalPresentationStyle' is unavailable in watchOS
 51 |         sheetConfiguration: SheetConfiguration = .default,
 52 |         @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:50:61: error: 'automatic' is unavailable in watchOS
 48 |         isPresented: Binding<Bool>,
 49 |         animated: Bool = true,
 50 |         modalPresentationStyle: UIModalPresentationStyle = .automatic,
    |                                                             `- error: 'automatic' is unavailable in watchOS
 51 |         sheetConfiguration: SheetConfiguration = .default,
 52 |         @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:81:33: error: 'UIModalPresentationStyle' is unavailable in watchOS
 79 |         isPresented: Binding<Bool>,
 80 |         animated: Bool = true,
 81 |         modalPresentationStyle: UIModalPresentationStyle = .automatic,
    |                                 `- error: 'UIModalPresentationStyle' is unavailable in watchOS
 82 |         @ViewBuilder content: () -> Content
 83 |     ) -> 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:81:61: error: 'automatic' is unavailable in watchOS
 79 |         isPresented: Binding<Bool>,
 80 |         animated: Bool = true,
 81 |         modalPresentationStyle: UIModalPresentationStyle = .automatic,
    |                                                             `- error: 'automatic' is unavailable in watchOS
 82 |         @ViewBuilder content: () -> Content
 83 |     ) -> 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:29:86: error: cannot find type 'UIViewControllerRepresentable' in scope
 27 | /// closures for this purpose.
 28 | ///
 29 | public struct UIViewControllerPresenting<Controller: UIViewController, Coordinator>: UIViewControllerRepresentable {
    |                                                                                      `- error: cannot find type 'UIViewControllerRepresentable' in scope
 30 |     /// A callback that should be called by the presented view controller if it dismisses itself.
 31 |     public typealias DismissHandler = () -> Void
/Users/admin/builder/spi-builder-workspace/Sources/UIViewControllerPresenting/ViewPresenting.swift:102:35: error: cannot find type 'UIHostingController' in scope
100 |         sheetConfiguration: SheetConfiguration = .default,
101 |         animated: Bool = true
102 |     ) -> Self where Controller == UIHostingController<Content> {
    |                                   `- error: cannot find type 'UIHostingController' in scope
103 |         .init(isPresented: isPresented) { _, _ in
104 |             let hostingController = UIHostingController(rootView: content)
/Users/admin/builder/spi-builder-workspace/Sources/UIViewControllerPresenting/ViewPresenting.swift:99:33: error: 'UIModalPresentationStyle' is unavailable in watchOS
 97 |         _ content: Content,
 98 |         isPresented: Binding<Bool>,
 99 |         modalPresentationStyle: UIModalPresentationStyle = .automatic,
    |                                 `- error: 'UIModalPresentationStyle' is unavailable in watchOS
100 |         sheetConfiguration: SheetConfiguration = .default,
101 |         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:99:61: error: 'automatic' is unavailable in watchOS
 97 |         _ content: Content,
 98 |         isPresented: Binding<Bool>,
 99 |         modalPresentationStyle: UIModalPresentationStyle = .automatic,
    |                                                             `- error: 'automatic' is unavailable in watchOS
100 |         sheetConfiguration: SheetConfiguration = .default,
101 |         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:118:35: error: cannot find type 'UIHostingController' in scope
116 |         modalPresentationStyle: UIModalPresentationStyle = .automatic,
117 |         animated: Bool = true
118 |     ) -> Self where Controller == UIHostingController<Content> {
    |                                   `- error: cannot find type 'UIHostingController' in scope
119 |         .init(isPresented: isPresented) { _, _ in
120 |             let hostingController = UIHostingController(rootView: content)
/Users/admin/builder/spi-builder-workspace/Sources/UIViewControllerPresenting/ViewPresenting.swift:116:33: error: 'UIModalPresentationStyle' is unavailable in watchOS
114 |         _ content: Content,
115 |         isPresented: Binding<Bool>,
116 |         modalPresentationStyle: UIModalPresentationStyle = .automatic,
    |                                 `- error: 'UIModalPresentationStyle' is unavailable in watchOS
117 |         animated: Bool = true
118 |     ) -> 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:116:61: error: 'automatic' is unavailable in watchOS
114 |         _ content: Content,
115 |         isPresented: Binding<Bool>,
116 |         modalPresentationStyle: UIModalPresentationStyle = .automatic,
    |                                                             `- error: 'automatic' is unavailable in watchOS
117 |         animated: Bool = true
118 |     ) -> 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:131:21: error: 'UISheetPresentationController' is unavailable in watchOS
129 | public struct SheetConfiguration {
130 |     /// A closure that will be called to configure the sheet presentation controller before presentation.
131 |     var configure: (UISheetPresentationController) -> Void
    |                     `- error: 'UISheetPresentationController' is unavailable in watchOS
132 |
133 |     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:133:39: error: 'UISheetPresentationController' is unavailable in watchOS
131 |     var configure: (UISheetPresentationController) -> Void
132 |
133 |     public init(configure: @escaping (UISheetPresentationController) -> Void) {
    |                                       `- error: 'UISheetPresentationController' is unavailable in watchOS
134 |         self.configure = configure
135 |     }
/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:54:9: error: failed to produce diagnostic for expression; please submit a bug report (https://swift.org/contributing/#reporting-bugs)
 52 |         @ViewBuilder content: () -> Content
 53 |     ) -> some View {
 54 |         background(
    |         `- error: failed to produce diagnostic for expression; please submit a bug report (https://swift.org/contributing/#reporting-bugs)
 55 |             UIViewControllerPresenting.content(
 56 |                 content(),
/Users/admin/builder/spi-builder-workspace/Sources/UIViewControllerPresenting/ViewPresenting.swift:84:9: error: failed to produce diagnostic for expression; please submit a bug report (https://swift.org/contributing/#reporting-bugs)
 82 |         @ViewBuilder content: () -> Content
 83 |     ) -> some View {
 84 |         background(
    |         `- error: failed to produce diagnostic for expression; please submit a bug report (https://swift.org/contributing/#reporting-bugs)
 85 |             UIViewControllerPresenting.content(
 86 |                 content(),
/Users/admin/builder/spi-builder-workspace/Sources/UIViewControllerPresenting/ViewPresenting.swift:104:37: error: cannot find 'UIHostingController' in scope
102 |     ) -> Self where Controller == UIHostingController<Content> {
103 |         .init(isPresented: isPresented) { _, _ in
104 |             let hostingController = UIHostingController(rootView: content)
    |                                     `- error: cannot find 'UIHostingController' in scope
105 |             hostingController.modalPresentationStyle = modalPresentationStyle
106 |             if let sheet = hostingController.sheetPresentationController {
/Users/admin/builder/spi-builder-workspace/Sources/UIViewControllerPresenting/UIViewControllerPresenting.swift:76:42: error: cannot find type 'Context' in scope
 74 |     public init(
 75 |         isPresented: Binding<Bool>,
 76 |         makeUIViewController: @escaping (Context, @escaping DismissHandler) -> Controller,
    |                                          `- error: cannot find type 'Context' in scope
 77 |         makeCoordinator: @escaping (@escaping DismissHandler) -> Coordinator,
 78 |         animated: Bool = true
/Users/admin/builder/spi-builder-workspace/Sources/UIViewControllerPresenting/UIViewControllerPresenting.swift:156:42: error: cannot find type 'Context' in scope
154 |     public init(
155 |         isPresented: Binding<Bool>,
156 |         makeUIViewController: @escaping (Context, @escaping DismissHandler) -> Controller,
    |                                          `- error: cannot find type 'Context' in scope
157 |         animated: Bool = true
158 |     ) {
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:47:41: error: cannot find type 'Context' in scope
 45 |     ///    - DismissHandler: A callback closure that can be called to indicate the controller was dismissed.
 46 |     ///
 47 |     private let _makeUIViewController: (Context, @escaping DismissHandler) -> Controller
    |                                         `- error: cannot find type 'Context' in scope
 48 |
 49 |     /// A closure that should return a coordinator for this view, if one is needed.
/Users/admin/builder/spi-builder-workspace/Sources/UIViewControllerPresenting/UIViewControllerPresenting.swift:76:42: error: cannot find type 'Context' in scope
 74 |     public init(
 75 |         isPresented: Binding<Bool>,
 76 |         makeUIViewController: @escaping (Context, @escaping DismissHandler) -> Controller,
    |                                          `- error: cannot find type 'Context' in scope
 77 |         makeCoordinator: @escaping (@escaping DismissHandler) -> Coordinator,
 78 |         animated: Bool = true
/Users/admin/builder/spi-builder-workspace/Sources/UIViewControllerPresenting/UIViewControllerPresenting.swift:91:47: error: cannot find type 'Context' in scope
 89 |     }
 90 |
 91 |     public func makeUIViewController(context: Context) -> UIViewController {
    |                                               `- error: cannot find type 'Context' in scope
 92 |         // We just need a plain view controller to hook into the presentation APIs.
 93 |         let presentingViewController = UIViewController()
/Users/admin/builder/spi-builder-workspace/Sources/UIViewControllerPresenting/UIViewControllerPresenting.swift:91:59: error: 'UIViewController' is unavailable in watchOS
 89 |     }
 90 |
 91 |     public func makeUIViewController(context: Context) -> UIViewController {
    |                                                           `- error: 'UIViewController' is unavailable in watchOS
 92 |         // We just need a plain view controller to hook into the presentation APIs.
 93 |         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:102:95: error: cannot find type 'Context' in scope
100 |     }
101 |
102 |     public func updateUIViewController(_ presentingViewController: UIViewController, context: Context) {
    |                                                                                               `- error: cannot find type 'Context' in scope
103 |         switch (isPresented, presentationState.isActuallyPresented) {
104 |         case (true, false):
/Users/admin/builder/spi-builder-workspace/Sources/UIViewControllerPresenting/UIViewControllerPresenting.swift:102:68: error: 'UIViewController' is unavailable in watchOS
100 |     }
101 |
102 |     public func updateUIViewController(_ presentingViewController: UIViewController, context: Context) {
    |                                                                    `- error: 'UIViewController' is unavailable in watchOS
103 |         switch (isPresented, presentationState.isActuallyPresented) {
104 |         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:120:98: error: cannot find type 'Context' in scope
118 |     }
119 |
120 |     private func presentViewController(from presentingViewController: UIViewController, context: Context) {
    |                                                                                                  `- error: cannot find type 'Context' in scope
121 |         let viewController = _makeUIViewController(context, handleDismiss)
122 |
/Users/admin/builder/spi-builder-workspace/Sources/UIViewControllerPresenting/UIViewControllerPresenting.swift:120:71: error: 'UIViewController' is unavailable in watchOS
118 |     }
119 |
120 |     private func presentViewController(from presentingViewController: UIViewController, context: Context) {
    |                                                                       `- error: 'UIViewController' is unavailable in watchOS
121 |         let viewController = _makeUIViewController(context, handleDismiss)
122 |
/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:145:73: error: 'UIPresentationController' is unavailable in watchOS
143 |         }
144 |
145 |         func presentationControllerDidDismiss(_ presentationController: UIPresentationController) {
    |                                                                         `- error: 'UIPresentationController' is unavailable in watchOS
146 |             self.handleDismiss()
147 |         }
/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:138:51: error: 'UIAdaptivePresentationControllerDelegate' is unavailable in watchOS
136 |     }
137 |
138 |     private class PresentationDelegate: NSObject, UIAdaptivePresentationControllerDelegate {
    |                                                   `- error: 'UIAdaptivePresentationControllerDelegate' is unavailable in watchOS
139 |         private let handleDismiss: () -> Void
140 |
/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:145:14: error: cannot override 'presentationControllerDidDismiss' which has been marked unavailable
143 |         }
144 |
145 |         func presentationControllerDidDismiss(_ presentationController: UIPresentationController) {
    |              `- error: cannot override 'presentationControllerDidDismiss' which has been marked unavailable
146 |             self.handleDismiss()
147 |         }
/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:29:86: error: cannot find type 'UIViewControllerRepresentable' in scope
 27 | /// closures for this purpose.
 28 | ///
 29 | public struct UIViewControllerPresenting<Controller: UIViewController, Coordinator>: UIViewControllerRepresentable {
    |                                                                                      `- error: cannot find type 'UIViewControllerRepresentable' in scope
 30 |     /// A callback that should be called by the presented view controller if it dismisses itself.
 31 |     public typealias DismissHandler = () -> Void
/Users/admin/builder/spi-builder-workspace/Sources/UIViewControllerPresenting/UIViewControllerPresenting.swift:29:54: error: 'UIViewController' is unavailable in watchOS
 27 | /// closures for this purpose.
 28 | ///
 29 | public struct UIViewControllerPresenting<Controller: UIViewController, Coordinator>: UIViewControllerRepresentable {
    |                                                      `- error: 'UIViewController' is unavailable in watchOS
 30 |     /// A callback that should be called by the presented view controller if it dismisses itself.
 31 |     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:156:42: error: cannot find type 'Context' in scope
154 |     public init(
155 |         isPresented: Binding<Bool>,
156 |         makeUIViewController: @escaping (Context, @escaping DismissHandler) -> Controller,
    |                                          `- error: cannot find type 'Context' in scope
157 |         animated: Bool = true
158 |     ) {
SwiftCompile normal arm64 Compiling\ ViewPresenting.swift /Users/admin/builder/spi-builder-workspace/Sources/UIViewControllerPresenting/ViewPresenting.swift (in target 'UIViewControllerPresenting' from project 'swiftui-uikit-presenting')
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
SwiftEmitModule normal arm64 Emitting\ module\ for\ UIViewControllerPresenting (in target 'UIViewControllerPresenting' from project 'swiftui-uikit-presenting')
SwiftCompile normal arm64 (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')
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/SwiftExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules
2026-09-18 14:29:53.161 xcodebuild[644:4152] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
2026-09-18 14:29:53.417 xcodebuild[644:4152] [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:00.321 xcodebuild[785:4683] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
2026-09-18 14:30:00.470 xcodebuild[785:4683] [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:01.672 xcodebuild[793:4759] [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_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
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
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:50:33: error: 'UIModalPresentationStyle' is unavailable in watchOS
 48 |         isPresented: Binding<Bool>,
 49 |         animated: Bool = true,
 50 |         modalPresentationStyle: UIModalPresentationStyle = .automatic,
    |                                 `- error: 'UIModalPresentationStyle' is unavailable in watchOS
 51 |         sheetConfiguration: SheetConfiguration = .default,
 52 |         @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:50:61: error: 'automatic' is unavailable in watchOS
 48 |         isPresented: Binding<Bool>,
 49 |         animated: Bool = true,
 50 |         modalPresentationStyle: UIModalPresentationStyle = .automatic,
    |                                                             `- error: 'automatic' is unavailable in watchOS
 51 |         sheetConfiguration: SheetConfiguration = .default,
 52 |         @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:81:33: error: 'UIModalPresentationStyle' is unavailable in watchOS
 79 |         isPresented: Binding<Bool>,
 80 |         animated: Bool = true,
 81 |         modalPresentationStyle: UIModalPresentationStyle = .automatic,
    |                                 `- error: 'UIModalPresentationStyle' is unavailable in watchOS
 82 |         @ViewBuilder content: () -> Content
 83 |     ) -> 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:81:61: error: 'automatic' is unavailable in watchOS
 79 |         isPresented: Binding<Bool>,
 80 |         animated: Bool = true,
 81 |         modalPresentationStyle: UIModalPresentationStyle = .automatic,
    |                                                             `- error: 'automatic' is unavailable in watchOS
 82 |         @ViewBuilder content: () -> Content
 83 |     ) -> 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:29:86: error: cannot find type 'UIViewControllerRepresentable' in scope
 27 | /// closures for this purpose.
 28 | ///
 29 | public struct UIViewControllerPresenting<Controller: UIViewController, Coordinator>: UIViewControllerRepresentable {
    |                                                                                      `- error: cannot find type 'UIViewControllerRepresentable' in scope
 30 |     /// A callback that should be called by the presented view controller if it dismisses itself.
 31 |     public typealias DismissHandler = () -> Void
/Users/admin/builder/spi-builder-workspace/Sources/UIViewControllerPresenting/ViewPresenting.swift:102:35: error: cannot find type 'UIHostingController' in scope
100 |         sheetConfiguration: SheetConfiguration = .default,
101 |         animated: Bool = true
102 |     ) -> Self where Controller == UIHostingController<Content> {
    |                                   `- error: cannot find type 'UIHostingController' in scope
103 |         .init(isPresented: isPresented) { _, _ in
104 |             let hostingController = UIHostingController(rootView: content)
/Users/admin/builder/spi-builder-workspace/Sources/UIViewControllerPresenting/ViewPresenting.swift:99:33: error: 'UIModalPresentationStyle' is unavailable in watchOS
 97 |         _ content: Content,
 98 |         isPresented: Binding<Bool>,
 99 |         modalPresentationStyle: UIModalPresentationStyle = .automatic,
    |                                 `- error: 'UIModalPresentationStyle' is unavailable in watchOS
100 |         sheetConfiguration: SheetConfiguration = .default,
101 |         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:99:61: error: 'automatic' is unavailable in watchOS
 97 |         _ content: Content,
 98 |         isPresented: Binding<Bool>,
 99 |         modalPresentationStyle: UIModalPresentationStyle = .automatic,
    |                                                             `- error: 'automatic' is unavailable in watchOS
100 |         sheetConfiguration: SheetConfiguration = .default,
101 |         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:118:35: error: cannot find type 'UIHostingController' in scope
116 |         modalPresentationStyle: UIModalPresentationStyle = .automatic,
117 |         animated: Bool = true
118 |     ) -> Self where Controller == UIHostingController<Content> {
    |                                   `- error: cannot find type 'UIHostingController' in scope
119 |         .init(isPresented: isPresented) { _, _ in
120 |             let hostingController = UIHostingController(rootView: content)
/Users/admin/builder/spi-builder-workspace/Sources/UIViewControllerPresenting/ViewPresenting.swift:116:33: error: 'UIModalPresentationStyle' is unavailable in watchOS
114 |         _ content: Content,
115 |         isPresented: Binding<Bool>,
116 |         modalPresentationStyle: UIModalPresentationStyle = .automatic,
    |                                 `- error: 'UIModalPresentationStyle' is unavailable in watchOS
117 |         animated: Bool = true
118 |     ) -> 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:116:61: error: 'automatic' is unavailable in watchOS
114 |         _ content: Content,
115 |         isPresented: Binding<Bool>,
116 |         modalPresentationStyle: UIModalPresentationStyle = .automatic,
    |                                                             `- error: 'automatic' is unavailable in watchOS
117 |         animated: Bool = true
118 |     ) -> 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:131:21: error: 'UISheetPresentationController' is unavailable in watchOS
129 | public struct SheetConfiguration {
130 |     /// A closure that will be called to configure the sheet presentation controller before presentation.
131 |     var configure: (UISheetPresentationController) -> Void
    |                     `- error: 'UISheetPresentationController' is unavailable in watchOS
132 |
133 |     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:133:39: error: 'UISheetPresentationController' is unavailable in watchOS
131 |     var configure: (UISheetPresentationController) -> Void
132 |
133 |     public init(configure: @escaping (UISheetPresentationController) -> Void) {
    |                                       `- error: 'UISheetPresentationController' is unavailable in watchOS
134 |         self.configure = configure
135 |     }
/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:54:9: error: failed to produce diagnostic for expression; please submit a bug report (https://swift.org/contributing/#reporting-bugs)
 52 |         @ViewBuilder content: () -> Content
 53 |     ) -> some View {
 54 |         background(
    |         `- error: failed to produce diagnostic for expression; please submit a bug report (https://swift.org/contributing/#reporting-bugs)
 55 |             UIViewControllerPresenting.content(
 56 |                 content(),
/Users/admin/builder/spi-builder-workspace/Sources/UIViewControllerPresenting/ViewPresenting.swift:84:9: error: failed to produce diagnostic for expression; please submit a bug report (https://swift.org/contributing/#reporting-bugs)
 82 |         @ViewBuilder content: () -> Content
 83 |     ) -> some View {
 84 |         background(
    |         `- error: failed to produce diagnostic for expression; please submit a bug report (https://swift.org/contributing/#reporting-bugs)
 85 |             UIViewControllerPresenting.content(
 86 |                 content(),
/Users/admin/builder/spi-builder-workspace/Sources/UIViewControllerPresenting/ViewPresenting.swift:104:37: error: cannot find 'UIHostingController' in scope
102 |     ) -> Self where Controller == UIHostingController<Content> {
103 |         .init(isPresented: isPresented) { _, _ in
104 |             let hostingController = UIHostingController(rootView: content)
    |                                     `- error: cannot find 'UIHostingController' in scope
105 |             hostingController.modalPresentationStyle = modalPresentationStyle
106 |             if let sheet = hostingController.sheetPresentationController {
/Users/admin/builder/spi-builder-workspace/Sources/UIViewControllerPresenting/UIViewControllerPresenting.swift:76:42: error: cannot find type 'Context' in scope
 74 |     public init(
 75 |         isPresented: Binding<Bool>,
 76 |         makeUIViewController: @escaping (Context, @escaping DismissHandler) -> Controller,
    |                                          `- error: cannot find type 'Context' in scope
 77 |         makeCoordinator: @escaping (@escaping DismissHandler) -> Coordinator,
 78 |         animated: Bool = true
/Users/admin/builder/spi-builder-workspace/Sources/UIViewControllerPresenting/UIViewControllerPresenting.swift:156:42: error: cannot find type 'Context' in scope
154 |     public init(
155 |         isPresented: Binding<Bool>,
156 |         makeUIViewController: @escaping (Context, @escaping DismissHandler) -> Controller,
    |                                          `- error: cannot find type 'Context' in scope
157 |         animated: Bool = true
158 |     ) {
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:47:41: error: cannot find type 'Context' in scope
 45 |     ///    - DismissHandler: A callback closure that can be called to indicate the controller was dismissed.
 46 |     ///
 47 |     private let _makeUIViewController: (Context, @escaping DismissHandler) -> Controller
    |                                         `- error: cannot find type 'Context' in scope
 48 |
 49 |     /// A closure that should return a coordinator for this view, if one is needed.
/Users/admin/builder/spi-builder-workspace/Sources/UIViewControllerPresenting/UIViewControllerPresenting.swift:76:42: error: cannot find type 'Context' in scope
 74 |     public init(
 75 |         isPresented: Binding<Bool>,
 76 |         makeUIViewController: @escaping (Context, @escaping DismissHandler) -> Controller,
    |                                          `- error: cannot find type 'Context' in scope
 77 |         makeCoordinator: @escaping (@escaping DismissHandler) -> Coordinator,
 78 |         animated: Bool = true
/Users/admin/builder/spi-builder-workspace/Sources/UIViewControllerPresenting/UIViewControllerPresenting.swift:91:47: error: cannot find type 'Context' in scope
 89 |     }
 90 |
 91 |     public func makeUIViewController(context: Context) -> UIViewController {
    |                                               `- error: cannot find type 'Context' in scope
 92 |         // We just need a plain view controller to hook into the presentation APIs.
 93 |         let presentingViewController = UIViewController()
/Users/admin/builder/spi-builder-workspace/Sources/UIViewControllerPresenting/UIViewControllerPresenting.swift:91:59: error: 'UIViewController' is unavailable in watchOS
 89 |     }
 90 |
 91 |     public func makeUIViewController(context: Context) -> UIViewController {
    |                                                           `- error: 'UIViewController' is unavailable in watchOS
 92 |         // We just need a plain view controller to hook into the presentation APIs.
 93 |         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:102:95: error: cannot find type 'Context' in scope
100 |     }
101 |
102 |     public func updateUIViewController(_ presentingViewController: UIViewController, context: Context) {
    |                                                                                               `- error: cannot find type 'Context' in scope
103 |         switch (isPresented, presentationState.isActuallyPresented) {
104 |         case (true, false):
/Users/admin/builder/spi-builder-workspace/Sources/UIViewControllerPresenting/UIViewControllerPresenting.swift:102:68: error: 'UIViewController' is unavailable in watchOS
100 |     }
101 |
102 |     public func updateUIViewController(_ presentingViewController: UIViewController, context: Context) {
    |                                                                    `- error: 'UIViewController' is unavailable in watchOS
103 |         switch (isPresented, presentationState.isActuallyPresented) {
104 |         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:120:98: error: cannot find type 'Context' in scope
118 |     }
119 |
120 |     private func presentViewController(from presentingViewController: UIViewController, context: Context) {
    |                                                                                                  `- error: cannot find type 'Context' in scope
121 |         let viewController = _makeUIViewController(context, handleDismiss)
122 |
/Users/admin/builder/spi-builder-workspace/Sources/UIViewControllerPresenting/UIViewControllerPresenting.swift:120:71: error: 'UIViewController' is unavailable in watchOS
118 |     }
119 |
120 |     private func presentViewController(from presentingViewController: UIViewController, context: Context) {
    |                                                                       `- error: 'UIViewController' is unavailable in watchOS
121 |         let viewController = _makeUIViewController(context, handleDismiss)
122 |
/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:145:73: error: 'UIPresentationController' is unavailable in watchOS
143 |         }
144 |
145 |         func presentationControllerDidDismiss(_ presentationController: UIPresentationController) {
    |                                                                         `- error: 'UIPresentationController' is unavailable in watchOS
146 |             self.handleDismiss()
147 |         }
/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:138:51: error: 'UIAdaptivePresentationControllerDelegate' is unavailable in watchOS
136 |     }
137 |
138 |     private class PresentationDelegate: NSObject, UIAdaptivePresentationControllerDelegate {
    |                                                   `- error: 'UIAdaptivePresentationControllerDelegate' is unavailable in watchOS
139 |         private let handleDismiss: () -> Void
140 |
/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:145:14: error: cannot override 'presentationControllerDidDismiss' which has been marked unavailable
143 |         }
144 |
145 |         func presentationControllerDidDismiss(_ presentationController: UIPresentationController) {
    |              `- error: cannot override 'presentationControllerDidDismiss' which has been marked unavailable
146 |             self.handleDismiss()
147 |         }
/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:29:86: error: cannot find type 'UIViewControllerRepresentable' in scope
 27 | /// closures for this purpose.
 28 | ///
 29 | public struct UIViewControllerPresenting<Controller: UIViewController, Coordinator>: UIViewControllerRepresentable {
    |                                                                                      `- error: cannot find type 'UIViewControllerRepresentable' in scope
 30 |     /// A callback that should be called by the presented view controller if it dismisses itself.
 31 |     public typealias DismissHandler = () -> Void
/Users/admin/builder/spi-builder-workspace/Sources/UIViewControllerPresenting/UIViewControllerPresenting.swift:29:54: error: 'UIViewController' is unavailable in watchOS
 27 | /// closures for this purpose.
 28 | ///
 29 | public struct UIViewControllerPresenting<Controller: UIViewController, Coordinator>: UIViewControllerRepresentable {
    |                                                      `- error: 'UIViewController' is unavailable in watchOS
 30 |     /// A callback that should be called by the presented view controller if it dismisses itself.
 31 |     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:156:42: error: cannot find type 'Context' in scope
154 |     public init(
155 |         isPresented: Binding<Bool>,
156 |         makeUIViewController: @escaping (Context, @escaping DismissHandler) -> Controller,
    |                                          `- error: cannot find type 'Context' in scope
157 |         animated: Bool = true
158 |     ) {
/Users/admin/builder/spi-builder-workspace/Sources/UIViewControllerPresenting/ViewPresenting.swift:50:33: error: 'UIModalPresentationStyle' is unavailable in watchOS
 48 |         isPresented: Binding<Bool>,
 49 |         animated: Bool = true,
 50 |         modalPresentationStyle: UIModalPresentationStyle = .automatic,
    |                                 `- error: 'UIModalPresentationStyle' is unavailable in watchOS
 51 |         sheetConfiguration: SheetConfiguration = .default,
 52 |         @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:50:61: error: 'automatic' is unavailable in watchOS
 48 |         isPresented: Binding<Bool>,
 49 |         animated: Bool = true,
 50 |         modalPresentationStyle: UIModalPresentationStyle = .automatic,
    |                                                             `- error: 'automatic' is unavailable in watchOS
 51 |         sheetConfiguration: SheetConfiguration = .default,
 52 |         @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:81:33: error: 'UIModalPresentationStyle' is unavailable in watchOS
 79 |         isPresented: Binding<Bool>,
 80 |         animated: Bool = true,
 81 |         modalPresentationStyle: UIModalPresentationStyle = .automatic,
    |                                 `- error: 'UIModalPresentationStyle' is unavailable in watchOS
 82 |         @ViewBuilder content: () -> Content
 83 |     ) -> 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:81:61: error: 'automatic' is unavailable in watchOS
 79 |         isPresented: Binding<Bool>,
 80 |         animated: Bool = true,
 81 |         modalPresentationStyle: UIModalPresentationStyle = .automatic,
    |                                                             `- error: 'automatic' is unavailable in watchOS
 82 |         @ViewBuilder content: () -> Content
 83 |     ) -> 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:102:35: error: cannot find type 'UIHostingController' in scope
100 |         sheetConfiguration: SheetConfiguration = .default,
101 |         animated: Bool = true
102 |     ) -> Self where Controller == UIHostingController<Content> {
    |                                   `- error: cannot find type 'UIHostingController' in scope
103 |         .init(isPresented: isPresented) { _, _ in
104 |             let hostingController = UIHostingController(rootView: content)
/Users/admin/builder/spi-builder-workspace/Sources/UIViewControllerPresenting/ViewPresenting.swift:99:33: error: 'UIModalPresentationStyle' is unavailable in watchOS
 97 |         _ content: Content,
 98 |         isPresented: Binding<Bool>,
 99 |         modalPresentationStyle: UIModalPresentationStyle = .automatic,
    |                                 `- error: 'UIModalPresentationStyle' is unavailable in watchOS
100 |         sheetConfiguration: SheetConfiguration = .default,
101 |         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:99:61: error: 'automatic' is unavailable in watchOS
 97 |         _ content: Content,
 98 |         isPresented: Binding<Bool>,
 99 |         modalPresentationStyle: UIModalPresentationStyle = .automatic,
    |                                                             `- error: 'automatic' is unavailable in watchOS
100 |         sheetConfiguration: SheetConfiguration = .default,
101 |         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:118:35: error: cannot find type 'UIHostingController' in scope
116 |         modalPresentationStyle: UIModalPresentationStyle = .automatic,
117 |         animated: Bool = true
118 |     ) -> Self where Controller == UIHostingController<Content> {
    |                                   `- error: cannot find type 'UIHostingController' in scope
119 |         .init(isPresented: isPresented) { _, _ in
120 |             let hostingController = UIHostingController(rootView: content)
/Users/admin/builder/spi-builder-workspace/Sources/UIViewControllerPresenting/ViewPresenting.swift:116:33: error: 'UIModalPresentationStyle' is unavailable in watchOS
114 |         _ content: Content,
115 |         isPresented: Binding<Bool>,
116 |         modalPresentationStyle: UIModalPresentationStyle = .automatic,
    |                                 `- error: 'UIModalPresentationStyle' is unavailable in watchOS
117 |         animated: Bool = true
118 |     ) -> 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:116:61: error: 'automatic' is unavailable in watchOS
114 |         _ content: Content,
115 |         isPresented: Binding<Bool>,
116 |         modalPresentationStyle: UIModalPresentationStyle = .automatic,
    |                                                             `- error: 'automatic' is unavailable in watchOS
117 |         animated: Bool = true
118 |     ) -> 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:131:21: error: 'UISheetPresentationController' is unavailable in watchOS
129 | public struct SheetConfiguration {
130 |     /// A closure that will be called to configure the sheet presentation controller before presentation.
131 |     var configure: (UISheetPresentationController) -> Void
    |                     `- error: 'UISheetPresentationController' is unavailable in watchOS
132 |
133 |     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:133:39: error: 'UISheetPresentationController' is unavailable in watchOS
131 |     var configure: (UISheetPresentationController) -> Void
132 |
133 |     public init(configure: @escaping (UISheetPresentationController) -> Void) {
    |                                       `- error: 'UISheetPresentationController' is unavailable in watchOS
134 |         self.configure = configure
135 |     }
/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-apple-watchos9.0 -module-can-import-version UIKit 9127.0.84.1 9127.0.84 -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 (in target 'UIViewControllerPresenting' from project 'swiftui-uikit-presenting')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode

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:47:41: error: cannot find type 'Context' in scope
 45 |     ///    - DismissHandler: A callback closure that can be called to indicate the controller was dismissed.
 46 |     ///
 47 |     private let _makeUIViewController: (Context, @escaping DismissHandler) -> Controller
    |                                         `- error: cannot find type 'Context' in scope
 48 |
 49 |     /// A closure that should return a coordinator for this view, if one is needed.
/Users/admin/builder/spi-builder-workspace/Sources/UIViewControllerPresenting/UIViewControllerPresenting.swift:76:42: error: cannot find type 'Context' in scope
 74 |     public init(
 75 |         isPresented: Binding<Bool>,
 76 |         makeUIViewController: @escaping (Context, @escaping DismissHandler) -> Controller,
    |                                          `- error: cannot find type 'Context' in scope
 77 |         makeCoordinator: @escaping (@escaping DismissHandler) -> Coordinator,
 78 |         animated: Bool = true
/Users/admin/builder/spi-builder-workspace/Sources/UIViewControllerPresenting/UIViewControllerPresenting.swift:91:47: error: cannot find type 'Context' in scope
 89 |     }
 90 |
 91 |     public func makeUIViewController(context: Context) -> UIViewController {
    |                                               `- error: cannot find type 'Context' in scope
 92 |         // We just need a plain view controller to hook into the presentation APIs.
 93 |         let presentingViewController = UIViewController()
/Users/admin/builder/spi-builder-workspace/Sources/UIViewControllerPresenting/UIViewControllerPresenting.swift:91:59: error: 'UIViewController' is unavailable in watchOS
 89 |     }
 90 |
 91 |     public func makeUIViewController(context: Context) -> UIViewController {
    |                                                           `- error: 'UIViewController' is unavailable in watchOS
 92 |         // We just need a plain view controller to hook into the presentation APIs.
 93 |         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:102:95: error: cannot find type 'Context' in scope
100 |     }
101 |
102 |     public func updateUIViewController(_ presentingViewController: UIViewController, context: Context) {
    |                                                                                               `- error: cannot find type 'Context' in scope
103 |         switch (isPresented, presentationState.isActuallyPresented) {
104 |         case (true, false):
/Users/admin/builder/spi-builder-workspace/Sources/UIViewControllerPresenting/UIViewControllerPresenting.swift:102:68: error: 'UIViewController' is unavailable in watchOS
100 |     }
101 |
102 |     public func updateUIViewController(_ presentingViewController: UIViewController, context: Context) {
    |                                                                    `- error: 'UIViewController' is unavailable in watchOS
103 |         switch (isPresented, presentationState.isActuallyPresented) {
104 |         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:120:98: error: cannot find type 'Context' in scope
118 |     }
119 |
120 |     private func presentViewController(from presentingViewController: UIViewController, context: Context) {
    |                                                                                                  `- error: cannot find type 'Context' in scope
121 |         let viewController = _makeUIViewController(context, handleDismiss)
122 |
/Users/admin/builder/spi-builder-workspace/Sources/UIViewControllerPresenting/UIViewControllerPresenting.swift:120:71: error: 'UIViewController' is unavailable in watchOS
118 |     }
119 |
120 |     private func presentViewController(from presentingViewController: UIViewController, context: Context) {
    |                                                                       `- error: 'UIViewController' is unavailable in watchOS
121 |         let viewController = _makeUIViewController(context, handleDismiss)
122 |
/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:145:73: error: 'UIPresentationController' is unavailable in watchOS
143 |         }
144 |
145 |         func presentationControllerDidDismiss(_ presentationController: UIPresentationController) {
    |                                                                         `- error: 'UIPresentationController' is unavailable in watchOS
146 |             self.handleDismiss()
147 |         }
/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:138:51: error: 'UIAdaptivePresentationControllerDelegate' is unavailable in watchOS
136 |     }
137 |
138 |     private class PresentationDelegate: NSObject, UIAdaptivePresentationControllerDelegate {
    |                                                   `- error: 'UIAdaptivePresentationControllerDelegate' is unavailable in watchOS
139 |         private let handleDismiss: () -> Void
140 |
/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:145:14: error: cannot override 'presentationControllerDidDismiss' which has been marked unavailable
143 |         }
144 |
145 |         func presentationControllerDidDismiss(_ presentationController: UIPresentationController) {
    |              `- error: cannot override 'presentationControllerDidDismiss' which has been marked unavailable
146 |             self.handleDismiss()
147 |         }
/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:29:86: error: cannot find type 'UIViewControllerRepresentable' in scope
 27 | /// closures for this purpose.
 28 | ///
 29 | public struct UIViewControllerPresenting<Controller: UIViewController, Coordinator>: UIViewControllerRepresentable {
    |                                                                                      `- error: cannot find type 'UIViewControllerRepresentable' in scope
 30 |     /// A callback that should be called by the presented view controller if it dismisses itself.
 31 |     public typealias DismissHandler = () -> Void
/Users/admin/builder/spi-builder-workspace/Sources/UIViewControllerPresenting/UIViewControllerPresenting.swift:29:54: error: 'UIViewController' is unavailable in watchOS
 27 | /// closures for this purpose.
 28 | ///
 29 | public struct UIViewControllerPresenting<Controller: UIViewController, Coordinator>: UIViewControllerRepresentable {
    |                                                      `- error: 'UIViewController' is unavailable in watchOS
 30 |     /// A callback that should be called by the presented view controller if it dismisses itself.
 31 |     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:156:42: error: cannot find type 'Context' in scope
154 |     public init(
155 |         isPresented: Binding<Bool>,
156 |         makeUIViewController: @escaping (Context, @escaping DismissHandler) -> Controller,
    |                                          `- error: cannot find type 'Context' in scope
157 |         animated: Bool = true
158 |     ) {
/Users/admin/builder/spi-builder-workspace/Sources/UIViewControllerPresenting/ViewPresenting.swift:50:33: error: 'UIModalPresentationStyle' is unavailable in watchOS
 48 |         isPresented: Binding<Bool>,
 49 |         animated: Bool = true,
 50 |         modalPresentationStyle: UIModalPresentationStyle = .automatic,
    |                                 `- error: 'UIModalPresentationStyle' is unavailable in watchOS
 51 |         sheetConfiguration: SheetConfiguration = .default,
 52 |         @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:50:61: error: 'automatic' is unavailable in watchOS
 48 |         isPresented: Binding<Bool>,
 49 |         animated: Bool = true,
 50 |         modalPresentationStyle: UIModalPresentationStyle = .automatic,
    |                                                             `- error: 'automatic' is unavailable in watchOS
 51 |         sheetConfiguration: SheetConfiguration = .default,
 52 |         @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:81:33: error: 'UIModalPresentationStyle' is unavailable in watchOS
 79 |         isPresented: Binding<Bool>,
 80 |         animated: Bool = true,
 81 |         modalPresentationStyle: UIModalPresentationStyle = .automatic,
    |                                 `- error: 'UIModalPresentationStyle' is unavailable in watchOS
 82 |         @ViewBuilder content: () -> Content
 83 |     ) -> 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:81:61: error: 'automatic' is unavailable in watchOS
 79 |         isPresented: Binding<Bool>,
 80 |         animated: Bool = true,
 81 |         modalPresentationStyle: UIModalPresentationStyle = .automatic,
    |                                                             `- error: 'automatic' is unavailable in watchOS
 82 |         @ViewBuilder content: () -> Content
 83 |     ) -> 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:102:35: error: cannot find type 'UIHostingController' in scope
100 |         sheetConfiguration: SheetConfiguration = .default,
101 |         animated: Bool = true
102 |     ) -> Self where Controller == UIHostingController<Content> {
    |                                   `- error: cannot find type 'UIHostingController' in scope
103 |         .init(isPresented: isPresented) { _, _ in
104 |             let hostingController = UIHostingController(rootView: content)
/Users/admin/builder/spi-builder-workspace/Sources/UIViewControllerPresenting/ViewPresenting.swift:99:33: error: 'UIModalPresentationStyle' is unavailable in watchOS
 97 |         _ content: Content,
 98 |         isPresented: Binding<Bool>,
 99 |         modalPresentationStyle: UIModalPresentationStyle = .automatic,
    |                                 `- error: 'UIModalPresentationStyle' is unavailable in watchOS
100 |         sheetConfiguration: SheetConfiguration = .default,
101 |         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:99:61: error: 'automatic' is unavailable in watchOS
 97 |         _ content: Content,
 98 |         isPresented: Binding<Bool>,
 99 |         modalPresentationStyle: UIModalPresentationStyle = .automatic,
    |                                                             `- error: 'automatic' is unavailable in watchOS
100 |         sheetConfiguration: SheetConfiguration = .default,
101 |         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:118:35: error: cannot find type 'UIHostingController' in scope
116 |         modalPresentationStyle: UIModalPresentationStyle = .automatic,
117 |         animated: Bool = true
118 |     ) -> Self where Controller == UIHostingController<Content> {
    |                                   `- error: cannot find type 'UIHostingController' in scope
119 |         .init(isPresented: isPresented) { _, _ in
120 |             let hostingController = UIHostingController(rootView: content)
/Users/admin/builder/spi-builder-workspace/Sources/UIViewControllerPresenting/ViewPresenting.swift:116:33: error: 'UIModalPresentationStyle' is unavailable in watchOS
114 |         _ content: Content,
115 |         isPresented: Binding<Bool>,
116 |         modalPresentationStyle: UIModalPresentationStyle = .automatic,
    |                                 `- error: 'UIModalPresentationStyle' is unavailable in watchOS
117 |         animated: Bool = true
118 |     ) -> 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:116:61: error: 'automatic' is unavailable in watchOS
114 |         _ content: Content,
115 |         isPresented: Binding<Bool>,
116 |         modalPresentationStyle: UIModalPresentationStyle = .automatic,
    |                                                             `- error: 'automatic' is unavailable in watchOS
117 |         animated: Bool = true
118 |     ) -> 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:131:21: error: 'UISheetPresentationController' is unavailable in watchOS
129 | public struct SheetConfiguration {
130 |     /// A closure that will be called to configure the sheet presentation controller before presentation.
131 |     var configure: (UISheetPresentationController) -> Void
    |                     `- error: 'UISheetPresentationController' is unavailable in watchOS
132 |
133 |     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:133:39: error: 'UISheetPresentationController' is unavailable in watchOS
131 |     var configure: (UISheetPresentationController) -> Void
132 |
133 |     public init(configure: @escaping (UISheetPresentationController) -> Void) {
    |                                       `- error: 'UISheetPresentationController' is unavailable in watchOS
134 |         self.configure = configure
135 |     }
/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 -module-can-import-version UIKit 9127.0.84.1 9127.0.84 -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:47:41: error: cannot find type 'Context' in scope
 45 |     ///    - DismissHandler: A callback closure that can be called to indicate the controller was dismissed.
 46 |     ///
 47 |     private let _makeUIViewController: (Context, @escaping DismissHandler) -> Controller
    |                                         `- error: cannot find type 'Context' in scope
 48 |
 49 |     /// A closure that should return a coordinator for this view, if one is needed.
/Users/admin/builder/spi-builder-workspace/Sources/UIViewControllerPresenting/UIViewControllerPresenting.swift:76:42: error: cannot find type 'Context' in scope
 74 |     public init(
 75 |         isPresented: Binding<Bool>,
 76 |         makeUIViewController: @escaping (Context, @escaping DismissHandler) -> Controller,
    |                                          `- error: cannot find type 'Context' in scope
 77 |         makeCoordinator: @escaping (@escaping DismissHandler) -> Coordinator,
 78 |         animated: Bool = true
/Users/admin/builder/spi-builder-workspace/Sources/UIViewControllerPresenting/UIViewControllerPresenting.swift:91:47: error: cannot find type 'Context' in scope
 89 |     }
 90 |
 91 |     public func makeUIViewController(context: Context) -> UIViewController {
    |                                               `- error: cannot find type 'Context' in scope
 92 |         // We just need a plain view controller to hook into the presentation APIs.
 93 |         let presentingViewController = UIViewController()
/Users/admin/builder/spi-builder-workspace/Sources/UIViewControllerPresenting/UIViewControllerPresenting.swift:91:59: error: 'UIViewController' is unavailable in watchOS
 89 |     }
 90 |
 91 |     public func makeUIViewController(context: Context) -> UIViewController {
    |                                                           `- error: 'UIViewController' is unavailable in watchOS
 92 |         // We just need a plain view controller to hook into the presentation APIs.
 93 |         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:102:95: error: cannot find type 'Context' in scope
100 |     }
101 |
102 |     public func updateUIViewController(_ presentingViewController: UIViewController, context: Context) {
    |                                                                                               `- error: cannot find type 'Context' in scope
103 |         switch (isPresented, presentationState.isActuallyPresented) {
104 |         case (true, false):
/Users/admin/builder/spi-builder-workspace/Sources/UIViewControllerPresenting/UIViewControllerPresenting.swift:102:68: error: 'UIViewController' is unavailable in watchOS
100 |     }
101 |
102 |     public func updateUIViewController(_ presentingViewController: UIViewController, context: Context) {
    |                                                                    `- error: 'UIViewController' is unavailable in watchOS
103 |         switch (isPresented, presentationState.isActuallyPresented) {
104 |         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:120:98: error: cannot find type 'Context' in scope
118 |     }
119 |
120 |     private func presentViewController(from presentingViewController: UIViewController, context: Context) {
    |                                                                                                  `- error: cannot find type 'Context' in scope
121 |         let viewController = _makeUIViewController(context, handleDismiss)
122 |
/Users/admin/builder/spi-builder-workspace/Sources/UIViewControllerPresenting/UIViewControllerPresenting.swift:120:71: error: 'UIViewController' is unavailable in watchOS
118 |     }
119 |
120 |     private func presentViewController(from presentingViewController: UIViewController, context: Context) {
    |                                                                       `- error: 'UIViewController' is unavailable in watchOS
121 |         let viewController = _makeUIViewController(context, handleDismiss)
122 |
/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:145:73: error: 'UIPresentationController' is unavailable in watchOS
143 |         }
144 |
145 |         func presentationControllerDidDismiss(_ presentationController: UIPresentationController) {
    |                                                                         `- error: 'UIPresentationController' is unavailable in watchOS
146 |             self.handleDismiss()
147 |         }
/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:138:51: error: 'UIAdaptivePresentationControllerDelegate' is unavailable in watchOS
136 |     }
137 |
138 |     private class PresentationDelegate: NSObject, UIAdaptivePresentationControllerDelegate {
    |                                                   `- error: 'UIAdaptivePresentationControllerDelegate' is unavailable in watchOS
139 |         private let handleDismiss: () -> Void
140 |
/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:145:14: error: cannot override 'presentationControllerDidDismiss' which has been marked unavailable
143 |         }
144 |
145 |         func presentationControllerDidDismiss(_ presentationController: UIPresentationController) {
    |              `- error: cannot override 'presentationControllerDidDismiss' which has been marked unavailable
146 |             self.handleDismiss()
147 |         }
/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:29:86: error: cannot find type 'UIViewControllerRepresentable' in scope
 27 | /// closures for this purpose.
 28 | ///
 29 | public struct UIViewControllerPresenting<Controller: UIViewController, Coordinator>: UIViewControllerRepresentable {
    |                                                                                      `- error: cannot find type 'UIViewControllerRepresentable' in scope
 30 |     /// A callback that should be called by the presented view controller if it dismisses itself.
 31 |     public typealias DismissHandler = () -> Void
/Users/admin/builder/spi-builder-workspace/Sources/UIViewControllerPresenting/UIViewControllerPresenting.swift:29:54: error: 'UIViewController' is unavailable in watchOS
 27 | /// closures for this purpose.
 28 | ///
 29 | public struct UIViewControllerPresenting<Controller: UIViewController, Coordinator>: UIViewControllerRepresentable {
    |                                                      `- error: 'UIViewController' is unavailable in watchOS
 30 |     /// A callback that should be called by the presented view controller if it dismisses itself.
 31 |     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:156:42: error: cannot find type 'Context' in scope
154 |     public init(
155 |         isPresented: Binding<Bool>,
156 |         makeUIViewController: @escaping (Context, @escaping DismissHandler) -> Controller,
    |                                          `- error: cannot find type 'Context' in scope
157 |         animated: Bool = true
158 |     ) {
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
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:47:41: error: cannot find type 'Context' in scope
 45 |     ///    - DismissHandler: A callback closure that can be called to indicate the controller was dismissed.
 46 |     ///
 47 |     private let _makeUIViewController: (Context, @escaping DismissHandler) -> Controller
    |                                         `- error: cannot find type 'Context' in scope
 48 |
 49 |     /// A closure that should return a coordinator for this view, if one is needed.
/Users/admin/builder/spi-builder-workspace/Sources/UIViewControllerPresenting/UIViewControllerPresenting.swift:76:42: error: cannot find type 'Context' in scope
 74 |     public init(
 75 |         isPresented: Binding<Bool>,
 76 |         makeUIViewController: @escaping (Context, @escaping DismissHandler) -> Controller,
    |                                          `- error: cannot find type 'Context' in scope
 77 |         makeCoordinator: @escaping (@escaping DismissHandler) -> Coordinator,
 78 |         animated: Bool = true
/Users/admin/builder/spi-builder-workspace/Sources/UIViewControllerPresenting/UIViewControllerPresenting.swift:91:47: error: cannot find type 'Context' in scope
 89 |     }
 90 |
 91 |     public func makeUIViewController(context: Context) -> UIViewController {
    |                                               `- error: cannot find type 'Context' in scope
 92 |         // We just need a plain view controller to hook into the presentation APIs.
 93 |         let presentingViewController = UIViewController()
/Users/admin/builder/spi-builder-workspace/Sources/UIViewControllerPresenting/UIViewControllerPresenting.swift:91:59: error: 'UIViewController' is unavailable in watchOS
 89 |     }
 90 |
 91 |     public func makeUIViewController(context: Context) -> UIViewController {
    |                                                           `- error: 'UIViewController' is unavailable in watchOS
 92 |         // We just need a plain view controller to hook into the presentation APIs.
 93 |         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:102:95: error: cannot find type 'Context' in scope
100 |     }
101 |
102 |     public func updateUIViewController(_ presentingViewController: UIViewController, context: Context) {
    |                                                                                               `- error: cannot find type 'Context' in scope
103 |         switch (isPresented, presentationState.isActuallyPresented) {
104 |         case (true, false):
/Users/admin/builder/spi-builder-workspace/Sources/UIViewControllerPresenting/UIViewControllerPresenting.swift:102:68: error: 'UIViewController' is unavailable in watchOS
100 |     }
101 |
102 |     public func updateUIViewController(_ presentingViewController: UIViewController, context: Context) {
    |                                                                    `- error: 'UIViewController' is unavailable in watchOS
103 |         switch (isPresented, presentationState.isActuallyPresented) {
104 |         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:120:98: error: cannot find type 'Context' in scope
118 |     }
119 |
120 |     private func presentViewController(from presentingViewController: UIViewController, context: Context) {
    |                                                                                                  `- error: cannot find type 'Context' in scope
121 |         let viewController = _makeUIViewController(context, handleDismiss)
122 |
/Users/admin/builder/spi-builder-workspace/Sources/UIViewControllerPresenting/UIViewControllerPresenting.swift:120:71: error: 'UIViewController' is unavailable in watchOS
118 |     }
119 |
120 |     private func presentViewController(from presentingViewController: UIViewController, context: Context) {
    |                                                                       `- error: 'UIViewController' is unavailable in watchOS
121 |         let viewController = _makeUIViewController(context, handleDismiss)
122 |
/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:145:73: error: 'UIPresentationController' is unavailable in watchOS
143 |         }
144 |
145 |         func presentationControllerDidDismiss(_ presentationController: UIPresentationController) {
    |                                                                         `- error: 'UIPresentationController' is unavailable in watchOS
146 |             self.handleDismiss()
147 |         }
/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:138:51: error: 'UIAdaptivePresentationControllerDelegate' is unavailable in watchOS
136 |     }
137 |
138 |     private class PresentationDelegate: NSObject, UIAdaptivePresentationControllerDelegate {
    |                                                   `- error: 'UIAdaptivePresentationControllerDelegate' is unavailable in watchOS
139 |         private let handleDismiss: () -> Void
140 |
/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:145:14: error: cannot override 'presentationControllerDidDismiss' which has been marked unavailable
143 |         }
144 |
145 |         func presentationControllerDidDismiss(_ presentationController: UIPresentationController) {
    |              `- error: cannot override 'presentationControllerDidDismiss' which has been marked unavailable
146 |             self.handleDismiss()
147 |         }
/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:29:86: error: cannot find type 'UIViewControllerRepresentable' in scope
 27 | /// closures for this purpose.
 28 | ///
 29 | public struct UIViewControllerPresenting<Controller: UIViewController, Coordinator>: UIViewControllerRepresentable {
    |                                                                                      `- error: cannot find type 'UIViewControllerRepresentable' in scope
 30 |     /// A callback that should be called by the presented view controller if it dismisses itself.
 31 |     public typealias DismissHandler = () -> Void
/Users/admin/builder/spi-builder-workspace/Sources/UIViewControllerPresenting/UIViewControllerPresenting.swift:29:54: error: 'UIViewController' is unavailable in watchOS
 27 | /// closures for this purpose.
 28 | ///
 29 | public struct UIViewControllerPresenting<Controller: UIViewController, Coordinator>: UIViewControllerRepresentable {
    |                                                      `- error: 'UIViewController' is unavailable in watchOS
 30 |     /// A callback that should be called by the presented view controller if it dismisses itself.
 31 |     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:156:42: error: cannot find type 'Context' in scope
154 |     public init(
155 |         isPresented: Binding<Bool>,
156 |         makeUIViewController: @escaping (Context, @escaping DismissHandler) -> Controller,
    |                                          `- error: cannot find type 'Context' in scope
157 |         animated: Bool = true
158 |     ) {
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
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:50:33: error: 'UIModalPresentationStyle' is unavailable in watchOS
 48 |         isPresented: Binding<Bool>,
 49 |         animated: Bool = true,
 50 |         modalPresentationStyle: UIModalPresentationStyle = .automatic,
    |                                 `- error: 'UIModalPresentationStyle' is unavailable in watchOS
 51 |         sheetConfiguration: SheetConfiguration = .default,
 52 |         @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:50:61: error: 'automatic' is unavailable in watchOS
 48 |         isPresented: Binding<Bool>,
 49 |         animated: Bool = true,
 50 |         modalPresentationStyle: UIModalPresentationStyle = .automatic,
    |                                                             `- error: 'automatic' is unavailable in watchOS
 51 |         sheetConfiguration: SheetConfiguration = .default,
 52 |         @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:81:33: error: 'UIModalPresentationStyle' is unavailable in watchOS
 79 |         isPresented: Binding<Bool>,
 80 |         animated: Bool = true,
 81 |         modalPresentationStyle: UIModalPresentationStyle = .automatic,
    |                                 `- error: 'UIModalPresentationStyle' is unavailable in watchOS
 82 |         @ViewBuilder content: () -> Content
 83 |     ) -> 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:81:61: error: 'automatic' is unavailable in watchOS
 79 |         isPresented: Binding<Bool>,
 80 |         animated: Bool = true,
 81 |         modalPresentationStyle: UIModalPresentationStyle = .automatic,
    |                                                             `- error: 'automatic' is unavailable in watchOS
 82 |         @ViewBuilder content: () -> Content
 83 |     ) -> 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:29:86: error: cannot find type 'UIViewControllerRepresentable' in scope
 27 | /// closures for this purpose.
 28 | ///
 29 | public struct UIViewControllerPresenting<Controller: UIViewController, Coordinator>: UIViewControllerRepresentable {
    |                                                                                      `- error: cannot find type 'UIViewControllerRepresentable' in scope
 30 |     /// A callback that should be called by the presented view controller if it dismisses itself.
 31 |     public typealias DismissHandler = () -> Void
/Users/admin/builder/spi-builder-workspace/Sources/UIViewControllerPresenting/ViewPresenting.swift:102:35: error: cannot find type 'UIHostingController' in scope
100 |         sheetConfiguration: SheetConfiguration = .default,
101 |         animated: Bool = true
102 |     ) -> Self where Controller == UIHostingController<Content> {
    |                                   `- error: cannot find type 'UIHostingController' in scope
103 |         .init(isPresented: isPresented) { _, _ in
104 |             let hostingController = UIHostingController(rootView: content)
/Users/admin/builder/spi-builder-workspace/Sources/UIViewControllerPresenting/ViewPresenting.swift:99:33: error: 'UIModalPresentationStyle' is unavailable in watchOS
 97 |         _ content: Content,
 98 |         isPresented: Binding<Bool>,
 99 |         modalPresentationStyle: UIModalPresentationStyle = .automatic,
    |                                 `- error: 'UIModalPresentationStyle' is unavailable in watchOS
100 |         sheetConfiguration: SheetConfiguration = .default,
101 |         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:99:61: error: 'automatic' is unavailable in watchOS
 97 |         _ content: Content,
 98 |         isPresented: Binding<Bool>,
 99 |         modalPresentationStyle: UIModalPresentationStyle = .automatic,
    |                                                             `- error: 'automatic' is unavailable in watchOS
100 |         sheetConfiguration: SheetConfiguration = .default,
101 |         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:118:35: error: cannot find type 'UIHostingController' in scope
116 |         modalPresentationStyle: UIModalPresentationStyle = .automatic,
117 |         animated: Bool = true
118 |     ) -> Self where Controller == UIHostingController<Content> {
    |                                   `- error: cannot find type 'UIHostingController' in scope
119 |         .init(isPresented: isPresented) { _, _ in
120 |             let hostingController = UIHostingController(rootView: content)
/Users/admin/builder/spi-builder-workspace/Sources/UIViewControllerPresenting/ViewPresenting.swift:116:33: error: 'UIModalPresentationStyle' is unavailable in watchOS
114 |         _ content: Content,
115 |         isPresented: Binding<Bool>,
116 |         modalPresentationStyle: UIModalPresentationStyle = .automatic,
    |                                 `- error: 'UIModalPresentationStyle' is unavailable in watchOS
117 |         animated: Bool = true
118 |     ) -> 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:116:61: error: 'automatic' is unavailable in watchOS
114 |         _ content: Content,
115 |         isPresented: Binding<Bool>,
116 |         modalPresentationStyle: UIModalPresentationStyle = .automatic,
    |                                                             `- error: 'automatic' is unavailable in watchOS
117 |         animated: Bool = true
118 |     ) -> 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:131:21: error: 'UISheetPresentationController' is unavailable in watchOS
129 | public struct SheetConfiguration {
130 |     /// A closure that will be called to configure the sheet presentation controller before presentation.
131 |     var configure: (UISheetPresentationController) -> Void
    |                     `- error: 'UISheetPresentationController' is unavailable in watchOS
132 |
133 |     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:133:39: error: 'UISheetPresentationController' is unavailable in watchOS
131 |     var configure: (UISheetPresentationController) -> Void
132 |
133 |     public init(configure: @escaping (UISheetPresentationController) -> Void) {
    |                                       `- error: 'UISheetPresentationController' is unavailable in watchOS
134 |         self.configure = configure
135 |     }
/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:54:9: error: failed to produce diagnostic for expression; please submit a bug report (https://swift.org/contributing/#reporting-bugs)
 52 |         @ViewBuilder content: () -> Content
 53 |     ) -> some View {
 54 |         background(
    |         `- error: failed to produce diagnostic for expression; please submit a bug report (https://swift.org/contributing/#reporting-bugs)
 55 |             UIViewControllerPresenting.content(
 56 |                 content(),
/Users/admin/builder/spi-builder-workspace/Sources/UIViewControllerPresenting/ViewPresenting.swift:84:9: error: failed to produce diagnostic for expression; please submit a bug report (https://swift.org/contributing/#reporting-bugs)
 82 |         @ViewBuilder content: () -> Content
 83 |     ) -> some View {
 84 |         background(
    |         `- error: failed to produce diagnostic for expression; please submit a bug report (https://swift.org/contributing/#reporting-bugs)
 85 |             UIViewControllerPresenting.content(
 86 |                 content(),
/Users/admin/builder/spi-builder-workspace/Sources/UIViewControllerPresenting/ViewPresenting.swift:104:37: error: cannot find 'UIHostingController' in scope
102 |     ) -> Self where Controller == UIHostingController<Content> {
103 |         .init(isPresented: isPresented) { _, _ in
104 |             let hostingController = UIHostingController(rootView: content)
    |                                     `- error: cannot find 'UIHostingController' in scope
105 |             hostingController.modalPresentationStyle = modalPresentationStyle
106 |             if let sheet = hostingController.sheetPresentationController {
/Users/admin/builder/spi-builder-workspace/Sources/UIViewControllerPresenting/UIViewControllerPresenting.swift:76:42: error: cannot find type 'Context' in scope
 74 |     public init(
 75 |         isPresented: Binding<Bool>,
 76 |         makeUIViewController: @escaping (Context, @escaping DismissHandler) -> Controller,
    |                                          `- error: cannot find type 'Context' in scope
 77 |         makeCoordinator: @escaping (@escaping DismissHandler) -> Coordinator,
 78 |         animated: Bool = true
/Users/admin/builder/spi-builder-workspace/Sources/UIViewControllerPresenting/UIViewControllerPresenting.swift:156:42: error: cannot find type 'Context' in scope
154 |     public init(
155 |         isPresented: Binding<Bool>,
156 |         makeUIViewController: @escaping (Context, @escaping DismissHandler) -> Controller,
    |                                          `- error: cannot find type 'Context' in scope
157 |         animated: Bool = true
158 |     ) {
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules
2026-09-18 14:30:02.718 xcodebuild[794:4786] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
2026-09-18 14:30:02.861 xcodebuild[794:4786] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
** BUILD FAILED **
The following build commands failed:
	SwiftEmitModule normal arm64 Emitting\ module\ for\ UIViewControllerPresenting (in target 'UIViewControllerPresenting' from project 'swiftui-uikit-presenting')
	SwiftCompile normal arm64 (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