The Swift Package Index logo.Swift Package Index

Build Information

Failed to build UIKitViews, reference main (d2282e), with Swift 6.4 for macOS (SPM) on 21 Sep 2026 07:27:04 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/dankinsoid/UIKitViews.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/dankinsoid/UIKitViews
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at d2282e3 docs: Improve English grammar and clarity in README.md
Cloned https://github.com/dankinsoid/UIKitViews.git
Revision (git rev-parse @):
d2282e37b0788a1dfd6eb2bb01d5ab4a4a18934b
SUCCESS checkout https://github.com/dankinsoid/UIKitViews.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.4
Building package at path:  $PWD
https://github.com/dankinsoid/UIKitViews.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun swift build --arch arm64
Building for debugging...
[Pre-planning 1 / 96]
[Planning deferred tasks]
[25 / 42]
[26 / 43] VDChain
[36 / 86]
[41 / 86]
[44 / 86]
[45 / 86]
[49 / 86]
[51 / 86]
[54 / 86]
[57 / 86]
[59 / 86]
[60 / 86]
[69 / 86] VDChain
[76 / 87] UIKitViews
[79 / 130]
[82 / 130]
[85 / 130]
[87 / 130]
[90 / 130]
[92 / 130]
[94 / 130]
[96 / 130]
[98 / 130]
[99 / 130]
[100 / 130]
[101 / 130]
[103 / 130]
[105 / 130]
[107 / 130] VDChain
[109 / 130]
Fetching https://github.com/dankinsoid/VDChain.git
[1/358] Fetching vdchain
Fetched https://github.com/dankinsoid/VDChain.git (1.09s)
Computing version for https://github.com/dankinsoid/VDChain.git
Computed https://github.com/dankinsoid/VDChain.git at 3.6.0 (1.80s)
Creating working copy for https://github.com/dankinsoid/VDChain.git
Working copy of https://github.com/dankinsoid/VDChain.git resolved at 3.6.0
error: SwiftCompile normal arm64 failed with a nonzero exit code. Command line:     cd /Users/admin/builder

