Build Information
Failed to build PrecisionLevelSlider, reference 3.0.0 (c546d7), with Swift 6.4 for watchOS using Xcode 27.0 on 27 Sep 2026 04:08:23 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 PrecisionLevelSlider -destination generic/platform=watchOSBuild Log
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/os_object-CTXVQBCWDOH6JHUXIFDUOWFRL.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/os_workgroup-AHE7ULDQBKER38CYPIKDTZF4M.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/os_workgroup-9L9R05BT5LTFRZ2NM68BZTVV2.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/Spatial-EZKKX4XFW72RZCTOIG80Z93AP.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/Dispatch-39VR0G01IUJ09PQKMFGOHXZ4L.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/Spatial-4XS0QRL16224ZE9KE9TMKASKT.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/Dispatch-CGIMI9KQKHNRQHR2IECIPRG14.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreFoundation-59XKO8YNRGGYNC5U5LK8B4EM.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/XPC-650JAZBTM6I0OMHYO6CKM0CWJ.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/XPC-7SLKI45KYLKXH9QET2WYS3UZ4.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreFoundation-76B9WJP9MDYT33HZQVSNNZQZD.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/os-6BCTB8I5DCBBKFJ0Y0G4WQDDJ.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/os-D9NWGT7PQGY2OD43XMA2KGLJK.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreGraphics-5488DA9QVJJ7QOFXPYOYIYFUX.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreAudioTypes-51SR7UBHOMSGMEPVFS6PLSR4M.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/Security-69WNGEAVQP55EDBQHP3BLE8QU.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreGraphics-A4WOQTM8SYZAQP223LI6RRPEK.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/Security-1W411BS4UH2UNMNII2341429S.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreAudioTypes-AY6JAXDJMW2FLVG4UD79375PW.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreAudio-368NRGVYQ33J8K75Y2DSNU06Y.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreAudio-1FTJGW5ZM9ZN5IKPBE4A9LGNF.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/Foundation-B3IXODHI7VO4VRX2RWRXLVJZT.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreVideo-2YRZ292TS6QDW2V2V92NZMPWM.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreText-BEC0M2J7FJN53VXNFDZDKL9U2.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/Foundation-AIQ30TCDC2B0LBUU6FPQZ0HWI.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreText-34U50N378SZT64826L0B62MN6.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreVideo-BX0NALWCB2F1YOTF0NZGV9FWU.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreMedia-EO02G285WTXB0RPNG3DP9O9VN.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreMedia-CU8J9TNJY5EX43FQOPTAAHU29.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreTransferable-EULYJN53RZTIP2D6F171CT1YZ.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/UserNotifications-7VIERZPAA371031RT8VBKFYKJ.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_LocationEssentials-C3HYVW8P89QAUDLD9VRHUF48Q.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/SceneKit-4VPDXW2J8W40JMX88G7X30C4G.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/Accessibility-DB0V1GY4JDAXG2CZ5MW826DDE.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/QuartzCore-BRDP6VIMJ6A6HG4W4NYXZ8BI3.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/OSLog-ESJZZ70KT229YQNKF5CWYQVLA.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/DataDetection-8RQ09UCIV0XSYRF8TQQD54MWN.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreData-DAEI6Z48P97TYC3SMMGLERAJ5.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/Symbols-B8SNL2YULCKW9SYIL0T5QLMV.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/UserNotifications-F5AOMF9V2Y10QV8U00QNX8B7Q.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/SceneKit-CLOM4E4D45A8A94N3QNHOVW3H.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/UIUtilities-ABH83C7CSGMIJAARTF384TV0L.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/UniformTypeIdentifiers-EH256724QTCKT0XATY095QHVP.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreData-6STZ9DXY0E1K8LHUUEU1F4SE.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/Symbols-DP67QJL9W7VSYP70ZVEBE3KRT.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/Accessibility-BBXP8Z81UOB3UBBTO3GG9FEEO.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreTransferable-DSXZOKFM7XQLZ0FRNNKFDWZT0.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/SwiftUICore-D4BOUT6VJWDXKNATG8P2F95W3.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/DataDetection-8EDL8T61430CB5CU94L1E3L0C.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreLocation-B0A9Z3B1UDU8OLBQROLWD03N3.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/QuartzCore-72UYR37X0O2APTD1XMSJ20X5X.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/UIUtilities-AR3EDJH6PMDGNUXQGV2JND65S.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_LocationEssentials-1XWTF8V96VX3IAHKJO7PJZDU0.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/OSLog-DXCLJ0K1EEBRV5MFYJOV1HIUX.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/UniformTypeIdentifiers-47SS6PHE8KOUZX5UOQUNKH397.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreLocation-4AZRAZ8X3W0CS36SZ1GS4LT05.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreMotion-70RNUQRT1QM2F8WR42WPP4KQV.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/SwiftUICore-TURER010MQ2QH6SN4BGDJJKP.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreMotion-E9C6K7MOTJF3RC93DULCZ130U.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/UIKit-2XWL6VFNA7WRWSTXI42YLU909.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/UIKit-BGAQE5HOOTG6M9C46O1HHPCDR.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/MapKit-5U4CPBNVICOGB0BBK9BC7P4E9.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/HomeKit-2JD3RMVTK0MFX7K570KHTLBBH.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/MapKit-3RCPMYWFYVKLOR1JJH1M1L7O6.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/HomeKit-DXH34ZWEY4P4FEELCOH3LXVCR.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/WatchKit-22L6Z003SE8XPQ9JS14K57C9N.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/WatchKit-7IATJTA58S6OFDEYHG9JSLLDQ.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/SwiftUI-E6XJI4PF1Q2HPTXKL91GWARU6.pcm
SwiftEmitModule normal arm64 Emitting\ module\ for\ SwiftUIHosting (in target 'SwiftUIHosting' from project 'swiftui-hosting')
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-Hosting/Sources/SwiftUIHosting/Example.swift:11:1: error: failed to produce diagnostic for expression; please submit a bug report (https://swift.org/contributing/#reporting-bugs)
9 |
10 | @available(iOS 17.0, *)
11 | #Preview {
| `- error: failed to produce diagnostic for expression; please submit a bug report (https://swift.org/contributing/#reporting-bugs)
12 | let model = Model()
13 | return SwiftUIHostingView {
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-Hosting/Sources/SwiftUIHosting/HostingController.swift:3:47: error: cannot find type 'UIHostingController' in scope
1 | import SwiftUI
2 |
3 | final class HostingController<Content: View>: UIHostingController<Content> {
| `- error: cannot find type 'UIHostingController' in scope
4 |
5 | var onViewDidLayoutSubviews: (UIViewController) -> Void = { _ in }
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-Hosting/Sources/SwiftUIHosting/HostingController.swift:5:33: error: 'UIViewController' is unavailable in watchOS
3 | final class HostingController<Content: View>: UIHostingController<Content> {
4 |
5 | var onViewDidLayoutSubviews: (UIViewController) -> Void = { _ in }
| `- error: 'UIViewController' is unavailable in watchOS
6 |
7 | private let accessibilityIdentifier: String?
/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/.dependencies/checkouts/swiftui-Hosting/Sources/SwiftUIHosting/HostingController.swift:25:17: error: method does not override any method from its superclass
23 | }
24 |
25 | override func viewDidLoad() {
| `- error: method does not override any method from its superclass
26 | super.viewDidLoad()
27 |
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-Hosting/Sources/SwiftUIHosting/HostingController.swift:31:17: error: method does not override any method from its superclass
29 | }
30 |
31 | override func viewDidLayoutSubviews() {
| `- error: method does not override any method from its superclass
32 | super.viewDidLayoutSubviews()
33 |
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-Hosting/Sources/SwiftUIHosting/SwiftUIHostingView.swift:4:47: error: 'UIView' is unavailable in watchOS
2 |
3 | /// A view that hosts SwiftUI for UIKit environment.
4 | open class SwiftUIHostingView<Content: View>: UIView {
| `- error: 'UIView' is unavailable in watchOS
5 |
6 | private let hostingController: HostingController<ModifiedContent<Content, BaseModifier>>
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-Hosting/Sources/SwiftUIHosting/SwiftUIHostingViewController.swift:7:25: error: 'UIViewController' is unavailable in watchOS
5 | public let configuration: SwiftUIHostingConfiguration
6 |
7 | private let content: (UIViewController) -> Content
| `- error: 'UIViewController' is unavailable in watchOS
8 |
9 | private let name: String
/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/.dependencies/checkouts/swiftui-Hosting/Sources/SwiftUIHosting/SwiftUIHostingViewController.swift:20:49: error: 'UIViewController' is unavailable in watchOS
18 | _ line: UInt = #line,
19 | configuration: SwiftUIHostingConfiguration = .init(),
20 | @ViewBuilder content: @escaping @MainActor (UIViewController) -> Content
| `- error: 'UIViewController' is unavailable in watchOS
21 | ) {
22 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/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/.dependencies/checkouts/swiftui-Hosting/Sources/SwiftUIHosting/SwiftUIHostingViewController.swift:3:57: error: 'UIViewController' is unavailable in watchOS
1 | import SwiftUI
2 |
3 | open class SwiftUIHostingViewController<Content: View>: UIViewController {
| `- error: 'UIViewController' is unavailable in watchOS
4 |
5 | public let configuration: SwiftUIHostingConfiguration
/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/.dependencies/checkouts/swiftui-Hosting/Sources/SwiftUIHosting/SwiftUIHostingViewController.swift:88:49: error: 'UIViewController' is unavailable in watchOS
86 | _ line: UInt = #line,
87 | configuration: SwiftUIHostingConfiguration = .init(),
88 | @ViewBuilder content: @escaping @MainActor (UIViewController) -> AnyViewContent
| `- error: 'UIViewController' is unavailable in watchOS
89 | ) {
90 | super.init(
/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/.dependencies/checkouts/swiftui-Hosting/Sources/SwiftUIHosting/UIResponder+.swift:5:39: error: 'UIViewController' is unavailable in watchOS
3 | extension UIResponder {
4 |
5 | func findNearestViewController() -> UIViewController? {
| `- error: 'UIViewController' is unavailable in watchOS
6 | sequence(first: self, next: { $0.next })
7 | .first {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
SwiftCompile normal arm64 (in target 'SwiftUIHosting' from project 'swiftui-hosting')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-Hosting/Sources/SwiftUIHosting/UIResponder+.swift:3:11: error: 'UIResponder' is unavailable in watchOS
1 | import UIKit
2 |
3 | extension UIResponder {
| `- error: 'UIResponder' is unavailable in watchOS
4 |
5 | func findNearestViewController() -> 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/UIResponder.h:82:12: note: 'UIResponder' has been explicitly marked unavailable here
80 |
81 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
82 | @interface UIResponder : NSObject <UIResponderStandardEditActions>
| `- note: 'UIResponder' has been explicitly marked unavailable here
83 |
84 | @property(nonatomic, readonly, nullable) UIResponder *nextResponder;
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/.dependencies/checkouts/swiftui-Hosting/Sources/SwiftUIHosting/BaseModifier.swift /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-Hosting/Sources/SwiftUIHosting/Example.swift /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-Hosting/Sources/SwiftUIHosting/HostingController.swift /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-Hosting/Sources/SwiftUIHosting/SwiftUIHostingView.swift /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-Hosting/Sources/SwiftUIHosting/SwiftUIHostingViewController.swift /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-Hosting/Sources/SwiftUIHosting/UIResponder+.swift -target arm64-apple-watchos10.0 -disable-cross-import-overlay-search -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libFoundationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#FoundationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libObservationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#ObservationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libPreviewsMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#PreviewsMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libSwiftMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#SwiftMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libSwiftUIMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#SwiftUIMacros -disable-implicit-swift-modules -Xcc -fno-implicit-modules -Xcc -fno-implicit-module-maps -explicit-swift-module-map-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swiftui-hosting.build/Debug-watchos/SwiftUIHosting-t.build/Objects-normal/arm64/SwiftUIHosting-dependencies-2.json -Xllvm -aarch64-use-tbi -enable-objc-interop -stack-check -sdk /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/Developer/Library/Frameworks -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules -no-color-diagnostics -Xcc -fno-color-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -suppress-warnings -swift-version 6 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -user-module-version 3.0.0 -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-hosting.build/Debug-watchos/SwiftUIHosting-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swiftui-hosting.build/Debug-watchos/SwiftUIHosting-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swiftui-hosting.build/Debug-watchos/SwiftUIHosting-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name SwiftUIHosting -package-name swiftui_hosting -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swiftui-hosting.build/Debug-watchos/SwiftUIHosting-t.build/Objects-normal/arm64/SwiftUIHosting_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-hosting.build/Debug-watchos/SwiftUIHosting-t.build/Objects-normal/arm64/SwiftUIHosting.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swiftui-hosting.build/Debug-watchos/SwiftUIHosting-t.build/Objects-normal/arm64/SwiftUIHosting.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swiftui-hosting.build/Debug-watchos/SwiftUIHosting-t.build/Objects-normal/arm64/SwiftUIHosting-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swiftui-hosting.build/Debug-watchos/SwiftUIHosting-t.build/Objects-normal/arm64/SwiftUIHosting-primary-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swiftui-hosting.build/Debug-watchos/SwiftUIHosting-t.build/Objects-normal/arm64/SwiftUIHosting-primary-emit-module.d -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swiftui-hosting.build/Debug-watchos/SwiftUIHosting-t.build/Objects-normal/arm64/SwiftUIHosting.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swiftui-hosting.build/Debug-watchos/SwiftUIHosting-t.build/Objects-normal/arm64/SwiftUIHosting.abi.json
SwiftCompile normal arm64 Compiling\ SwiftUIHostingView.swift /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-Hosting/Sources/SwiftUIHosting/SwiftUIHostingView.swift (in target 'SwiftUIHosting' from project 'swiftui-hosting')
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-Hosting/Sources/SwiftUIHosting/SwiftUIHostingView.swift:4:47: error: 'UIView' is unavailable in watchOS
2 |
3 | /// A view that hosts SwiftUI for UIKit environment.
4 | open class SwiftUIHostingView<Content: View>: UIView {
| `- error: 'UIView' is unavailable in watchOS
5 |
6 | private let hostingController: HostingController<ModifiedContent<Content, BaseModifier>>
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-Hosting/Sources/SwiftUIHosting/SwiftUIHostingView.swift:54:23: error: value of type 'HostingController<ModifiedContent<Content, BaseModifier>>' has no member 'view'
52 | #endif
53 |
54 | hostingController.view.backgroundColor = .clear
| `- error: value of type 'HostingController<ModifiedContent<Content, BaseModifier>>' has no member 'view'
55 |
56 | addSubview(hostingController.view)
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-Hosting/Sources/SwiftUIHosting/SwiftUIHostingView.swift:54:47: error: cannot infer contextual base in reference to member 'clear'
52 | #endif
53 |
54 | hostingController.view.backgroundColor = .clear
| `- error: cannot infer contextual base in reference to member 'clear'
55 |
56 | addSubview(hostingController.view)
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-Hosting/Sources/SwiftUIHosting/SwiftUIHostingView.swift:56:34: error: value of type 'HostingController<ModifiedContent<Content, BaseModifier>>' has no member 'view'
54 | hostingController.view.backgroundColor = .clear
55 |
56 | addSubview(hostingController.view)
| `- error: value of type 'HostingController<ModifiedContent<Content, BaseModifier>>' has no member 'view'
57 | hostingController.view.translatesAutoresizingMaskIntoConstraints = false
58 |
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-Hosting/Sources/SwiftUIHosting/SwiftUIHostingView.swift:57:23: error: value of type 'HostingController<ModifiedContent<Content, BaseModifier>>' has no member 'view'
55 |
56 | addSubview(hostingController.view)
57 | hostingController.view.translatesAutoresizingMaskIntoConstraints = false
| `- error: value of type 'HostingController<ModifiedContent<Content, BaseModifier>>' has no member 'view'
58 |
59 | NSLayoutConstraint.activate([
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-Hosting/Sources/SwiftUIHosting/SwiftUIHostingView.swift:60:25: error: value of type 'HostingController<ModifiedContent<Content, BaseModifier>>' has no member 'view'
58 |
59 | NSLayoutConstraint.activate([
60 | hostingController.view.topAnchor.constraint(equalTo: topAnchor),
| `- error: value of type 'HostingController<ModifiedContent<Content, BaseModifier>>' has no member 'view'
61 | hostingController.view.rightAnchor.constraint(equalTo: rightAnchor),
62 | hostingController.view.bottomAnchor.constraint(equalTo: bottomAnchor),
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-Hosting/Sources/SwiftUIHosting/SwiftUIHostingView.swift:61:25: error: value of type 'HostingController<ModifiedContent<Content, BaseModifier>>' has no member 'view'
59 | NSLayoutConstraint.activate([
60 | hostingController.view.topAnchor.constraint(equalTo: topAnchor),
61 | hostingController.view.rightAnchor.constraint(equalTo: rightAnchor),
| `- error: value of type 'HostingController<ModifiedContent<Content, BaseModifier>>' has no member 'view'
62 | hostingController.view.bottomAnchor.constraint(equalTo: bottomAnchor),
63 | hostingController.view.leftAnchor.constraint(equalTo: leftAnchor),
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-Hosting/Sources/SwiftUIHosting/SwiftUIHostingView.swift:62:25: error: value of type 'HostingController<ModifiedContent<Content, BaseModifier>>' has no member 'view'
60 | hostingController.view.topAnchor.constraint(equalTo: topAnchor),
61 | hostingController.view.rightAnchor.constraint(equalTo: rightAnchor),
62 | hostingController.view.bottomAnchor.constraint(equalTo: bottomAnchor),
| `- error: value of type 'HostingController<ModifiedContent<Content, BaseModifier>>' has no member 'view'
63 | hostingController.view.leftAnchor.constraint(equalTo: leftAnchor),
64 | ])
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-Hosting/Sources/SwiftUIHosting/SwiftUIHostingView.swift:63:25: error: value of type 'HostingController<ModifiedContent<Content, BaseModifier>>' has no member 'view'
61 | hostingController.view.rightAnchor.constraint(equalTo: rightAnchor),
62 | hostingController.view.bottomAnchor.constraint(equalTo: bottomAnchor),
63 | hostingController.view.leftAnchor.constraint(equalTo: leftAnchor),
| `- error: value of type 'HostingController<ModifiedContent<Content, BaseModifier>>' has no member 'view'
64 | ])
65 |
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-Hosting/Sources/SwiftUIHosting/HostingController.swift:3:47: error: cannot find type 'UIHostingController' in scope
1 | import SwiftUI
2 |
3 | final class HostingController<Content: View>: UIHostingController<Content> {
| `- error: cannot find type 'UIHostingController' in scope
4 |
5 | var onViewDidLayoutSubviews: (UIViewController) -> Void = { _ in }
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-Hosting/Sources/SwiftUIHosting/SwiftUIHostingView.swift:85:43: error: value of type 'HostingController<ModifiedContent<Content, BaseModifier>>' has no member 'sizeThatFits'
83 | case .systemSizeThatFits:
84 |
85 | let fittingSize = hostingController.sizeThatFits(in: size)
| `- error: value of type 'HostingController<ModifiedContent<Content, BaseModifier>>' has no member 'sizeThatFits'
86 |
87 | return fittingSize
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-Hosting/Sources/SwiftUIHosting/SwiftUIHostingView.swift:91:43: error: value of type 'HostingController<ModifiedContent<Content, BaseModifier>>' has no member 'view'
89 | case .autoLayout:
90 |
91 | let fittingSize = hostingController.view.systemLayoutSizeFitting(size)
| `- error: value of type 'HostingController<ModifiedContent<Content, BaseModifier>>' has no member 'view'
92 |
93 | return fittingSize
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-Hosting/Sources/SwiftUIHosting/SwiftUIHostingView.swift:100:27: error: 'UIView' is unavailable in watchOS
98 |
99 | if fixedSize.width == .infinity {
100 | fixedSize.width = UIView.layoutFittingCompressedSize.width
| `- error: 'UIView' is unavailable in watchOS
101 | }
102 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-Hosting/Sources/SwiftUIHosting/SwiftUIHostingView.swift:100:34: error: 'layoutFittingCompressedSize' is unavailable in watchOS
98 |
99 | if fixedSize.width == .infinity {
100 | fixedSize.width = UIView.layoutFittingCompressedSize.width
| `- error: 'layoutFittingCompressedSize' is unavailable in watchOS
101 | }
102 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:560:27: note: 'layoutFittingCompressedSize' has been explicitly marked unavailable here
558 | // Size To Fit
559 |
560 | UIKIT_EXTERN const CGSize UILayoutFittingCompressedSize API_AVAILABLE(ios(6.0)) API_UNAVAILABLE(watchos);
| `- note: 'layoutFittingCompressedSize' has been explicitly marked unavailable here
561 | UIKIT_EXTERN const CGSize UILayoutFittingExpandedSize API_AVAILABLE(ios(6.0)) API_UNAVAILABLE(watchos);
562 |
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-Hosting/Sources/SwiftUIHosting/SwiftUIHostingView.swift (in target 'SwiftUIHosting' from project 'swiftui-hosting')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile SwiftUIHostingView.swift
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-Hosting/Sources/SwiftUIHosting/SwiftUIHostingView.swift:104:28: error: 'UIView' is unavailable in watchOS
102 |
103 | if fixedSize.height == .infinity {
104 | fixedSize.height = UIView.layoutFittingCompressedSize.height
| `- error: 'UIView' is unavailable in watchOS
105 | }
106 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-Hosting/Sources/SwiftUIHosting/SwiftUIHostingView.swift:104:35: error: 'layoutFittingCompressedSize' is unavailable in watchOS
102 |
103 | if fixedSize.height == .infinity {
104 | fixedSize.height = UIView.layoutFittingCompressedSize.height
| `- error: 'layoutFittingCompressedSize' is unavailable in watchOS
105 | }
106 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:560:27: note: 'layoutFittingCompressedSize' has been explicitly marked unavailable here
558 | // Size To Fit
559 |
560 | UIKIT_EXTERN const CGSize UILayoutFittingCompressedSize API_AVAILABLE(ios(6.0)) API_UNAVAILABLE(watchos);
| `- note: 'layoutFittingCompressedSize' has been explicitly marked unavailable here
561 | UIKIT_EXTERN const CGSize UILayoutFittingExpandedSize API_AVAILABLE(ios(6.0)) API_UNAVAILABLE(watchos);
562 |
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-Hosting/Sources/SwiftUIHosting/SwiftUIHostingView.swift:107:43: error: value of type 'HostingController<ModifiedContent<Content, BaseModifier>>' has no member 'sizeThatFits'
105 | }
106 |
107 | let fittingSize = hostingController.sizeThatFits(in: fixedSize)
| `- error: value of type 'HostingController<ModifiedContent<Content, BaseModifier>>' has no member 'sizeThatFits'
108 |
109 | return fittingSize
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-Hosting/Sources/SwiftUIHosting/SwiftUIHostingView.swift:143:52: error: value of type 'HostingController<ModifiedContent<Content, BaseModifier>>' has no member 'parent'
141 | if let parentViewController = self.findNearestViewController() {
142 |
143 | if parentViewController == hostingController.parent {
| `- error: value of type 'HostingController<ModifiedContent<Content, BaseModifier>>' has no member 'parent'
144 | // it's already associated with proposed view controller as parent.
145 | } else {
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-Hosting/Sources/SwiftUIHosting/SwiftUIHostingView.swift:147:30: error: value of type 'HostingController<ModifiedContent<Content, BaseModifier>>' has no member 'parent'
145 | } else {
146 |
147 | if hostingController.parent != nil {
| `- error: value of type 'HostingController<ModifiedContent<Content, BaseModifier>>' has no member 'parent'
148 | // if associated with different parent view controller, unregister first.
149 | hostingController.willMove(toParent: nil)
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-Hosting/Sources/SwiftUIHosting/SwiftUIHostingView.swift:149:29: error: value of type 'HostingController<ModifiedContent<Content, BaseModifier>>' has no member 'willMove'
147 | if hostingController.parent != nil {
148 | // if associated with different parent view controller, unregister first.
149 | hostingController.willMove(toParent: nil)
| `- error: value of type 'HostingController<ModifiedContent<Content, BaseModifier>>' has no member 'willMove'
150 | hostingController.removeFromParent()
151 | }
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-Hosting/Sources/SwiftUIHosting/SwiftUIHostingView.swift:150:29: error: value of type 'HostingController<ModifiedContent<Content, BaseModifier>>' has no member 'removeFromParent'
148 | // if associated with different parent view controller, unregister first.
149 | hostingController.willMove(toParent: nil)
150 | hostingController.removeFromParent()
| `- error: value of type 'HostingController<ModifiedContent<Content, BaseModifier>>' has no member 'removeFromParent'
151 | }
152 |
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-Hosting/Sources/SwiftUIHosting/SwiftUIHostingView.swift:154:39: error: cannot convert value of type 'HostingController<ModifiedContent<Content, BaseModifier>>' to expected argument type 'UIViewController'
152 |
153 | // register parent view controller
154 | parentViewController.addChild(hostingController)
| `- error: cannot convert value of type 'HostingController<ModifiedContent<Content, BaseModifier>>' to expected argument type 'UIViewController'
155 | hostingController.didMove(toParent: parentViewController)
156 | }
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-Hosting/Sources/SwiftUIHosting/SwiftUIHostingView.swift:155:27: error: value of type 'HostingController<ModifiedContent<Content, BaseModifier>>' has no member 'didMove'
153 | // register parent view controller
154 | parentViewController.addChild(hostingController)
155 | hostingController.didMove(toParent: parentViewController)
| `- error: value of type 'HostingController<ModifiedContent<Content, BaseModifier>>' has no member 'didMove'
156 | }
157 |
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-Hosting/Sources/SwiftUIHosting/SwiftUIHostingView.swift:169:23: error: value of type 'HostingController<ModifiedContent<Content, BaseModifier>>' has no member 'willMove'
167 | */
168 | public func unregisterParent() {
169 | hostingController.willMove(toParent: nil)
| `- error: value of type 'HostingController<ModifiedContent<Content, BaseModifier>>' has no member 'willMove'
170 | hostingController.removeFromParent()
171 | }
SwiftCompile normal arm64 Compiling\ SwiftUIHostingViewController.swift /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-Hosting/Sources/SwiftUIHosting/SwiftUIHostingViewController.swift (in target 'SwiftUIHosting' from project 'swiftui-hosting')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-Hosting/Sources/SwiftUIHosting/SwiftUIHostingViewController.swift (in target 'SwiftUIHosting' from project 'swiftui-hosting')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile SwiftUIHostingViewController.swift
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-Hosting/Sources/SwiftUIHosting/SwiftUIHostingViewController.swift:7:25: error: 'UIViewController' is unavailable in watchOS
5 | public let configuration: SwiftUIHostingConfiguration
6 |
7 | private let content: (UIViewController) -> Content
| `- error: 'UIViewController' is unavailable in watchOS
8 |
9 | private let name: String
/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/.dependencies/checkouts/swiftui-Hosting/Sources/SwiftUIHosting/SwiftUIHostingViewController.swift:20:49: error: 'UIViewController' is unavailable in watchOS
18 | _ line: UInt = #line,
19 | configuration: SwiftUIHostingConfiguration = .init(),
20 | @ViewBuilder content: @escaping @MainActor (UIViewController) -> Content
| `- error: 'UIViewController' is unavailable in watchOS
21 | ) {
22 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/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/.dependencies/checkouts/swiftui-Hosting/Sources/SwiftUIHosting/SwiftUIHostingViewController.swift:3:57: error: 'UIViewController' is unavailable in watchOS
1 | import SwiftUI
2 |
3 | open class SwiftUIHostingViewController<Content: View>: UIViewController {
| `- error: 'UIViewController' is unavailable in watchOS
4 |
5 | public let configuration: SwiftUIHostingConfiguration
/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/.dependencies/checkouts/swiftui-Hosting/Sources/SwiftUIHosting/SwiftUIHostingViewController.swift:88:49: error: 'UIViewController' is unavailable in watchOS
86 | _ line: UInt = #line,
87 | configuration: SwiftUIHostingConfiguration = .init(),
88 | @ViewBuilder content: @escaping @MainActor (UIViewController) -> AnyViewContent
| `- error: 'UIViewController' is unavailable in watchOS
89 | ) {
90 | super.init(
/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/.dependencies/checkouts/swiftui-Hosting/Sources/SwiftUIHosting/SwiftUIHostingViewController.swift:62:14: error: cannot convert value of type 'HostingController<ModifiedContent<Content, BaseModifier>>' to expected argument type 'UIViewController'
60 | #endif
61 |
62 | addChild(hostingController)
| `- error: cannot convert value of type 'HostingController<ModifiedContent<Content, BaseModifier>>' to expected argument type 'UIViewController'
63 | view.addSubview(hostingController.view)
64 | hostingController.didMove(toParent: self)
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-Hosting/Sources/SwiftUIHosting/SwiftUIHostingViewController.swift:63:10: error: failed to produce diagnostic for expression; please submit a bug report (https://swift.org/contributing/#reporting-bugs)
61 |
62 | addChild(hostingController)
63 | view.addSubview(hostingController.view)
| `- error: failed to produce diagnostic for expression; please submit a bug report (https://swift.org/contributing/#reporting-bugs)
64 | hostingController.didMove(toParent: self)
65 |
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-Hosting/Sources/SwiftUIHosting/SwiftUIHostingViewController.swift:64:23: error: value of type 'HostingController<ModifiedContent<Content, BaseModifier>>' has no member 'didMove'
62 | addChild(hostingController)
63 | view.addSubview(hostingController.view)
64 | hostingController.didMove(toParent: self)
| `- error: value of type 'HostingController<ModifiedContent<Content, BaseModifier>>' has no member 'didMove'
65 |
66 | hostingController.view.backgroundColor = .clear
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-Hosting/Sources/SwiftUIHosting/SwiftUIHostingViewController.swift:66:23: error: value of type 'HostingController<ModifiedContent<Content, BaseModifier>>' has no member 'view'
64 | hostingController.didMove(toParent: self)
65 |
66 | hostingController.view.backgroundColor = .clear
| `- error: value of type 'HostingController<ModifiedContent<Content, BaseModifier>>' has no member 'view'
67 | hostingController.view.translatesAutoresizingMaskIntoConstraints = false
68 |
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-Hosting/Sources/SwiftUIHosting/SwiftUIHostingViewController.swift:66:47: error: cannot infer contextual base in reference to member 'clear'
64 | hostingController.didMove(toParent: self)
65 |
66 | hostingController.view.backgroundColor = .clear
| `- error: cannot infer contextual base in reference to member 'clear'
67 | hostingController.view.translatesAutoresizingMaskIntoConstraints = false
68 |
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-Hosting/Sources/SwiftUIHosting/SwiftUIHostingViewController.swift:67:23: error: value of type 'HostingController<ModifiedContent<Content, BaseModifier>>' has no member 'view'
65 |
66 | hostingController.view.backgroundColor = .clear
67 | hostingController.view.translatesAutoresizingMaskIntoConstraints = false
| `- error: value of type 'HostingController<ModifiedContent<Content, BaseModifier>>' has no member 'view'
68 |
69 | NSLayoutConstraint.activate([
SwiftCompile normal arm64 Compiling\ Example.swift /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-Hosting/Sources/SwiftUIHosting/Example.swift (in target 'SwiftUIHosting' from project 'swiftui-hosting')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-Hosting/Sources/SwiftUIHosting/Example.swift (in target 'SwiftUIHosting' from project 'swiftui-hosting')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile Example.swift
SwiftCompile normal arm64 Compiling\ HostingController.swift /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-Hosting/Sources/SwiftUIHosting/HostingController.swift (in target 'SwiftUIHosting' from project 'swiftui-hosting')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-Hosting/Sources/SwiftUIHosting/HostingController.swift (in target 'SwiftUIHosting' from project 'swiftui-hosting')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile HostingController.swift
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-Hosting/Sources/SwiftUIHosting/HostingController.swift:3:47: error: cannot find type 'UIHostingController' in scope
1 | import SwiftUI
2 |
3 | final class HostingController<Content: View>: UIHostingController<Content> {
| `- error: cannot find type 'UIHostingController' in scope
4 |
5 | var onViewDidLayoutSubviews: (UIViewController) -> Void = { _ in }
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-Hosting/Sources/SwiftUIHosting/HostingController.swift:5:33: error: 'UIViewController' is unavailable in watchOS
3 | final class HostingController<Content: View>: UIHostingController<Content> {
4 |
5 | var onViewDidLayoutSubviews: (UIViewController) -> Void = { _ in }
| `- error: 'UIViewController' is unavailable in watchOS
6 |
7 | private let accessibilityIdentifier: String?
/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/.dependencies/checkouts/swiftui-Hosting/Sources/SwiftUIHosting/HostingController.swift:25:17: error: method does not override any method from its superclass
23 | }
24 |
25 | override func viewDidLoad() {
| `- error: method does not override any method from its superclass
26 | super.viewDidLoad()
27 |
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-Hosting/Sources/SwiftUIHosting/HostingController.swift:31:17: error: method does not override any method from its superclass
29 | }
30 |
31 | override func viewDidLayoutSubviews() {
| `- error: method does not override any method from its superclass
32 | super.viewDidLayoutSubviews()
33 |
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-Hosting/Sources/SwiftUIHosting/HostingController.swift:17:5: error: 'super' cannot be used in class 'HostingController' because it has no superclass
15 | self.accessibilityIdentifier = accessibilityIdentifier
16 |
17 | super.init(rootView: rootView)
| `- error: 'super' cannot be used in class 'HostingController' because it has no superclass
18 | self.safeAreaRegions = safeAreaRegions
19 | }
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-Hosting/Sources/SwiftUIHosting/HostingController.swift:18:10: error: value of type 'HostingController<Content>' has no member 'safeAreaRegions'
16 |
17 | super.init(rootView: rootView)
18 | self.safeAreaRegions = safeAreaRegions
| `- error: value of type 'HostingController<Content>' has no member 'safeAreaRegions'
19 | }
20 |
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-Hosting/Sources/SwiftUIHosting/HostingController.swift:26:5: error: 'super' cannot be used in class 'HostingController' because it has no superclass
24 |
25 | override func viewDidLoad() {
26 | super.viewDidLoad()
| `- error: 'super' cannot be used in class 'HostingController' because it has no superclass
27 |
28 | view.accessibilityIdentifier = accessibilityIdentifier
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-Hosting/Sources/SwiftUIHosting/HostingController.swift:28:5: error: cannot find 'view' in scope
26 | super.viewDidLoad()
27 |
28 | view.accessibilityIdentifier = accessibilityIdentifier
| `- error: cannot find 'view' in scope
29 | }
30 |
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-Hosting/Sources/SwiftUIHosting/HostingController.swift:32:5: error: 'super' cannot be used in class 'HostingController' because it has no superclass
30 |
31 | override func viewDidLayoutSubviews() {
32 | super.viewDidLayoutSubviews()
| `- error: 'super' cannot be used in class 'HostingController' because it has no superclass
33 |
34 | onViewDidLayoutSubviews(self)
SwiftCompile normal arm64 Compiling\ BaseModifier.swift /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-Hosting/Sources/SwiftUIHosting/BaseModifier.swift (in target 'SwiftUIHosting' from project 'swiftui-hosting')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-Hosting/Sources/SwiftUIHosting/BaseModifier.swift (in target 'SwiftUIHosting' from project 'swiftui-hosting')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile BaseModifier.swift
SwiftCompile normal arm64 Compiling\ UIResponder+.swift /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-Hosting/Sources/SwiftUIHosting/UIResponder+.swift (in target 'SwiftUIHosting' from project 'swiftui-hosting')
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-Hosting/Sources/SwiftUIHosting/UIResponder+.swift:5:39: error: 'UIViewController' is unavailable in watchOS
3 | extension UIResponder {
4 |
5 | func findNearestViewController() -> UIViewController? {
| `- error: 'UIViewController' is unavailable in watchOS
6 | sequence(first: self, next: { $0.next })
7 | .first {
/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/.dependencies/checkouts/swiftui-Hosting/Sources/SwiftUIHosting/UIResponder+.swift:3:11: error: 'UIResponder' is unavailable in watchOS
1 | import UIKit
2 |
3 | extension UIResponder {
| `- error: 'UIResponder' is unavailable in watchOS
4 |
5 | func findNearestViewController() -> 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/UIResponder.h:82:12: note: 'UIResponder' has been explicitly marked unavailable here
80 |
81 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
82 | @interface UIResponder : NSObject <UIResponderStandardEditActions>
| `- note: 'UIResponder' has been explicitly marked unavailable here
83 |
84 | @property(nonatomic, readonly, nullable) UIResponder *nextResponder;
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-Hosting/Sources/SwiftUIHosting/UIResponder+.swift:9:13: error: 'UIViewController' is unavailable in watchOS
7 | .first {
8 | $0 is UIViewController
9 | } as? UIViewController
| `- error: 'UIViewController' is unavailable in watchOS
10 | }
11 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-Hosting/Sources/SwiftUIHosting/UIResponder+.swift (in target 'SwiftUIHosting' from project 'swiftui-hosting')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile UIResponder+.swift
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/SwiftUI-6DR5UJH94SD7QMITGWNAX9FBI.pcm
SwiftEmitModule normal arm64_32 Emitting\ module\ for\ SwiftUIHosting (in target 'SwiftUIHosting' from project 'swiftui-hosting')
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-Hosting/Sources/SwiftUIHosting/Example.swift:11:1: error: failed to produce diagnostic for expression; please submit a bug report (https://swift.org/contributing/#reporting-bugs)
9 |
10 | @available(iOS 17.0, *)
11 | #Preview {
| `- error: failed to produce diagnostic for expression; please submit a bug report (https://swift.org/contributing/#reporting-bugs)
12 | let model = Model()
13 | return SwiftUIHostingView {
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-Hosting/Sources/SwiftUIHosting/HostingController.swift:3:47: error: cannot find type 'UIHostingController' in scope
1 | import SwiftUI
2 |
3 | final class HostingController<Content: View>: UIHostingController<Content> {
| `- error: cannot find type 'UIHostingController' in scope
4 |
5 | var onViewDidLayoutSubviews: (UIViewController) -> Void = { _ in }
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-Hosting/Sources/SwiftUIHosting/HostingController.swift:5:33: error: 'UIViewController' is unavailable in watchOS
3 | final class HostingController<Content: View>: UIHostingController<Content> {
4 |
5 | var onViewDidLayoutSubviews: (UIViewController) -> Void = { _ in }
| `- error: 'UIViewController' is unavailable in watchOS
6 |
7 | private let accessibilityIdentifier: String?
/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/.dependencies/checkouts/swiftui-Hosting/Sources/SwiftUIHosting/HostingController.swift:25:17: error: method does not override any method from its superclass
23 | }
24 |
25 | override func viewDidLoad() {
| `- error: method does not override any method from its superclass
26 | super.viewDidLoad()
27 |
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-Hosting/Sources/SwiftUIHosting/HostingController.swift:31:17: error: method does not override any method from its superclass
29 | }
30 |
31 | override func viewDidLayoutSubviews() {
| `- error: method does not override any method from its superclass
32 | super.viewDidLayoutSubviews()
33 |
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-Hosting/Sources/SwiftUIHosting/SwiftUIHostingView.swift:4:47: error: 'UIView' is unavailable in watchOS
2 |
3 | /// A view that hosts SwiftUI for UIKit environment.
4 | open class SwiftUIHostingView<Content: View>: UIView {
| `- error: 'UIView' is unavailable in watchOS
5 |
6 | private let hostingController: HostingController<ModifiedContent<Content, BaseModifier>>
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-Hosting/Sources/SwiftUIHosting/SwiftUIHostingViewController.swift:7:25: error: 'UIViewController' is unavailable in watchOS
5 | public let configuration: SwiftUIHostingConfiguration
6 |
7 | private let content: (UIViewController) -> Content
| `- error: 'UIViewController' is unavailable in watchOS
8 |
9 | private let name: String
/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/.dependencies/checkouts/swiftui-Hosting/Sources/SwiftUIHosting/SwiftUIHostingViewController.swift:20:49: error: 'UIViewController' is unavailable in watchOS
18 | _ line: UInt = #line,
19 | configuration: SwiftUIHostingConfiguration = .init(),
20 | @ViewBuilder content: @escaping @MainActor (UIViewController) -> Content
| `- error: 'UIViewController' is unavailable in watchOS
21 | ) {
22 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/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/.dependencies/checkouts/swiftui-Hosting/Sources/SwiftUIHosting/SwiftUIHostingViewController.swift:3:57: error: 'UIViewController' is unavailable in watchOS
1 | import SwiftUI
2 |
3 | open class SwiftUIHostingViewController<Content: View>: UIViewController {
| `- error: 'UIViewController' is unavailable in watchOS
4 |
5 | public let configuration: SwiftUIHostingConfiguration
/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/.dependencies/checkouts/swiftui-Hosting/Sources/SwiftUIHosting/SwiftUIHostingViewController.swift:88:49: error: 'UIViewController' is unavailable in watchOS
86 | _ line: UInt = #line,
87 | configuration: SwiftUIHostingConfiguration = .init(),
88 | @ViewBuilder content: @escaping @MainActor (UIViewController) -> AnyViewContent
| `- error: 'UIViewController' is unavailable in watchOS
89 | ) {
90 | super.init(
/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/.dependencies/checkouts/swiftui-Hosting/Sources/SwiftUIHosting/UIResponder+.swift:5:39: error: 'UIViewController' is unavailable in watchOS
3 | extension UIResponder {
4 |
5 | func findNearestViewController() -> UIViewController? {
| `- error: 'UIViewController' is unavailable in watchOS
6 | sequence(first: self, next: { $0.next })
7 | .first {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
SwiftCompile normal arm64_32 (in target 'SwiftUIHosting' from project 'swiftui-hosting')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64_32 Compiling\ HostingController.swift /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-Hosting/Sources/SwiftUIHosting/HostingController.swift (in target 'SwiftUIHosting' from project 'swiftui-hosting')
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-Hosting/Sources/SwiftUIHosting/HostingController.swift:3:47: error: cannot find type 'UIHostingController' in scope
1 | import SwiftUI
2 |
3 | final class HostingController<Content: View>: UIHostingController<Content> {
| `- error: cannot find type 'UIHostingController' in scope
4 |
5 | var onViewDidLayoutSubviews: (UIViewController) -> Void = { _ in }
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-Hosting/Sources/SwiftUIHosting/HostingController.swift:5:33: error: 'UIViewController' is unavailable in watchOS
3 | final class HostingController<Content: View>: UIHostingController<Content> {
4 |
5 | var onViewDidLayoutSubviews: (UIViewController) -> Void = { _ in }
| `- error: 'UIViewController' is unavailable in watchOS
6 |
7 | private let accessibilityIdentifier: String?
/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/.dependencies/checkouts/swiftui-Hosting/Sources/SwiftUIHosting/HostingController.swift:25:17: error: method does not override any method from its superclass
23 | }
24 |
25 | override func viewDidLoad() {
| `- error: method does not override any method from its superclass
26 | super.viewDidLoad()
27 |
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-Hosting/Sources/SwiftUIHosting/HostingController.swift:31:17: error: method does not override any method from its superclass
29 | }
30 |
31 | override func viewDidLayoutSubviews() {
| `- error: method does not override any method from its superclass
32 | super.viewDidLayoutSubviews()
33 |
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-Hosting/Sources/SwiftUIHosting/HostingController.swift:17:5: error: 'super' cannot be used in class 'HostingController' because it has no superclass
15 | self.accessibilityIdentifier = accessibilityIdentifier
16 |
17 | super.init(rootView: rootView)
| `- error: 'super' cannot be used in class 'HostingController' because it has no superclass
18 | self.safeAreaRegions = safeAreaRegions
19 | }
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-Hosting/Sources/SwiftUIHosting/HostingController.swift:18:10: error: value of type 'HostingController<Content>' has no member 'safeAreaRegions'
16 |
17 | super.init(rootView: rootView)
18 | self.safeAreaRegions = safeAreaRegions
| `- error: value of type 'HostingController<Content>' has no member 'safeAreaRegions'
19 | }
20 |
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-Hosting/Sources/SwiftUIHosting/HostingController.swift:26:5: error: 'super' cannot be used in class 'HostingController' because it has no superclass
24 |
25 | override func viewDidLoad() {
26 | super.viewDidLoad()
| `- error: 'super' cannot be used in class 'HostingController' because it has no superclass
27 |
28 | view.accessibilityIdentifier = accessibilityIdentifier
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-Hosting/Sources/SwiftUIHosting/HostingController.swift:28:5: error: cannot find 'view' in scope
26 | super.viewDidLoad()
27 |
28 | view.accessibilityIdentifier = accessibilityIdentifier
| `- error: cannot find 'view' in scope
29 | }
30 |
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-Hosting/Sources/SwiftUIHosting/HostingController.swift:32:5: error: 'super' cannot be used in class 'HostingController' because it has no superclass
30 |
31 | override func viewDidLayoutSubviews() {
32 | super.viewDidLayoutSubviews()
| `- error: 'super' cannot be used in class 'HostingController' because it has no superclass
33 |
34 | onViewDidLayoutSubviews(self)
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-Hosting/Sources/SwiftUIHosting/HostingController.swift (in target 'SwiftUIHosting' from project 'swiftui-hosting')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile HostingController.swift
SwiftCompile normal arm64_32 Compiling\ SwiftUIHostingView.swift /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-Hosting/Sources/SwiftUIHosting/SwiftUIHostingView.swift (in target 'SwiftUIHosting' from project 'swiftui-hosting')
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-Hosting/Sources/SwiftUIHosting/SwiftUIHostingView.swift:4:47: error: 'UIView' is unavailable in watchOS
2 |
3 | /// A view that hosts SwiftUI for UIKit environment.
4 | open class SwiftUIHostingView<Content: View>: UIView {
| `- error: 'UIView' is unavailable in watchOS
5 |
6 | private let hostingController: HostingController<ModifiedContent<Content, BaseModifier>>
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-Hosting/Sources/SwiftUIHosting/SwiftUIHostingView.swift:54:23: error: value of type 'HostingController<ModifiedContent<Content, BaseModifier>>' has no member 'view'
52 | #endif
53 |
54 | hostingController.view.backgroundColor = .clear
| `- error: value of type 'HostingController<ModifiedContent<Content, BaseModifier>>' has no member 'view'
55 |
56 | addSubview(hostingController.view)
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-Hosting/Sources/SwiftUIHosting/SwiftUIHostingView.swift:54:47: error: cannot infer contextual base in reference to member 'clear'
52 | #endif
53 |
54 | hostingController.view.backgroundColor = .clear
| `- error: cannot infer contextual base in reference to member 'clear'
55 |
56 | addSubview(hostingController.view)
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-Hosting/Sources/SwiftUIHosting/SwiftUIHostingView.swift:56:34: error: value of type 'HostingController<ModifiedContent<Content, BaseModifier>>' has no member 'view'
54 | hostingController.view.backgroundColor = .clear
55 |
56 | addSubview(hostingController.view)
| `- error: value of type 'HostingController<ModifiedContent<Content, BaseModifier>>' has no member 'view'
57 | hostingController.view.translatesAutoresizingMaskIntoConstraints = false
58 |
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-Hosting/Sources/SwiftUIHosting/SwiftUIHostingView.swift:57:23: error: value of type 'HostingController<ModifiedContent<Content, BaseModifier>>' has no member 'view'
55 |
56 | addSubview(hostingController.view)
57 | hostingController.view.translatesAutoresizingMaskIntoConstraints = false
| `- error: value of type 'HostingController<ModifiedContent<Content, BaseModifier>>' has no member 'view'
58 |
59 | NSLayoutConstraint.activate([
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-Hosting/Sources/SwiftUIHosting/SwiftUIHostingView.swift:60:25: error: value of type 'HostingController<ModifiedContent<Content, BaseModifier>>' has no member 'view'
58 |
59 | NSLayoutConstraint.activate([
60 | hostingController.view.topAnchor.constraint(equalTo: topAnchor),
| `- error: value of type 'HostingController<ModifiedContent<Content, BaseModifier>>' has no member 'view'
61 | hostingController.view.rightAnchor.constraint(equalTo: rightAnchor),
62 | hostingController.view.bottomAnchor.constraint(equalTo: bottomAnchor),
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-Hosting/Sources/SwiftUIHosting/SwiftUIHostingView.swift:61:25: error: value of type 'HostingController<ModifiedContent<Content, BaseModifier>>' has no member 'view'
59 | NSLayoutConstraint.activate([
60 | hostingController.view.topAnchor.constraint(equalTo: topAnchor),
61 | hostingController.view.rightAnchor.constraint(equalTo: rightAnchor),
| `- error: value of type 'HostingController<ModifiedContent<Content, BaseModifier>>' has no member 'view'
62 | hostingController.view.bottomAnchor.constraint(equalTo: bottomAnchor),
63 | hostingController.view.leftAnchor.constraint(equalTo: leftAnchor),
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-Hosting/Sources/SwiftUIHosting/SwiftUIHostingView.swift:62:25: error: value of type 'HostingController<ModifiedContent<Content, BaseModifier>>' has no member 'view'
60 | hostingController.view.topAnchor.constraint(equalTo: topAnchor),
61 | hostingController.view.rightAnchor.constraint(equalTo: rightAnchor),
62 | hostingController.view.bottomAnchor.constraint(equalTo: bottomAnchor),
| `- error: value of type 'HostingController<ModifiedContent<Content, BaseModifier>>' has no member 'view'
63 | hostingController.view.leftAnchor.constraint(equalTo: leftAnchor),
64 | ])
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-Hosting/Sources/SwiftUIHosting/SwiftUIHostingView.swift:63:25: error: value of type 'HostingController<ModifiedContent<Content, BaseModifier>>' has no member 'view'
61 | hostingController.view.rightAnchor.constraint(equalTo: rightAnchor),
62 | hostingController.view.bottomAnchor.constraint(equalTo: bottomAnchor),
63 | hostingController.view.leftAnchor.constraint(equalTo: leftAnchor),
| `- error: value of type 'HostingController<ModifiedContent<Content, BaseModifier>>' has no member 'view'
64 | ])
65 |
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-Hosting/Sources/SwiftUIHosting/HostingController.swift:3:47: error: cannot find type 'UIHostingController' in scope
1 | import SwiftUI
2 |
3 | final class HostingController<Content: View>: UIHostingController<Content> {
| `- error: cannot find type 'UIHostingController' in scope
4 |
5 | var onViewDidLayoutSubviews: (UIViewController) -> Void = { _ in }
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-Hosting/Sources/SwiftUIHosting/SwiftUIHostingView.swift:85:43: error: value of type 'HostingController<ModifiedContent<Content, BaseModifier>>' has no member 'sizeThatFits'
83 | case .systemSizeThatFits:
84 |
85 | let fittingSize = hostingController.sizeThatFits(in: size)
| `- error: value of type 'HostingController<ModifiedContent<Content, BaseModifier>>' has no member 'sizeThatFits'
86 |
87 | return fittingSize
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-Hosting/Sources/SwiftUIHosting/SwiftUIHostingView.swift:91:43: error: value of type 'HostingController<ModifiedContent<Content, BaseModifier>>' has no member 'view'
89 | case .autoLayout:
90 |
91 | let fittingSize = hostingController.view.systemLayoutSizeFitting(size)
| `- error: value of type 'HostingController<ModifiedContent<Content, BaseModifier>>' has no member 'view'
92 |
93 | return fittingSize
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-Hosting/Sources/SwiftUIHosting/SwiftUIHostingView.swift:100:27: error: 'UIView' is unavailable in watchOS
98 |
99 | if fixedSize.width == .infinity {
100 | fixedSize.width = UIView.layoutFittingCompressedSize.width
| `- error: 'UIView' is unavailable in watchOS
101 | }
102 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-Hosting/Sources/SwiftUIHosting/SwiftUIHostingView.swift:100:34: error: 'layoutFittingCompressedSize' is unavailable in watchOS
98 |
99 | if fixedSize.width == .infinity {
100 | fixedSize.width = UIView.layoutFittingCompressedSize.width
| `- error: 'layoutFittingCompressedSize' is unavailable in watchOS
101 | }
102 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:560:27: note: 'layoutFittingCompressedSize' has been explicitly marked unavailable here
558 | // Size To Fit
559 |
560 | UIKIT_EXTERN const CGSize UILayoutFittingCompressedSize API_AVAILABLE(ios(6.0)) API_UNAVAILABLE(watchos);
| `- note: 'layoutFittingCompressedSize' has been explicitly marked unavailable here
561 | UIKIT_EXTERN const CGSize UILayoutFittingExpandedSize API_AVAILABLE(ios(6.0)) API_UNAVAILABLE(watchos);
562 |
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-Hosting/Sources/SwiftUIHosting/SwiftUIHostingView.swift:104:28: error: 'UIView' is unavailable in watchOS
102 |
103 | if fixedSize.height == .infinity {
104 | fixedSize.height = UIView.layoutFittingCompressedSize.height
| `- error: 'UIView' is unavailable in watchOS
105 | }
106 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-Hosting/Sources/SwiftUIHosting/SwiftUIHostingView.swift:104:35: error: 'layoutFittingCompressedSize' is unavailable in watchOS
102 |
103 | if fixedSize.height == .infinity {
104 | fixedSize.height = UIView.layoutFittingCompressedSize.height
| `- error: 'layoutFittingCompressedSize' is unavailable in watchOS
105 | }
106 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:560:27: note: 'layoutFittingCompressedSize' has been explicitly marked unavailable here
558 | // Size To Fit
559 |
560 | UIKIT_EXTERN const CGSize UILayoutFittingCompressedSize API_AVAILABLE(ios(6.0)) API_UNAVAILABLE(watchos);
| `- note: 'layoutFittingCompressedSize' has been explicitly marked unavailable here
561 | UIKIT_EXTERN const CGSize UILayoutFittingExpandedSize API_AVAILABLE(ios(6.0)) API_UNAVAILABLE(watchos);
562 |
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-Hosting/Sources/SwiftUIHosting/SwiftUIHostingView.swift:107:43: error: value of type 'HostingController<ModifiedContent<Content, BaseModifier>>' has no member 'sizeThatFits'
105 | }
106 |
107 | let fittingSize = hostingController.sizeThatFits(in: fixedSize)
| `- error: value of type 'HostingController<ModifiedContent<Content, BaseModifier>>' has no member 'sizeThatFits'
108 |
109 | return fittingSize
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-Hosting/Sources/SwiftUIHosting/SwiftUIHostingView.swift:143:52: error: value of type 'HostingController<ModifiedContent<Content, BaseModifier>>' has no member 'parent'
141 | if let parentViewController = self.findNearestViewController() {
142 |
143 | if parentViewController == hostingController.parent {
| `- error: value of type 'HostingController<ModifiedContent<Content, BaseModifier>>' has no member 'parent'
144 | // it's already associated with proposed view controller as parent.
145 | } else {
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-Hosting/Sources/SwiftUIHosting/SwiftUIHostingView.swift:147:30: error: value of type 'HostingController<ModifiedContent<Content, BaseModifier>>' has no member 'parent'
145 | } else {
146 |
147 | if hostingController.parent != nil {
| `- error: value of type 'HostingController<ModifiedContent<Content, BaseModifier>>' has no member 'parent'
148 | // if associated with different parent view controller, unregister first.
149 | hostingController.willMove(toParent: nil)
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-Hosting/Sources/SwiftUIHosting/SwiftUIHostingView.swift:149:29: error: value of type 'HostingController<ModifiedContent<Content, BaseModifier>>' has no member 'willMove'
147 | if hostingController.parent != nil {
148 | // if associated with different parent view controller, unregister first.
149 | hostingController.willMove(toParent: nil)
| `- error: value of type 'HostingController<ModifiedContent<Content, BaseModifier>>' has no member 'willMove'
150 | hostingController.removeFromParent()
151 | }
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-Hosting/Sources/SwiftUIHosting/SwiftUIHostingView.swift:150:29: error: value of type 'HostingController<ModifiedContent<Content, BaseModifier>>' has no member 'removeFromParent'
148 | // if associated with different parent view controller, unregister first.
149 | hostingController.willMove(toParent: nil)
150 | hostingController.removeFromParent()
| `- error: value of type 'HostingController<ModifiedContent<Content, BaseModifier>>' has no member 'removeFromParent'
151 | }
152 |
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-Hosting/Sources/SwiftUIHosting/SwiftUIHostingView.swift:154:39: error: cannot convert value of type 'HostingController<ModifiedContent<Content, BaseModifier>>' to expected argument type 'UIViewController'
152 |
153 | // register parent view controller
154 | parentViewController.addChild(hostingController)
| `- error: cannot convert value of type 'HostingController<ModifiedContent<Content, BaseModifier>>' to expected argument type 'UIViewController'
155 | hostingController.didMove(toParent: parentViewController)
156 | }
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-Hosting/Sources/SwiftUIHosting/SwiftUIHostingView.swift:155:27: error: value of type 'HostingController<ModifiedContent<Content, BaseModifier>>' has no member 'didMove'
153 | // register parent view controller
154 | parentViewController.addChild(hostingController)
155 | hostingController.didMove(toParent: parentViewController)
| `- error: value of type 'HostingController<ModifiedContent<Content, BaseModifier>>' has no member 'didMove'
156 | }
157 |
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-Hosting/Sources/SwiftUIHosting/SwiftUIHostingView.swift:169:23: error: value of type 'HostingController<ModifiedContent<Content, BaseModifier>>' has no member 'willMove'
167 | */
168 | public func unregisterParent() {
169 | hostingController.willMove(toParent: nil)
| `- error: value of type 'HostingController<ModifiedContent<Content, BaseModifier>>' has no member 'willMove'
170 | hostingController.removeFromParent()
171 | }
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-Hosting/Sources/SwiftUIHosting/SwiftUIHostingView.swift (in target 'SwiftUIHosting' from project 'swiftui-hosting')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile SwiftUIHostingView.swift
SwiftCompile normal arm64_32 Compiling\ UIResponder+.swift /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-Hosting/Sources/SwiftUIHosting/UIResponder+.swift (in target 'SwiftUIHosting' from project 'swiftui-hosting')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-Hosting/Sources/SwiftUIHosting/UIResponder+.swift (in target 'SwiftUIHosting' from project 'swiftui-hosting')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile UIResponder+.swift
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules
2026-09-27 00:08:12.968 xcodebuild[660:3994] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
** BUILD FAILED **
The following build commands failed:
SwiftCompile normal arm64 (in target 'SwiftUIHosting' from project 'swiftui-hosting')
SwiftEmitModule normal arm64 Emitting\ module\ for\ SwiftUIHosting (in target 'SwiftUIHosting' from project 'swiftui-hosting')
Building workspace PrecisionLevelSlider with scheme PrecisionLevelSlider
(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:
PrecisionLevelSlider: /Users/admin/builder/spi-builder-workspace
swiftui-hosting: https://github.com/FluidGroup/swiftui-Hosting @ 3.0.0
resolved source packages: PrecisionLevelSlider, swiftui-hosting
2026-09-27 00:08:20.019 xcodebuild[844:4796] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
{
"dependencies" : [
{
"identity" : "swiftui-hosting",
"requirement" : {
"range" : [
{
"lower_bound" : "3.0.0",
"upper_bound" : "4.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/FluidGroup/swiftui-Hosting"
}
],
"manifest_display_name" : "PrecisionLevelSlider",
"name" : "PrecisionLevelSlider",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "17.0"
}
],
"products" : [
{
"name" : "PrecisionLevelSlider",
"targets" : [
"PrecisionLevelSlider"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "PrecisionLevelSlider",
"module_type" : "SwiftTarget",
"name" : "PrecisionLevelSlider",
"path" : "Sources/PrecisionLevelSlider",
"product_dependencies" : [
"SwiftUIHosting"
],
"product_memberships" : [
"PrecisionLevelSlider"
],
"sources" : [
"PrecisionLevelSlider.swift"
],
"type" : "library"
}
],
"tools_version" : "6.3"
}
{
"workspace" : {
"name" : "PrecisionLevelSlider",
"schemes" : [
"PrecisionLevelSlider"
]
}
}
2026-09-27 00:08:21.299 xcodebuild[852:4865] [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 PrecisionLevelSlider -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 PrecisionLevelSlider -destination generic/platform=watchOS
Resolve Package Graph
Resolved source packages:
PrecisionLevelSlider: /Users/admin/builder/spi-builder-workspace
swiftui-hosting: https://github.com/FluidGroup/swiftui-Hosting @ 3.0.0
ComputePackagePrebuildTargetDependencyGraph
Prepare packages
CreateBuildRequest
SendProjectDescription
CreateBuildOperation
ComputeTargetDependencyGraph
note: Building targets in dependency order
note: Target dependency graph (4 targets)
Target 'PrecisionLevelSlider-product' in project 'PrecisionLevelSlider'
➜ Explicit dependency on target 'PrecisionLevelSlider' in project 'PrecisionLevelSlider'
➜ Explicit dependency on target 'SwiftUIHosting-product' in project 'swiftui-hosting'
Target 'PrecisionLevelSlider' in project 'PrecisionLevelSlider'
➜ Explicit dependency on target 'SwiftUIHosting-product' in project 'swiftui-hosting'
Target 'SwiftUIHosting-product' in project 'swiftui-hosting'
➜ Explicit dependency on target 'SwiftUIHosting' in project 'swiftui-hosting'
Target 'SwiftUIHosting' in project 'swiftui-hosting' (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 SwiftUIHosting normal arm64_32 com.apple.xcode.tools.swift.compiler (in target 'SwiftUIHosting' from project 'swiftui-hosting')
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 SwiftUIHosting -Onone @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swiftui-hosting.build/Debug-watchos/SwiftUIHosting-t.build/Objects-normal/arm64_32/SwiftUIHosting.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-watchos10.0 -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -Xfrontend -serialize-debugging-options -enable-testing -suppress-warnings -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -swift-version 6 -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-hosting.build/Debug-watchos/SwiftUIHosting-t.build/Objects-normal/arm64_32/SwiftUIHosting-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-hosting.build/Debug-watchos/SwiftUIHosting-t.build/Objects-normal/arm64_32/SwiftUIHosting.swiftmodule -serialize-diagnostics -dependency-scan-serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swiftui-hosting.build/Debug-watchos/SwiftUIHosting-t.build/Objects-normal/arm64_32/SwiftUIHosting-dependency-scan.dia -user-module-version 3.0.0 -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -package-name swiftui_hosting -emit-const-values -const-gather-protocols-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swiftui-hosting.build/Debug-watchos/SwiftUIHosting-t.build/Objects-normal/arm64_32/SwiftUIHosting_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-hosting.build/Debug-watchos/SwiftUIHosting-t.build/DerivedSources-normal/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swiftui-hosting.build/Debug-watchos/SwiftUIHosting-t.build/DerivedSources/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swiftui-hosting.build/Debug-watchos/SwiftUIHosting-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-hosting.build/Debug-watchos/SwiftUIHosting-t.build/Objects-normal/arm64_32/SwiftUIHosting-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
SwiftDriver SwiftUIHosting normal arm64 com.apple.xcode.tools.swift.compiler (in target 'SwiftUIHosting' from project 'swiftui-hosting')
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 SwiftUIHosting -Onone @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swiftui-hosting.build/Debug-watchos/SwiftUIHosting-t.build/Objects-normal/arm64/SwiftUIHosting.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-watchos10.0 -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -Xfrontend -serialize-debugging-options -enable-testing -suppress-warnings -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -swift-version 6 -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-hosting.build/Debug-watchos/SwiftUIHosting-t.build/Objects-normal/arm64/SwiftUIHosting-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-hosting.build/Debug-watchos/SwiftUIHosting-t.build/Objects-normal/arm64/SwiftUIHosting.swiftmodule -serialize-diagnostics -dependency-scan-serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swiftui-hosting.build/Debug-watchos/SwiftUIHosting-t.build/Objects-normal/arm64/SwiftUIHosting-dependency-scan.dia -user-module-version 3.0.0 -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -package-name swiftui_hosting -emit-const-values -const-gather-protocols-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swiftui-hosting.build/Debug-watchos/SwiftUIHosting-t.build/Objects-normal/arm64/SwiftUIHosting_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-hosting.build/Debug-watchos/SwiftUIHosting-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swiftui-hosting.build/Debug-watchos/SwiftUIHosting-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swiftui-hosting.build/Debug-watchos/SwiftUIHosting-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-hosting.build/Debug-watchos/SwiftUIHosting-t.build/Objects-normal/arm64/SwiftUIHosting-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
SwiftEmitModule normal arm64_32 Emitting\ module\ for\ SwiftUIHosting (in target 'SwiftUIHosting' from project 'swiftui-hosting')
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-Hosting/Sources/SwiftUIHosting/Example.swift:11:1: error: failed to produce diagnostic for expression; please submit a bug report (https://swift.org/contributing/#reporting-bugs)
9 |
10 | @available(iOS 17.0, *)
11 | #Preview {
| `- error: failed to produce diagnostic for expression; please submit a bug report (https://swift.org/contributing/#reporting-bugs)
12 | let model = Model()
13 | return SwiftUIHostingView {
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-Hosting/Sources/SwiftUIHosting/HostingController.swift:3:47: error: cannot find type 'UIHostingController' in scope
1 | import SwiftUI
2 |
3 | final class HostingController<Content: View>: UIHostingController<Content> {
| `- error: cannot find type 'UIHostingController' in scope
4 |
5 | var onViewDidLayoutSubviews: (UIViewController) -> Void = { _ in }
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-Hosting/Sources/SwiftUIHosting/HostingController.swift:5:33: error: 'UIViewController' is unavailable in watchOS
3 | final class HostingController<Content: View>: UIHostingController<Content> {
4 |
5 | var onViewDidLayoutSubviews: (UIViewController) -> Void = { _ in }
| `- error: 'UIViewController' is unavailable in watchOS
6 |
7 | private let accessibilityIdentifier: String?
/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/.dependencies/checkouts/swiftui-Hosting/Sources/SwiftUIHosting/HostingController.swift:25:17: error: method does not override any method from its superclass
23 | }
24 |
25 | override func viewDidLoad() {
| `- error: method does not override any method from its superclass
26 | super.viewDidLoad()
27 |
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-Hosting/Sources/SwiftUIHosting/HostingController.swift:31:17: error: method does not override any method from its superclass
29 | }
30 |
31 | override func viewDidLayoutSubviews() {
| `- error: method does not override any method from its superclass
32 | super.viewDidLayoutSubviews()
33 |
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-Hosting/Sources/SwiftUIHosting/SwiftUIHostingView.swift:4:47: error: 'UIView' is unavailable in watchOS
2 |
3 | /// A view that hosts SwiftUI for UIKit environment.
4 | open class SwiftUIHostingView<Content: View>: UIView {
| `- error: 'UIView' is unavailable in watchOS
5 |
6 | private let hostingController: HostingController<ModifiedContent<Content, BaseModifier>>
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-Hosting/Sources/SwiftUIHosting/SwiftUIHostingViewController.swift:7:25: error: 'UIViewController' is unavailable in watchOS
5 | public let configuration: SwiftUIHostingConfiguration
6 |
7 | private let content: (UIViewController) -> Content
| `- error: 'UIViewController' is unavailable in watchOS
8 |
9 | private let name: String
/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/.dependencies/checkouts/swiftui-Hosting/Sources/SwiftUIHosting/SwiftUIHostingViewController.swift:20:49: error: 'UIViewController' is unavailable in watchOS
18 | _ line: UInt = #line,
19 | configuration: SwiftUIHostingConfiguration = .init(),
20 | @ViewBuilder content: @escaping @MainActor (UIViewController) -> Content
| `- error: 'UIViewController' is unavailable in watchOS
21 | ) {
22 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/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/.dependencies/checkouts/swiftui-Hosting/Sources/SwiftUIHosting/SwiftUIHostingViewController.swift:3:57: error: 'UIViewController' is unavailable in watchOS
1 | import SwiftUI
2 |
3 | open class SwiftUIHostingViewController<Content: View>: UIViewController {
| `- error: 'UIViewController' is unavailable in watchOS
4 |
5 | public let configuration: SwiftUIHostingConfiguration
/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/.dependencies/checkouts/swiftui-Hosting/Sources/SwiftUIHosting/SwiftUIHostingViewController.swift:88:49: error: 'UIViewController' is unavailable in watchOS
86 | _ line: UInt = #line,
87 | configuration: SwiftUIHostingConfiguration = .init(),
88 | @ViewBuilder content: @escaping @MainActor (UIViewController) -> AnyViewContent
| `- error: 'UIViewController' is unavailable in watchOS
89 | ) {
90 | super.init(
/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/.dependencies/checkouts/swiftui-Hosting/Sources/SwiftUIHosting/UIResponder+.swift:5:39: error: 'UIViewController' is unavailable in watchOS
3 | extension UIResponder {
4 |
5 | func findNearestViewController() -> UIViewController? {
| `- error: 'UIViewController' is unavailable in watchOS
6 | sequence(first: self, next: { $0.next })
7 | .first {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
SwiftCompile normal arm64_32 (in target 'SwiftUIHosting' from project 'swiftui-hosting')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-Hosting/Sources/SwiftUIHosting/UIResponder+.swift:3:11: error: 'UIResponder' is unavailable in watchOS
1 | import UIKit
2 |
3 | extension UIResponder {
| `- error: 'UIResponder' is unavailable in watchOS
4 |
5 | func findNearestViewController() -> 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/UIResponder.h:82:12: note: 'UIResponder' has been explicitly marked unavailable here
80 |
81 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
82 | @interface UIResponder : NSObject <UIResponderStandardEditActions>
| `- note: 'UIResponder' has been explicitly marked unavailable here
83 |
84 | @property(nonatomic, readonly, nullable) UIResponder *nextResponder;
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/.dependencies/checkouts/swiftui-Hosting/Sources/SwiftUIHosting/BaseModifier.swift /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-Hosting/Sources/SwiftUIHosting/Example.swift /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-Hosting/Sources/SwiftUIHosting/HostingController.swift /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-Hosting/Sources/SwiftUIHosting/SwiftUIHostingView.swift /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-Hosting/Sources/SwiftUIHosting/SwiftUIHostingViewController.swift /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-Hosting/Sources/SwiftUIHosting/UIResponder+.swift -target arm64_32-apple-watchos10.0 -disable-cross-import-overlay-search -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libFoundationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#FoundationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libObservationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#ObservationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libPreviewsMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#PreviewsMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libSwiftMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#SwiftMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libSwiftUIMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#SwiftUIMacros -disable-implicit-swift-modules -Xcc -fno-implicit-modules -Xcc -fno-implicit-module-maps -explicit-swift-module-map-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swiftui-hosting.build/Debug-watchos/SwiftUIHosting-t.build/Objects-normal/arm64_32/SwiftUIHosting-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 -suppress-warnings -swift-version 6 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -user-module-version 3.0.0 -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-hosting.build/Debug-watchos/SwiftUIHosting-t.build/DerivedSources-normal/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swiftui-hosting.build/Debug-watchos/SwiftUIHosting-t.build/DerivedSources/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swiftui-hosting.build/Debug-watchos/SwiftUIHosting-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name SwiftUIHosting -package-name swiftui_hosting -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swiftui-hosting.build/Debug-watchos/SwiftUIHosting-t.build/Objects-normal/arm64_32/SwiftUIHosting_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-hosting.build/Debug-watchos/SwiftUIHosting-t.build/Objects-normal/arm64_32/SwiftUIHosting.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swiftui-hosting.build/Debug-watchos/SwiftUIHosting-t.build/Objects-normal/arm64_32/SwiftUIHosting.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swiftui-hosting.build/Debug-watchos/SwiftUIHosting-t.build/Objects-normal/arm64_32/SwiftUIHosting-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swiftui-hosting.build/Debug-watchos/SwiftUIHosting-t.build/Objects-normal/arm64_32/SwiftUIHosting-primary-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swiftui-hosting.build/Debug-watchos/SwiftUIHosting-t.build/Objects-normal/arm64_32/SwiftUIHosting-primary-emit-module.d -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swiftui-hosting.build/Debug-watchos/SwiftUIHosting-t.build/Objects-normal/arm64_32/SwiftUIHosting.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swiftui-hosting.build/Debug-watchos/SwiftUIHosting-t.build/Objects-normal/arm64_32/SwiftUIHosting.abi.json
SwiftCompile normal arm64_32 Compiling\ SwiftUIHostingView.swift /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-Hosting/Sources/SwiftUIHosting/SwiftUIHostingView.swift (in target 'SwiftUIHosting' from project 'swiftui-hosting')
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-Hosting/Sources/SwiftUIHosting/SwiftUIHostingView.swift:4:47: error: 'UIView' is unavailable in watchOS
2 |
3 | /// A view that hosts SwiftUI for UIKit environment.
4 | open class SwiftUIHostingView<Content: View>: UIView {
| `- error: 'UIView' is unavailable in watchOS
5 |
6 | private let hostingController: HostingController<ModifiedContent<Content, BaseModifier>>
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-Hosting/Sources/SwiftUIHosting/SwiftUIHostingView.swift:54:23: error: value of type 'HostingController<ModifiedContent<Content, BaseModifier>>' has no member 'view'
52 | #endif
53 |
54 | hostingController.view.backgroundColor = .clear
| `- error: value of type 'HostingController<ModifiedContent<Content, BaseModifier>>' has no member 'view'
55 |
56 | addSubview(hostingController.view)
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-Hosting/Sources/SwiftUIHosting/SwiftUIHostingView.swift:54:47: error: cannot infer contextual base in reference to member 'clear'
52 | #endif
53 |
54 | hostingController.view.backgroundColor = .clear
| `- error: cannot infer contextual base in reference to member 'clear'
55 |
56 | addSubview(hostingController.view)
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-Hosting/Sources/SwiftUIHosting/SwiftUIHostingView.swift:56:34: error: value of type 'HostingController<ModifiedContent<Content, BaseModifier>>' has no member 'view'
54 | hostingController.view.backgroundColor = .clear
55 |
56 | addSubview(hostingController.view)
| `- error: value of type 'HostingController<ModifiedContent<Content, BaseModifier>>' has no member 'view'
57 | hostingController.view.translatesAutoresizingMaskIntoConstraints = false
58 |
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-Hosting/Sources/SwiftUIHosting/SwiftUIHostingView.swift:57:23: error: value of type 'HostingController<ModifiedContent<Content, BaseModifier>>' has no member 'view'
55 |
56 | addSubview(hostingController.view)
57 | hostingController.view.translatesAutoresizingMaskIntoConstraints = false
| `- error: value of type 'HostingController<ModifiedContent<Content, BaseModifier>>' has no member 'view'
58 |
59 | NSLayoutConstraint.activate([
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-Hosting/Sources/SwiftUIHosting/SwiftUIHostingView.swift:60:25: error: value of type 'HostingController<ModifiedContent<Content, BaseModifier>>' has no member 'view'
58 |
59 | NSLayoutConstraint.activate([
60 | hostingController.view.topAnchor.constraint(equalTo: topAnchor),
| `- error: value of type 'HostingController<ModifiedContent<Content, BaseModifier>>' has no member 'view'
61 | hostingController.view.rightAnchor.constraint(equalTo: rightAnchor),
62 | hostingController.view.bottomAnchor.constraint(equalTo: bottomAnchor),
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-Hosting/Sources/SwiftUIHosting/SwiftUIHostingView.swift:61:25: error: value of type 'HostingController<ModifiedContent<Content, BaseModifier>>' has no member 'view'
59 | NSLayoutConstraint.activate([
60 | hostingController.view.topAnchor.constraint(equalTo: topAnchor),
61 | hostingController.view.rightAnchor.constraint(equalTo: rightAnchor),
| `- error: value of type 'HostingController<ModifiedContent<Content, BaseModifier>>' has no member 'view'
62 | hostingController.view.bottomAnchor.constraint(equalTo: bottomAnchor),
63 | hostingController.view.leftAnchor.constraint(equalTo: leftAnchor),
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-Hosting/Sources/SwiftUIHosting/SwiftUIHostingView.swift:62:25: error: value of type 'HostingController<ModifiedContent<Content, BaseModifier>>' has no member 'view'
60 | hostingController.view.topAnchor.constraint(equalTo: topAnchor),
61 | hostingController.view.rightAnchor.constraint(equalTo: rightAnchor),
62 | hostingController.view.bottomAnchor.constraint(equalTo: bottomAnchor),
| `- error: value of type 'HostingController<ModifiedContent<Content, BaseModifier>>' has no member 'view'
63 | hostingController.view.leftAnchor.constraint(equalTo: leftAnchor),
64 | ])
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-Hosting/Sources/SwiftUIHosting/SwiftUIHostingView.swift:63:25: error: value of type 'HostingController<ModifiedContent<Content, BaseModifier>>' has no member 'view'
61 | hostingController.view.rightAnchor.constraint(equalTo: rightAnchor),
62 | hostingController.view.bottomAnchor.constraint(equalTo: bottomAnchor),
63 | hostingController.view.leftAnchor.constraint(equalTo: leftAnchor),
| `- error: value of type 'HostingController<ModifiedContent<Content, BaseModifier>>' has no member 'view'
64 | ])
65 |
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-Hosting/Sources/SwiftUIHosting/HostingController.swift:3:47: error: cannot find type 'UIHostingController' in scope
1 | import SwiftUI
2 |
3 | final class HostingController<Content: View>: UIHostingController<Content> {
| `- error: cannot find type 'UIHostingController' in scope
4 |
5 | var onViewDidLayoutSubviews: (UIViewController) -> Void = { _ in }
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-Hosting/Sources/SwiftUIHosting/SwiftUIHostingView.swift:85:43: error: value of type 'HostingController<ModifiedContent<Content, BaseModifier>>' has no member 'sizeThatFits'
83 | case .systemSizeThatFits:
84 |
85 | let fittingSize = hostingController.sizeThatFits(in: size)
| `- error: value of type 'HostingController<ModifiedContent<Content, BaseModifier>>' has no member 'sizeThatFits'
86 |
87 | return fittingSize
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-Hosting/Sources/SwiftUIHosting/SwiftUIHostingView.swift:91:43: error: value of type 'HostingController<ModifiedContent<Content, BaseModifier>>' has no member 'view'
89 | case .autoLayout:
90 |
91 | let fittingSize = hostingController.view.systemLayoutSizeFitting(size)
| `- error: value of type 'HostingController<ModifiedContent<Content, BaseModifier>>' has no member 'view'
92 |
93 | return fittingSize
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-Hosting/Sources/SwiftUIHosting/SwiftUIHostingView.swift:100:27: error: 'UIView' is unavailable in watchOS
98 |
99 | if fixedSize.width == .infinity {
100 | fixedSize.width = UIView.layoutFittingCompressedSize.width
| `- error: 'UIView' is unavailable in watchOS
101 | }
102 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-Hosting/Sources/SwiftUIHosting/SwiftUIHostingView.swift (in target 'SwiftUIHosting' from project 'swiftui-hosting')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile SwiftUIHostingView.swift
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-Hosting/Sources/SwiftUIHosting/SwiftUIHostingView.swift:100:34: error: 'layoutFittingCompressedSize' is unavailable in watchOS
98 |
99 | if fixedSize.width == .infinity {
100 | fixedSize.width = UIView.layoutFittingCompressedSize.width
| `- error: 'layoutFittingCompressedSize' is unavailable in watchOS
101 | }
102 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:560:27: note: 'layoutFittingCompressedSize' has been explicitly marked unavailable here
558 | // Size To Fit
559 |
560 | UIKIT_EXTERN const CGSize UILayoutFittingCompressedSize API_AVAILABLE(ios(6.0)) API_UNAVAILABLE(watchos);
| `- note: 'layoutFittingCompressedSize' has been explicitly marked unavailable here
561 | UIKIT_EXTERN const CGSize UILayoutFittingExpandedSize API_AVAILABLE(ios(6.0)) API_UNAVAILABLE(watchos);
562 |
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-Hosting/Sources/SwiftUIHosting/SwiftUIHostingView.swift:104:28: error: 'UIView' is unavailable in watchOS
102 |
103 | if fixedSize.height == .infinity {
104 | fixedSize.height = UIView.layoutFittingCompressedSize.height
| `- error: 'UIView' is unavailable in watchOS
105 | }
106 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-Hosting/Sources/SwiftUIHosting/SwiftUIHostingView.swift:104:35: error: 'layoutFittingCompressedSize' is unavailable in watchOS
102 |
103 | if fixedSize.height == .infinity {
104 | fixedSize.height = UIView.layoutFittingCompressedSize.height
| `- error: 'layoutFittingCompressedSize' is unavailable in watchOS
105 | }
106 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:560:27: note: 'layoutFittingCompressedSize' has been explicitly marked unavailable here
558 | // Size To Fit
559 |
560 | UIKIT_EXTERN const CGSize UILayoutFittingCompressedSize API_AVAILABLE(ios(6.0)) API_UNAVAILABLE(watchos);
| `- note: 'layoutFittingCompressedSize' has been explicitly marked unavailable here
561 | UIKIT_EXTERN const CGSize UILayoutFittingExpandedSize API_AVAILABLE(ios(6.0)) API_UNAVAILABLE(watchos);
562 |
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-Hosting/Sources/SwiftUIHosting/SwiftUIHostingView.swift:107:43: error: value of type 'HostingController<ModifiedContent<Content, BaseModifier>>' has no member 'sizeThatFits'
105 | }
106 |
107 | let fittingSize = hostingController.sizeThatFits(in: fixedSize)
| `- error: value of type 'HostingController<ModifiedContent<Content, BaseModifier>>' has no member 'sizeThatFits'
108 |
109 | return fittingSize
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-Hosting/Sources/SwiftUIHosting/SwiftUIHostingView.swift:143:52: error: value of type 'HostingController<ModifiedContent<Content, BaseModifier>>' has no member 'parent'
141 | if let parentViewController = self.findNearestViewController() {
142 |
143 | if parentViewController == hostingController.parent {
| `- error: value of type 'HostingController<ModifiedContent<Content, BaseModifier>>' has no member 'parent'
144 | // it's already associated with proposed view controller as parent.
145 | } else {
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-Hosting/Sources/SwiftUIHosting/SwiftUIHostingView.swift:147:30: error: value of type 'HostingController<ModifiedContent<Content, BaseModifier>>' has no member 'parent'
145 | } else {
146 |
147 | if hostingController.parent != nil {
| `- error: value of type 'HostingController<ModifiedContent<Content, BaseModifier>>' has no member 'parent'
148 | // if associated with different parent view controller, unregister first.
149 | hostingController.willMove(toParent: nil)
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-Hosting/Sources/SwiftUIHosting/SwiftUIHostingView.swift:149:29: error: value of type 'HostingController<ModifiedContent<Content, BaseModifier>>' has no member 'willMove'
147 | if hostingController.parent != nil {
148 | // if associated with different parent view controller, unregister first.
149 | hostingController.willMove(toParent: nil)
| `- error: value of type 'HostingController<ModifiedContent<Content, BaseModifier>>' has no member 'willMove'
150 | hostingController.removeFromParent()
151 | }
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-Hosting/Sources/SwiftUIHosting/SwiftUIHostingView.swift:150:29: error: value of type 'HostingController<ModifiedContent<Content, BaseModifier>>' has no member 'removeFromParent'
148 | // if associated with different parent view controller, unregister first.
149 | hostingController.willMove(toParent: nil)
150 | hostingController.removeFromParent()
| `- error: value of type 'HostingController<ModifiedContent<Content, BaseModifier>>' has no member 'removeFromParent'
151 | }
152 |
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-Hosting/Sources/SwiftUIHosting/SwiftUIHostingView.swift:154:39: error: cannot convert value of type 'HostingController<ModifiedContent<Content, BaseModifier>>' to expected argument type 'UIViewController'
152 |
153 | // register parent view controller
154 | parentViewController.addChild(hostingController)
| `- error: cannot convert value of type 'HostingController<ModifiedContent<Content, BaseModifier>>' to expected argument type 'UIViewController'
155 | hostingController.didMove(toParent: parentViewController)
156 | }
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-Hosting/Sources/SwiftUIHosting/SwiftUIHostingView.swift:155:27: error: value of type 'HostingController<ModifiedContent<Content, BaseModifier>>' has no member 'didMove'
153 | // register parent view controller
154 | parentViewController.addChild(hostingController)
155 | hostingController.didMove(toParent: parentViewController)
| `- error: value of type 'HostingController<ModifiedContent<Content, BaseModifier>>' has no member 'didMove'
156 | }
157 |
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-Hosting/Sources/SwiftUIHosting/SwiftUIHostingView.swift:169:23: error: value of type 'HostingController<ModifiedContent<Content, BaseModifier>>' has no member 'willMove'
167 | */
168 | public func unregisterParent() {
169 | hostingController.willMove(toParent: nil)
| `- error: value of type 'HostingController<ModifiedContent<Content, BaseModifier>>' has no member 'willMove'
170 | hostingController.removeFromParent()
171 | }
SwiftCompile normal arm64_32 Compiling\ Example.swift /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-Hosting/Sources/SwiftUIHosting/Example.swift (in target 'SwiftUIHosting' from project 'swiftui-hosting')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-Hosting/Sources/SwiftUIHosting/Example.swift (in target 'SwiftUIHosting' from project 'swiftui-hosting')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile Example.swift
SwiftCompile normal arm64_32 Compiling\ BaseModifier.swift /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-Hosting/Sources/SwiftUIHosting/BaseModifier.swift (in target 'SwiftUIHosting' from project 'swiftui-hosting')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-Hosting/Sources/SwiftUIHosting/BaseModifier.swift (in target 'SwiftUIHosting' from project 'swiftui-hosting')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile BaseModifier.swift
SwiftCompile normal arm64_32 Compiling\ HostingController.swift /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-Hosting/Sources/SwiftUIHosting/HostingController.swift (in target 'SwiftUIHosting' from project 'swiftui-hosting')
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-Hosting/Sources/SwiftUIHosting/HostingController.swift:3:47: error: cannot find type 'UIHostingController' in scope
1 | import SwiftUI
2 |
3 | final class HostingController<Content: View>: UIHostingController<Content> {
| `- error: cannot find type 'UIHostingController' in scope
4 |
5 | var onViewDidLayoutSubviews: (UIViewController) -> Void = { _ in }
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-Hosting/Sources/SwiftUIHosting/HostingController.swift:5:33: error: 'UIViewController' is unavailable in watchOS
3 | final class HostingController<Content: View>: UIHostingController<Content> {
4 |
5 | var onViewDidLayoutSubviews: (UIViewController) -> Void = { _ in }
| `- error: 'UIViewController' is unavailable in watchOS
6 |
7 | private let accessibilityIdentifier: String?
/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/.dependencies/checkouts/swiftui-Hosting/Sources/SwiftUIHosting/HostingController.swift:25:17: error: method does not override any method from its superclass
23 | }
24 |
25 | override func viewDidLoad() {
| `- error: method does not override any method from its superclass
26 | super.viewDidLoad()
27 |
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-Hosting/Sources/SwiftUIHosting/HostingController.swift:31:17: error: method does not override any method from its superclass
29 | }
30 |
31 | override func viewDidLayoutSubviews() {
| `- error: method does not override any method from its superclass
32 | super.viewDidLayoutSubviews()
33 |
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-Hosting/Sources/SwiftUIHosting/HostingController.swift:17:5: error: 'super' cannot be used in class 'HostingController' because it has no superclass
15 | self.accessibilityIdentifier = accessibilityIdentifier
16 |
17 | super.init(rootView: rootView)
| `- error: 'super' cannot be used in class 'HostingController' because it has no superclass
18 | self.safeAreaRegions = safeAreaRegions
19 | }
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-Hosting/Sources/SwiftUIHosting/HostingController.swift:18:10: error: value of type 'HostingController<Content>' has no member 'safeAreaRegions'
16 |
17 | super.init(rootView: rootView)
18 | self.safeAreaRegions = safeAreaRegions
| `- error: value of type 'HostingController<Content>' has no member 'safeAreaRegions'
19 | }
20 |
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-Hosting/Sources/SwiftUIHosting/HostingController.swift:26:5: error: 'super' cannot be used in class 'HostingController' because it has no superclass
24 |
25 | override func viewDidLoad() {
26 | super.viewDidLoad()
| `- error: 'super' cannot be used in class 'HostingController' because it has no superclass
27 |
28 | view.accessibilityIdentifier = accessibilityIdentifier
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-Hosting/Sources/SwiftUIHosting/HostingController.swift:28:5: error: cannot find 'view' in scope
26 | super.viewDidLoad()
27 |
28 | view.accessibilityIdentifier = accessibilityIdentifier
| `- error: cannot find 'view' in scope
29 | }
30 |
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-Hosting/Sources/SwiftUIHosting/HostingController.swift:32:5: error: 'super' cannot be used in class 'HostingController' because it has no superclass
30 |
31 | override func viewDidLayoutSubviews() {
32 | super.viewDidLayoutSubviews()
| `- error: 'super' cannot be used in class 'HostingController' because it has no superclass
33 |
34 | onViewDidLayoutSubviews(self)
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-Hosting/Sources/SwiftUIHosting/HostingController.swift (in target 'SwiftUIHosting' from project 'swiftui-hosting')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile HostingController.swift
SwiftCompile normal arm64_32 Compiling\ UIResponder+.swift /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-Hosting/Sources/SwiftUIHosting/UIResponder+.swift (in target 'SwiftUIHosting' from project 'swiftui-hosting')
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-Hosting/Sources/SwiftUIHosting/UIResponder+.swift:5:39: error: 'UIViewController' is unavailable in watchOS
3 | extension UIResponder {
4 |
5 | func findNearestViewController() -> UIViewController? {
| `- error: 'UIViewController' is unavailable in watchOS
6 | sequence(first: self, next: { $0.next })
7 | .first {
/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/.dependencies/checkouts/swiftui-Hosting/Sources/SwiftUIHosting/UIResponder+.swift:3:11: error: 'UIResponder' is unavailable in watchOS
1 | import UIKit
2 |
3 | extension UIResponder {
| `- error: 'UIResponder' is unavailable in watchOS
4 |
5 | func findNearestViewController() -> 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/UIResponder.h:82:12: note: 'UIResponder' has been explicitly marked unavailable here
80 |
81 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
82 | @interface UIResponder : NSObject <UIResponderStandardEditActions>
| `- note: 'UIResponder' has been explicitly marked unavailable here
83 |
84 | @property(nonatomic, readonly, nullable) UIResponder *nextResponder;
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-Hosting/Sources/SwiftUIHosting/UIResponder+.swift:9:13: error: 'UIViewController' is unavailable in watchOS
7 | .first {
8 | $0 is UIViewController
9 | } as? UIViewController
| `- error: 'UIViewController' is unavailable in watchOS
10 | }
11 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-Hosting/Sources/SwiftUIHosting/UIResponder+.swift (in target 'SwiftUIHosting' from project 'swiftui-hosting')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile UIResponder+.swift
SwiftCompile normal arm64_32 Compiling\ SwiftUIHostingViewController.swift /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-Hosting/Sources/SwiftUIHosting/SwiftUIHostingViewController.swift (in target 'SwiftUIHosting' from project 'swiftui-hosting')
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-Hosting/Sources/SwiftUIHosting/SwiftUIHostingViewController.swift:7:25: error: 'UIViewController' is unavailable in watchOS
5 | public let configuration: SwiftUIHostingConfiguration
6 |
7 | private let content: (UIViewController) -> Content
| `- error: 'UIViewController' is unavailable in watchOS
8 |
9 | private let name: String
/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/.dependencies/checkouts/swiftui-Hosting/Sources/SwiftUIHosting/SwiftUIHostingViewController.swift:20:49: error: 'UIViewController' is unavailable in watchOS
18 | _ line: UInt = #line,
19 | configuration: SwiftUIHostingConfiguration = .init(),
20 | @ViewBuilder content: @escaping @MainActor (UIViewController) -> Content
| `- error: 'UIViewController' is unavailable in watchOS
21 | ) {
22 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/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/.dependencies/checkouts/swiftui-Hosting/Sources/SwiftUIHosting/SwiftUIHostingViewController.swift:3:57: error: 'UIViewController' is unavailable in watchOS
1 | import SwiftUI
2 |
3 | open class SwiftUIHostingViewController<Content: View>: UIViewController {
| `- error: 'UIViewController' is unavailable in watchOS
4 |
5 | public let configuration: SwiftUIHostingConfiguration
/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/.dependencies/checkouts/swiftui-Hosting/Sources/SwiftUIHosting/SwiftUIHostingViewController.swift:88:49: error: 'UIViewController' is unavailable in watchOS
86 | _ line: UInt = #line,
87 | configuration: SwiftUIHostingConfiguration = .init(),
88 | @ViewBuilder content: @escaping @MainActor (UIViewController) -> AnyViewContent
| `- error: 'UIViewController' is unavailable in watchOS
89 | ) {
90 | super.init(
/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/.dependencies/checkouts/swiftui-Hosting/Sources/SwiftUIHosting/SwiftUIHostingViewController.swift:62:14: error: cannot convert value of type 'HostingController<ModifiedContent<Content, BaseModifier>>' to expected argument type 'UIViewController'
60 | #endif
61 |
62 | addChild(hostingController)
| `- error: cannot convert value of type 'HostingController<ModifiedContent<Content, BaseModifier>>' to expected argument type 'UIViewController'
63 | view.addSubview(hostingController.view)
64 | hostingController.didMove(toParent: self)
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-Hosting/Sources/SwiftUIHosting/SwiftUIHostingViewController.swift:63:10: error: failed to produce diagnostic for expression; please submit a bug report (https://swift.org/contributing/#reporting-bugs)
61 |
62 | addChild(hostingController)
63 | view.addSubview(hostingController.view)
| `- error: failed to produce diagnostic for expression; please submit a bug report (https://swift.org/contributing/#reporting-bugs)
64 | hostingController.didMove(toParent: self)
65 |
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-Hosting/Sources/SwiftUIHosting/SwiftUIHostingViewController.swift:64:23: error: value of type 'HostingController<ModifiedContent<Content, BaseModifier>>' has no member 'didMove'
62 | addChild(hostingController)
63 | view.addSubview(hostingController.view)
64 | hostingController.didMove(toParent: self)
| `- error: value of type 'HostingController<ModifiedContent<Content, BaseModifier>>' has no member 'didMove'
65 |
66 | hostingController.view.backgroundColor = .clear
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-Hosting/Sources/SwiftUIHosting/SwiftUIHostingViewController.swift:66:23: error: value of type 'HostingController<ModifiedContent<Content, BaseModifier>>' has no member 'view'
64 | hostingController.didMove(toParent: self)
65 |
66 | hostingController.view.backgroundColor = .clear
| `- error: value of type 'HostingController<ModifiedContent<Content, BaseModifier>>' has no member 'view'
67 | hostingController.view.translatesAutoresizingMaskIntoConstraints = false
68 |
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-Hosting/Sources/SwiftUIHosting/SwiftUIHostingViewController.swift:66:47: error: cannot infer contextual base in reference to member 'clear'
64 | hostingController.didMove(toParent: self)
65 |
66 | hostingController.view.backgroundColor = .clear
| `- error: cannot infer contextual base in reference to member 'clear'
67 | hostingController.view.translatesAutoresizingMaskIntoConstraints = false
68 |
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-Hosting/Sources/SwiftUIHosting/SwiftUIHostingViewController.swift:67:23: error: value of type 'HostingController<ModifiedContent<Content, BaseModifier>>' has no member 'view'
65 |
66 | hostingController.view.backgroundColor = .clear
67 | hostingController.view.translatesAutoresizingMaskIntoConstraints = false
| `- error: value of type 'HostingController<ModifiedContent<Content, BaseModifier>>' has no member 'view'
68 |
69 | NSLayoutConstraint.activate([
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-Hosting/Sources/SwiftUIHosting/SwiftUIHostingViewController.swift (in target 'SwiftUIHosting' from project 'swiftui-hosting')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile SwiftUIHostingViewController.swift
SwiftCompile normal arm64 Compiling\ BaseModifier.swift /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-Hosting/Sources/SwiftUIHosting/BaseModifier.swift (in target 'SwiftUIHosting' from project 'swiftui-hosting')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-Hosting/Sources/SwiftUIHosting/BaseModifier.swift (in target 'SwiftUIHosting' from project 'swiftui-hosting')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile BaseModifier.swift
SwiftEmitModule normal arm64 Emitting\ module\ for\ SwiftUIHosting (in target 'SwiftUIHosting' from project 'swiftui-hosting')
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-Hosting/Sources/SwiftUIHosting/Example.swift:11:1: error: failed to produce diagnostic for expression; please submit a bug report (https://swift.org/contributing/#reporting-bugs)
9 |
10 | @available(iOS 17.0, *)
11 | #Preview {
| `- error: failed to produce diagnostic for expression; please submit a bug report (https://swift.org/contributing/#reporting-bugs)
12 | let model = Model()
13 | return SwiftUIHostingView {
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-Hosting/Sources/SwiftUIHosting/HostingController.swift:3:47: error: cannot find type 'UIHostingController' in scope
1 | import SwiftUI
2 |
3 | final class HostingController<Content: View>: UIHostingController<Content> {
| `- error: cannot find type 'UIHostingController' in scope
4 |
5 | var onViewDidLayoutSubviews: (UIViewController) -> Void = { _ in }
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-Hosting/Sources/SwiftUIHosting/HostingController.swift:5:33: error: 'UIViewController' is unavailable in watchOS
3 | final class HostingController<Content: View>: UIHostingController<Content> {
4 |
5 | var onViewDidLayoutSubviews: (UIViewController) -> Void = { _ in }
| `- error: 'UIViewController' is unavailable in watchOS
6 |
7 | private let accessibilityIdentifier: String?
/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/.dependencies/checkouts/swiftui-Hosting/Sources/SwiftUIHosting/HostingController.swift:25:17: error: method does not override any method from its superclass
23 | }
24 |
25 | override func viewDidLoad() {
| `- error: method does not override any method from its superclass
26 | super.viewDidLoad()
27 |
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-Hosting/Sources/SwiftUIHosting/HostingController.swift:31:17: error: method does not override any method from its superclass
29 | }
30 |
31 | override func viewDidLayoutSubviews() {
| `- error: method does not override any method from its superclass
32 | super.viewDidLayoutSubviews()
33 |
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-Hosting/Sources/SwiftUIHosting/SwiftUIHostingView.swift:4:47: error: 'UIView' is unavailable in watchOS
2 |
3 | /// A view that hosts SwiftUI for UIKit environment.
4 | open class SwiftUIHostingView<Content: View>: UIView {
| `- error: 'UIView' is unavailable in watchOS
5 |
6 | private let hostingController: HostingController<ModifiedContent<Content, BaseModifier>>
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-Hosting/Sources/SwiftUIHosting/SwiftUIHostingViewController.swift:7:25: error: 'UIViewController' is unavailable in watchOS
5 | public let configuration: SwiftUIHostingConfiguration
6 |
7 | private let content: (UIViewController) -> Content
| `- error: 'UIViewController' is unavailable in watchOS
8 |
9 | private let name: String
/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/.dependencies/checkouts/swiftui-Hosting/Sources/SwiftUIHosting/SwiftUIHostingViewController.swift:20:49: error: 'UIViewController' is unavailable in watchOS
18 | _ line: UInt = #line,
19 | configuration: SwiftUIHostingConfiguration = .init(),
20 | @ViewBuilder content: @escaping @MainActor (UIViewController) -> Content
| `- error: 'UIViewController' is unavailable in watchOS
21 | ) {
22 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/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/.dependencies/checkouts/swiftui-Hosting/Sources/SwiftUIHosting/SwiftUIHostingViewController.swift:3:57: error: 'UIViewController' is unavailable in watchOS
1 | import SwiftUI
2 |
3 | open class SwiftUIHostingViewController<Content: View>: UIViewController {
| `- error: 'UIViewController' is unavailable in watchOS
4 |
5 | public let configuration: SwiftUIHostingConfiguration
/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/.dependencies/checkouts/swiftui-Hosting/Sources/SwiftUIHosting/SwiftUIHostingViewController.swift:88:49: error: 'UIViewController' is unavailable in watchOS
86 | _ line: UInt = #line,
87 | configuration: SwiftUIHostingConfiguration = .init(),
88 | @ViewBuilder content: @escaping @MainActor (UIViewController) -> AnyViewContent
| `- error: 'UIViewController' is unavailable in watchOS
89 | ) {
90 | super.init(
/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/.dependencies/checkouts/swiftui-Hosting/Sources/SwiftUIHosting/UIResponder+.swift:5:39: error: 'UIViewController' is unavailable in watchOS
3 | extension UIResponder {
4 |
5 | func findNearestViewController() -> UIViewController? {
| `- error: 'UIViewController' is unavailable in watchOS
6 | sequence(first: self, next: { $0.next })
7 | .first {
/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/.dependencies/checkouts/swiftui-Hosting/Sources/SwiftUIHosting/UIResponder+.swift:3:11: error: 'UIResponder' is unavailable in watchOS
1 | import UIKit
2 |
3 | extension UIResponder {
| `- error: 'UIResponder' is unavailable in watchOS
4 |
5 | func findNearestViewController() -> 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/UIResponder.h:82:12: note: 'UIResponder' has been explicitly marked unavailable here
80 |
81 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
82 | @interface UIResponder : NSObject <UIResponderStandardEditActions>
| `- note: 'UIResponder' has been explicitly marked unavailable here
83 |
84 | @property(nonatomic, readonly, nullable) UIResponder *nextResponder;
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/.dependencies/checkouts/swiftui-Hosting/Sources/SwiftUIHosting/BaseModifier.swift /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-Hosting/Sources/SwiftUIHosting/Example.swift /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-Hosting/Sources/SwiftUIHosting/HostingController.swift /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-Hosting/Sources/SwiftUIHosting/SwiftUIHostingView.swift /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-Hosting/Sources/SwiftUIHosting/SwiftUIHostingViewController.swift /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-Hosting/Sources/SwiftUIHosting/UIResponder+.swift -target arm64-apple-watchos10.0 -disable-cross-import-overlay-search -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libFoundationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#FoundationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libObservationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#ObservationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libPreviewsMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#PreviewsMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libSwiftMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#SwiftMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libSwiftUIMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#SwiftUIMacros -disable-implicit-swift-modules -Xcc -fno-implicit-modules -Xcc -fno-implicit-module-maps -explicit-swift-module-map-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swiftui-hosting.build/Debug-watchos/SwiftUIHosting-t.build/Objects-normal/arm64/SwiftUIHosting-dependencies-2.json -Xllvm -aarch64-use-tbi -enable-objc-interop -stack-check -sdk /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/Developer/Library/Frameworks -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules -no-color-diagnostics -Xcc -fno-color-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -suppress-warnings -swift-version 6 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -user-module-version 3.0.0 -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-hosting.build/Debug-watchos/SwiftUIHosting-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swiftui-hosting.build/Debug-watchos/SwiftUIHosting-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swiftui-hosting.build/Debug-watchos/SwiftUIHosting-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name SwiftUIHosting -package-name swiftui_hosting -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swiftui-hosting.build/Debug-watchos/SwiftUIHosting-t.build/Objects-normal/arm64/SwiftUIHosting_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-hosting.build/Debug-watchos/SwiftUIHosting-t.build/Objects-normal/arm64/SwiftUIHosting.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swiftui-hosting.build/Debug-watchos/SwiftUIHosting-t.build/Objects-normal/arm64/SwiftUIHosting.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swiftui-hosting.build/Debug-watchos/SwiftUIHosting-t.build/Objects-normal/arm64/SwiftUIHosting-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swiftui-hosting.build/Debug-watchos/SwiftUIHosting-t.build/Objects-normal/arm64/SwiftUIHosting-primary-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swiftui-hosting.build/Debug-watchos/SwiftUIHosting-t.build/Objects-normal/arm64/SwiftUIHosting-primary-emit-module.d -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swiftui-hosting.build/Debug-watchos/SwiftUIHosting-t.build/Objects-normal/arm64/SwiftUIHosting.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swiftui-hosting.build/Debug-watchos/SwiftUIHosting-t.build/Objects-normal/arm64/SwiftUIHosting.abi.json
SwiftCompile normal arm64 (in target 'SwiftUIHosting' from project 'swiftui-hosting')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 Compiling\ SwiftUIHostingViewController.swift /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-Hosting/Sources/SwiftUIHosting/SwiftUIHostingViewController.swift (in target 'SwiftUIHosting' from project 'swiftui-hosting')
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-Hosting/Sources/SwiftUIHosting/SwiftUIHostingViewController.swift:7:25: error: 'UIViewController' is unavailable in watchOS
5 | public let configuration: SwiftUIHostingConfiguration
6 |
7 | private let content: (UIViewController) -> Content
| `- error: 'UIViewController' is unavailable in watchOS
8 |
9 | private let name: String
/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/.dependencies/checkouts/swiftui-Hosting/Sources/SwiftUIHosting/SwiftUIHostingViewController.swift:20:49: error: 'UIViewController' is unavailable in watchOS
18 | _ line: UInt = #line,
19 | configuration: SwiftUIHostingConfiguration = .init(),
20 | @ViewBuilder content: @escaping @MainActor (UIViewController) -> Content
| `- error: 'UIViewController' is unavailable in watchOS
21 | ) {
22 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/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/.dependencies/checkouts/swiftui-Hosting/Sources/SwiftUIHosting/SwiftUIHostingViewController.swift:3:57: error: 'UIViewController' is unavailable in watchOS
1 | import SwiftUI
2 |
3 | open class SwiftUIHostingViewController<Content: View>: UIViewController {
| `- error: 'UIViewController' is unavailable in watchOS
4 |
5 | public let configuration: SwiftUIHostingConfiguration
/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/.dependencies/checkouts/swiftui-Hosting/Sources/SwiftUIHosting/SwiftUIHostingViewController.swift:88:49: error: 'UIViewController' is unavailable in watchOS
86 | _ line: UInt = #line,
87 | configuration: SwiftUIHostingConfiguration = .init(),
88 | @ViewBuilder content: @escaping @MainActor (UIViewController) -> AnyViewContent
| `- error: 'UIViewController' is unavailable in watchOS
89 | ) {
90 | super.init(
/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/.dependencies/checkouts/swiftui-Hosting/Sources/SwiftUIHosting/SwiftUIHostingViewController.swift:62:14: error: cannot convert value of type 'HostingController<ModifiedContent<Content, BaseModifier>>' to expected argument type 'UIViewController'
60 | #endif
61 |
62 | addChild(hostingController)
| `- error: cannot convert value of type 'HostingController<ModifiedContent<Content, BaseModifier>>' to expected argument type 'UIViewController'
63 | view.addSubview(hostingController.view)
64 | hostingController.didMove(toParent: self)
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-Hosting/Sources/SwiftUIHosting/SwiftUIHostingViewController.swift:63:10: error: failed to produce diagnostic for expression; please submit a bug report (https://swift.org/contributing/#reporting-bugs)
61 |
62 | addChild(hostingController)
63 | view.addSubview(hostingController.view)
| `- error: failed to produce diagnostic for expression; please submit a bug report (https://swift.org/contributing/#reporting-bugs)
64 | hostingController.didMove(toParent: self)
65 |
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-Hosting/Sources/SwiftUIHosting/SwiftUIHostingViewController.swift:64:23: error: value of type 'HostingController<ModifiedContent<Content, BaseModifier>>' has no member 'didMove'
62 | addChild(hostingController)
63 | view.addSubview(hostingController.view)
64 | hostingController.didMove(toParent: self)
| `- error: value of type 'HostingController<ModifiedContent<Content, BaseModifier>>' has no member 'didMove'
65 |
66 | hostingController.view.backgroundColor = .clear
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-Hosting/Sources/SwiftUIHosting/SwiftUIHostingViewController.swift:66:23: error: value of type 'HostingController<ModifiedContent<Content, BaseModifier>>' has no member 'view'
64 | hostingController.didMove(toParent: self)
65 |
66 | hostingController.view.backgroundColor = .clear
| `- error: value of type 'HostingController<ModifiedContent<Content, BaseModifier>>' has no member 'view'
67 | hostingController.view.translatesAutoresizingMaskIntoConstraints = false
68 |
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-Hosting/Sources/SwiftUIHosting/SwiftUIHostingViewController.swift:66:47: error: cannot infer contextual base in reference to member 'clear'
64 | hostingController.didMove(toParent: self)
65 |
66 | hostingController.view.backgroundColor = .clear
| `- error: cannot infer contextual base in reference to member 'clear'
67 | hostingController.view.translatesAutoresizingMaskIntoConstraints = false
68 |
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-Hosting/Sources/SwiftUIHosting/SwiftUIHostingViewController.swift:67:23: error: value of type 'HostingController<ModifiedContent<Content, BaseModifier>>' has no member 'view'
65 |
66 | hostingController.view.backgroundColor = .clear
67 | hostingController.view.translatesAutoresizingMaskIntoConstraints = false
| `- error: value of type 'HostingController<ModifiedContent<Content, BaseModifier>>' has no member 'view'
68 |
69 | NSLayoutConstraint.activate([
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-Hosting/Sources/SwiftUIHosting/SwiftUIHostingViewController.swift (in target 'SwiftUIHosting' from project 'swiftui-hosting')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile SwiftUIHostingViewController.swift
SwiftCompile normal arm64 Compiling\ Example.swift /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-Hosting/Sources/SwiftUIHosting/Example.swift (in target 'SwiftUIHosting' from project 'swiftui-hosting')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swiftui-Hosting/Sources/SwiftUIHosting/Example.swift (in target 'SwiftUIHosting' from project 'swiftui-hosting')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile Example.swift
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-27 00:08:22.310 xcodebuild[853:4892] [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 'SwiftUIHosting' from project 'swiftui-hosting')
SwiftEmitModule normal arm64_32 Emitting\ module\ for\ SwiftUIHosting (in target 'SwiftUIHosting' from project 'swiftui-hosting')
SwiftEmitModule normal arm64 Emitting\ module\ for\ SwiftUIHosting (in target 'SwiftUIHosting' from project 'swiftui-hosting')
SwiftCompile normal arm64 (in target 'SwiftUIHosting' from project 'swiftui-hosting')
Building workspace PrecisionLevelSlider with scheme PrecisionLevelSlider
(5 failures)
BUILD FAILURE 6.4 watchOS