/Users/admin/builder/spi-builder-workspace/Sources/UIKitViews/AnyUIViewControllerRepresentable.swift:3:57: error: cannot find type 'UIViewController' in scope
 1 | import SwiftUI
 2 |
 3 | public struct AnyUIViewControllerRepresentable<Content: UIViewController>: UIKitRepresentable {
   |                                                         `- error: cannot find type 'UIViewController' in scope
 4 |
 5 | 	let make: () -> Content
/Users/admin/builder/spi-builder-workspace/Sources/UIKitViews/AnyUIViewControllerRepresentable.swift:20:63: error: cannot find type 'UIViewController' in scope
18 | }
19 |
20 | private struct AnyUIViewControllerRepresentableIOS16<Content: UIViewController>: UIViewControllerRepresentable {
   |                                                               `- error: cannot find type 'UIViewController' in scope
21 |
22 | 	let make: () -> Content
/Users/admin/builder/spi-builder-workspace/Sources/UIKitViews/AnyUIViewControllerRepresentable.swift:27:37: error: cannot find type 'Context' in scope
25 | 	@Environment(\.uiKitViewContentMode) private var uiKitViewContentMode
26 |
27 | 	func makeUIViewController(context: Context) -> Content {
   |                                     `- error: cannot find type 'Context' in scope
28 | 		make()
29 | 	}
/Users/admin/builder/spi-builder-workspace/Sources/UIKitViews/AnyUIViewControllerRepresentable.swift:31:68: error: cannot find type 'Context' in scope
29 | 	}
30 |
31 | 	func updateUIViewController(_ uiViewController: Content, context: Context) {
   |                                                                    `- error: cannot find type 'Context' in scope
32 |         updater(uiViewController, UIKitRepresentableContext(transaction: context.transaction, environment: context.environment))
33 | 	}
/Users/admin/builder/spi-builder-workspace/Sources/UIKitViews/AnyUIViewControllerRepresentable.swift:36:86: error: cannot find type 'Context' in scope
34 |
35 | 	@available(iOS 16.0, tvOS 16.0, *)
36 | 	func sizeThatFits(_ proposal: ProposedViewSize, uiViewController: Content, context: Context) -> CGSize? {
   |                                                                                      `- error: cannot find type 'Context' in scope
37 | 		uiViewController.view.fittingSizeFor(size: proposal, dimensions: selfSizedAxis, contentMode: uiKitViewContentMode)
38 | 	}
/Users/admin/builder/spi-builder-workspace/Sources/UIKitViews/AnyUIViewControllerRepresentable.swift:36:32: error: 'ProposedViewSize' is only available in macOS 13.0 or newer
18 | }
19 |
20 | private struct AnyUIViewControllerRepresentableIOS16<Content: UIViewController>: UIViewControllerRepresentable {
   |                `- note: add '@available' attribute to enclosing generic struct
21 |
22 | 	let make: () -> Content
   :
34 |
35 | 	@available(iOS 16.0, tvOS 16.0, *)
36 | 	func sizeThatFits(_ proposal: ProposedViewSize, uiViewController: Content, context: Context) -> CGSize? {
   |       |                        `- error: 'ProposedViewSize' is only available in macOS 13.0 or newer
   |       `- note: add '@available' attribute to enclosing instance method
37 | 		uiViewController.view.fittingSizeFor(size: proposal, dimensions: selfSizedAxis, contentMode: uiKitViewContentMode)
38 | 	}
/Users/admin/builder/spi-builder-workspace/Sources/UIKitViews/AnyUIViewControllerRepresentable.swift:20:82: error: cannot find type 'UIViewControllerRepresentable' in scope
18 | }
19 |
20 | private struct AnyUIViewControllerRepresentableIOS16<Content: UIViewController>: UIViewControllerRepresentable {
   |                                                                                  `- error: cannot find type 'UIViewControllerRepresentable' in scope
21 |
22 | 	let make: () -> Content
/Users/admin/builder/spi-builder-workspace/Sources/UIKitViews/AnyUIViewControllerRepresentable.swift:41:63: error: cannot find type 'UIViewController' in scope
39 | }
40 |
41 | private struct AnyUIViewControllerRepresentableIOS13<Content: UIViewController>: UIViewControllerRepresentable {
   |                                                               `- error: cannot find type 'UIViewController' in scope
42 |
43 | 	let make: () -> Content
/Users/admin/builder/spi-builder-workspace/Sources/UIKitViews/UIKitViewControllerWrapper.swift:3:49: error: cannot find type 'UIViewController' in scope
 1 | import SwiftUI
 2 |
 3 | final class UIKitViewControllerWrapper<Content: UIViewController>: UIViewController {
   |                                                 `- error: cannot find type 'UIViewController' in scope
 4 |
 5 | 	let content: Content
/Users/admin/builder/spi-builder-workspace/Sources/UIKitViews/AnyUIViewControllerRepresentable.swift:50:37: error: cannot find type 'Context' in scope
48 | 	@Environment(\.uiKitViewContentMode) private var uiKitViewContentMode
49 |
50 | 	func makeUIViewController(context: Context) -> UIKitViewControllerWrapper<Content> {
   |                                     `- error: cannot find type 'Context' in scope
51 | 		UIKitViewControllerWrapper(make())
52 | 	}
/Users/admin/builder/spi-builder-workspace/Sources/UIKitViews/AnyUIViewControllerRepresentable.swift:54:96: error: cannot find type 'Context' in scope
52 | 	}
53 |
54 | 	func updateUIViewController(_ uiViewController: UIKitViewControllerWrapper<Content>, context: Context) {
   |                                                                                                `- error: cannot find type 'Context' in scope
55 | 		updater(uiViewController.content, UIKitRepresentableContext(transaction: context.transaction, environment: context.environment))
56 | 		uiViewController.wrapper.onUpdateSize = updateSize
/Users/admin/builder/spi-builder-workspace/Sources/UIKitViews/AnyUIViewControllerRepresentable.swift:41:82: error: cannot find type 'UIViewControllerRepresentable' in scope
39 | }
40 |
41 | private struct AnyUIViewControllerRepresentableIOS13<Content: UIViewController>: UIViewControllerRepresentable {
   |                                                                                  `- error: cannot find type 'UIViewControllerRepresentable' in scope
42 |
43 | 	let make: () -> Content
/Users/admin/builder/spi-builder-workspace/Sources/UIKitViews/AnyUIViewRepresentable.swift:3:47: error: cannot find type 'UIView' in scope
 1 | import SwiftUI
 2 |
 3 | public struct AnyUIViewRepresentable<Content: UIView>: UIKitRepresentable {
   |                                               `- error: cannot find type 'UIView' in scope
 4 |
 5 | 	let make: () -> Content
/Users/admin/builder/spi-builder-workspace/Sources/UIKitViews/AnyUIViewRepresentable.swift:21:53: error: cannot find type 'UIView' in scope
19 | }
20 |
21 | private struct AnyUIViewRepresentableIOS16<Content: UIView>: UIViewRepresentable {
   |                                                     `- error: cannot find type 'UIView' in scope
22 |
23 | 	let make: () -> Content
/Users/admin/builder/spi-builder-workspace/Sources/UIKitViews/AnyUIViewRepresentable.swift:28:27: error: cannot find type 'Context' in scope
26 | 	@Environment(\.uiKitViewContentMode) private var uiKitViewContentMode
27 |
28 | 	func makeUIView(context: Context) -> Content {
   |                           `- error: cannot find type 'Context' in scope
29 | 		make()
30 | 	}
/Users/admin/builder/spi-builder-workspace/Sources/UIKitViews/AnyUIViewRepresentable.swift:32:48: error: cannot find type 'Context' in scope
30 | 	}
31 |
32 | 	func updateUIView(_ uiView: Content, context: Context) {
   |                                                `- error: cannot find type 'Context' in scope
33 | 		updater(uiView, UIKitRepresentableContext(transaction: context.transaction, environment: context.environment))
34 | 	}
/Users/admin/builder/spi-builder-workspace/Sources/UIKitViews/AnyUIViewRepresentable.swift:37:76: error: cannot find type 'Context' in scope
35 |
36 | 	@available(iOS 16.0, tvOS 16.0, *)
37 | 	func sizeThatFits(_ proposal: ProposedViewSize, uiView: Content, context: Context) -> CGSize? {
   |                                                                            `- error: cannot find type 'Context' in scope
38 | 		uiView.fittingSizeFor(size: proposal, dimensions: selfSizedAxis, contentMode: uiKitViewContentMode)
39 | 	}
/Users/admin/builder/spi-builder-workspace/Sources/UIKitViews/AnyUIViewRepresentable.swift:37:32: error: 'ProposedViewSize' is only available in macOS 13.0 or newer
19 | }
20 |
21 | private struct AnyUIViewRepresentableIOS16<Content: UIView>: UIViewRepresentable {
   |                `- note: add '@available' attribute to enclosing generic struct
22 |
23 | 	let make: () -> Content
   :
35 |
36 | 	@available(iOS 16.0, tvOS 16.0, *)
37 | 	func sizeThatFits(_ proposal: ProposedViewSize, uiView: Content, context: Context) -> CGSize? {
   |       |                        `- error: 'ProposedViewSize' is only available in macOS 13.0 or newer
   |       `- note: add '@available' attribute to enclosing instance method
38 | 		uiView.fittingSizeFor(size: proposal, dimensions: selfSizedAxis, contentMode: uiKitViewContentMode)
39 | 	}
/Users/admin/builder/spi-builder-workspace/Sources/UIKitViews/AnyUIViewRepresentable.swift:21:62: error: cannot find type 'UIViewRepresentable' in scope
19 | }
20 |
21 | private struct AnyUIViewRepresentableIOS16<Content: UIView>: UIViewRepresentable {
   |                                                              `- error: cannot find type 'UIViewRepresentable' in scope
22 |
23 | 	let make: () -> Content
/Users/admin/builder/spi-builder-workspace/Sources/UIKitViews/AnyUIViewRepresentable.swift:42:53: error: cannot find type 'UIView' in scope
40 | }
41 |
42 | private struct AnyUIViewRepresentableIOS13<Content: UIView>: UIViewRepresentable {
   |                                                     `- error: cannot find type 'UIView' in scope
43 |
44 | 	let make: () -> Content
/Users/admin/builder/spi-builder-workspace/Sources/UIKitViews/UIKitViewWrapper.swift:3:39: error: cannot find type 'UIView' in scope
 1 | import SwiftUI
 2 |
 3 | final class UIKitViewWrapper<Content: UIView>: UIView {
   |                                       `- error: cannot find type 'UIView' in scope
 4 |
 5 | 	let content: Content
/Users/admin/builder/spi-builder-workspace/Sources/UIKitViews/AnyUIViewRepresentable.swift:51:27: error: cannot find type 'Context' in scope
49 | 	@Environment(\.uiKitViewContentMode) private var uiKitViewContentMode
50 |
51 | 	func makeUIView(context: Context) -> UIKitViewWrapper<Content> {
   |                           `- error: cannot find type 'Context' in scope
52 | 		UIKitViewWrapper(make())
53 | 	}
/Users/admin/builder/spi-builder-workspace/Sources/UIKitViews/AnyUIViewRepresentable.swift:55:66: error: cannot find type 'Context' in scope
53 | 	}
54 |
55 | 	func updateUIView(_ uiView: UIKitViewWrapper<Content>, context: Context) {
   |                                                                  `- error: cannot find type 'Context' in scope
56 | 		updater(uiView.content, UIKitRepresentableContext(transaction: context.transaction, environment: context.environment))
57 | 		uiView.onUpdateSize = updateSize
/Users/admin/builder/spi-builder-workspace/Sources/UIKitViews/AnyUIViewRepresentable.swift:42:62: error: cannot find type 'UIViewRepresentable' in scope
40 | }
41 |
42 | private struct AnyUIViewRepresentableIOS13<Content: UIView>: UIViewRepresentable {
   |                                                              `- error: cannot find type 'UIViewRepresentable' in scope
43 |
44 | 	let make: () -> Content
/Users/admin/builder/spi-builder-workspace/Sources/UIKitViews/HostingView.swift:4:41: error: cannot find type 'UIView' in scope
 2 |
 3 | @dynamicMemberLookup
 4 | open class HostingView<RootView: View>: UIView {
   |                                         `- error: cannot find type 'UIView' in scope
 5 |
 6 | 	open var rootView: RootView {
/Users/admin/builder/spi-builder-workspace/Sources/UIKitViews/HostingView.swift:15:20: error: property does not override any property from its superclass
13 | 	}
14 |
15 | 	override open var intrinsicContentSize: CGSize {
   |                    `- error: property does not override any property from its superclass
16 | 		hostingController.view.intrinsicContentSize
17 | 	}
/Users/admin/builder/spi-builder-workspace/Sources/UIKitViews/HostingView.swift:19:33: error: cannot find type 'UIHostingController' in scope
17 | 	}
18 |
19 | 	private let hostingController: UIHostingController<RootView>
   |                                 `- error: cannot find type 'UIHostingController' in scope
20 |
21 | 	public init(_ rootView: RootView) {
/Users/admin/builder/spi-builder-workspace/Sources/UIKitViews/HostingView.swift:56:21: error: method does not override any method from its superclass
54 | 	}
55 |
56 | 	override open func didMoveToWindow() {
   |                     `- error: method does not override any method from its superclass
57 | 		super.didMoveToWindow()
58 | 		guard let controller else { return }
/Users/admin/builder/spi-builder-workspace/Sources/UIKitViews/HostingView.swift:64:19: error: cannot find type 'UIView' in scope
62 | }
63 |
64 | private extension UIView {
   |                   `- error: cannot find type 'UIView' in scope
65 |
66 | 	var controller: UIViewController? {
/Users/admin/builder/spi-builder-workspace/Sources/UIKitViews/Operator.swift:19:27: error: cannot find type 'UIView' in scope
17 | /// You can set view properties via method chaining and `uiKitViewEnvironment` modifier.
18 | /// Use the `UIKitView` like you would any other view.
19 | public postfix func §<T: UIView>(_ view: @escaping @autoclosure () -> T) -> UIKitView<AnyUIViewRepresentable<T>> {
   |                          `- error: cannot find type 'UIView' in scope
20 | 	UIKitView(view)
21 | }
/Users/admin/builder/spi-builder-workspace/Sources/UIKitViews/Operator.swift:35:27: error: cannot find type 'UIViewController' in scope
33 | /// You can set view properties via method chaining and `uiKitViewEnvironment` modifier.
34 | /// Use the `UIKitView` like you would any other view.
35 | public postfix func §<T: UIViewController>(_ view: @escaping @autoclosure () -> T) -> UIKitView<AnyUIViewControllerRepresentable<T>> {
   |                          `- error: cannot find type 'UIViewController' in scope
36 | 	UIKitView(view)
37 | }
/Users/admin/builder/spi-builder-workspace/Sources/UIKitViews/SelfSizingHostingController.swift:3:50: error: cannot find type 'UIHostingController' in scope
 1 | import SwiftUI
 2 |
 3 | open class SelfSizingHostingController<Content>: UIHostingController<Content> where Content: View {
   |                                                  `- error: cannot find type 'UIHostingController' in scope
 4 |
 5 | 	private var wasLoad = false
/Users/admin/builder/spi-builder-workspace/Sources/UIKitViews/SelfSizingHostingController.swift:7:21: error: method does not override any method from its superclass
 5 | 	private var wasLoad = false
 6 |
 7 | 	override open func viewDidLoad() {
   |                     `- error: method does not override any method from its superclass
 8 | 		super.viewDidLoad()
 9 | 		view.setContentHuggingPriority(.required, for: .vertical)
/Users/admin/builder/spi-builder-workspace/Sources/UIKitViews/SelfSizingHostingController.swift:13:21: error: method does not override any method from its superclass
11 | 	}
12 |
13 | 	override open func viewWillLayoutSubviews() {
   |                     `- error: method does not override any method from its superclass
14 | 		super.viewWillLayoutSubviews()
15 | 		// viewDidLoad is not being called on iOS 13
/Users/admin/builder/spi-builder-workspace/Sources/UIKitViews/SelfSizingHostingController.swift:22:21: error: method does not override any method from its superclass
20 | 	}
21 |
22 | 	override open func viewDidLayoutSubviews() {
   |                     `- error: method does not override any method from its superclass
23 | 		super.viewDidLayoutSubviews()
24 | 		view.invalidateIntrinsicContentSize()
/Users/admin/builder/spi-builder-workspace/Sources/UIKitViews/UIKitView+Chain.swift:4:1: warning: extension declares a conformance of imported type 'Chain' to imported protocol 'View'; this will not behave correctly if the owners of 'VDChain' introduce this conformance in the future
 2 | import VDChain
 3 |
 4 | extension Chain: View where Base: UIKitViewChaining {
   | |- warning: extension declares a conformance of imported type 'Chain' to imported protocol 'View'; this will not behave correctly if the owners of 'VDChain' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
 5 |
 6 | 	public var body: some View {
/Users/admin/builder/spi-builder-workspace/Sources/UIKitViews/UIKitViewControllerWrapper.swift:6:46: error: value of type 'Content' has no member 'view'
 4 |
 5 | 	let content: Content
 6 | 	lazy var wrapper = UIKitViewWrapper(content.view)
   |                                              `- error: value of type 'Content' has no member 'view'
 7 |
 8 | 	init(_ content: Content) {
/Users/admin/builder/spi-builder-workspace/Sources/UIKitViews/UIKitViewControllerWrapper.swift:3:68: error: cannot find type 'UIViewController' in scope
 1 | import SwiftUI
 2 |
 3 | final class UIKitViewControllerWrapper<Content: UIViewController>: UIViewController {
   |                                                                    `- error: cannot find type 'UIViewController' in scope
 4 |
 5 | 	let content: Content
/Users/admin/builder/spi-builder-workspace/Sources/UIKitViews/UIKitViewControllerWrapper.swift:21:16: error: method does not override any method from its superclass
19 | 	}
20 |
21 | 	override func loadView() {
   |                `- error: method does not override any method from its superclass
22 | 		view = wrapper
23 | 	}
/Users/admin/builder/spi-builder-workspace/Sources/UIKitViews/UIKitViewEnvironment.swift:6:31: error: cannot find type 'UIView' in scope
  4 |
  5 | 	/// Set the `UIKitView` environment value of the specified key path with the given value
  6 | 	func uiKitViewEnvironment<T: UIView, Value>(
    |                               `- error: cannot find type 'UIView' in scope
  7 | 		_ keyPath: ReferenceWritableKeyPath<T, Value>,
  8 | 		_ value: @escaping @autoclosure () -> Value
/Users/admin/builder/spi-builder-workspace/Sources/UIKitViews/UIKitViewEnvironment.swift:16:31: error: cannot find type 'UIViewController' in scope
 14 |
 15 | 	/// Set the `UIKitView` environment value of the specified key path with the given value
 16 | 	func uiKitViewEnvironment<T: UIViewController, Value>(
    |                               `- error: cannot find type 'UIViewController' in scope
 17 | 		_ keyPath: ReferenceWritableKeyPath<T, Value>,
 18 | 		_ value: @escaping @autoclosure () -> Value
/Users/admin/builder/spi-builder-workspace/Sources/UIKitViews/UIKitViewEnvironment.swift:16:7: error: invalid redeclaration of 'uiKitViewEnvironment'
  4 |
  5 | 	/// Set the `UIKitView` environment value of the specified key path with the given value
  6 | 	func uiKitViewEnvironment<T: UIView, Value>(
    |       `- note: 'uiKitViewEnvironment' previously declared here
  7 | 		_ keyPath: ReferenceWritableKeyPath<T, Value>,
  8 | 		_ value: @escaping @autoclosure () -> Value
    :
 14 |
 15 | 	/// Set the `UIKitView` environment value of the specified key path with the given value
 16 | 	func uiKitViewEnvironment<T: UIViewController, Value>(
    |       `- error: invalid redeclaration of 'uiKitViewEnvironment'
 17 | 		_ keyPath: ReferenceWritableKeyPath<T, Value>,
 18 | 		_ value: @escaping @autoclosure () -> Value
/Users/admin/builder/spi-builder-workspace/Sources/UIKitViews/UIKitViewEnvironment.swift:26:24: error: cannot find type 'UIView' in scope
 24 |
 25 | 	/// Binds SwiftUI environment to `UIKitView` environment
 26 | 	func uiKitViewBind<T: UIView, A, B>(
    |                        `- error: cannot find type 'UIView' in scope
 27 | 		environment keyPath: KeyPath<EnvironmentValues, A>,
 28 | 		to viewKeyPath: ReferenceWritableKeyPath<T, B>,
/Users/admin/builder/spi-builder-workspace/Sources/UIKitViews/UIKitViewEnvironment.swift:39:24: error: cannot find type 'UIView' in scope
 37 |
 38 | 	/// Binds SwiftUI environment to `UIKitView` environment
 39 | 	func uiKitViewBind<T: UIView, A>(
    |                        `- error: cannot find type 'UIView' in scope
 40 | 		environment keyPath: KeyPath<EnvironmentValues, A>,
 41 | 		to viewKeyPath: ReferenceWritableKeyPath<T, A>
/Users/admin/builder/spi-builder-workspace/Sources/UIKitViews/UIKitViewEnvironment.swift:47:24: error: cannot find type 'UIView' in scope
 45 |
 46 | 	/// Binds SwiftUI environment to `UIKitView` environment
 47 | 	func uiKitViewBind<T: UIView, A>(
    |                        `- error: cannot find type 'UIView' in scope
 48 | 		environment keyPath: KeyPath<EnvironmentValues, A>,
 49 | 		to viewKeyPath: ReferenceWritableKeyPath<T, A?>
/Users/admin/builder/spi-builder-workspace/Sources/UIKitViews/UIKitViewEnvironment.swift:58:47: error: cannot find type 'UIColor' in scope
 56 | 	func uiKitViewBind<T: UIView>(
 57 | 		environment keyPath: KeyPath<EnvironmentValues, Color>,
 58 | 		to viewKeyPath: ReferenceWritableKeyPath<T, UIColor>
    |                                               `- error: cannot find type 'UIColor' in scope
 59 | 	) -> some View {
 60 | 		uiKitViewBind(environment: keyPath, to: viewKeyPath) { UIColor($0) }
/Users/admin/builder/spi-builder-workspace/Sources/UIKitViews/UIKitViewEnvironment.swift:56:24: error: cannot find type 'UIView' in scope
 54 | 	/// Binds SwiftUI environment to `UIKitView` environment
 55 | 	@available(iOS 14.0, tvOS 14.0, *)
 56 | 	func uiKitViewBind<T: UIView>(
    |                        `- error: cannot find type 'UIView' in scope
 57 | 		environment keyPath: KeyPath<EnvironmentValues, Color>,
 58 | 		to viewKeyPath: ReferenceWritableKeyPath<T, UIColor>
/Users/admin/builder/spi-builder-workspace/Sources/UIKitViews/UIKitViewEnvironment.swift:67:47: error: cannot find type 'UIColor' in scope
 65 | 	func uiKitViewBind<T: UIView>(
 66 | 		environment keyPath: KeyPath<EnvironmentValues, Color>,
 67 | 		to viewKeyPath: ReferenceWritableKeyPath<T, UIColor?>
    |                                               `- error: cannot find type 'UIColor' in scope
 68 | 	) -> some View {
 69 | 		uiKitViewBind(environment: keyPath, to: viewKeyPath) { UIColor($0) }
/Users/admin/builder/spi-builder-workspace/Sources/UIKitViews/UIKitViewEnvironment.swift:65:24: error: cannot find type 'UIView' in scope
 63 | 	/// Binds SwiftUI environment to `UIKitView` environment
 64 | 	@available(iOS 14.0, tvOS 14.0, *)
 65 | 	func uiKitViewBind<T: UIView>(
    |                        `- error: cannot find type 'UIView' in scope
 66 | 		environment keyPath: KeyPath<EnvironmentValues, Color>,
 67 | 		to viewKeyPath: ReferenceWritableKeyPath<T, UIColor?>
/Users/admin/builder/spi-builder-workspace/Sources/UIKitViews/UIKitViewEnvironment.swift:73:24: error: cannot find type 'UIViewController' in scope
 71 |
 72 | 	/// Binds SwiftUI environment to `UIKitView` environment
 73 | 	func uiKitViewBind<T: UIViewController, A, B>(
    |                        `- error: cannot find type 'UIViewController' in scope
 74 | 		environment keyPath: KeyPath<EnvironmentValues, A>,
 75 | 		to viewKeyPath: ReferenceWritableKeyPath<T, B>,
/Users/admin/builder/spi-builder-workspace/Sources/UIKitViews/UIKitViewEnvironment.swift:73:7: error: invalid redeclaration of 'uiKitViewBind(environment:to:transform:)'
 24 |
 25 | 	/// Binds SwiftUI environment to `UIKitView` environment
 26 | 	func uiKitViewBind<T: UIView, A, B>(
    |       `- note: 'uiKitViewBind(environment:to:transform:)' previously declared here
 27 | 		environment keyPath: KeyPath<EnvironmentValues, A>,
 28 | 		to viewKeyPath: ReferenceWritableKeyPath<T, B>,
    :
 71 |
 72 | 	/// Binds SwiftUI environment to `UIKitView` environment
 73 | 	func uiKitViewBind<T: UIViewController, A, B>(
    |       `- error: invalid redeclaration of 'uiKitViewBind(environment:to:transform:)'
 74 | 		environment keyPath: KeyPath<EnvironmentValues, A>,
 75 | 		to viewKeyPath: ReferenceWritableKeyPath<T, B>,
/Users/admin/builder/spi-builder-workspace/Sources/UIKitViews/UIKitViewEnvironment.swift:86:24: error: cannot find type 'UIViewController' in scope
 84 |
 85 | 	/// Binds SwiftUI environment to `UIKitView` environment
 86 | 	func uiKitViewBind<T: UIViewController, A>(
    |                        `- error: cannot find type 'UIViewController' in scope
 87 | 		environment keyPath: KeyPath<EnvironmentValues, A>,
 88 | 		to viewKeyPath: ReferenceWritableKeyPath<T, A>
/Users/admin/builder/spi-builder-workspace/Sources/UIKitViews/UIKitViewEnvironment.swift:86:7: error: invalid redeclaration of 'uiKitViewBind(environment:to:)'
 37 |
 38 | 	/// Binds SwiftUI environment to `UIKitView` environment
 39 | 	func uiKitViewBind<T: UIView, A>(
    |       `- note: 'uiKitViewBind(environment:to:)' previously declared here
 40 | 		environment keyPath: KeyPath<EnvironmentValues, A>,
 41 | 		to viewKeyPath: ReferenceWritableKeyPath<T, A>
    :
 84 |
 85 | 	/// Binds SwiftUI environment to `UIKitView` environment
 86 | 	func uiKitViewBind<T: UIViewController, A>(
    |       `- error: invalid redeclaration of 'uiKitViewBind(environment:to:)'
 87 | 		environment keyPath: KeyPath<EnvironmentValues, A>,
 88 | 		to viewKeyPath: ReferenceWritableKeyPath<T, A>
/Users/admin/builder/spi-builder-workspace/Sources/UIKitViews/UIKitViewEnvironment.swift:94:24: error: cannot find type 'UIViewController' in scope
 92 |
 93 | 	/// Binds SwiftUI environment to `UIKitView` environment
 94 | 	func uiKitViewBind<T: UIViewController, A>(
    |                        `- error: cannot find type 'UIViewController' in scope
 95 | 		environment keyPath: KeyPath<EnvironmentValues, A>,
 96 | 		to viewKeyPath: ReferenceWritableKeyPath<T, A?>
/Users/admin/builder/spi-builder-workspace/Sources/UIKitViews/UIKitViewEnvironment.swift:94:7: error: invalid redeclaration of 'uiKitViewBind(environment:to:)'
 45 |
 46 | 	/// Binds SwiftUI environment to `UIKitView` environment
 47 | 	func uiKitViewBind<T: UIView, A>(
    |       `- note: 'uiKitViewBind(environment:to:)' previously declared here
 48 | 		environment keyPath: KeyPath<EnvironmentValues, A>,
 49 | 		to viewKeyPath: ReferenceWritableKeyPath<T, A?>
    :
 92 |
 93 | 	/// Binds SwiftUI environment to `UIKitView` environment
 94 | 	func uiKitViewBind<T: UIViewController, A>(
    |       `- error: invalid redeclaration of 'uiKitViewBind(environment:to:)'
 95 | 		environment keyPath: KeyPath<EnvironmentValues, A>,
 96 | 		to viewKeyPath: ReferenceWritableKeyPath<T, A?>
/Users/admin/builder/spi-builder-workspace/Sources/UIKitViews/UIKitViewEnvironment.swift:105:47: error: cannot find type 'UIColor' in scope
103 | 	func uiKitViewBind<T: UIViewController>(
104 | 		environment keyPath: KeyPath<EnvironmentValues, Color>,
105 | 		to viewKeyPath: ReferenceWritableKeyPath<T, UIColor>
    |                                               `- error: cannot find type 'UIColor' in scope
106 | 	) -> some View {
107 | 		uiKitViewBind(environment: keyPath, to: viewKeyPath) { UIColor($0) }
/Users/admin/builder/spi-builder-workspace/Sources/UIKitViews/UIKitViewEnvironment.swift:103:24: error: cannot find type 'UIViewController' in scope
101 | 	/// Binds SwiftUI environment to `UIKitView` environment
102 | 	@available(iOS 14.0, tvOS 14.0, *)
103 | 	func uiKitViewBind<T: UIViewController>(
    |                        `- error: cannot find type 'UIViewController' in scope
104 | 		environment keyPath: KeyPath<EnvironmentValues, Color>,
105 | 		to viewKeyPath: ReferenceWritableKeyPath<T, UIColor>
/Users/admin/builder/spi-builder-workspace/Sources/UIKitViews/UIKitViewEnvironment.swift:114:47: error: cannot find type 'UIColor' in scope
112 | 	func uiKitViewBind<T: UIViewController>(
113 | 		environment keyPath: KeyPath<EnvironmentValues, Color>,
114 | 		to viewKeyPath: ReferenceWritableKeyPath<T, UIColor?>
    |                                               `- error: cannot find type 'UIColor' in scope
115 | 	) -> some View {
116 | 		uiKitViewBind(environment: keyPath, to: viewKeyPath) { UIColor($0) }
/Users/admin/builder/spi-builder-workspace/Sources/UIKitViews/UIKitViewEnvironment.swift:112:24: error: cannot find type 'UIViewController' in scope
110 | 	/// Binds SwiftUI environment to `UIKitView` environment
111 | 	@available(iOS 14.0, tvOS 14.0, *)
112 | 	func uiKitViewBind<T: UIViewController>(
    |                        `- error: cannot find type 'UIViewController' in scope
113 | 		environment keyPath: KeyPath<EnvironmentValues, Color>,
114 | 		to viewKeyPath: ReferenceWritableKeyPath<T, UIColor?>
/Users/admin/builder/spi-builder-workspace/Sources/UIKitViews/UIKitViewWrapper.swift:3:48: error: cannot find type 'UIView' in scope
 1 | import SwiftUI
 2 |
 3 | final class UIKitViewWrapper<Content: UIView>: UIView {
   |                                                `- error: cannot find type 'UIView' in scope
 4 |
 5 | 	let content: Content
/Users/admin/builder/spi-builder-workspace/Sources/UIKitViews/UIKitViewWrapper.swift:28:4: error: cannot find 'invalidateIntrinsicContentSize' in scope
26 | 		didSet {
27 | 			guard oldValue != size else { return }
28 | 			invalidateIntrinsicContentSize()
   |    `- error: cannot find 'invalidateIntrinsicContentSize' in scope
29 | 			DispatchQueue.main.async { [self] in
30 | 				onUpdateSize(size)
/Users/admin/builder/spi-builder-workspace/Sources/UIKitViews/UIKitViewWrapper.swift:38:31: error: cannot find 'frame' in scope
36 | 		didSet {
37 | 			guard oldValue != selfSizedAxis else { return }
38 | 			updateSize(expectedSize ?? frame.size)
   |                               `- error: cannot find 'frame' in scope
39 | 		}
40 | 	}
/Users/admin/builder/spi-builder-workspace/Sources/UIKitViews/UIKitViewWrapper.swift:52:15: error: property does not override any property from its superclass
50 | //	}
51 |
52 | 	override var intrinsicContentSize: CGSize {
   |               `- error: property does not override any property from its superclass
53 | 		guard let size else {
54 | 			return CGSize(width: UIView.noIntrinsicMetric, height: UIView.noIntrinsicMetric)
/Users/admin/builder/spi-builder-workspace/Sources/UIKitViews/UIKitViewWrapper.swift:69:16: error: method does not override any method from its superclass
67 | 	}
68 |
69 | 	override func layoutSubviews() {
   |                `- error: method does not override any method from its superclass
70 | 		super.layoutSubviews()
71 | 		content.frame = bounds
/Users/admin/builder/spi-builder-workspace/Sources/UIKitViews/UIView++.swift:3:11: error: cannot find type 'UIView' in scope
 1 | import SwiftUI
 2 |
 3 | extension UIView {
   |           `- error: cannot find type 'UIView' in scope
 4 |
 5 | 	func fittingSizeFor(width: CGFloat?, height: CGFloat?, contentMode: UIKitViewContentMode) -> CGSize? {
Failed frontend command:
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /Users/admin/builder/spi-builder-workspace/Sources/UIKitViews/AnyUIRepresentableWrapper.swift /Users/admin/builder/spi-builder-workspace/Sources/UIKitViews/AnyUIViewControllerRepresentable.swift /Users/admin/builder/spi-builder-workspace/Sources/UIKitViews/AnyUIViewRepresentable.swift /Users/admin/builder/spi-builder-workspace/Sources/UIKitViews/HostingView.swift /Users/admin/builder/spi-builder-workspace/Sources/UIKitViews/Operator.swift /Users/admin/builder/spi-builder-workspace/Sources/UIKitViews/SelfSizingHostingController.swift /Users/admin/builder/spi-builder-workspace/Sources/UIKitViews/UIKitRepresentable.swift /Users/admin/builder/spi-builder-workspace/Sources/UIKitViews/UIKitView+Chain.swift /Users/admin/builder/spi-builder-workspace/Sources/UIKitViews/UIKitView+init.swift /Users/admin/builder/spi-builder-workspace/Sources/UIKitViews/UIKitView.swift /Users/admin/builder/spi-builder-workspace/Sources/UIKitViews/UIKitViewControllerWrapper.swift /Users/admin/builder/spi-builder-workspace/Sources/UIKitViews/UIKitViewEnvironment.swift /Users/admin/builder/spi-builder-workspace/Sources/UIKitViews/UIKitViewResizing.swift /Users/admin/builder/spi-builder-workspace/Sources/UIKitViews/UIKitViewWrapper.swift /Users/admin/builder/spi-builder-workspace/Sources/UIKitViews/UIView++.swift -target arm64-apple-macos12.0 -disable-cross-import-overlay-search -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins/libFoundationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server\#FoundationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins/libObservationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server\#ObservationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins/libPreviewsMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server\#PreviewsMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins/libSwiftMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server\#SwiftMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins/libSwiftUIMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.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/.build/out/Intermediates.noindex/UIKitViews.build/Debug/UIKitViews-t.build/Objects-normal/arm64/UIKitViews-dependencies-1.json -Xllvm -aarch64-use-tbi -enable-objc-interop -stack-check -sdk /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX27.0.sdk -I /Users/admin/builder/spi-builder-workspace/.build/out/Products/Debug -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.build/out/Products/Debug/PackageFrameworks -F /Users/admin/builder/spi-builder-workspace/.build/out/Products/Debug -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks -module-cache-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftExplicitPrecompiledModules -color-diagnostics -Xcc -fcolor-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -swift-version 5 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.build/out/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /Users/admin/builder -enable-anonymous-context-mangled-names -file-compilation-dir /Users/admin/builder -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.build/out/SDKStatCaches.noindex/macosx27.0-26A425-80c5bbf1d171475443272936d42f90a36a22442a12e9d48fe1a705f55a1adfc4.sdkstatcache -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/Users/admin/builder/spi-builder-workspace/.build/out/Products/Debug/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/UIKitViews.build/Debug/UIKitViews-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/UIKitViews.build/Debug/UIKitViews-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/UIKitViews.build/Debug/UIKitViews-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name UIKitViews -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/UIKitViews.build/Debug/UIKitViews-t.build/Objects-normal/arm64/UIKitViews_const_extract_protocols.json -disable-clang-spi -clang-target arm64-apple-macos27.0 -target-sdk-version 27.0 -target-sdk-name macosx27.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/.build/out/Intermediates.noindex/UIKitViews.build/Debug/UIKitViews-t.build/Objects-normal/arm64/UIKitViews.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/UIKitViews.build/Debug/UIKitViews-t.build/Objects-normal/arm64/UIKitViews.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/UIKitViews.build/Debug/UIKitViews-t.build/Objects-normal/arm64/UIKitViews-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/UIKitViews.build/Debug/UIKitViews-t.build/Objects-normal/arm64/UIKitViews-primary-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/UIKitViews.build/Debug/UIKitViews-t.build/Objects-normal/arm64/UIKitViews-primary-emit-module.d -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/UIKitViews.build/Debug/UIKitViews-t.build/Objects-normal/arm64/UIKitViews.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/UIKitViews.build/Debug/UIKitViews-t.build/Objects-normal/arm64/UIKitViews.abi.json
error: Build failed
BUILD FAILURE 6.4 macosSpm