The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build UIKitViews, reference 1.8.1 (f00d60), with Swift 6.1 for macOS (SPM) on 29 Apr 2025 13:25:06 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64

Build Log

   |                                                `- 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:35:21: error: 'Axis' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | final class UIKitViewWrapper<Content: UIView>: UIView {
   |             `- note: add @available attribute to enclosing generic class
 4 |
 5 | 	let content: Content
   :
33 | 	}
34 |
35 | 	var selfSizedAxis: Axis.Set = [.vertical, .horizontal] {
   |                     `- error: 'Axis' is only available in macOS 10.15 or newer
36 | 		didSet {
37 | 			guard oldValue != selfSizedAxis else { return }
/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/UIKitViewWrapper.swift:54:25: error: cannot find 'UIView' in scope
52 | 	override var intrinsicContentSize: CGSize {
53 | 		guard let size else {
54 | 			return CGSize(width: UIView.noIntrinsicMetric, height: UIView.noIntrinsicMetric)
   |                         `- error: cannot find 'UIView' in scope
55 | 		}
56 | 		return CGSize(
/Users/admin/builder/spi-builder-workspace/Sources/UIKitViews/UIKitViewWrapper.swift:54:59: error: cannot find 'UIView' in scope
52 | 	override var intrinsicContentSize: CGSize {
53 | 		guard let size else {
54 | 			return CGSize(width: UIView.noIntrinsicMetric, height: UIView.noIntrinsicMetric)
   |                                                           `- error: cannot find 'UIView' in scope
55 | 		}
56 | 		return CGSize(
/Users/admin/builder/spi-builder-workspace/Sources/UIKitViews/UIKitViewWrapper.swift:57:62: error: cannot find 'UIView' in scope
55 | 		}
56 | 		return CGSize(
57 | 			width: selfSizedAxis.contains(.horizontal) ? size.width : UIView.noIntrinsicMetric,
   |                                                              `- error: cannot find 'UIView' in scope
58 | 			height: selfSizedAxis.contains(.vertical) ? size.height : UIView.noIntrinsicMetric
59 | 		)
/Users/admin/builder/spi-builder-workspace/Sources/UIKitViews/UIKitViewWrapper.swift:58:62: error: cannot find 'UIView' in scope
56 | 		return CGSize(
57 | 			width: selfSizedAxis.contains(.horizontal) ? size.width : UIView.noIntrinsicMetric,
58 | 			height: selfSizedAxis.contains(.vertical) ? size.height : UIView.noIntrinsicMetric
   |                                                              `- error: cannot find 'UIView' in scope
59 | 		)
60 | 	}
/Users/admin/builder/spi-builder-workspace/Sources/UIKitViews/UIKitViewWrapper.swift:64:3: error: 'super' cannot be used in class 'UIKitViewWrapper' because it has no superclass
62 | 	init(_ content: Content) {
63 | 		self.content = content
64 | 		super.init(frame: CGRect(origin: .zero, size: content.intrinsicContentSize))
   |   `- error: 'super' cannot be used in class 'UIKitViewWrapper' because it has no superclass
65 | 		backgroundColor = .clear
66 | 		addSubview(content)
/Users/admin/builder/spi-builder-workspace/Sources/UIKitViews/UIKitViewWrapper.swift:64:57: error: value of type 'Content' has no member 'intrinsicContentSize'
62 | 	init(_ content: Content) {
63 | 		self.content = content
64 | 		super.init(frame: CGRect(origin: .zero, size: content.intrinsicContentSize))
   |                                                         `- error: value of type 'Content' has no member 'intrinsicContentSize'
65 | 		backgroundColor = .clear
66 | 		addSubview(content)
/Users/admin/builder/spi-builder-workspace/Sources/UIKitViews/UIKitViewWrapper.swift:65:3: error: cannot find 'backgroundColor' in scope
63 | 		self.content = content
64 | 		super.init(frame: CGRect(origin: .zero, size: content.intrinsicContentSize))
65 | 		backgroundColor = .clear
   |   `- error: cannot find 'backgroundColor' in scope
66 | 		addSubview(content)
67 | 	}
/Users/admin/builder/spi-builder-workspace/Sources/UIKitViews/UIKitViewWrapper.swift:66:3: error: cannot find 'addSubview' in scope
64 | 		super.init(frame: CGRect(origin: .zero, size: content.intrinsicContentSize))
65 | 		backgroundColor = .clear
66 | 		addSubview(content)
   |   `- error: cannot find 'addSubview' in scope
67 | 	}
68 |
/Users/admin/builder/spi-builder-workspace/Sources/UIKitViews/UIKitViewWrapper.swift:70:3: error: 'super' cannot be used in class 'UIKitViewWrapper' because it has no superclass
68 |
69 | 	override func layoutSubviews() {
70 | 		super.layoutSubviews()
   |   `- error: 'super' cannot be used in class 'UIKitViewWrapper' because it has no superclass
71 | 		content.frame = bounds
72 | 	}
/Users/admin/builder/spi-builder-workspace/Sources/UIKitViews/UIKitViewWrapper.swift:71:19: error: cannot find 'bounds' in scope
69 | 	override func layoutSubviews() {
70 | 		super.layoutSubviews()
71 | 		content.frame = bounds
   |                   `- error: cannot find 'bounds' in scope
72 | 	}
73 |
/Users/admin/builder/spi-builder-workspace/Sources/UIKitViews/UIKitViewWrapper.swift:71:11: error: value of type 'Content' has no member 'frame'
69 | 	override func layoutSubviews() {
70 | 		super.layoutSubviews()
71 | 		content.frame = bounds
   |           `- error: value of type 'Content' has no member 'frame'
72 | 	}
73 |
/Users/admin/builder/spi-builder-workspace/Sources/UIKitViews/UIKitViewWrapper.swift:80:18: error: value of type 'Content' has no member 'fittingSizeFor'
78 |
79 | 	func updateSize(_ newValue: CGSize) {
80 | 		size = content.fittingSizeFor(
   |                  `- error: value of type 'Content' has no member 'fittingSizeFor'
81 | 			width: selfSizedAxis.contains(.horizontal) ? nil : newValue.width,
82 | 			height: selfSizedAxis.contains(.vertical) ? nil : newValue.height,
[19/26] Compiling UIKitViews UIKitView+init.swift
/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/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/UIKitView.swift:24:26: error: 'View' is only available in macOS 10.15 or newer
20 | public typealias UIKitView<Content: UIKitRepresentable> = Chain<UIKitViewChain<Content>>
21 |
22 | public protocol UIKitViewChaining<Root>: Chaining {
   |                 `- note: add @available attribute to enclosing protocol
23 |
24 |     associatedtype Body: View
   |                    |     `- error: 'View' is only available in macOS 10.15 or newer
   |                    `- note: add @available attribute to enclosing associated type
25 |
26 |     func body(values: ChainValues<Root>) -> Body
/Users/admin/builder/spi-builder-workspace/Sources/UIKitViews/UIKitView.swift:57:22: error: 'Transaction' is only available in macOS 10.15 or newer
53 | }
54 |
55 | public extension ChainValues {
   |        `- note: add @available attribute to enclosing extension
56 |
57 |     var transaction: Transaction {
   |         |            `- error: 'Transaction' is only available in macOS 10.15 or newer
   |         `- note: add @available attribute to enclosing property
58 |         get { get(\.transaction) ?? Transaction() }
59 |         set { set(\.transaction, newValue) }
/Users/admin/builder/spi-builder-workspace/Sources/UIKitViews/UIKitView.swift:65:22: error: 'EnvironmentValues' is only available in macOS 10.15 or newer
61 | }
62 |
63 | public extension ChainValues {
   |        `- note: add @available attribute to enclosing extension
64 |
65 |     var environment: EnvironmentValues {
   |         |            `- error: 'EnvironmentValues' is only available in macOS 10.15 or newer
   |         `- note: add @available attribute to enclosing property
66 |         get { get(\.environment) ?? EnvironmentValues() }
67 |         set { set(\.environment, newValue) { _, new in new } }
/Users/admin/builder/spi-builder-workspace/Sources/UIKitViews/UIKitView.swift:58:37: error: 'Transaction' is only available in macOS 10.15 or newer
53 | }
54 |
55 | public extension ChainValues {
   |        `- note: add @available attribute to enclosing extension
56 |
57 |     var transaction: Transaction {
   |         `- note: add @available attribute to enclosing property
58 |         get { get(\.transaction) ?? Transaction() }
   |                                     |- error: 'Transaction' is only available in macOS 10.15 or newer
   |                                     `- note: add 'if #available' version check
59 |         set { set(\.transaction, newValue) }
60 |     }
/Users/admin/builder/spi-builder-workspace/Sources/UIKitViews/UIKitView.swift:66:37: error: 'EnvironmentValues' is only available in macOS 10.15 or newer
61 | }
62 |
63 | public extension ChainValues {
   |        `- note: add @available attribute to enclosing extension
64 |
65 |     var environment: EnvironmentValues {
   |         `- note: add @available attribute to enclosing property
66 |         get { get(\.environment) ?? EnvironmentValues() }
   |                                     |- error: 'EnvironmentValues' is only available in macOS 10.15 or newer
   |                                     `- note: add 'if #available' version check
67 |         set { set(\.environment, newValue) { _, new in new } }
68 |     }
[20/26] Compiling UIKitViews UIKitView.swift
/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/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/UIKitView.swift:24:26: error: 'View' is only available in macOS 10.15 or newer
20 | public typealias UIKitView<Content: UIKitRepresentable> = Chain<UIKitViewChain<Content>>
21 |
22 | public protocol UIKitViewChaining<Root>: Chaining {
   |                 `- note: add @available attribute to enclosing protocol
23 |
24 |     associatedtype Body: View
   |                    |     `- error: 'View' is only available in macOS 10.15 or newer
   |                    `- note: add @available attribute to enclosing associated type
25 |
26 |     func body(values: ChainValues<Root>) -> Body
/Users/admin/builder/spi-builder-workspace/Sources/UIKitViews/UIKitView.swift:57:22: error: 'Transaction' is only available in macOS 10.15 or newer
53 | }
54 |
55 | public extension ChainValues {
   |        `- note: add @available attribute to enclosing extension
56 |
57 |     var transaction: Transaction {
   |         |            `- error: 'Transaction' is only available in macOS 10.15 or newer
   |         `- note: add @available attribute to enclosing property
58 |         get { get(\.transaction) ?? Transaction() }
59 |         set { set(\.transaction, newValue) }
/Users/admin/builder/spi-builder-workspace/Sources/UIKitViews/UIKitView.swift:65:22: error: 'EnvironmentValues' is only available in macOS 10.15 or newer
61 | }
62 |
63 | public extension ChainValues {
   |        `- note: add @available attribute to enclosing extension
64 |
65 |     var environment: EnvironmentValues {
   |         |            `- error: 'EnvironmentValues' is only available in macOS 10.15 or newer
   |         `- note: add @available attribute to enclosing property
66 |         get { get(\.environment) ?? EnvironmentValues() }
67 |         set { set(\.environment, newValue) { _, new in new } }
/Users/admin/builder/spi-builder-workspace/Sources/UIKitViews/UIKitView.swift:58:37: error: 'Transaction' is only available in macOS 10.15 or newer
53 | }
54 |
55 | public extension ChainValues {
   |        `- note: add @available attribute to enclosing extension
56 |
57 |     var transaction: Transaction {
   |         `- note: add @available attribute to enclosing property
58 |         get { get(\.transaction) ?? Transaction() }
   |                                     |- error: 'Transaction' is only available in macOS 10.15 or newer
   |                                     `- note: add 'if #available' version check
59 |         set { set(\.transaction, newValue) }
60 |     }
/Users/admin/builder/spi-builder-workspace/Sources/UIKitViews/UIKitView.swift:66:37: error: 'EnvironmentValues' is only available in macOS 10.15 or newer
61 | }
62 |
63 | public extension ChainValues {
   |        `- note: add @available attribute to enclosing extension
64 |
65 |     var environment: EnvironmentValues {
   |         `- note: add @available attribute to enclosing property
66 |         get { get(\.environment) ?? EnvironmentValues() }
   |                                     |- error: 'EnvironmentValues' is only available in macOS 10.15 or newer
   |                                     `- note: add 'if #available' version check
67 |         set { set(\.environment, newValue) { _, new in new } }
68 |     }
[21/26] Compiling UIKitViews Operator.swift
/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/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/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/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/Operator.swift:40:19: error: 'View' is only available in macOS 10.15 or newer
38 |
39 | @ViewBuilder
40 | func tt() -> some View {
   |      |            `- error: 'View' is only available in macOS 10.15 or newer
   |      `- note: add @available attribute to enclosing global function
41 | 	UILabel()§
42 | 		.text("Text")
/Users/admin/builder/spi-builder-workspace/Sources/UIKitViews/Operator.swift:39:2: error: 'ViewBuilder' is only available in macOS 10.15 or newer
37 | }
38 |
39 | @ViewBuilder
   |  `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
40 | func tt() -> some View {
   |      `- note: add @available attribute to enclosing global function
41 | 	UILabel()§
42 | 		.text("Text")
/Users/admin/builder/spi-builder-workspace/Sources/UIKitViews/Operator.swift:41:2: error: cannot find 'UILabel' in scope
39 | @ViewBuilder
40 | func tt() -> some View {
41 | 	UILabel()§
   |  `- error: cannot find 'UILabel' in scope
42 | 		.text("Text")
43 | }
/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/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:3:94: error: 'View' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | open class SelfSizingHostingController<Content>: UIHostingController<Content> where Content: View {
   |            |                                                                                 `- error: 'View' is only available in macOS 10.15 or newer
   |            `- note: add @available attribute to enclosing generic class
 4 |
 5 | 	private var wasLoad = false
/Users/admin/builder/spi-builder-workspace/Sources/UIKitViews/SelfSizingHostingController.swift:8:3: error: 'super' cannot be used in class 'SelfSizingHostingController' because it has no superclass
 6 |
 7 | 	override open func viewDidLoad() {
 8 | 		super.viewDidLoad()
   |   `- error: 'super' cannot be used in class 'SelfSizingHostingController' because it has no superclass
 9 | 		view.setContentHuggingPriority(.required, for: .vertical)
10 | 		wasLoad = true
/Users/admin/builder/spi-builder-workspace/Sources/UIKitViews/SelfSizingHostingController.swift:9:3: error: cannot find 'view' in scope
 7 | 	override open func viewDidLoad() {
 8 | 		super.viewDidLoad()
 9 | 		view.setContentHuggingPriority(.required, for: .vertical)
   |   `- error: cannot find 'view' in scope
10 | 		wasLoad = true
11 | 	}
/Users/admin/builder/spi-builder-workspace/Sources/UIKitViews/SelfSizingHostingController.swift:9:35: error: cannot infer contextual base in reference to member 'required'
 7 | 	override open func viewDidLoad() {
 8 | 		super.viewDidLoad()
 9 | 		view.setContentHuggingPriority(.required, for: .vertical)
   |                                   `- error: cannot infer contextual base in reference to member 'required'
10 | 		wasLoad = true
11 | 	}
/Users/admin/builder/spi-builder-workspace/Sources/UIKitViews/SelfSizingHostingController.swift:9:51: error: cannot infer contextual base in reference to member 'vertical'
 7 | 	override open func viewDidLoad() {
 8 | 		super.viewDidLoad()
 9 | 		view.setContentHuggingPriority(.required, for: .vertical)
   |                                                   `- error: cannot infer contextual base in reference to member 'vertical'
10 | 		wasLoad = true
11 | 	}
/Users/admin/builder/spi-builder-workspace/Sources/UIKitViews/SelfSizingHostingController.swift:14:3: error: 'super' cannot be used in class 'SelfSizingHostingController' because it has no superclass
12 |
13 | 	override open func viewWillLayoutSubviews() {
14 | 		super.viewWillLayoutSubviews()
   |   `- error: 'super' cannot be used in class 'SelfSizingHostingController' because it has no superclass
15 | 		// viewDidLoad is not being called on iOS 13
16 | 		guard !wasLoad else { return }
/Users/admin/builder/spi-builder-workspace/Sources/UIKitViews/SelfSizingHostingController.swift:17:3: error: cannot find 'loadViewIfNeeded' in scope
15 | 		// viewDidLoad is not being called on iOS 13
16 | 		guard !wasLoad else { return }
17 | 		loadViewIfNeeded()
   |   `- error: cannot find 'loadViewIfNeeded' in scope
18 | 		guard !wasLoad else { return }
19 | 		viewDidLoad()
/Users/admin/builder/spi-builder-workspace/Sources/UIKitViews/SelfSizingHostingController.swift:23:3: error: 'super' cannot be used in class 'SelfSizingHostingController' because it has no superclass
21 |
22 | 	override open func viewDidLayoutSubviews() {
23 | 		super.viewDidLayoutSubviews()
   |   `- error: 'super' cannot be used in class 'SelfSizingHostingController' because it has no superclass
24 | 		view.invalidateIntrinsicContentSize()
25 | 	}
/Users/admin/builder/spi-builder-workspace/Sources/UIKitViews/SelfSizingHostingController.swift:24:3: error: cannot find 'view' in scope
22 | 	override open func viewDidLayoutSubviews() {
23 | 		super.viewDidLayoutSubviews()
24 | 		view.invalidateIntrinsicContentSize()
   |   `- error: cannot find 'view' in scope
25 | 	}
26 | }
[22/26] Compiling UIKitViews SelfSizingHostingController.swift
/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/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/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/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/Operator.swift:40:19: error: 'View' is only available in macOS 10.15 or newer
38 |
39 | @ViewBuilder
40 | func tt() -> some View {
   |      |            `- error: 'View' is only available in macOS 10.15 or newer
   |      `- note: add @available attribute to enclosing global function
41 | 	UILabel()§
42 | 		.text("Text")
/Users/admin/builder/spi-builder-workspace/Sources/UIKitViews/Operator.swift:39:2: error: 'ViewBuilder' is only available in macOS 10.15 or newer
37 | }
38 |
39 | @ViewBuilder
   |  `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
40 | func tt() -> some View {
   |      `- note: add @available attribute to enclosing global function
41 | 	UILabel()§
42 | 		.text("Text")
/Users/admin/builder/spi-builder-workspace/Sources/UIKitViews/Operator.swift:41:2: error: cannot find 'UILabel' in scope
39 | @ViewBuilder
40 | func tt() -> some View {
41 | 	UILabel()§
   |  `- error: cannot find 'UILabel' in scope
42 | 		.text("Text")
43 | }
/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/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:3:94: error: 'View' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | open class SelfSizingHostingController<Content>: UIHostingController<Content> where Content: View {
   |            |                                                                                 `- error: 'View' is only available in macOS 10.15 or newer
   |            `- note: add @available attribute to enclosing generic class
 4 |
 5 | 	private var wasLoad = false
/Users/admin/builder/spi-builder-workspace/Sources/UIKitViews/SelfSizingHostingController.swift:8:3: error: 'super' cannot be used in class 'SelfSizingHostingController' because it has no superclass
 6 |
 7 | 	override open func viewDidLoad() {
 8 | 		super.viewDidLoad()
   |   `- error: 'super' cannot be used in class 'SelfSizingHostingController' because it has no superclass
 9 | 		view.setContentHuggingPriority(.required, for: .vertical)
10 | 		wasLoad = true
/Users/admin/builder/spi-builder-workspace/Sources/UIKitViews/SelfSizingHostingController.swift:9:3: error: cannot find 'view' in scope
 7 | 	override open func viewDidLoad() {
 8 | 		super.viewDidLoad()
 9 | 		view.setContentHuggingPriority(.required, for: .vertical)
   |   `- error: cannot find 'view' in scope
10 | 		wasLoad = true
11 | 	}
/Users/admin/builder/spi-builder-workspace/Sources/UIKitViews/SelfSizingHostingController.swift:9:35: error: cannot infer contextual base in reference to member 'required'
 7 | 	override open func viewDidLoad() {
 8 | 		super.viewDidLoad()
 9 | 		view.setContentHuggingPriority(.required, for: .vertical)
   |                                   `- error: cannot infer contextual base in reference to member 'required'
10 | 		wasLoad = true
11 | 	}
/Users/admin/builder/spi-builder-workspace/Sources/UIKitViews/SelfSizingHostingController.swift:9:51: error: cannot infer contextual base in reference to member 'vertical'
 7 | 	override open func viewDidLoad() {
 8 | 		super.viewDidLoad()
 9 | 		view.setContentHuggingPriority(.required, for: .vertical)
   |                                                   `- error: cannot infer contextual base in reference to member 'vertical'
10 | 		wasLoad = true
11 | 	}
/Users/admin/builder/spi-builder-workspace/Sources/UIKitViews/SelfSizingHostingController.swift:14:3: error: 'super' cannot be used in class 'SelfSizingHostingController' because it has no superclass
12 |
13 | 	override open func viewWillLayoutSubviews() {
14 | 		super.viewWillLayoutSubviews()
   |   `- error: 'super' cannot be used in class 'SelfSizingHostingController' because it has no superclass
15 | 		// viewDidLoad is not being called on iOS 13
16 | 		guard !wasLoad else { return }
/Users/admin/builder/spi-builder-workspace/Sources/UIKitViews/SelfSizingHostingController.swift:17:3: error: cannot find 'loadViewIfNeeded' in scope
15 | 		// viewDidLoad is not being called on iOS 13
16 | 		guard !wasLoad else { return }
17 | 		loadViewIfNeeded()
   |   `- error: cannot find 'loadViewIfNeeded' in scope
18 | 		guard !wasLoad else { return }
19 | 		viewDidLoad()
/Users/admin/builder/spi-builder-workspace/Sources/UIKitViews/SelfSizingHostingController.swift:23:3: error: 'super' cannot be used in class 'SelfSizingHostingController' because it has no superclass
21 |
22 | 	override open func viewDidLayoutSubviews() {
23 | 		super.viewDidLayoutSubviews()
   |   `- error: 'super' cannot be used in class 'SelfSizingHostingController' because it has no superclass
24 | 		view.invalidateIntrinsicContentSize()
25 | 	}
/Users/admin/builder/spi-builder-workspace/Sources/UIKitViews/SelfSizingHostingController.swift:24:3: error: cannot find 'view' in scope
22 | 	override open func viewDidLayoutSubviews() {
23 | 		super.viewDidLayoutSubviews()
24 | 		view.invalidateIntrinsicContentSize()
   |   `- error: cannot find 'view' in scope
25 | 	}
26 | }
[23/26] Compiling UIKitViews UIView++.swift
/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? {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[24/26] Emitting module UIKitViews
/Users/admin/builder/spi-builder-workspace/Sources/UIKitViews/AnyUIRepresentableWrapper.swift:5:3: error: 'ViewBuilder' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct AnyUIRepresentableWrapper<IOS13: View, IOS16: View>: View {
   |        `- note: add @available attribute to enclosing generic struct
 4 |
 5 | 	@ViewBuilder let iOS13: (CGSize?, @escaping (CGSize?) -> Void) -> IOS13
   |   `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
 6 | 	@ViewBuilder let iOS16: IOS16
 7 | 	@Environment(\.uiKitViewFixedSize) private var selfSizedAxis
/Users/admin/builder/spi-builder-workspace/Sources/UIKitViews/AnyUIRepresentableWrapper.swift:6:3: error: 'ViewBuilder' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct AnyUIRepresentableWrapper<IOS13: View, IOS16: View>: View {
   |        `- note: add @available attribute to enclosing generic struct
 4 |
 5 | 	@ViewBuilder let iOS13: (CGSize?, @escaping (CGSize?) -> Void) -> IOS13
 6 | 	@ViewBuilder let iOS16: IOS16
   |   `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
 7 | 	@Environment(\.uiKitViewFixedSize) private var selfSizedAxis
 8 | 	@Environment(\.uiKitViewWrapperPolicy) private var uiKitViewWrapperPolicy
/Users/admin/builder/spi-builder-workspace/Sources/UIKitViews/AnyUIRepresentableWrapper.swift:7:3: error: 'Environment' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct AnyUIRepresentableWrapper<IOS13: View, IOS16: View>: View {
   |        `- note: add @available attribute to enclosing generic struct
 4 |
 5 | 	@ViewBuilder let iOS13: (CGSize?, @escaping (CGSize?) -> Void) -> IOS13
 6 | 	@ViewBuilder let iOS16: IOS16
 7 | 	@Environment(\.uiKitViewFixedSize) private var selfSizedAxis
   |   `- error: 'Environment' is only available in macOS 10.15 or newer
 8 | 	@Environment(\.uiKitViewWrapperPolicy) private var uiKitViewWrapperPolicy
 9 | 	@Environment(\.uiKitViewContentMode) private var uiKitViewContentMode
/Users/admin/builder/spi-builder-workspace/Sources/UIKitViews/AnyUIRepresentableWrapper.swift:8:3: error: 'Environment' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct AnyUIRepresentableWrapper<IOS13: View, IOS16: View>: View {
   |        `- note: add @available attribute to enclosing generic struct
 4 |
 5 | 	@ViewBuilder let iOS13: (CGSize?, @escaping (CGSize?) -> Void) -> IOS13
 6 | 	@ViewBuilder let iOS16: IOS16
 7 | 	@Environment(\.uiKitViewFixedSize) private var selfSizedAxis
 8 | 	@Environment(\.uiKitViewWrapperPolicy) private var uiKitViewWrapperPolicy
   |   `- error: 'Environment' is only available in macOS 10.15 or newer
 9 | 	@Environment(\.uiKitViewContentMode) private var uiKitViewContentMode
10 | 	@State private var size: CGSize?
/Users/admin/builder/spi-builder-workspace/Sources/UIKitViews/AnyUIRepresentableWrapper.swift:9:3: error: 'Environment' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct AnyUIRepresentableWrapper<IOS13: View, IOS16: View>: View {
   |        `- note: add @available attribute to enclosing generic struct
 4 |
 5 | 	@ViewBuilder let iOS13: (CGSize?, @escaping (CGSize?) -> Void) -> IOS13
   :
 7 | 	@Environment(\.uiKitViewFixedSize) private var selfSizedAxis
 8 | 	@Environment(\.uiKitViewWrapperPolicy) private var uiKitViewWrapperPolicy
 9 | 	@Environment(\.uiKitViewContentMode) private var uiKitViewContentMode
   |   `- error: 'Environment' is only available in macOS 10.15 or newer
10 | 	@State private var size: CGSize?
11 | 	@State private var updateSize: (CGSize) -> Void = { _ in }
/Users/admin/builder/spi-builder-workspace/Sources/UIKitViews/AnyUIRepresentableWrapper.swift:10:3: error: 'State' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct AnyUIRepresentableWrapper<IOS13: View, IOS16: View>: View {
   |        `- note: add @available attribute to enclosing generic struct
 4 |
 5 | 	@ViewBuilder let iOS13: (CGSize?, @escaping (CGSize?) -> Void) -> IOS13
   :
 8 | 	@Environment(\.uiKitViewWrapperPolicy) private var uiKitViewWrapperPolicy
 9 | 	@Environment(\.uiKitViewContentMode) private var uiKitViewContentMode
10 | 	@State private var size: CGSize?
   |   `- error: 'State' is only available in macOS 10.15 or newer
11 | 	@State private var updateSize: (CGSize) -> Void = { _ in }
12 | 	@State private var expectedSize: CGSize?
/Users/admin/builder/spi-builder-workspace/Sources/UIKitViews/AnyUIRepresentableWrapper.swift:11:3: error: 'State' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct AnyUIRepresentableWrapper<IOS13: View, IOS16: View>: View {
   |        `- note: add @available attribute to enclosing generic struct
 4 |
 5 | 	@ViewBuilder let iOS13: (CGSize?, @escaping (CGSize?) -> Void) -> IOS13
   :
 9 | 	@Environment(\.uiKitViewContentMode) private var uiKitViewContentMode
10 | 	@State private var size: CGSize?
11 | 	@State private var updateSize: (CGSize) -> Void = { _ in }
   |   `- error: 'State' is only available in macOS 10.15 or newer
12 | 	@State private var expectedSize: CGSize?
13 |
/Users/admin/builder/spi-builder-workspace/Sources/UIKitViews/AnyUIRepresentableWrapper.swift:12:3: error: 'State' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct AnyUIRepresentableWrapper<IOS13: View, IOS16: View>: View {
   |        `- note: add @available attribute to enclosing generic struct
 4 |
 5 | 	@ViewBuilder let iOS13: (CGSize?, @escaping (CGSize?) -> Void) -> IOS13
   :
10 | 	@State private var size: CGSize?
11 | 	@State private var updateSize: (CGSize) -> Void = { _ in }
12 | 	@State private var expectedSize: CGSize?
   |   `- error: 'State' is only available in macOS 10.15 or newer
13 |
14 | 	var body: some View {
/Users/admin/builder/spi-builder-workspace/Sources/UIKitViews/AnyUIRepresentableWrapper.swift:14:17: error: 'View' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct AnyUIRepresentableWrapper<IOS13: View, IOS16: View>: View {
   |        `- note: add @available attribute to enclosing generic struct
 4 |
 5 | 	@ViewBuilder let iOS13: (CGSize?, @escaping (CGSize?) -> Void) -> IOS13
   :
12 | 	@State private var expectedSize: CGSize?
13 |
14 | 	var body: some View {
   |      |          `- error: 'View' is only available in macOS 10.15 or newer
   |      `- note: add @available attribute to enclosing property
15 | 		if #available(iOS 16.0, tvOS 16.0, *), uiKitViewWrapperPolicy == .upToIOS16 {
16 | 			iOS16
/Users/admin/builder/spi-builder-workspace/Sources/UIKitViews/AnyUIRepresentableWrapper.swift:3:41: error: 'View' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct AnyUIRepresentableWrapper<IOS13: View, IOS16: View>: View {
   |        |                                `- error: 'View' is only available in macOS 10.15 or newer
   |        `- note: add @available attribute to enclosing generic struct
 4 |
 5 | 	@ViewBuilder let iOS13: (CGSize?, @escaping (CGSize?) -> Void) -> IOS13
/Users/admin/builder/spi-builder-workspace/Sources/UIKitViews/AnyUIRepresentableWrapper.swift:3:54: error: 'View' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct AnyUIRepresentableWrapper<IOS13: View, IOS16: View>: View {
   |        |                                             `- error: 'View' is only available in macOS 10.15 or newer
   |        `- note: add @available attribute to enclosing generic struct
 4 |
 5 | 	@ViewBuilder let iOS13: (CGSize?, @escaping (CGSize?) -> Void) -> IOS13
/Users/admin/builder/spi-builder-workspace/Sources/UIKitViews/AnyUIRepresentableWrapper.swift:60:37: error: 'Axis' is only available in macOS 10.15 or newer
56 | }
57 |
58 | private extension View {
   |         `- note: add @available attribute to enclosing extension
59 |
60 | 	func fixedFrame(for selfSizedAxis: Axis.Set, alignment: Alignment) -> some View {
   |       |                             `- error: 'Axis' is only available in macOS 10.15 or newer
   |       `- note: add @available attribute to enclosing instance method
61 | 		frame(
62 | 			minWidth: !selfSizedAxis.contains(.horizontal) ? 0 : nil,
/Users/admin/builder/spi-builder-workspace/Sources/UIKitViews/AnyUIRepresentableWrapper.swift:60:58: error: 'Alignment' is only available in macOS 10.15 or newer
56 | }
57 |
58 | private extension View {
   |         `- note: add @available attribute to enclosing extension
59 |
60 | 	func fixedFrame(for selfSizedAxis: Axis.Set, alignment: Alignment) -> some View {
   |       |                                                  `- error: 'Alignment' is only available in macOS 10.15 or newer
   |       `- note: add @available attribute to enclosing instance method
61 | 		frame(
62 | 			minWidth: !selfSizedAxis.contains(.horizontal) ? 0 : nil,
/Users/admin/builder/spi-builder-workspace/Sources/UIKitViews/AnyUIRepresentableWrapper.swift:60:77: error: 'View' is only available in macOS 10.15 or newer
56 | }
57 |
58 | private extension View {
   |         `- note: add @available attribute to enclosing extension
59 |
60 | 	func fixedFrame(for selfSizedAxis: Axis.Set, alignment: Alignment) -> some View {
   |       |                                                                     `- error: 'View' is only available in macOS 10.15 or newer
   |       `- note: add @available attribute to enclosing instance method
61 | 		frame(
62 | 			minWidth: !selfSizedAxis.contains(.horizontal) ? 0 : nil,
/Users/admin/builder/spi-builder-workspace/Sources/UIKitViews/AnyUIRepresentableWrapper.swift:58:19: error: 'View' is only available in macOS 10.15 or newer
56 | }
57 |
58 | private extension View {
   |         |         `- error: 'View' is only available in macOS 10.15 or newer
   |         `- note: add @available attribute to enclosing extension
59 |
60 | 	func fixedFrame(for selfSizedAxis: Axis.Set, alignment: Alignment) -> some View {
/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:11:24: error: 'View' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | public struct AnyUIViewControllerRepresentable<Content: UIViewController>: UIKitRepresentable {
   |               `- note: add @available attribute to enclosing generic struct
 4 |
 5 | 	let make: () -> Content
   :
 9 | 	}
10 |
11 | 	public var body: some View {
   |             |          `- error: 'View' is only available in macOS 10.15 or newer
   |             `- note: add @available attribute to enclosing property
12 | 		AnyUIRepresentableWrapper {
13 | 			AnyUIViewControllerRepresentableIOS13(make: make, updater: updater, expectedSize: $0, updateSize: $1)
/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:24:3: error: 'Environment' is only available in macOS 10.15 or newer
18 | }
19 |
20 | private struct AnyUIViewControllerRepresentableIOS16<Content: UIViewController>: UIViewControllerRepresentable {
   |                `- note: add @available attribute to enclosing generic struct
21 |
22 | 	let make: () -> Content
23 | 	public var updater: (Content, UIKitRepresentableContext) -> Void = { _, _ in }
24 | 	@Environment(\.uiKitViewFixedSize) private var selfSizedAxis
   |   `- error: 'Environment' is only available in macOS 10.15 or newer
25 | 	@Environment(\.uiKitViewContentMode) private var uiKitViewContentMode
26 |
/Users/admin/builder/spi-builder-workspace/Sources/UIKitViews/AnyUIViewControllerRepresentable.swift:25:3: error: 'Environment' is only available in macOS 10.15 or newer
18 | }
19 |
20 | private struct AnyUIViewControllerRepresentableIOS16<Content: UIViewController>: UIViewControllerRepresentable {
   |                `- note: add @available attribute to enclosing generic struct
21 |
22 | 	let make: () -> Content
23 | 	public var updater: (Content, UIKitRepresentableContext) -> Void = { _, _ in }
24 | 	@Environment(\.uiKitViewFixedSize) private var selfSizedAxis
25 | 	@Environment(\.uiKitViewContentMode) private var uiKitViewContentMode
   |   `- error: 'Environment' is only available in macOS 10.15 or newer
26 |
27 | 	func makeUIViewController(context: Context) -> 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/AnyUIViewControllerRepresentable.swift:47:3: error: 'Environment' is only available in macOS 10.15 or newer
39 | }
40 |
41 | private struct AnyUIViewControllerRepresentableIOS13<Content: UIViewController>: UIViewControllerRepresentable {
   |                `- note: add @available attribute to enclosing generic struct
42 |
43 | 	let make: () -> Content
   :
45 | 	let expectedSize: CGSize?
46 | 	let updateSize: (CGSize?) -> Void
47 | 	@Environment(\.uiKitViewFixedSize) private var selfSizedAxis
   |   `- error: 'Environment' is only available in macOS 10.15 or newer
48 | 	@Environment(\.uiKitViewContentMode) private var uiKitViewContentMode
49 |
/Users/admin/builder/spi-builder-workspace/Sources/UIKitViews/AnyUIViewControllerRepresentable.swift:48:3: error: 'Environment' is only available in macOS 10.15 or newer
39 | }
40 |
41 | private struct AnyUIViewControllerRepresentableIOS13<Content: UIViewController>: UIViewControllerRepresentable {
   |                `- note: add @available attribute to enclosing generic struct
42 |
43 | 	let make: () -> Content
   :
46 | 	let updateSize: (CGSize?) -> Void
47 | 	@Environment(\.uiKitViewFixedSize) private var selfSizedAxis
48 | 	@Environment(\.uiKitViewContentMode) private var uiKitViewContentMode
   |   `- error: 'Environment' is only available in macOS 10.15 or newer
49 |
50 | 	func makeUIViewController(context: Context) -> UIKitViewControllerWrapper<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:12:24: error: 'View' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | public struct AnyUIViewRepresentable<Content: UIView>: UIKitRepresentable {
   |               `- note: add @available attribute to enclosing generic struct
 4 |
 5 | 	let make: () -> Content
   :
10 | 	}
11 |
12 | 	public var body: some View {
   |             |          `- error: 'View' is only available in macOS 10.15 or newer
   |             `- note: add @available attribute to enclosing property
13 | 		AnyUIRepresentableWrapper {
14 | 			AnyUIViewRepresentableIOS13(make: make, updater: updater, expectedSize: $0, updateSize: $1)
/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:25:3: error: 'Environment' is only available in macOS 10.15 or newer
19 | }
20 |
21 | private struct AnyUIViewRepresentableIOS16<Content: UIView>: UIViewRepresentable {
   |                `- note: add @available attribute to enclosing generic struct
22 |
23 | 	let make: () -> Content
24 | 	let updater: (Content, UIKitRepresentableContext) -> Void
25 | 	@Environment(\.uiKitViewFixedSize) private var selfSizedAxis
   |   `- error: 'Environment' is only available in macOS 10.15 or newer
26 | 	@Environment(\.uiKitViewContentMode) private var uiKitViewContentMode
27 |
/Users/admin/builder/spi-builder-workspace/Sources/UIKitViews/AnyUIViewRepresentable.swift:26:3: error: 'Environment' is only available in macOS 10.15 or newer
19 | }
20 |
21 | private struct AnyUIViewRepresentableIOS16<Content: UIView>: UIViewRepresentable {
   |                `- note: add @available attribute to enclosing generic struct
22 |
23 | 	let make: () -> Content
24 | 	let updater: (Content, UIKitRepresentableContext) -> Void
25 | 	@Environment(\.uiKitViewFixedSize) private var selfSizedAxis
26 | 	@Environment(\.uiKitViewContentMode) private var uiKitViewContentMode
   |   `- error: 'Environment' is only available in macOS 10.15 or newer
27 |
28 | 	func makeUIView(context: Context) -> 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/AnyUIViewRepresentable.swift:48:3: error: 'Environment' is only available in macOS 10.15 or newer
40 | }
41 |
42 | private struct AnyUIViewRepresentableIOS13<Content: UIView>: UIViewRepresentable {
   |                `- note: add @available attribute to enclosing generic struct
43 |
44 | 	let make: () -> Content
   :
46 | 	let expectedSize: CGSize?
47 | 	let updateSize: (CGSize?) -> Void
48 | 	@Environment(\.uiKitViewFixedSize) private var selfSizedAxis
   |   `- error: 'Environment' is only available in macOS 10.15 or newer
49 | 	@Environment(\.uiKitViewContentMode) private var uiKitViewContentMode
50 |
/Users/admin/builder/spi-builder-workspace/Sources/UIKitViews/AnyUIViewRepresentable.swift:49:3: error: 'Environment' is only available in macOS 10.15 or newer
40 | }
41 |
42 | private struct AnyUIViewRepresentableIOS13<Content: UIView>: UIViewRepresentable {
   |                `- note: add @available attribute to enclosing generic struct
43 |
44 | 	let make: () -> Content
   :
47 | 	let updateSize: (CGSize?) -> Void
48 | 	@Environment(\.uiKitViewFixedSize) private var selfSizedAxis
49 | 	@Environment(\.uiKitViewContentMode) private var uiKitViewContentMode
   |   `- error: 'Environment' is only available in macOS 10.15 or newer
50 |
51 | 	func makeUIView(context: Context) -> UIKitViewWrapper<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: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:27:27: error: 'ViewBuilder' is only available in macOS 10.15 or newer
 2 |
 3 | @dynamicMemberLookup
 4 | open class HostingView<RootView: View>: UIView {
   |            `- note: add @available attribute to enclosing generic class
 5 |
 6 | 	open var rootView: RootView {
   :
25 | 	}
26 |
27 | 	public convenience init(@ViewBuilder rootView: () -> RootView) {
   |                     |     `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
   |                     `- note: add @available attribute to enclosing initializer
28 | 		self.init(rootView())
29 | 	}
/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: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:4:34: error: 'View' is only available in macOS 10.15 or newer
 2 |
 3 | @dynamicMemberLookup
 4 | open class HostingView<RootView: View>: UIView {
   |            |                     `- error: 'View' is only available in macOS 10.15 or newer
   |            `- note: add @available attribute to enclosing generic class
 5 |
 6 | 	open var rootView: RootView {
/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/Operator.swift:40:19: error: 'View' is only available in macOS 10.15 or newer
38 |
39 | @ViewBuilder
40 | func tt() -> some View {
   |      |            `- error: 'View' is only available in macOS 10.15 or newer
   |      `- note: add @available attribute to enclosing global function
41 | 	UILabel()§
42 | 		.text("Text")
/Users/admin/builder/spi-builder-workspace/Sources/UIKitViews/Operator.swift:39:2: error: 'ViewBuilder' is only available in macOS 10.15 or newer
37 | }
38 |
39 | @ViewBuilder
   |  `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
40 | func tt() -> some View {
   |      `- note: add @available attribute to enclosing global function
41 | 	UILabel()§
42 | 		.text("Text")
/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/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:3:94: error: 'View' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | open class SelfSizingHostingController<Content>: UIHostingController<Content> where Content: View {
   |            |                                                                                 `- error: 'View' is only available in macOS 10.15 or newer
   |            `- note: add @available attribute to enclosing generic class
 4 |
 5 | 	private var wasLoad = false
/Users/admin/builder/spi-builder-workspace/Sources/UIKitViews/UIKitRepresentable.swift:8:46: error: 'View' is only available in macOS 10.15 or newer
 6 | }
 7 |
 8 | public protocol UIKitRepresentable<Content>: View {
   |                 |                            `- error: 'View' is only available in macOS 10.15 or newer
   |                 `- note: add @available attribute to enclosing protocol
 9 |
10 | 	associatedtype Content
/Users/admin/builder/spi-builder-workspace/Sources/UIKitViews/UIKitRepresentable.swift:17:29: error: 'Transaction' is only available in macOS 10.15 or newer
13 | }
14 |
15 | public struct UIKitRepresentableContext {
   |               `- note: add @available attribute to enclosing struct
16 |
17 |     public let transaction: Transaction
   |                             `- error: 'Transaction' is only available in macOS 10.15 or newer
18 |     public let environment: EnvironmentValues
19 | }
/Users/admin/builder/spi-builder-workspace/Sources/UIKitViews/UIKitRepresentable.swift:18:29: error: 'EnvironmentValues' is only available in macOS 10.15 or newer
13 | }
14 |
15 | public struct UIKitRepresentableContext {
   |               `- note: add @available attribute to enclosing struct
16 |
17 |     public let transaction: Transaction
18 |     public let environment: EnvironmentValues
   |                             `- error: 'EnvironmentValues' is only available in macOS 10.15 or newer
19 | }
20 |
/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/UIKitView+Chain.swift:6:24: error: 'View' is only available in macOS 10.15 or newer
 2 | import VDChain
 3 |
 4 | extension Chain: View where Base: UIKitViewChaining {
   | `- note: add @available attribute to enclosing extension
 5 |
 6 | 	public var body: some View {
   |             |          `- error: 'View' is only available in macOS 10.15 or newer
   |             `- note: add @available attribute to enclosing property
 7 |         base.body(values: values)
 8 | 	}
/Users/admin/builder/spi-builder-workspace/Sources/UIKitViews/UIKitView.swift:24:26: error: 'View' is only available in macOS 10.15 or newer
20 | public typealias UIKitView<Content: UIKitRepresentable> = Chain<UIKitViewChain<Content>>
21 |
22 | public protocol UIKitViewChaining<Root>: Chaining {
   |                 `- note: add @available attribute to enclosing protocol
23 |
24 |     associatedtype Body: View
   |                    |     `- error: 'View' is only available in macOS 10.15 or newer
   |                    `- note: add @available attribute to enclosing associated type
25 |
26 |     func body(values: ChainValues<Root>) -> Body
/Users/admin/builder/spi-builder-workspace/Sources/UIKitViews/UIKitView.swift:57:22: error: 'Transaction' is only available in macOS 10.15 or newer
53 | }
54 |
55 | public extension ChainValues {
   |        `- note: add @available attribute to enclosing extension
56 |
57 |     var transaction: Transaction {
   |         |            `- error: 'Transaction' is only available in macOS 10.15 or newer
   |         `- note: add @available attribute to enclosing property
58 |         get { get(\.transaction) ?? Transaction() }
59 |         set { set(\.transaction, newValue) }
/Users/admin/builder/spi-builder-workspace/Sources/UIKitViews/UIKitView.swift:65:22: error: 'EnvironmentValues' is only available in macOS 10.15 or newer
61 | }
62 |
63 | public extension ChainValues {
   |        `- note: add @available attribute to enclosing extension
64 |
65 |     var environment: EnvironmentValues {
   |         |            `- error: 'EnvironmentValues' is only available in macOS 10.15 or newer
   |         `- note: add @available attribute to enclosing property
66 |         get { get(\.environment) ?? EnvironmentValues() }
67 |         set { set(\.environment, newValue) { _, new in new } }
/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:9:12: error: 'View' is only available in macOS 10.15 or newer
  1 | import SwiftUI
  2 |
  3 | public extension View {
    |        `- note: add @available attribute to enclosing extension
  4 |
  5 | 	/// Set the `UIKitView` environment value of the specified key path with the given value
  6 | 	func uiKitViewEnvironment<T: UIView, Value>(
    |       `- note: add @available attribute to enclosing instance method
  7 | 		_ keyPath: ReferenceWritableKeyPath<T, Value>,
  8 | 		_ value: @escaping @autoclosure () -> Value
  9 | 	) -> some View {
    |            `- error: 'View' is only available in macOS 10.15 or newer
 10 | 		transformEnvironment(\.uiKitView) {
 11 | 			$0.set(keyPath: keyPath, value: 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:19:12: error: 'View' is only available in macOS 10.15 or newer
  1 | import SwiftUI
  2 |
  3 | public extension View {
    |        `- note: add @available attribute to enclosing extension
  4 |
  5 | 	/// Set the `UIKitView` environment value of the specified key path with the given value
    :
 14 |
 15 | 	/// Set the `UIKitView` environment value of the specified key path with the given value
 16 | 	func uiKitViewEnvironment<T: UIViewController, Value>(
    |       `- note: add @available attribute to enclosing instance method
 17 | 		_ keyPath: ReferenceWritableKeyPath<T, Value>,
 18 | 		_ value: @escaping @autoclosure () -> Value
 19 | 	) -> some View {
    |            `- error: 'View' is only available in macOS 10.15 or newer
 20 | 		transformEnvironment(\.uiKitView) {
 21 | 			$0.set(keyPath: keyPath, value: value)
/Users/admin/builder/spi-builder-workspace/Sources/UIKitViews/UIKitViewEnvironment.swift:16:7: error: invalid redeclaration of 'uiKitViewEnvironment'
 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:27:32: error: 'EnvironmentValues' is only available in macOS 10.15 or newer
  1 | import SwiftUI
  2 |
  3 | public extension View {
    |        `- note: add @available attribute to enclosing extension
  4 |
  5 | 	/// Set the `UIKitView` environment value of the specified key path with the given value
    :
 24 |
 25 | 	/// Binds SwiftUI environment to `UIKitView` environment
 26 | 	func uiKitViewBind<T: UIView, A, B>(
    |       `- note: add @available attribute to enclosing instance method
 27 | 		environment keyPath: KeyPath<EnvironmentValues, A>,
    |                                `- error: 'EnvironmentValues' is only available in macOS 10.15 or newer
 28 | 		to viewKeyPath: ReferenceWritableKeyPath<T, B>,
 29 | 		transform: @escaping (A) -> B
/Users/admin/builder/spi-builder-workspace/Sources/UIKitViews/UIKitViewEnvironment.swift:30:12: error: 'View' is only available in macOS 10.15 or newer
  1 | import SwiftUI
  2 |
  3 | public extension View {
    |        `- note: add @available attribute to enclosing extension
  4 |
  5 | 	/// Set the `UIKitView` environment value of the specified key path with the given value
    :
 24 |
 25 | 	/// Binds SwiftUI environment to `UIKitView` environment
 26 | 	func uiKitViewBind<T: UIView, A, B>(
    |       `- note: add @available attribute to enclosing instance method
 27 | 		environment keyPath: KeyPath<EnvironmentValues, A>,
 28 | 		to viewKeyPath: ReferenceWritableKeyPath<T, B>,
 29 | 		transform: @escaping (A) -> B
 30 | 	) -> some View {
    |            `- error: 'View' is only available in macOS 10.15 or newer
 31 | 		transformEnvironment(\.uiKitView) {
 32 | 			$0.set(keyPath: viewKeyPath) {
/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:40:32: error: 'EnvironmentValues' is only available in macOS 10.15 or newer
  1 | import SwiftUI
  2 |
  3 | public extension View {
    |        `- note: add @available attribute to enclosing extension
  4 |
  5 | 	/// Set the `UIKitView` environment value of the specified key path with the given value
    :
 37 |
 38 | 	/// Binds SwiftUI environment to `UIKitView` environment
 39 | 	func uiKitViewBind<T: UIView, A>(
    |       `- note: add @available attribute to enclosing instance method
 40 | 		environment keyPath: KeyPath<EnvironmentValues, A>,
    |                                `- error: 'EnvironmentValues' is only available in macOS 10.15 or newer
 41 | 		to viewKeyPath: ReferenceWritableKeyPath<T, A>
 42 | 	) -> some View {
/Users/admin/builder/spi-builder-workspace/Sources/UIKitViews/UIKitViewEnvironment.swift:42:12: error: 'View' is only available in macOS 10.15 or newer
  1 | import SwiftUI
  2 |
  3 | public extension View {
    |        `- note: add @available attribute to enclosing extension
  4 |
  5 | 	/// Set the `UIKitView` environment value of the specified key path with the given value
    :
 37 |
 38 | 	/// Binds SwiftUI environment to `UIKitView` environment
 39 | 	func uiKitViewBind<T: UIView, A>(
    |       `- note: add @available attribute to enclosing instance method
 40 | 		environment keyPath: KeyPath<EnvironmentValues, A>,
 41 | 		to viewKeyPath: ReferenceWritableKeyPath<T, A>
 42 | 	) -> some View {
    |            `- error: 'View' is only available in macOS 10.15 or newer
 43 | 		uiKitViewBind(environment: keyPath, to: viewKeyPath) { $0 }
 44 | 	}
/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:48:32: error: 'EnvironmentValues' is only available in macOS 10.15 or newer
  1 | import SwiftUI
  2 |
  3 | public extension View {
    |        `- note: add @available attribute to enclosing extension
  4 |
  5 | 	/// Set the `UIKitView` environment value of the specified key path with the given value
    :
 45 |
 46 | 	/// Binds SwiftUI environment to `UIKitView` environment
 47 | 	func uiKitViewBind<T: UIView, A>(
    |       `- note: add @available attribute to enclosing instance method
 48 | 		environment keyPath: KeyPath<EnvironmentValues, A>,
    |                                `- error: 'EnvironmentValues' is only available in macOS 10.15 or newer
 49 | 		to viewKeyPath: ReferenceWritableKeyPath<T, A?>
 50 | 	) -> some View {
/Users/admin/builder/spi-builder-workspace/Sources/UIKitViews/UIKitViewEnvironment.swift:50:12: error: 'View' is only available in macOS 10.15 or newer
  1 | import SwiftUI
  2 |
  3 | public extension View {
    |        `- note: add @available attribute to enclosing extension
  4 |
  5 | 	/// Set the `UIKitView` environment value of the specified key path with the given value
    :
 45 |
 46 | 	/// Binds SwiftUI environment to `UIKitView` environment
 47 | 	func uiKitViewBind<T: UIView, A>(
    |       `- note: add @available attribute to enclosing instance method
 48 | 		environment keyPath: KeyPath<EnvironmentValues, A>,
 49 | 		to viewKeyPath: ReferenceWritableKeyPath<T, A?>
 50 | 	) -> some View {
    |            `- error: 'View' is only available in macOS 10.15 or newer
 51 | 		uiKitViewBind(environment: keyPath, to: viewKeyPath) { $0 }
 52 | 	}
/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:57:32: error: 'EnvironmentValues' is only available in macOS 10.15 or newer
  1 | import SwiftUI
  2 |
  3 | public extension View {
    |        `- note: add @available attribute to enclosing extension
  4 |
  5 | 	/// Set the `UIKitView` environment value of the specified key path with the given value
    :
 54 | 	/// Binds SwiftUI environment to `UIKitView` environment
 55 | 	@available(iOS 14.0, tvOS 14.0, *)
 56 | 	func uiKitViewBind<T: UIView>(
    |       `- note: add @available attribute to enclosing instance method
 57 | 		environment keyPath: KeyPath<EnvironmentValues, Color>,
    |                                `- error: 'EnvironmentValues' is only available in macOS 10.15 or newer
 58 | 		to viewKeyPath: ReferenceWritableKeyPath<T, UIColor>
 59 | 	) -> some View {
/Users/admin/builder/spi-builder-workspace/Sources/UIKitViews/UIKitViewEnvironment.swift:57:51: error: 'Color' is only available in macOS 10.15 or newer
  1 | import SwiftUI
  2 |
  3 | public extension View {
    |        `- note: add @available attribute to enclosing extension
  4 |
  5 | 	/// Set the `UIKitView` environment value of the specified key path with the given value
    :
 54 | 	/// Binds SwiftUI environment to `UIKitView` environment
 55 | 	@available(iOS 14.0, tvOS 14.0, *)
 56 | 	func uiKitViewBind<T: UIView>(
    |       `- note: add @available attribute to enclosing instance method
 57 | 		environment keyPath: KeyPath<EnvironmentValues, Color>,
    |                                                   `- error: 'Color' is only available in macOS 10.15 or newer
 58 | 		to viewKeyPath: ReferenceWritableKeyPath<T, UIColor>
 59 | 	) -> some View {
/Users/admin/builder/spi-builder-workspace/Sources/UIKitViews/UIKitViewEnvironment.swift:59:12: error: 'View' is only available in macOS 10.15 or newer
  1 | import SwiftUI
  2 |
  3 | public extension View {
    |        `- note: add @available attribute to enclosing extension
  4 |
  5 | 	/// Set the `UIKitView` environment value of the specified key path with the given value
    :
 54 | 	/// Binds SwiftUI environment to `UIKitView` environment
 55 | 	@available(iOS 14.0, tvOS 14.0, *)
 56 | 	func uiKitViewBind<T: UIView>(
    |       `- note: add @available attribute to enclosing instance method
 57 | 		environment keyPath: KeyPath<EnvironmentValues, Color>,
 58 | 		to viewKeyPath: ReferenceWritableKeyPath<T, UIColor>
 59 | 	) -> some View {
    |            `- error: 'View' is only available in macOS 10.15 or newer
 60 | 		uiKitViewBind(environment: keyPath, to: viewKeyPath) { UIColor($0) }
 61 | 	}
/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:66:32: error: 'EnvironmentValues' is only available in macOS 10.15 or newer
  1 | import SwiftUI
  2 |
  3 | public extension View {
    |        `- note: add @available attribute to enclosing extension
  4 |
  5 | 	/// Set the `UIKitView` environment value of the specified key path with the given value
    :
 63 | 	/// Binds SwiftUI environment to `UIKitView` environment
 64 | 	@available(iOS 14.0, tvOS 14.0, *)
 65 | 	func uiKitViewBind<T: UIView>(
    |       `- note: add @available attribute to enclosing instance method
 66 | 		environment keyPath: KeyPath<EnvironmentValues, Color>,
    |                                `- error: 'EnvironmentValues' is only available in macOS 10.15 or newer
 67 | 		to viewKeyPath: ReferenceWritableKeyPath<T, UIColor?>
 68 | 	) -> some View {
/Users/admin/builder/spi-builder-workspace/Sources/UIKitViews/UIKitViewEnvironment.swift:66:51: error: 'Color' is only available in macOS 10.15 or newer
  1 | import SwiftUI
  2 |
  3 | public extension View {
    |        `- note: add @available attribute to enclosing extension
  4 |
  5 | 	/// Set the `UIKitView` environment value of the specified key path with the given value
    :
 63 | 	/// Binds SwiftUI environment to `UIKitView` environment
 64 | 	@available(iOS 14.0, tvOS 14.0, *)
 65 | 	func uiKitViewBind<T: UIView>(
    |       `- note: add @available attribute to enclosing instance method
 66 | 		environment keyPath: KeyPath<EnvironmentValues, Color>,
    |                                                   `- error: 'Color' is only available in macOS 10.15 or newer
 67 | 		to viewKeyPath: ReferenceWritableKeyPath<T, UIColor?>
 68 | 	) -> some View {
/Users/admin/builder/spi-builder-workspace/Sources/UIKitViews/UIKitViewEnvironment.swift:68:12: error: 'View' is only available in macOS 10.15 or newer
  1 | import SwiftUI
  2 |
  3 | public extension View {
    |        `- note: add @available attribute to enclosing extension
  4 |
  5 | 	/// Set the `UIKitView` environment value of the specified key path with the given value
    :
 63 | 	/// Binds SwiftUI environment to `UIKitView` environment
 64 | 	@available(iOS 14.0, tvOS 14.0, *)
 65 | 	func uiKitViewBind<T: UIView>(
    |       `- note: add @available attribute to enclosing instance method
 66 | 		environment keyPath: KeyPath<EnvironmentValues, Color>,
 67 | 		to viewKeyPath: ReferenceWritableKeyPath<T, UIColor?>
 68 | 	) -> some View {
    |            `- error: 'View' is only available in macOS 10.15 or newer
 69 | 		uiKitViewBind(environment: keyPath, to: viewKeyPath) { UIColor($0) }
 70 | 	}
/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:74:32: error: 'EnvironmentValues' is only available in macOS 10.15 or newer
  1 | import SwiftUI
  2 |
  3 | public extension View {
    |        `- note: add @available attribute to enclosing extension
  4 |
  5 | 	/// Set the `UIKitView` environment value of the specified key path with the given value
    :
 71 |
 72 | 	/// Binds SwiftUI environment to `UIKitView` environment
 73 | 	func uiKitViewBind<T: UIViewController, A, B>(
    |       `- note: add @available attribute to enclosing instance method
 74 | 		environment keyPath: KeyPath<EnvironmentValues, A>,
    |                                `- error: 'EnvironmentValues' is only available in macOS 10.15 or newer
 75 | 		to viewKeyPath: ReferenceWritableKeyPath<T, B>,
 76 | 		transform: @escaping (A) -> B
/Users/admin/builder/spi-builder-workspace/Sources/UIKitViews/UIKitViewEnvironment.swift:77:12: error: 'View' is only available in macOS 10.15 or newer
  1 | import SwiftUI
  2 |
  3 | public extension View {
    |        `- note: add @available attribute to enclosing extension
  4 |
  5 | 	/// Set the `UIKitView` environment value of the specified key path with the given value
    :
 71 |
 72 | 	/// Binds SwiftUI environment to `UIKitView` environment
 73 | 	func uiKitViewBind<T: UIViewController, A, B>(
    |       `- note: add @available attribute to enclosing instance method
 74 | 		environment keyPath: KeyPath<EnvironmentValues, A>,
 75 | 		to viewKeyPath: ReferenceWritableKeyPath<T, B>,
 76 | 		transform: @escaping (A) -> B
 77 | 	) -> some View {
    |            `- error: 'View' is only available in macOS 10.15 or newer
 78 | 		transformEnvironment(\.uiKitView) {
 79 | 			$0.set(keyPath: viewKeyPath) {
/Users/admin/builder/spi-builder-workspace/Sources/UIKitViews/UIKitViewEnvironment.swift:73:7: error: invalid redeclaration of 'uiKitViewBind(environment:to:transform:)'
 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:87:32: error: 'EnvironmentValues' is only available in macOS 10.15 or newer
  1 | import SwiftUI
  2 |
  3 | public extension View {
    |        `- note: add @available attribute to enclosing extension
  4 |
  5 | 	/// Set the `UIKitView` environment value of the specified key path with the given value
    :
 84 |
 85 | 	/// Binds SwiftUI environment to `UIKitView` environment
 86 | 	func uiKitViewBind<T: UIViewController, A>(
    |       `- note: add @available attribute to enclosing instance method
 87 | 		environment keyPath: KeyPath<EnvironmentValues, A>,
    |                                `- error: 'EnvironmentValues' is only available in macOS 10.15 or newer
 88 | 		to viewKeyPath: ReferenceWritableKeyPath<T, A>
 89 | 	) -> some View {
/Users/admin/builder/spi-builder-workspace/Sources/UIKitViews/UIKitViewEnvironment.swift:89:12: error: 'View' is only available in macOS 10.15 or newer
  1 | import SwiftUI
  2 |
  3 | public extension View {
    |        `- note: add @available attribute to enclosing extension
  4 |
  5 | 	/// Set the `UIKitView` environment value of the specified key path with the given value
    :
 84 |
 85 | 	/// Binds SwiftUI environment to `UIKitView` environment
 86 | 	func uiKitViewBind<T: UIViewController, A>(
    |       `- note: add @available attribute to enclosing instance method
 87 | 		environment keyPath: KeyPath<EnvironmentValues, A>,
 88 | 		to viewKeyPath: ReferenceWritableKeyPath<T, A>
 89 | 	) -> some View {
    |            `- error: 'View' is only available in macOS 10.15 or newer
 90 | 		uiKitViewBind(environment: keyPath, to: viewKeyPath) { $0 }
 91 | 	}
/Users/admin/builder/spi-builder-workspace/Sources/UIKitViews/UIKitViewEnvironment.swift:86:7: error: invalid redeclaration of 'uiKitViewBind(environment:to:)'
 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:95:32: error: 'EnvironmentValues' is only available in macOS 10.15 or newer
  1 | import SwiftUI
  2 |
  3 | public extension View {
    |        `- note: add @available attribute to enclosing extension
  4 |
  5 | 	/// Set the `UIKitView` environment value of the specified key path with the given value
    :
 92 |
 93 | 	/// Binds SwiftUI environment to `UIKitView` environment
 94 | 	func uiKitViewBind<T: UIViewController, A>(
    |       `- note: add @available attribute to enclosing instance method
 95 | 		environment keyPath: KeyPath<EnvironmentValues, A>,
    |                                `- error: 'EnvironmentValues' is only available in macOS 10.15 or newer
 96 | 		to viewKeyPath: ReferenceWritableKeyPath<T, A?>
 97 | 	) -> some View {
/Users/admin/builder/spi-builder-workspace/Sources/UIKitViews/UIKitViewEnvironment.swift:97:12: error: 'View' is only available in macOS 10.15 or newer
  1 | import SwiftUI
  2 |
  3 | public extension View {
    |        `- note: add @available attribute to enclosing extension
  4 |
  5 | 	/// Set the `UIKitView` environment value of the specified key path with the given value
    :
 92 |
 93 | 	/// Binds SwiftUI environment to `UIKitView` environment
 94 | 	func uiKitViewBind<T: UIViewController, A>(
    |       `- note: add @available attribute to enclosing instance method
 95 | 		environment keyPath: KeyPath<EnvironmentValues, A>,
 96 | 		to viewKeyPath: ReferenceWritableKeyPath<T, A?>
 97 | 	) -> some View {
    |            `- error: 'View' is only available in macOS 10.15 or newer
 98 | 		uiKitViewBind(environment: keyPath, to: viewKeyPath) { $0 }
 99 | 	}
/Users/admin/builder/spi-builder-workspace/Sources/UIKitViews/UIKitViewEnvironment.swift:94:7: error: invalid redeclaration of 'uiKitViewBind(environment:to:)'
 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:104:32: error: 'EnvironmentValues' is only available in macOS 10.15 or newer
  1 | import SwiftUI
  2 |
  3 | public extension View {
    |        `- note: add @available attribute to enclosing extension
  4 |
  5 | 	/// Set the `UIKitView` environment value of the specified key path with the given value
    :
101 | 	/// Binds SwiftUI environment to `UIKitView` environment
102 | 	@available(iOS 14.0, tvOS 14.0, *)
103 | 	func uiKitViewBind<T: UIViewController>(
    |       `- note: add @available attribute to enclosing instance method
104 | 		environment keyPath: KeyPath<EnvironmentValues, Color>,
    |                                `- error: 'EnvironmentValues' is only available in macOS 10.15 or newer
105 | 		to viewKeyPath: ReferenceWritableKeyPath<T, UIColor>
106 | 	) -> some View {
/Users/admin/builder/spi-builder-workspace/Sources/UIKitViews/UIKitViewEnvironment.swift:104:51: error: 'Color' is only available in macOS 10.15 or newer
  1 | import SwiftUI
  2 |
  3 | public extension View {
    |        `- note: add @available attribute to enclosing extension
  4 |
  5 | 	/// Set the `UIKitView` environment value of the specified key path with the given value
    :
101 | 	/// Binds SwiftUI environment to `UIKitView` environment
102 | 	@available(iOS 14.0, tvOS 14.0, *)
103 | 	func uiKitViewBind<T: UIViewController>(
    |       `- note: add @available attribute to enclosing instance method
104 | 		environment keyPath: KeyPath<EnvironmentValues, Color>,
    |                                                   `- error: 'Color' is only available in macOS 10.15 or newer
105 | 		to viewKeyPath: ReferenceWritableKeyPath<T, UIColor>
106 | 	) -> some View {
/Users/admin/builder/spi-builder-workspace/Sources/UIKitViews/UIKitViewEnvironment.swift:106:12: error: 'View' is only available in macOS 10.15 or newer
  1 | import SwiftUI
  2 |
  3 | public extension View {
    |        `- note: add @available attribute to enclosing extension
  4 |
  5 | 	/// Set the `UIKitView` environment value of the specified key path with the given value
    :
101 | 	/// Binds SwiftUI environment to `UIKitView` environment
102 | 	@available(iOS 14.0, tvOS 14.0, *)
103 | 	func uiKitViewBind<T: UIViewController>(
    |       `- note: add @available attribute to enclosing instance method
104 | 		environment keyPath: KeyPath<EnvironmentValues, Color>,
105 | 		to viewKeyPath: ReferenceWritableKeyPath<T, UIColor>
106 | 	) -> some View {
    |            `- error: 'View' is only available in macOS 10.15 or newer
107 | 		uiKitViewBind(environment: keyPath, to: viewKeyPath) { UIColor($0) }
108 | 	}
/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/UIKitViewEnvironment.swift:113:32: error: 'EnvironmentValues' is only available in macOS 10.15 or newer
  1 | import SwiftUI
  2 |
  3 | public extension View {
    |        `- note: add @available attribute to enclosing extension
  4 |
  5 | 	/// Set the `UIKitView` environment value of the specified key path with the given value
    :
110 | 	/// Binds SwiftUI environment to `UIKitView` environment
111 | 	@available(iOS 14.0, tvOS 14.0, *)
112 | 	func uiKitViewBind<T: UIViewController>(
    |       `- note: add @available attribute to enclosing instance method
113 | 		environment keyPath: KeyPath<EnvironmentValues, Color>,
    |                                `- error: 'EnvironmentValues' is only available in macOS 10.15 or newer
114 | 		to viewKeyPath: ReferenceWritableKeyPath<T, UIColor?>
115 | 	) -> some View {
/Users/admin/builder/spi-builder-workspace/Sources/UIKitViews/UIKitViewEnvironment.swift:113:51: error: 'Color' is only available in macOS 10.15 or newer
  1 | import SwiftUI
  2 |
  3 | public extension View {
    |        `- note: add @available attribute to enclosing extension
  4 |
  5 | 	/// Set the `UIKitView` environment value of the specified key path with the given value
    :
110 | 	/// Binds SwiftUI environment to `UIKitView` environment
111 | 	@available(iOS 14.0, tvOS 14.0, *)
112 | 	func uiKitViewBind<T: UIViewController>(
    |       `- note: add @available attribute to enclosing instance method
113 | 		environment keyPath: KeyPath<EnvironmentValues, Color>,
    |                                                   `- error: 'Color' is only available in macOS 10.15 or newer
114 | 		to viewKeyPath: ReferenceWritableKeyPath<T, UIColor?>
115 | 	) -> some View {
/Users/admin/builder/spi-builder-workspace/Sources/UIKitViews/UIKitViewEnvironment.swift:115:12: error: 'View' is only available in macOS 10.15 or newer
  1 | import SwiftUI
  2 |
  3 | public extension View {
    |        `- note: add @available attribute to enclosing extension
  4 |
  5 | 	/// Set the `UIKitView` environment value of the specified key path with the given value
    :
110 | 	/// Binds SwiftUI environment to `UIKitView` environment
111 | 	@available(iOS 14.0, tvOS 14.0, *)
112 | 	func uiKitViewBind<T: UIViewController>(
    |       `- note: add @available attribute to enclosing instance method
113 | 		environment keyPath: KeyPath<EnvironmentValues, Color>,
114 | 		to viewKeyPath: ReferenceWritableKeyPath<T, UIColor?>
115 | 	) -> some View {
    |            `- error: 'View' is only available in macOS 10.15 or newer
116 | 		uiKitViewBind(environment: keyPath, to: viewKeyPath) { UIColor($0) }
117 | 	}
/Users/admin/builder/spi-builder-workspace/Sources/UIKitViews/UIKitViewEnvironment.swift:3:18: error: 'View' is only available in macOS 10.15 or newer
  1 | import SwiftUI
  2 |
  3 | public extension View {
    |        |         `- error: 'View' is only available in macOS 10.15 or newer
    |        `- note: add @available attribute to enclosing extension
  4 |
  5 | 	/// Set the `UIKitView` environment value of the specified key path with the given value
/Users/admin/builder/spi-builder-workspace/Sources/UIKitViews/UIKitViewEnvironment.swift:120:11: error: 'EnvironmentValues' is only available in macOS 10.15 or newer
118 | }
119 |
120 | extension EnvironmentValues {
    | |         `- error: 'EnvironmentValues' is only available in macOS 10.15 or newer
    | `- note: add @available attribute to enclosing extension
121 |
122 | 	var uiKitView: UIKitViewEnvironment {
/Users/admin/builder/spi-builder-workspace/Sources/UIKitViews/UIKitViewEnvironment.swift:160:18: error: 'Environment' is only available in macOS 10.15 or newer
158 | }
159 |
160 | public extension Environment {
    |        |         `- error: 'Environment' is only available in macOS 10.15 or newer
    |        `- note: add @available attribute to enclosing extension
161 |
162 | 	init<Base, T>(_ keyPath: ReferenceWritableKeyPath<Base, T>) where T? == Value {
/Users/admin/builder/spi-builder-workspace/Sources/UIKitViews/UIKitViewResizing.swift:23:34: error: 'Axis' is only available in macOS 10.15 or newer
  1 | import SwiftUI
  2 |
  3 | public extension View {
    |        `- note: add @available attribute to enclosing extension
  4 |
  5 | 	/// `uiKitViewFixedSize(_:)` is an overloaded method that allows specifying the axis for self-sizing.
    :
 21 | 	///      - .vertical: The view predominantly self-sizes on the vertical axis.
 22 | 	///      - .horizontal: The view predominantly self-sizes on the horizontal axis.
 23 | 	func uiKitViewFixedSize(_ axis: Axis.Set) -> some View {
    |       |                          `- error: 'Axis' is only available in macOS 10.15 or newer
    |       `- note: add @available attribute to enclosing instance method
 24 | 		environment(\.uiKitViewFixedSize, axis)
 25 | 	}
/Users/admin/builder/spi-builder-workspace/Sources/UIKitViews/UIKitViewResizing.swift:23:52: error: 'View' is only available in macOS 10.15 or newer
  1 | import SwiftUI
  2 |
  3 | public extension View {
    |        `- note: add @available attribute to enclosing extension
  4 |
  5 | 	/// `uiKitViewFixedSize(_:)` is an overloaded method that allows specifying the axis for self-sizing.
    :
 21 | 	///      - .vertical: The view predominantly self-sizes on the vertical axis.
 22 | 	///      - .horizontal: The view predominantly self-sizes on the horizontal axis.
 23 | 	func uiKitViewFixedSize(_ axis: Axis.Set) -> some View {
    |       |                                            `- error: 'View' is only available in macOS 10.15 or newer
    |       `- note: add @available attribute to enclosing instance method
 24 | 		environment(\.uiKitViewFixedSize, axis)
 25 | 	}
/Users/admin/builder/spi-builder-workspace/Sources/UIKitViews/UIKitViewResizing.swift:33:36: error: 'View' is only available in macOS 10.15 or newer
  1 | import SwiftUI
  2 |
  3 | public extension View {
    |        `- note: add @available attribute to enclosing extension
  4 |
  5 | 	/// `uiKitViewFixedSize(_:)` is an overloaded method that allows specifying the axis for self-sizing.
    :
 31 | 	/// - Warning: The behavior of this method may slightly differ between iOS 16+ and previous versions.
 32 | 	///  If you notice some undesirable differences, you can use the `uiKitViewUseWrapper(.always)` method to fix it.
 33 | 	func uiKitViewFixedSize() -> some View {
    |       |                            `- error: 'View' is only available in macOS 10.15 or newer
    |       `- note: add @available attribute to enclosing instance method
 34 | 		uiKitViewFixedSize([.vertical, .horizontal])
 35 | 	}
/Users/admin/builder/spi-builder-workspace/Sources/UIKitViews/UIKitViewResizing.swift:48:69: error: 'View' is only available in macOS 10.15 or newer
  1 | import SwiftUI
  2 |
  3 | public extension View {
    |        `- note: add @available attribute to enclosing extension
  4 |
  5 | 	/// `uiKitViewFixedSize(_:)` is an overloaded method that allows specifying the axis for self-sizing.
    :
 46 | 	///    - `.always`: Always use `UIView` wrapper in `UIKitView` views.
 47 | 	///    - `.upToIOS16`: Use the `UIView` wrapper only for iOS versions below 16.
 48 | 	func uiKitViewUseWrapper(_ policy: UIKitViewWrapperPolicy) -> some View {
    |       |                                                             `- error: 'View' is only available in macOS 10.15 or newer
    |       `- note: add @available attribute to enclosing instance method
 49 | 		environment(\.uiKitViewWrapperPolicy, policy)
 50 | 	}
/Users/admin/builder/spi-builder-workspace/Sources/UIKitViews/UIKitViewResizing.swift:65:73: error: 'View' is only available in macOS 10.15 or newer
  1 | import SwiftUI
  2 |
  3 | public extension View {
    |        `- note: add @available attribute to enclosing extension
  4 |
  5 | 	/// `uiKitViewFixedSize(_:)` is an overloaded method that allows specifying the axis for self-sizing.
    :
 63 | 	///
 64 | 	/// - Returns: A view that adjusts its content resizing behavior according to the specified `UIKitViewContentMode`.
 65 | 	func uiKitViewContentMode(_ contentMode: UIKitViewContentMode) -> some View {
    |       |                                                                 `- error: 'View' is only available in macOS 10.15 or newer
    |       `- note: add @available attribute to enclosing instance method
 66 | 		environment(\.uiKitViewContentMode, contentMode)
 67 | 	}
/Users/admin/builder/spi-builder-workspace/Sources/UIKitViews/UIKitViewResizing.swift:3:18: error: 'View' is only available in macOS 10.15 or newer
  1 | import SwiftUI
  2 |
  3 | public extension View {
    |        |         `- error: 'View' is only available in macOS 10.15 or newer
    |        `- note: add @available attribute to enclosing extension
  4 |
  5 | 	/// `uiKitViewFixedSize(_:)` is an overloaded method that allows specifying the axis for self-sizing.
/Users/admin/builder/spi-builder-workspace/Sources/UIKitViews/UIKitViewResizing.swift:82:11: error: 'Alignment' is only available in macOS 10.15 or newer
 76 | /// Enum that determines how a view should resize its content in dimensions where its size is not fixed.
 77 | ///
 78 | public enum UIKitViewContentMode: Equatable {
    |             `- note: add @available attribute to enclosing enum
 79 |
 80 | 	/// - `fit(Alignment)`: The UIView should resize to fit within the view while preserving its aspect ratio.
 81 | 	/// The alignment determines how the UIView is positioned within the view if there is extra space.
 82 | 	case fit(Alignment)
    |           `- error: 'Alignment' is only available in macOS 10.15 or newer
 83 |
 84 | 	/// - `fill`: The UIView should resize to completely fill the view.
/Users/admin/builder/spi-builder-workspace/Sources/UIKitViews/UIKitViewResizing.swift:96:17: error: 'Alignment' is only available in macOS 10.15 or newer
 76 | /// Enum that determines how a view should resize its content in dimensions where its size is not fixed.
 77 | ///
 78 | public enum UIKitViewContentMode: Equatable {
    |             `- note: add @available attribute to enclosing enum
 79 |
 80 | 	/// - `fit(Alignment)`: The UIView should resize to fit within the view while preserving its aspect ratio.
    :
 94 | 	}
 95 |
 96 | 	var alignment: Alignment {
    |      |          `- error: 'Alignment' is only available in macOS 10.15 or newer
    |      `- note: add @available attribute to enclosing property
 97 | 		switch self {
 98 | 		case let .fit(alignment):
/Users/admin/builder/spi-builder-workspace/Sources/UIKitViews/UIKitViewResizing.swift:110:28: error: 'Axis' is only available in macOS 10.15 or newer
106 | extension EnvironmentValues {
107 |
108 | 	private enum UIKitViewResizingKey: EnvironmentKey {
    |               `- note: add @available attribute to enclosing enum
109 |
110 | 		static var defaultValue: Axis.Set { [] }
    |              |             `- error: 'Axis' is only available in macOS 10.15 or newer
    |              `- note: add @available attribute to enclosing static property
111 | 	}
112 |
/Users/admin/builder/spi-builder-workspace/Sources/UIKitViews/UIKitViewResizing.swift:113:33: error: 'Axis' is only available in macOS 10.15 or newer
104 | }
105 |
106 | extension EnvironmentValues {
    | `- note: add @available attribute to enclosing extension
107 |
108 | 	private enum UIKitViewResizingKey: EnvironmentKey {
    :
111 | 	}
112 |
113 | 	public var uiKitViewFixedSize: Axis.Set {
    |             |                   `- error: 'Axis' is only available in macOS 10.15 or newer
    |             `- note: add @available attribute to enclosing property
114 | 		get {
115 | 			self[UIKitViewResizingKey.self]
/Users/admin/builder/spi-builder-workspace/Sources/UIKitViews/UIKitViewResizing.swift:106:11: error: 'EnvironmentValues' is only available in macOS 10.15 or newer
104 | }
105 |
106 | extension EnvironmentValues {
    | |         `- error: 'EnvironmentValues' is only available in macOS 10.15 or newer
    | `- note: add @available attribute to enclosing extension
107 |
108 | 	private enum UIKitViewResizingKey: EnvironmentKey {
/Users/admin/builder/spi-builder-workspace/Sources/UIKitViews/UIKitViewResizing.swift:123:11: error: 'EnvironmentValues' is only available in macOS 10.15 or newer
121 | }
122 |
123 | extension EnvironmentValues {
    | |         `- error: 'EnvironmentValues' is only available in macOS 10.15 or newer
    | `- note: add @available attribute to enclosing extension
124 |
125 | 	private enum UIKitViewUseWrapperKey: EnvironmentKey {
/Users/admin/builder/spi-builder-workspace/Sources/UIKitViews/UIKitViewResizing.swift:140:11: error: 'EnvironmentValues' is only available in macOS 10.15 or newer
138 | }
139 |
140 | extension EnvironmentValues {
    | |         `- error: 'EnvironmentValues' is only available in macOS 10.15 or newer
    | `- note: add @available attribute to enclosing extension
141 |
142 | 	private enum UIKitViewContentModeKey: EnvironmentKey {
/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:35:21: error: 'Axis' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | final class UIKitViewWrapper<Content: UIView>: UIView {
   |             `- note: add @available attribute to enclosing generic class
 4 |
 5 | 	let content: Content
   :
33 | 	}
34 |
35 | 	var selfSizedAxis: Axis.Set = [.vertical, .horizontal] {
   |                     `- error: 'Axis' is only available in macOS 10.15 or newer
36 | 		didSet {
37 | 			guard oldValue != selfSizedAxis else { return }
/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? {
[25/26] Compiling UIKitViews AnyUIRepresentableWrapper.swift
/Users/admin/builder/spi-builder-workspace/Sources/UIKitViews/AnyUIRepresentableWrapper.swift:5:3: error: 'ViewBuilder' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct AnyUIRepresentableWrapper<IOS13: View, IOS16: View>: View {
   |        `- note: add @available attribute to enclosing generic struct
 4 |
 5 | 	@ViewBuilder let iOS13: (CGSize?, @escaping (CGSize?) -> Void) -> IOS13
   |   `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
 6 | 	@ViewBuilder let iOS16: IOS16
 7 | 	@Environment(\.uiKitViewFixedSize) private var selfSizedAxis
/Users/admin/builder/spi-builder-workspace/Sources/UIKitViews/AnyUIRepresentableWrapper.swift:6:3: error: 'ViewBuilder' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct AnyUIRepresentableWrapper<IOS13: View, IOS16: View>: View {
   |        `- note: add @available attribute to enclosing generic struct
 4 |
 5 | 	@ViewBuilder let iOS13: (CGSize?, @escaping (CGSize?) -> Void) -> IOS13
 6 | 	@ViewBuilder let iOS16: IOS16
   |   `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
 7 | 	@Environment(\.uiKitViewFixedSize) private var selfSizedAxis
 8 | 	@Environment(\.uiKitViewWrapperPolicy) private var uiKitViewWrapperPolicy
/Users/admin/builder/spi-builder-workspace/Sources/UIKitViews/AnyUIRepresentableWrapper.swift:7:3: error: 'Environment' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct AnyUIRepresentableWrapper<IOS13: View, IOS16: View>: View {
   |        `- note: add @available attribute to enclosing generic struct
 4 |
 5 | 	@ViewBuilder let iOS13: (CGSize?, @escaping (CGSize?) -> Void) -> IOS13
 6 | 	@ViewBuilder let iOS16: IOS16
 7 | 	@Environment(\.uiKitViewFixedSize) private var selfSizedAxis
   |   `- error: 'Environment' is only available in macOS 10.15 or newer
 8 | 	@Environment(\.uiKitViewWrapperPolicy) private var uiKitViewWrapperPolicy
 9 | 	@Environment(\.uiKitViewContentMode) private var uiKitViewContentMode
/Users/admin/builder/spi-builder-workspace/Sources/UIKitViews/AnyUIRepresentableWrapper.swift:8:3: error: 'Environment' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct AnyUIRepresentableWrapper<IOS13: View, IOS16: View>: View {
   |        `- note: add @available attribute to enclosing generic struct
 4 |
 5 | 	@ViewBuilder let iOS13: (CGSize?, @escaping (CGSize?) -> Void) -> IOS13
 6 | 	@ViewBuilder let iOS16: IOS16
 7 | 	@Environment(\.uiKitViewFixedSize) private var selfSizedAxis
 8 | 	@Environment(\.uiKitViewWrapperPolicy) private var uiKitViewWrapperPolicy
   |   `- error: 'Environment' is only available in macOS 10.15 or newer
 9 | 	@Environment(\.uiKitViewContentMode) private var uiKitViewContentMode
10 | 	@State private var size: CGSize?
/Users/admin/builder/spi-builder-workspace/Sources/UIKitViews/AnyUIRepresentableWrapper.swift:9:3: error: 'Environment' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct AnyUIRepresentableWrapper<IOS13: View, IOS16: View>: View {
   |        `- note: add @available attribute to enclosing generic struct
 4 |
 5 | 	@ViewBuilder let iOS13: (CGSize?, @escaping (CGSize?) -> Void) -> IOS13
   :
 7 | 	@Environment(\.uiKitViewFixedSize) private var selfSizedAxis
 8 | 	@Environment(\.uiKitViewWrapperPolicy) private var uiKitViewWrapperPolicy
 9 | 	@Environment(\.uiKitViewContentMode) private var uiKitViewContentMode
   |   `- error: 'Environment' is only available in macOS 10.15 or newer
10 | 	@State private var size: CGSize?
11 | 	@State private var updateSize: (CGSize) -> Void = { _ in }
/Users/admin/builder/spi-builder-workspace/Sources/UIKitViews/AnyUIRepresentableWrapper.swift:10:3: error: 'State' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct AnyUIRepresentableWrapper<IOS13: View, IOS16: View>: View {
   |        `- note: add @available attribute to enclosing generic struct
 4 |
 5 | 	@ViewBuilder let iOS13: (CGSize?, @escaping (CGSize?) -> Void) -> IOS13
   :
 8 | 	@Environment(\.uiKitViewWrapperPolicy) private var uiKitViewWrapperPolicy
 9 | 	@Environment(\.uiKitViewContentMode) private var uiKitViewContentMode
10 | 	@State private var size: CGSize?
   |   `- error: 'State' is only available in macOS 10.15 or newer
11 | 	@State private var updateSize: (CGSize) -> Void = { _ in }
12 | 	@State private var expectedSize: CGSize?
/Users/admin/builder/spi-builder-workspace/Sources/UIKitViews/AnyUIRepresentableWrapper.swift:11:3: error: 'State' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct AnyUIRepresentableWrapper<IOS13: View, IOS16: View>: View {
   |        `- note: add @available attribute to enclosing generic struct
 4 |
 5 | 	@ViewBuilder let iOS13: (CGSize?, @escaping (CGSize?) -> Void) -> IOS13
   :
 9 | 	@Environment(\.uiKitViewContentMode) private var uiKitViewContentMode
10 | 	@State private var size: CGSize?
11 | 	@State private var updateSize: (CGSize) -> Void = { _ in }
   |   `- error: 'State' is only available in macOS 10.15 or newer
12 | 	@State private var expectedSize: CGSize?
13 |
/Users/admin/builder/spi-builder-workspace/Sources/UIKitViews/AnyUIRepresentableWrapper.swift:12:3: error: 'State' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct AnyUIRepresentableWrapper<IOS13: View, IOS16: View>: View {
   |        `- note: add @available attribute to enclosing generic struct
 4 |
 5 | 	@ViewBuilder let iOS13: (CGSize?, @escaping (CGSize?) -> Void) -> IOS13
   :
10 | 	@State private var size: CGSize?
11 | 	@State private var updateSize: (CGSize) -> Void = { _ in }
12 | 	@State private var expectedSize: CGSize?
   |   `- error: 'State' is only available in macOS 10.15 or newer
13 |
14 | 	var body: some View {
/Users/admin/builder/spi-builder-workspace/Sources/UIKitViews/AnyUIRepresentableWrapper.swift:14:17: error: 'View' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct AnyUIRepresentableWrapper<IOS13: View, IOS16: View>: View {
   |        `- note: add @available attribute to enclosing generic struct
 4 |
 5 | 	@ViewBuilder let iOS13: (CGSize?, @escaping (CGSize?) -> Void) -> IOS13
   :
12 | 	@State private var expectedSize: CGSize?
13 |
14 | 	var body: some View {
   |      |          `- error: 'View' is only available in macOS 10.15 or newer
   |      `- note: add @available attribute to enclosing property
15 | 		if #available(iOS 16.0, tvOS 16.0, *), uiKitViewWrapperPolicy == .upToIOS16 {
16 | 			iOS16
/Users/admin/builder/spi-builder-workspace/Sources/UIKitViews/AnyUIRepresentableWrapper.swift:3:41: error: 'View' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct AnyUIRepresentableWrapper<IOS13: View, IOS16: View>: View {
   |        |                                `- error: 'View' is only available in macOS 10.15 or newer
   |        `- note: add @available attribute to enclosing generic struct
 4 |
 5 | 	@ViewBuilder let iOS13: (CGSize?, @escaping (CGSize?) -> Void) -> IOS13
/Users/admin/builder/spi-builder-workspace/Sources/UIKitViews/AnyUIRepresentableWrapper.swift:3:54: error: 'View' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct AnyUIRepresentableWrapper<IOS13: View, IOS16: View>: View {
   |        |                                             `- error: 'View' is only available in macOS 10.15 or newer
   |        `- note: add @available attribute to enclosing generic struct
 4 |
 5 | 	@ViewBuilder let iOS13: (CGSize?, @escaping (CGSize?) -> Void) -> IOS13
/Users/admin/builder/spi-builder-workspace/Sources/UIKitViews/AnyUIRepresentableWrapper.swift:60:37: error: 'Axis' is only available in macOS 10.15 or newer
56 | }
57 |
58 | private extension View {
   |         `- note: add @available attribute to enclosing extension
59 |
60 | 	func fixedFrame(for selfSizedAxis: Axis.Set, alignment: Alignment) -> some View {
   |       |                             `- error: 'Axis' is only available in macOS 10.15 or newer
   |       `- note: add @available attribute to enclosing instance method
61 | 		frame(
62 | 			minWidth: !selfSizedAxis.contains(.horizontal) ? 0 : nil,
/Users/admin/builder/spi-builder-workspace/Sources/UIKitViews/AnyUIRepresentableWrapper.swift:60:58: error: 'Alignment' is only available in macOS 10.15 or newer
56 | }
57 |
58 | private extension View {
   |         `- note: add @available attribute to enclosing extension
59 |
60 | 	func fixedFrame(for selfSizedAxis: Axis.Set, alignment: Alignment) -> some View {
   |       |                                                  `- error: 'Alignment' is only available in macOS 10.15 or newer
   |       `- note: add @available attribute to enclosing instance method
61 | 		frame(
62 | 			minWidth: !selfSizedAxis.contains(.horizontal) ? 0 : nil,
/Users/admin/builder/spi-builder-workspace/Sources/UIKitViews/AnyUIRepresentableWrapper.swift:60:77: error: 'View' is only available in macOS 10.15 or newer
56 | }
57 |
58 | private extension View {
   |         `- note: add @available attribute to enclosing extension
59 |
60 | 	func fixedFrame(for selfSizedAxis: Axis.Set, alignment: Alignment) -> some View {
   |       |                                                                     `- error: 'View' is only available in macOS 10.15 or newer
   |       `- note: add @available attribute to enclosing instance method
61 | 		frame(
62 | 			minWidth: !selfSizedAxis.contains(.horizontal) ? 0 : nil,
/Users/admin/builder/spi-builder-workspace/Sources/UIKitViews/AnyUIRepresentableWrapper.swift:58:19: error: 'View' is only available in macOS 10.15 or newer
56 | }
57 |
58 | private extension View {
   |         |         `- error: 'View' is only available in macOS 10.15 or newer
   |         `- note: add @available attribute to enclosing extension
59 |
60 | 	func fixedFrame(for selfSizedAxis: Axis.Set, alignment: Alignment) -> some View {
/Users/admin/builder/spi-builder-workspace/Sources/UIKitViews/AnyUIRepresentableWrapper.swift:15:6: warning: result builder 'ViewBuilder' does not implement 'buildLimitedAvailability'; this code may crash on earlier versions of the OS
13 |
14 | 	var body: some View {
15 | 		if #available(iOS 16.0, tvOS 16.0, *), uiKitViewWrapperPolicy == .upToIOS16 {
   |      `- warning: result builder 'ViewBuilder' does not implement 'buildLimitedAvailability'; this code may crash on earlier versions of the OS
16 | 			iOS16
17 | 				.fixedFrame(
/Users/admin/builder/spi-builder-workspace/Sources/UIKitViews/AnyUIRepresentableWrapper.swift:15:79: error: 'buildLimitedAvailability' is only available in macOS 11.0 or newer
 1 | import SwiftUI
 2 |
 3 | struct AnyUIRepresentableWrapper<IOS13: View, IOS16: View>: View {
   |        `- note: add @available attribute to enclosing generic struct
 4 |
 5 | 	@ViewBuilder let iOS13: (CGSize?, @escaping (CGSize?) -> Void) -> IOS13
   :
12 | 	@State private var expectedSize: CGSize?
13 |
14 | 	var body: some View {
   |      `- note: add @available attribute to enclosing property
15 | 		if #available(iOS 16.0, tvOS 16.0, *), uiKitViewWrapperPolicy == .upToIOS16 {
   |                                                                               |- error: 'buildLimitedAvailability' is only available in macOS 11.0 or newer
   |                                                                               `- note: add 'if #available' version check
16 | 			iOS16
17 | 				.fixedFrame(
/Users/admin/builder/spi-builder-workspace/Sources/UIKitViews/AnyUIRepresentableWrapper.swift:15:79: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct AnyUIRepresentableWrapper<IOS13: View, IOS16: View>: View {
   |        `- note: add @available attribute to enclosing generic struct
 4 |
 5 | 	@ViewBuilder let iOS13: (CGSize?, @escaping (CGSize?) -> Void) -> IOS13
   :
12 | 	@State private var expectedSize: CGSize?
13 |
14 | 	var body: some View {
   |      `- note: add @available attribute to enclosing property
15 | 		if #available(iOS 16.0, tvOS 16.0, *), uiKitViewWrapperPolicy == .upToIOS16 {
   |                                                                               |- error: 'buildEither(first:)' is only available in macOS 10.15 or newer
   |                                                                               `- note: add 'if #available' version check
16 | 			iOS16
17 | 				.fixedFrame(
/Users/admin/builder/spi-builder-workspace/Sources/UIKitViews/AnyUIRepresentableWrapper.swift:23:5: error: setter for 'size' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct AnyUIRepresentableWrapper<IOS13: View, IOS16: View>: View {
   |        `- note: add @available attribute to enclosing generic struct
 4 |
 5 | 	@ViewBuilder let iOS13: (CGSize?, @escaping (CGSize?) -> Void) -> IOS13
   :
12 | 	@State private var expectedSize: CGSize?
13 |
14 | 	var body: some View {
   |      `- note: add @available attribute to enclosing property
15 | 		if #available(iOS 16.0, tvOS 16.0, *), uiKitViewWrapperPolicy == .upToIOS16 {
16 | 			iOS16
   :
21 | 		} else {
22 | 			iOS13(expectedSize) {
23 | 				size = $0
   |     |- error: setter for 'size' is only available in macOS 10.15 or newer
   |     `- note: add 'if #available' version check
24 | 			}
25 | 			.fixedSize(
/Users/admin/builder/spi-builder-workspace/Sources/UIKitViews/AnyUIRepresentableWrapper.swift:25:5: error: 'fixedSize(horizontal:vertical:)' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct AnyUIRepresentableWrapper<IOS13: View, IOS16: View>: View {
   |        `- note: add @available attribute to enclosing generic struct
 4 |
 5 | 	@ViewBuilder let iOS13: (CGSize?, @escaping (CGSize?) -> Void) -> IOS13
   :
12 | 	@State private var expectedSize: CGSize?
13 |
14 | 	var body: some View {
   |      `- note: add @available attribute to enclosing property
15 | 		if #available(iOS 16.0, tvOS 16.0, *), uiKitViewWrapperPolicy == .upToIOS16 {
16 | 			iOS16
   :
23 | 				size = $0
24 | 			}
25 | 			.fixedSize(
   |     |- error: 'fixedSize(horizontal:vertical:)' is only available in macOS 10.15 or newer
   |     `- note: add 'if #available' version check
26 | 				horizontal: selfSizedAxis.contains(.horizontal),
27 | 				vertical: selfSizedAxis.contains(.vertical)
/Users/admin/builder/spi-builder-workspace/Sources/UIKitViews/AnyUIRepresentableWrapper.swift:29:5: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct AnyUIRepresentableWrapper<IOS13: View, IOS16: View>: View {
   |        `- note: add @available attribute to enclosing generic struct
 4 |
 5 | 	@ViewBuilder let iOS13: (CGSize?, @escaping (CGSize?) -> Void) -> IOS13
   :
12 | 	@State private var expectedSize: CGSize?
13 |
14 | 	var body: some View {
   |      `- note: add @available attribute to enclosing property
15 | 		if #available(iOS 16.0, tvOS 16.0, *), uiKitViewWrapperPolicy == .upToIOS16 {
16 | 			iOS16
   :
27 | 				vertical: selfSizedAxis.contains(.vertical)
28 | 			)
29 | 			.frame(
   |     |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
   |     `- note: add 'if #available' version check
30 | 				width: idealWidth,
31 | 				height: idealHeight
/Users/admin/builder/spi-builder-workspace/Sources/UIKitViews/AnyUIRepresentableWrapper.swift:34:5: error: 'overlay(_:alignment:)' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct AnyUIRepresentableWrapper<IOS13: View, IOS16: View>: View {
   |        `- note: add @available attribute to enclosing generic struct
 4 |
 5 | 	@ViewBuilder let iOS13: (CGSize?, @escaping (CGSize?) -> Void) -> IOS13
   :
12 | 	@State private var expectedSize: CGSize?
13 |
14 | 	var body: some View {
   |      `- note: add @available attribute to enclosing property
15 | 		if #available(iOS 16.0, tvOS 16.0, *), uiKitViewWrapperPolicy == .upToIOS16 {
16 | 			iOS16
   :
32 | 			)
33 | 			.fixedFrame(for: selfSizedAxis, alignment: uiKitViewContentMode.alignment)
34 | 			.overlay(
   |     |- error: 'overlay(_:alignment:)' is only available in macOS 10.15 or newer
   |     `- note: add 'if #available' version check
35 | 				ZStack {
36 | 					GeometryReader { proxy in
/Users/admin/builder/spi-builder-workspace/Sources/UIKitViews/AnyUIRepresentableWrapper.swift:35:5: error: 'ZStack' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct AnyUIRepresentableWrapper<IOS13: View, IOS16: View>: View {
   |        `- note: add @available attribute to enclosing generic struct
 4 |
 5 | 	@ViewBuilder let iOS13: (CGSize?, @escaping (CGSize?) -> Void) -> IOS13
   :
12 | 	@State private var expectedSize: CGSize?
13 |
14 | 	var body: some View {
   |      `- note: add @available attribute to enclosing property
15 | 		if #available(iOS 16.0, tvOS 16.0, *), uiKitViewWrapperPolicy == .upToIOS16 {
16 | 			iOS16
   :
33 | 			.fixedFrame(for: selfSizedAxis, alignment: uiKitViewContentMode.alignment)
34 | 			.overlay(
35 | 				ZStack {
   |     |- error: 'ZStack' is only available in macOS 10.15 or newer
   |     `- note: add 'if #available' version check
36 | 					GeometryReader { proxy in
37 | 						Color.clear
/Users/admin/builder/spi-builder-workspace/Sources/UIKitViews/AnyUIRepresentableWrapper.swift:36:6: error: 'GeometryReader' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct AnyUIRepresentableWrapper<IOS13: View, IOS16: View>: View {
   |        `- note: add @available attribute to enclosing generic struct
 4 |
 5 | 	@ViewBuilder let iOS13: (CGSize?, @escaping (CGSize?) -> Void) -> IOS13
   :
12 | 	@State private var expectedSize: CGSize?
13 |
14 | 	var body: some View {
   |      `- note: add @available attribute to enclosing property
15 | 		if #available(iOS 16.0, tvOS 16.0, *), uiKitViewWrapperPolicy == .upToIOS16 {
16 | 			iOS16
   :
34 | 			.overlay(
35 | 				ZStack {
36 | 					GeometryReader { proxy in
   |      |- error: 'GeometryReader' is only available in macOS 10.15 or newer
   |      `- note: add 'if #available' version check
37 | 						Color.clear
38 | 							.preference(key: SizeKey.self, value: proxy.size)
/Users/admin/builder/spi-builder-workspace/Sources/UIKitViews/AnyUIRepresentableWrapper.swift:37:7: error: 'Color' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct AnyUIRepresentableWrapper<IOS13: View, IOS16: View>: View {
   |        `- note: add @available attribute to enclosing generic struct
 4 |
 5 | 	@ViewBuilder let iOS13: (CGSize?, @escaping (CGSize?) -> Void) -> IOS13
   :
12 | 	@State private var expectedSize: CGSize?
13 |
14 | 	var body: some View {
   |      `- note: add @available attribute to enclosing property
15 | 		if #available(iOS 16.0, tvOS 16.0, *), uiKitViewWrapperPolicy == .upToIOS16 {
16 | 			iOS16
   :
35 | 				ZStack {
36 | 					GeometryReader { proxy in
37 | 						Color.clear
   |       |- error: 'Color' is only available in macOS 10.15 or newer
   |       `- note: add 'if #available' version check
38 | 							.preference(key: SizeKey.self, value: proxy.size)
39 | 					}
/Users/admin/builder/spi-builder-workspace/Sources/UIKitViews/AnyUIRepresentableWrapper.swift:37:13: error: 'clear' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct AnyUIRepresentableWrapper<IOS13: View, IOS16: View>: View {
   |        `- note: add @available attribute to enclosing generic struct
 4 |
 5 | 	@ViewBuilder let iOS13: (CGSize?, @escaping (CGSize?) -> Void) -> IOS13
   :
12 | 	@State private var expectedSize: CGSize?
13 |
14 | 	var body: some View {
   |      `- note: add @available attribute to enclosing property
15 | 		if #available(iOS 16.0, tvOS 16.0, *), uiKitViewWrapperPolicy == .upToIOS16 {
16 | 			iOS16
   :
35 | 				ZStack {
36 | 					GeometryReader { proxy in
37 | 						Color.clear
   |             |- error: 'clear' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
38 | 							.preference(key: SizeKey.self, value: proxy.size)
39 | 					}
/Users/admin/builder/spi-builder-workspace/Sources/UIKitViews/AnyUIRepresentableWrapper.swift:38:9: error: 'preference(key:value:)' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct AnyUIRepresentableWrapper<IOS13: View, IOS16: View>: View {
   |        `- note: add @available attribute to enclosing generic struct
 4 |
 5 | 	@ViewBuilder let iOS13: (CGSize?, @escaping (CGSize?) -> Void) -> IOS13
   :
12 | 	@State private var expectedSize: CGSize?
13 |
14 | 	var body: some View {
   |      `- note: add @available attribute to enclosing property
15 | 		if #available(iOS 16.0, tvOS 16.0, *), uiKitViewWrapperPolicy == .upToIOS16 {
16 | 			iOS16
   :
36 | 					GeometryReader { proxy in
37 | 						Color.clear
38 | 							.preference(key: SizeKey.self, value: proxy.size)
   |         |- error: 'preference(key:value:)' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
39 | 					}
40 | 				}
/Users/admin/builder/spi-builder-workspace/Sources/UIKitViews/AnyUIRepresentableWrapper.swift:41:6: error: 'allowsHitTesting' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct AnyUIRepresentableWrapper<IOS13: View, IOS16: View>: View {
   |        `- note: add @available attribute to enclosing generic struct
 4 |
 5 | 	@ViewBuilder let iOS13: (CGSize?, @escaping (CGSize?) -> Void) -> IOS13
   :
12 | 	@State private var expectedSize: CGSize?
13 |
14 | 	var body: some View {
   |      `- note: add @available attribute to enclosing property
15 | 		if #available(iOS 16.0, tvOS 16.0, *), uiKitViewWrapperPolicy == .upToIOS16 {
16 | 			iOS16
   :
39 | 					}
40 | 				}
41 | 				.allowsHitTesting(false)
   |      |- error: 'allowsHitTesting' is only available in macOS 10.15 or newer
   |      `- note: add 'if #available' version check
42 | 			)
43 | 			.onPreferenceChange(SizeKey.self) { newValue in
/Users/admin/builder/spi-builder-workspace/Sources/UIKitViews/AnyUIRepresentableWrapper.swift:43:5: error: 'onPreferenceChange(_:perform:)' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct AnyUIRepresentableWrapper<IOS13: View, IOS16: View>: View {
   |        `- note: add @available attribute to enclosing generic struct
 4 |
 5 | 	@ViewBuilder let iOS13: (CGSize?, @escaping (CGSize?) -> Void) -> IOS13
   :
12 | 	@State private var expectedSize: CGSize?
13 |
14 | 	var body: some View {
   |      `- note: add @available attribute to enclosing property
15 | 		if #available(iOS 16.0, tvOS 16.0, *), uiKitViewWrapperPolicy == .upToIOS16 {
16 | 			iOS16
   :
41 | 				.allowsHitTesting(false)
42 | 			)
43 | 			.onPreferenceChange(SizeKey.self) { newValue in
   |     |- error: 'onPreferenceChange(_:perform:)' is only available in macOS 10.15 or newer
   |     `- note: add 'if #available' version check
44 | 				expectedSize = newValue
45 | 			}
/Users/admin/builder/spi-builder-workspace/Sources/UIKitViews/AnyUIRepresentableWrapper.swift:44:5: error: setter for 'expectedSize' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct AnyUIRepresentableWrapper<IOS13: View, IOS16: View>: View {
   |        `- note: add @available attribute to enclosing generic struct
 4 |
 5 | 	@ViewBuilder let iOS13: (CGSize?, @escaping (CGSize?) -> Void) -> IOS13
   :
12 | 	@State private var expectedSize: CGSize?
13 |
14 | 	var body: some View {
   |      `- note: add @available attribute to enclosing property
15 | 		if #available(iOS 16.0, tvOS 16.0, *), uiKitViewWrapperPolicy == .upToIOS16 {
16 | 			iOS16
   :
42 | 			)
43 | 			.onPreferenceChange(SizeKey.self) { newValue in
44 | 				expectedSize = newValue
   |     |- error: setter for 'expectedSize' is only available in macOS 10.15 or newer
   |     `- note: add 'if #available' version check
45 | 			}
46 | 		}
/Users/admin/builder/spi-builder-workspace/Sources/UIKitViews/AnyUIRepresentableWrapper.swift:21:10: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct AnyUIRepresentableWrapper<IOS13: View, IOS16: View>: View {
   |        `- note: add @available attribute to enclosing generic struct
 4 |
 5 | 	@ViewBuilder let iOS13: (CGSize?, @escaping (CGSize?) -> Void) -> IOS13
   :
12 | 	@State private var expectedSize: CGSize?
13 |
14 | 	var body: some View {
   |      `- note: add @available attribute to enclosing property
15 | 		if #available(iOS 16.0, tvOS 16.0, *), uiKitViewWrapperPolicy == .upToIOS16 {
16 | 			iOS16
   :
19 | 					alignment: uiKitViewContentMode.alignment
20 | 				)
21 | 		} else {
   |          |- error: 'buildEither(second:)' is only available in macOS 10.15 or newer
   |          `- note: add 'if #available' version check
22 | 			iOS13(expectedSize) {
23 | 				size = $0
/Users/admin/builder/spi-builder-workspace/Sources/UIKitViews/AnyUIRepresentableWrapper.swift:14:22: warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 1 | import SwiftUI
 2 |
 3 | struct AnyUIRepresentableWrapper<IOS13: View, IOS16: View>: View {
   |        `- note: add @available attribute to enclosing generic struct
 4 |
 5 | 	@ViewBuilder let iOS13: (CGSize?, @escaping (CGSize?) -> Void) -> IOS13
   :
12 | 	@State private var expectedSize: CGSize?
13 |
14 | 	var body: some View {
   |      |               |- warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
   |      |               `- note: add 'if #available' version check
   |      `- note: add @available attribute to enclosing property
15 | 		if #available(iOS 16.0, tvOS 16.0, *), uiKitViewWrapperPolicy == .upToIOS16 {
16 | 			iOS16
/Users/admin/builder/spi-builder-workspace/Sources/UIKitViews/AnyUIRepresentableWrapper.swift:61:3: error: 'frame(minWidth:idealWidth:maxWidth:minHeight:idealHeight:maxHeight:alignment:)' is only available in macOS 10.15 or newer
56 | }
57 |
58 | private extension View {
   |         `- note: add @available attribute to enclosing extension
59 |
60 | 	func fixedFrame(for selfSizedAxis: Axis.Set, alignment: Alignment) -> some View {
   |       `- note: add @available attribute to enclosing instance method
61 | 		frame(
   |   |- error: 'frame(minWidth:idealWidth:maxWidth:minHeight:idealHeight:maxHeight:alignment:)' is only available in macOS 10.15 or newer
   |   `- note: add 'if #available' version check
62 | 			minWidth: !selfSizedAxis.contains(.horizontal) ? 0 : nil,
63 | 			maxWidth: !selfSizedAxis.contains(.horizontal) ? .infinity : nil,
/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:11:24: error: 'View' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | public struct AnyUIViewControllerRepresentable<Content: UIViewController>: UIKitRepresentable {
   |               `- note: add @available attribute to enclosing generic struct
 4 |
 5 | 	let make: () -> Content
   :
 9 | 	}
10 |
11 | 	public var body: some View {
   |             |          `- error: 'View' is only available in macOS 10.15 or newer
   |             `- note: add @available attribute to enclosing property
12 | 		AnyUIRepresentableWrapper {
13 | 			AnyUIViewControllerRepresentableIOS13(make: make, updater: updater, expectedSize: $0, updateSize: $1)
/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:24:3: error: 'Environment' is only available in macOS 10.15 or newer
18 | }
19 |
20 | private struct AnyUIViewControllerRepresentableIOS16<Content: UIViewController>: UIViewControllerRepresentable {
   |                `- note: add @available attribute to enclosing generic struct
21 |
22 | 	let make: () -> Content
23 | 	public var updater: (Content, UIKitRepresentableContext) -> Void = { _, _ in }
24 | 	@Environment(\.uiKitViewFixedSize) private var selfSizedAxis
   |   `- error: 'Environment' is only available in macOS 10.15 or newer
25 | 	@Environment(\.uiKitViewContentMode) private var uiKitViewContentMode
26 |
/Users/admin/builder/spi-builder-workspace/Sources/UIKitViews/AnyUIViewControllerRepresentable.swift:25:3: error: 'Environment' is only available in macOS 10.15 or newer
18 | }
19 |
20 | private struct AnyUIViewControllerRepresentableIOS16<Content: UIViewController>: UIViewControllerRepresentable {
   |                `- note: add @available attribute to enclosing generic struct
21 |
22 | 	let make: () -> Content
23 | 	public var updater: (Content, UIKitRepresentableContext) -> Void = { _, _ in }
24 | 	@Environment(\.uiKitViewFixedSize) private var selfSizedAxis
25 | 	@Environment(\.uiKitViewContentMode) private var uiKitViewContentMode
   |   `- error: 'Environment' is only available in macOS 10.15 or newer
26 |
27 | 	func makeUIViewController(context: Context) -> 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/AnyUIViewControllerRepresentable.swift:47:3: error: 'Environment' is only available in macOS 10.15 or newer
39 | }
40 |
41 | private struct AnyUIViewControllerRepresentableIOS13<Content: UIViewController>: UIViewControllerRepresentable {
   |                `- note: add @available attribute to enclosing generic struct
42 |
43 | 	let make: () -> Content
   :
45 | 	let expectedSize: CGSize?
46 | 	let updateSize: (CGSize?) -> Void
47 | 	@Environment(\.uiKitViewFixedSize) private var selfSizedAxis
   |   `- error: 'Environment' is only available in macOS 10.15 or newer
48 | 	@Environment(\.uiKitViewContentMode) private var uiKitViewContentMode
49 |
/Users/admin/builder/spi-builder-workspace/Sources/UIKitViews/AnyUIViewControllerRepresentable.swift:48:3: error: 'Environment' is only available in macOS 10.15 or newer
39 | }
40 |
41 | private struct AnyUIViewControllerRepresentableIOS13<Content: UIViewController>: UIViewControllerRepresentable {
   |                `- note: add @available attribute to enclosing generic struct
42 |
43 | 	let make: () -> Content
   :
46 | 	let updateSize: (CGSize?) -> Void
47 | 	@Environment(\.uiKitViewFixedSize) private var selfSizedAxis
48 | 	@Environment(\.uiKitViewContentMode) private var uiKitViewContentMode
   |   `- error: 'Environment' is only available in macOS 10.15 or newer
49 |
50 | 	func makeUIViewController(context: Context) -> UIKitViewControllerWrapper<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/AnyUIViewControllerRepresentable.swift:13:4: error: 'buildExpression' is unavailable: this expression does not conform to 'View'
11 | 	public var body: some View {
12 | 		AnyUIRepresentableWrapper {
13 | 			AnyUIViewControllerRepresentableIOS13(make: make, updater: updater, expectedSize: $0, updateSize: $1)
   |    `- error: 'buildExpression' is unavailable: this expression does not conform to 'View'
14 | 		} iOS16: {
15 | 			AnyUIViewControllerRepresentableIOS16(make: make, updater: updater)
SwiftUICore.ViewBuilder.buildExpression:3:22: note: 'buildExpression' has been explicitly marked unavailable here
1 | struct ViewBuilder {
2 | @available(*, unavailable, message: "this expression does not conform to 'View'")
3 |   public static func buildExpression(_ invalid: Any) -> some View
  |                      `- note: 'buildExpression' has been explicitly marked unavailable here
4 |   }
5 |
/Users/admin/builder/spi-builder-workspace/Sources/UIKitViews/AnyUIViewControllerRepresentable.swift:15:4: error: 'buildExpression' is unavailable: this expression does not conform to 'View'
13 | 			AnyUIViewControllerRepresentableIOS13(make: make, updater: updater, expectedSize: $0, updateSize: $1)
14 | 		} iOS16: {
15 | 			AnyUIViewControllerRepresentableIOS16(make: make, updater: updater)
   |    `- error: 'buildExpression' is unavailable: this expression does not conform to 'View'
16 | 		}
17 | 	}
SwiftUICore.ViewBuilder.buildExpression:3:22: note: 'buildExpression' has been explicitly marked unavailable here
1 | struct ViewBuilder {
2 | @available(*, unavailable, message: "this expression does not conform to 'View'")
3 |   public static func buildExpression(_ invalid: Any) -> some View
  |                      `- note: 'buildExpression' has been explicitly marked unavailable here
4 |   }
5 |
/Users/admin/builder/spi-builder-workspace/Sources/UIKitViews/AnyUIViewControllerRepresentable.swift:37:20: error: value of type 'Content' has no member 'view'
35 | 	@available(iOS 16.0, tvOS 16.0, *)
36 | 	func sizeThatFits(_ proposal: ProposedViewSize, uiViewController: Content, context: Context) -> CGSize? {
37 | 		uiViewController.view.fittingSizeFor(size: proposal, dimensions: selfSizedAxis, contentMode: uiKitViewContentMode)
   |                    `- error: value of type 'Content' has no member 'view'
38 | 	}
39 | }
/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/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) {
[26/26] Compiling UIKitViews AnyUIViewControllerRepresentable.swift
/Users/admin/builder/spi-builder-workspace/Sources/UIKitViews/AnyUIRepresentableWrapper.swift:5:3: error: 'ViewBuilder' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct AnyUIRepresentableWrapper<IOS13: View, IOS16: View>: View {
   |        `- note: add @available attribute to enclosing generic struct
 4 |
 5 | 	@ViewBuilder let iOS13: (CGSize?, @escaping (CGSize?) -> Void) -> IOS13
   |   `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
 6 | 	@ViewBuilder let iOS16: IOS16
 7 | 	@Environment(\.uiKitViewFixedSize) private var selfSizedAxis
/Users/admin/builder/spi-builder-workspace/Sources/UIKitViews/AnyUIRepresentableWrapper.swift:6:3: error: 'ViewBuilder' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct AnyUIRepresentableWrapper<IOS13: View, IOS16: View>: View {
   |        `- note: add @available attribute to enclosing generic struct
 4 |
 5 | 	@ViewBuilder let iOS13: (CGSize?, @escaping (CGSize?) -> Void) -> IOS13
 6 | 	@ViewBuilder let iOS16: IOS16
   |   `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
 7 | 	@Environment(\.uiKitViewFixedSize) private var selfSizedAxis
 8 | 	@Environment(\.uiKitViewWrapperPolicy) private var uiKitViewWrapperPolicy
/Users/admin/builder/spi-builder-workspace/Sources/UIKitViews/AnyUIRepresentableWrapper.swift:7:3: error: 'Environment' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct AnyUIRepresentableWrapper<IOS13: View, IOS16: View>: View {
   |        `- note: add @available attribute to enclosing generic struct
 4 |
 5 | 	@ViewBuilder let iOS13: (CGSize?, @escaping (CGSize?) -> Void) -> IOS13
 6 | 	@ViewBuilder let iOS16: IOS16
 7 | 	@Environment(\.uiKitViewFixedSize) private var selfSizedAxis
   |   `- error: 'Environment' is only available in macOS 10.15 or newer
 8 | 	@Environment(\.uiKitViewWrapperPolicy) private var uiKitViewWrapperPolicy
 9 | 	@Environment(\.uiKitViewContentMode) private var uiKitViewContentMode
/Users/admin/builder/spi-builder-workspace/Sources/UIKitViews/AnyUIRepresentableWrapper.swift:8:3: error: 'Environment' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct AnyUIRepresentableWrapper<IOS13: View, IOS16: View>: View {
   |        `- note: add @available attribute to enclosing generic struct
 4 |
 5 | 	@ViewBuilder let iOS13: (CGSize?, @escaping (CGSize?) -> Void) -> IOS13
 6 | 	@ViewBuilder let iOS16: IOS16
 7 | 	@Environment(\.uiKitViewFixedSize) private var selfSizedAxis
 8 | 	@Environment(\.uiKitViewWrapperPolicy) private var uiKitViewWrapperPolicy
   |   `- error: 'Environment' is only available in macOS 10.15 or newer
 9 | 	@Environment(\.uiKitViewContentMode) private var uiKitViewContentMode
10 | 	@State private var size: CGSize?
/Users/admin/builder/spi-builder-workspace/Sources/UIKitViews/AnyUIRepresentableWrapper.swift:9:3: error: 'Environment' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct AnyUIRepresentableWrapper<IOS13: View, IOS16: View>: View {
   |        `- note: add @available attribute to enclosing generic struct
 4 |
 5 | 	@ViewBuilder let iOS13: (CGSize?, @escaping (CGSize?) -> Void) -> IOS13
   :
 7 | 	@Environment(\.uiKitViewFixedSize) private var selfSizedAxis
 8 | 	@Environment(\.uiKitViewWrapperPolicy) private var uiKitViewWrapperPolicy
 9 | 	@Environment(\.uiKitViewContentMode) private var uiKitViewContentMode
   |   `- error: 'Environment' is only available in macOS 10.15 or newer
10 | 	@State private var size: CGSize?
11 | 	@State private var updateSize: (CGSize) -> Void = { _ in }
/Users/admin/builder/spi-builder-workspace/Sources/UIKitViews/AnyUIRepresentableWrapper.swift:10:3: error: 'State' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct AnyUIRepresentableWrapper<IOS13: View, IOS16: View>: View {
   |        `- note: add @available attribute to enclosing generic struct
 4 |
 5 | 	@ViewBuilder let iOS13: (CGSize?, @escaping (CGSize?) -> Void) -> IOS13
   :
 8 | 	@Environment(\.uiKitViewWrapperPolicy) private var uiKitViewWrapperPolicy
 9 | 	@Environment(\.uiKitViewContentMode) private var uiKitViewContentMode
10 | 	@State private var size: CGSize?
   |   `- error: 'State' is only available in macOS 10.15 or newer
11 | 	@State private var updateSize: (CGSize) -> Void = { _ in }
12 | 	@State private var expectedSize: CGSize?
/Users/admin/builder/spi-builder-workspace/Sources/UIKitViews/AnyUIRepresentableWrapper.swift:11:3: error: 'State' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct AnyUIRepresentableWrapper<IOS13: View, IOS16: View>: View {
   |        `- note: add @available attribute to enclosing generic struct
 4 |
 5 | 	@ViewBuilder let iOS13: (CGSize?, @escaping (CGSize?) -> Void) -> IOS13
   :
 9 | 	@Environment(\.uiKitViewContentMode) private var uiKitViewContentMode
10 | 	@State private var size: CGSize?
11 | 	@State private var updateSize: (CGSize) -> Void = { _ in }
   |   `- error: 'State' is only available in macOS 10.15 or newer
12 | 	@State private var expectedSize: CGSize?
13 |
/Users/admin/builder/spi-builder-workspace/Sources/UIKitViews/AnyUIRepresentableWrapper.swift:12:3: error: 'State' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct AnyUIRepresentableWrapper<IOS13: View, IOS16: View>: View {
   |        `- note: add @available attribute to enclosing generic struct
 4 |
 5 | 	@ViewBuilder let iOS13: (CGSize?, @escaping (CGSize?) -> Void) -> IOS13
   :
10 | 	@State private var size: CGSize?
11 | 	@State private var updateSize: (CGSize) -> Void = { _ in }
12 | 	@State private var expectedSize: CGSize?
   |   `- error: 'State' is only available in macOS 10.15 or newer
13 |
14 | 	var body: some View {
/Users/admin/builder/spi-builder-workspace/Sources/UIKitViews/AnyUIRepresentableWrapper.swift:14:17: error: 'View' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct AnyUIRepresentableWrapper<IOS13: View, IOS16: View>: View {
   |        `- note: add @available attribute to enclosing generic struct
 4 |
 5 | 	@ViewBuilder let iOS13: (CGSize?, @escaping (CGSize?) -> Void) -> IOS13
   :
12 | 	@State private var expectedSize: CGSize?
13 |
14 | 	var body: some View {
   |      |          `- error: 'View' is only available in macOS 10.15 or newer
   |      `- note: add @available attribute to enclosing property
15 | 		if #available(iOS 16.0, tvOS 16.0, *), uiKitViewWrapperPolicy == .upToIOS16 {
16 | 			iOS16
/Users/admin/builder/spi-builder-workspace/Sources/UIKitViews/AnyUIRepresentableWrapper.swift:3:41: error: 'View' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct AnyUIRepresentableWrapper<IOS13: View, IOS16: View>: View {
   |        |                                `- error: 'View' is only available in macOS 10.15 or newer
   |        `- note: add @available attribute to enclosing generic struct
 4 |
 5 | 	@ViewBuilder let iOS13: (CGSize?, @escaping (CGSize?) -> Void) -> IOS13
/Users/admin/builder/spi-builder-workspace/Sources/UIKitViews/AnyUIRepresentableWrapper.swift:3:54: error: 'View' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct AnyUIRepresentableWrapper<IOS13: View, IOS16: View>: View {
   |        |                                             `- error: 'View' is only available in macOS 10.15 or newer
   |        `- note: add @available attribute to enclosing generic struct
 4 |
 5 | 	@ViewBuilder let iOS13: (CGSize?, @escaping (CGSize?) -> Void) -> IOS13
/Users/admin/builder/spi-builder-workspace/Sources/UIKitViews/AnyUIRepresentableWrapper.swift:60:37: error: 'Axis' is only available in macOS 10.15 or newer
56 | }
57 |
58 | private extension View {
   |         `- note: add @available attribute to enclosing extension
59 |
60 | 	func fixedFrame(for selfSizedAxis: Axis.Set, alignment: Alignment) -> some View {
   |       |                             `- error: 'Axis' is only available in macOS 10.15 or newer
   |       `- note: add @available attribute to enclosing instance method
61 | 		frame(
62 | 			minWidth: !selfSizedAxis.contains(.horizontal) ? 0 : nil,
/Users/admin/builder/spi-builder-workspace/Sources/UIKitViews/AnyUIRepresentableWrapper.swift:60:58: error: 'Alignment' is only available in macOS 10.15 or newer
56 | }
57 |
58 | private extension View {
   |         `- note: add @available attribute to enclosing extension
59 |
60 | 	func fixedFrame(for selfSizedAxis: Axis.Set, alignment: Alignment) -> some View {
   |       |                                                  `- error: 'Alignment' is only available in macOS 10.15 or newer
   |       `- note: add @available attribute to enclosing instance method
61 | 		frame(
62 | 			minWidth: !selfSizedAxis.contains(.horizontal) ? 0 : nil,
/Users/admin/builder/spi-builder-workspace/Sources/UIKitViews/AnyUIRepresentableWrapper.swift:60:77: error: 'View' is only available in macOS 10.15 or newer
56 | }
57 |
58 | private extension View {
   |         `- note: add @available attribute to enclosing extension
59 |
60 | 	func fixedFrame(for selfSizedAxis: Axis.Set, alignment: Alignment) -> some View {
   |       |                                                                     `- error: 'View' is only available in macOS 10.15 or newer
   |       `- note: add @available attribute to enclosing instance method
61 | 		frame(
62 | 			minWidth: !selfSizedAxis.contains(.horizontal) ? 0 : nil,
/Users/admin/builder/spi-builder-workspace/Sources/UIKitViews/AnyUIRepresentableWrapper.swift:58:19: error: 'View' is only available in macOS 10.15 or newer
56 | }
57 |
58 | private extension View {
   |         |         `- error: 'View' is only available in macOS 10.15 or newer
   |         `- note: add @available attribute to enclosing extension
59 |
60 | 	func fixedFrame(for selfSizedAxis: Axis.Set, alignment: Alignment) -> some View {
/Users/admin/builder/spi-builder-workspace/Sources/UIKitViews/AnyUIRepresentableWrapper.swift:15:6: warning: result builder 'ViewBuilder' does not implement 'buildLimitedAvailability'; this code may crash on earlier versions of the OS
13 |
14 | 	var body: some View {
15 | 		if #available(iOS 16.0, tvOS 16.0, *), uiKitViewWrapperPolicy == .upToIOS16 {
   |      `- warning: result builder 'ViewBuilder' does not implement 'buildLimitedAvailability'; this code may crash on earlier versions of the OS
16 | 			iOS16
17 | 				.fixedFrame(
/Users/admin/builder/spi-builder-workspace/Sources/UIKitViews/AnyUIRepresentableWrapper.swift:15:79: error: 'buildLimitedAvailability' is only available in macOS 11.0 or newer
 1 | import SwiftUI
 2 |
 3 | struct AnyUIRepresentableWrapper<IOS13: View, IOS16: View>: View {
   |        `- note: add @available attribute to enclosing generic struct
 4 |
 5 | 	@ViewBuilder let iOS13: (CGSize?, @escaping (CGSize?) -> Void) -> IOS13
   :
12 | 	@State private var expectedSize: CGSize?
13 |
14 | 	var body: some View {
   |      `- note: add @available attribute to enclosing property
15 | 		if #available(iOS 16.0, tvOS 16.0, *), uiKitViewWrapperPolicy == .upToIOS16 {
   |                                                                               |- error: 'buildLimitedAvailability' is only available in macOS 11.0 or newer
   |                                                                               `- note: add 'if #available' version check
16 | 			iOS16
17 | 				.fixedFrame(
/Users/admin/builder/spi-builder-workspace/Sources/UIKitViews/AnyUIRepresentableWrapper.swift:15:79: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct AnyUIRepresentableWrapper<IOS13: View, IOS16: View>: View {
   |        `- note: add @available attribute to enclosing generic struct
 4 |
 5 | 	@ViewBuilder let iOS13: (CGSize?, @escaping (CGSize?) -> Void) -> IOS13
   :
12 | 	@State private var expectedSize: CGSize?
13 |
14 | 	var body: some View {
   |      `- note: add @available attribute to enclosing property
15 | 		if #available(iOS 16.0, tvOS 16.0, *), uiKitViewWrapperPolicy == .upToIOS16 {
   |                                                                               |- error: 'buildEither(first:)' is only available in macOS 10.15 or newer
   |                                                                               `- note: add 'if #available' version check
16 | 			iOS16
17 | 				.fixedFrame(
/Users/admin/builder/spi-builder-workspace/Sources/UIKitViews/AnyUIRepresentableWrapper.swift:23:5: error: setter for 'size' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct AnyUIRepresentableWrapper<IOS13: View, IOS16: View>: View {
   |        `- note: add @available attribute to enclosing generic struct
 4 |
 5 | 	@ViewBuilder let iOS13: (CGSize?, @escaping (CGSize?) -> Void) -> IOS13
   :
12 | 	@State private var expectedSize: CGSize?
13 |
14 | 	var body: some View {
   |      `- note: add @available attribute to enclosing property
15 | 		if #available(iOS 16.0, tvOS 16.0, *), uiKitViewWrapperPolicy == .upToIOS16 {
16 | 			iOS16
   :
21 | 		} else {
22 | 			iOS13(expectedSize) {
23 | 				size = $0
   |     |- error: setter for 'size' is only available in macOS 10.15 or newer
   |     `- note: add 'if #available' version check
24 | 			}
25 | 			.fixedSize(
/Users/admin/builder/spi-builder-workspace/Sources/UIKitViews/AnyUIRepresentableWrapper.swift:25:5: error: 'fixedSize(horizontal:vertical:)' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct AnyUIRepresentableWrapper<IOS13: View, IOS16: View>: View {
   |        `- note: add @available attribute to enclosing generic struct
 4 |
 5 | 	@ViewBuilder let iOS13: (CGSize?, @escaping (CGSize?) -> Void) -> IOS13
   :
12 | 	@State private var expectedSize: CGSize?
13 |
14 | 	var body: some View {
   |      `- note: add @available attribute to enclosing property
15 | 		if #available(iOS 16.0, tvOS 16.0, *), uiKitViewWrapperPolicy == .upToIOS16 {
16 | 			iOS16
   :
23 | 				size = $0
24 | 			}
25 | 			.fixedSize(
   |     |- error: 'fixedSize(horizontal:vertical:)' is only available in macOS 10.15 or newer
   |     `- note: add 'if #available' version check
26 | 				horizontal: selfSizedAxis.contains(.horizontal),
27 | 				vertical: selfSizedAxis.contains(.vertical)
/Users/admin/builder/spi-builder-workspace/Sources/UIKitViews/AnyUIRepresentableWrapper.swift:29:5: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct AnyUIRepresentableWrapper<IOS13: View, IOS16: View>: View {
   |        `- note: add @available attribute to enclosing generic struct
 4 |
 5 | 	@ViewBuilder let iOS13: (CGSize?, @escaping (CGSize?) -> Void) -> IOS13
   :
12 | 	@State private var expectedSize: CGSize?
13 |
14 | 	var body: some View {
   |      `- note: add @available attribute to enclosing property
15 | 		if #available(iOS 16.0, tvOS 16.0, *), uiKitViewWrapperPolicy == .upToIOS16 {
16 | 			iOS16
   :
27 | 				vertical: selfSizedAxis.contains(.vertical)
28 | 			)
29 | 			.frame(
   |     |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
   |     `- note: add 'if #available' version check
30 | 				width: idealWidth,
31 | 				height: idealHeight
/Users/admin/builder/spi-builder-workspace/Sources/UIKitViews/AnyUIRepresentableWrapper.swift:34:5: error: 'overlay(_:alignment:)' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct AnyUIRepresentableWrapper<IOS13: View, IOS16: View>: View {
   |        `- note: add @available attribute to enclosing generic struct
 4 |
 5 | 	@ViewBuilder let iOS13: (CGSize?, @escaping (CGSize?) -> Void) -> IOS13
   :
12 | 	@State private var expectedSize: CGSize?
13 |
14 | 	var body: some View {
   |      `- note: add @available attribute to enclosing property
15 | 		if #available(iOS 16.0, tvOS 16.0, *), uiKitViewWrapperPolicy == .upToIOS16 {
16 | 			iOS16
   :
32 | 			)
33 | 			.fixedFrame(for: selfSizedAxis, alignment: uiKitViewContentMode.alignment)
34 | 			.overlay(
   |     |- error: 'overlay(_:alignment:)' is only available in macOS 10.15 or newer
   |     `- note: add 'if #available' version check
35 | 				ZStack {
36 | 					GeometryReader { proxy in
/Users/admin/builder/spi-builder-workspace/Sources/UIKitViews/AnyUIRepresentableWrapper.swift:35:5: error: 'ZStack' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct AnyUIRepresentableWrapper<IOS13: View, IOS16: View>: View {
   |        `- note: add @available attribute to enclosing generic struct
 4 |
 5 | 	@ViewBuilder let iOS13: (CGSize?, @escaping (CGSize?) -> Void) -> IOS13
   :
12 | 	@State private var expectedSize: CGSize?
13 |
14 | 	var body: some View {
   |      `- note: add @available attribute to enclosing property
15 | 		if #available(iOS 16.0, tvOS 16.0, *), uiKitViewWrapperPolicy == .upToIOS16 {
16 | 			iOS16
   :
33 | 			.fixedFrame(for: selfSizedAxis, alignment: uiKitViewContentMode.alignment)
34 | 			.overlay(
35 | 				ZStack {
   |     |- error: 'ZStack' is only available in macOS 10.15 or newer
   |     `- note: add 'if #available' version check
36 | 					GeometryReader { proxy in
37 | 						Color.clear
/Users/admin/builder/spi-builder-workspace/Sources/UIKitViews/AnyUIRepresentableWrapper.swift:36:6: error: 'GeometryReader' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct AnyUIRepresentableWrapper<IOS13: View, IOS16: View>: View {
   |        `- note: add @available attribute to enclosing generic struct
 4 |
 5 | 	@ViewBuilder let iOS13: (CGSize?, @escaping (CGSize?) -> Void) -> IOS13
   :
12 | 	@State private var expectedSize: CGSize?
13 |
14 | 	var body: some View {
   |      `- note: add @available attribute to enclosing property
15 | 		if #available(iOS 16.0, tvOS 16.0, *), uiKitViewWrapperPolicy == .upToIOS16 {
16 | 			iOS16
   :
34 | 			.overlay(
35 | 				ZStack {
36 | 					GeometryReader { proxy in
   |      |- error: 'GeometryReader' is only available in macOS 10.15 or newer
   |      `- note: add 'if #available' version check
37 | 						Color.clear
38 | 							.preference(key: SizeKey.self, value: proxy.size)
/Users/admin/builder/spi-builder-workspace/Sources/UIKitViews/AnyUIRepresentableWrapper.swift:37:7: error: 'Color' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct AnyUIRepresentableWrapper<IOS13: View, IOS16: View>: View {
   |        `- note: add @available attribute to enclosing generic struct
 4 |
 5 | 	@ViewBuilder let iOS13: (CGSize?, @escaping (CGSize?) -> Void) -> IOS13
   :
12 | 	@State private var expectedSize: CGSize?
13 |
14 | 	var body: some View {
   |      `- note: add @available attribute to enclosing property
15 | 		if #available(iOS 16.0, tvOS 16.0, *), uiKitViewWrapperPolicy == .upToIOS16 {
16 | 			iOS16
   :
35 | 				ZStack {
36 | 					GeometryReader { proxy in
37 | 						Color.clear
   |       |- error: 'Color' is only available in macOS 10.15 or newer
   |       `- note: add 'if #available' version check
38 | 							.preference(key: SizeKey.self, value: proxy.size)
39 | 					}
/Users/admin/builder/spi-builder-workspace/Sources/UIKitViews/AnyUIRepresentableWrapper.swift:37:13: error: 'clear' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct AnyUIRepresentableWrapper<IOS13: View, IOS16: View>: View {
   |        `- note: add @available attribute to enclosing generic struct
 4 |
 5 | 	@ViewBuilder let iOS13: (CGSize?, @escaping (CGSize?) -> Void) -> IOS13
   :
12 | 	@State private var expectedSize: CGSize?
13 |
14 | 	var body: some View {
   |      `- note: add @available attribute to enclosing property
15 | 		if #available(iOS 16.0, tvOS 16.0, *), uiKitViewWrapperPolicy == .upToIOS16 {
16 | 			iOS16
   :
35 | 				ZStack {
36 | 					GeometryReader { proxy in
37 | 						Color.clear
   |             |- error: 'clear' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
38 | 							.preference(key: SizeKey.self, value: proxy.size)
39 | 					}
/Users/admin/builder/spi-builder-workspace/Sources/UIKitViews/AnyUIRepresentableWrapper.swift:38:9: error: 'preference(key:value:)' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct AnyUIRepresentableWrapper<IOS13: View, IOS16: View>: View {
   |        `- note: add @available attribute to enclosing generic struct
 4 |
 5 | 	@ViewBuilder let iOS13: (CGSize?, @escaping (CGSize?) -> Void) -> IOS13
   :
12 | 	@State private var expectedSize: CGSize?
13 |
14 | 	var body: some View {
   |      `- note: add @available attribute to enclosing property
15 | 		if #available(iOS 16.0, tvOS 16.0, *), uiKitViewWrapperPolicy == .upToIOS16 {
16 | 			iOS16
   :
36 | 					GeometryReader { proxy in
37 | 						Color.clear
38 | 							.preference(key: SizeKey.self, value: proxy.size)
   |         |- error: 'preference(key:value:)' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
39 | 					}
40 | 				}
/Users/admin/builder/spi-builder-workspace/Sources/UIKitViews/AnyUIRepresentableWrapper.swift:41:6: error: 'allowsHitTesting' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct AnyUIRepresentableWrapper<IOS13: View, IOS16: View>: View {
   |        `- note: add @available attribute to enclosing generic struct
 4 |
 5 | 	@ViewBuilder let iOS13: (CGSize?, @escaping (CGSize?) -> Void) -> IOS13
   :
12 | 	@State private var expectedSize: CGSize?
13 |
14 | 	var body: some View {
   |      `- note: add @available attribute to enclosing property
15 | 		if #available(iOS 16.0, tvOS 16.0, *), uiKitViewWrapperPolicy == .upToIOS16 {
16 | 			iOS16
   :
39 | 					}
40 | 				}
41 | 				.allowsHitTesting(false)
   |      |- error: 'allowsHitTesting' is only available in macOS 10.15 or newer
   |      `- note: add 'if #available' version check
42 | 			)
43 | 			.onPreferenceChange(SizeKey.self) { newValue in
/Users/admin/builder/spi-builder-workspace/Sources/UIKitViews/AnyUIRepresentableWrapper.swift:43:5: error: 'onPreferenceChange(_:perform:)' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct AnyUIRepresentableWrapper<IOS13: View, IOS16: View>: View {
   |        `- note: add @available attribute to enclosing generic struct
 4 |
 5 | 	@ViewBuilder let iOS13: (CGSize?, @escaping (CGSize?) -> Void) -> IOS13
   :
12 | 	@State private var expectedSize: CGSize?
13 |
14 | 	var body: some View {
   |      `- note: add @available attribute to enclosing property
15 | 		if #available(iOS 16.0, tvOS 16.0, *), uiKitViewWrapperPolicy == .upToIOS16 {
16 | 			iOS16
   :
41 | 				.allowsHitTesting(false)
42 | 			)
43 | 			.onPreferenceChange(SizeKey.self) { newValue in
   |     |- error: 'onPreferenceChange(_:perform:)' is only available in macOS 10.15 or newer
   |     `- note: add 'if #available' version check
44 | 				expectedSize = newValue
45 | 			}
/Users/admin/builder/spi-builder-workspace/Sources/UIKitViews/AnyUIRepresentableWrapper.swift:44:5: error: setter for 'expectedSize' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct AnyUIRepresentableWrapper<IOS13: View, IOS16: View>: View {
   |        `- note: add @available attribute to enclosing generic struct
 4 |
 5 | 	@ViewBuilder let iOS13: (CGSize?, @escaping (CGSize?) -> Void) -> IOS13
   :
12 | 	@State private var expectedSize: CGSize?
13 |
14 | 	var body: some View {
   |      `- note: add @available attribute to enclosing property
15 | 		if #available(iOS 16.0, tvOS 16.0, *), uiKitViewWrapperPolicy == .upToIOS16 {
16 | 			iOS16
   :
42 | 			)
43 | 			.onPreferenceChange(SizeKey.self) { newValue in
44 | 				expectedSize = newValue
   |     |- error: setter for 'expectedSize' is only available in macOS 10.15 or newer
   |     `- note: add 'if #available' version check
45 | 			}
46 | 		}
/Users/admin/builder/spi-builder-workspace/Sources/UIKitViews/AnyUIRepresentableWrapper.swift:21:10: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct AnyUIRepresentableWrapper<IOS13: View, IOS16: View>: View {
   |        `- note: add @available attribute to enclosing generic struct
 4 |
 5 | 	@ViewBuilder let iOS13: (CGSize?, @escaping (CGSize?) -> Void) -> IOS13
   :
12 | 	@State private var expectedSize: CGSize?
13 |
14 | 	var body: some View {
   |      `- note: add @available attribute to enclosing property
15 | 		if #available(iOS 16.0, tvOS 16.0, *), uiKitViewWrapperPolicy == .upToIOS16 {
16 | 			iOS16
   :
19 | 					alignment: uiKitViewContentMode.alignment
20 | 				)
21 | 		} else {
   |          |- error: 'buildEither(second:)' is only available in macOS 10.15 or newer
   |          `- note: add 'if #available' version check
22 | 			iOS13(expectedSize) {
23 | 				size = $0
/Users/admin/builder/spi-builder-workspace/Sources/UIKitViews/AnyUIRepresentableWrapper.swift:14:22: warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 1 | import SwiftUI
 2 |
 3 | struct AnyUIRepresentableWrapper<IOS13: View, IOS16: View>: View {
   |        `- note: add @available attribute to enclosing generic struct
 4 |
 5 | 	@ViewBuilder let iOS13: (CGSize?, @escaping (CGSize?) -> Void) -> IOS13
   :
12 | 	@State private var expectedSize: CGSize?
13 |
14 | 	var body: some View {
   |      |               |- warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
   |      |               `- note: add 'if #available' version check
   |      `- note: add @available attribute to enclosing property
15 | 		if #available(iOS 16.0, tvOS 16.0, *), uiKitViewWrapperPolicy == .upToIOS16 {
16 | 			iOS16
/Users/admin/builder/spi-builder-workspace/Sources/UIKitViews/AnyUIRepresentableWrapper.swift:61:3: error: 'frame(minWidth:idealWidth:maxWidth:minHeight:idealHeight:maxHeight:alignment:)' is only available in macOS 10.15 or newer
56 | }
57 |
58 | private extension View {
   |         `- note: add @available attribute to enclosing extension
59 |
60 | 	func fixedFrame(for selfSizedAxis: Axis.Set, alignment: Alignment) -> some View {
   |       `- note: add @available attribute to enclosing instance method
61 | 		frame(
   |   |- error: 'frame(minWidth:idealWidth:maxWidth:minHeight:idealHeight:maxHeight:alignment:)' is only available in macOS 10.15 or newer
   |   `- note: add 'if #available' version check
62 | 			minWidth: !selfSizedAxis.contains(.horizontal) ? 0 : nil,
63 | 			maxWidth: !selfSizedAxis.contains(.horizontal) ? .infinity : nil,
/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:11:24: error: 'View' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | public struct AnyUIViewControllerRepresentable<Content: UIViewController>: UIKitRepresentable {
   |               `- note: add @available attribute to enclosing generic struct
 4 |
 5 | 	let make: () -> Content
   :
 9 | 	}
10 |
11 | 	public var body: some View {
   |             |          `- error: 'View' is only available in macOS 10.15 or newer
   |             `- note: add @available attribute to enclosing property
12 | 		AnyUIRepresentableWrapper {
13 | 			AnyUIViewControllerRepresentableIOS13(make: make, updater: updater, expectedSize: $0, updateSize: $1)
/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:24:3: error: 'Environment' is only available in macOS 10.15 or newer
18 | }
19 |
20 | private struct AnyUIViewControllerRepresentableIOS16<Content: UIViewController>: UIViewControllerRepresentable {
   |                `- note: add @available attribute to enclosing generic struct
21 |
22 | 	let make: () -> Content
23 | 	public var updater: (Content, UIKitRepresentableContext) -> Void = { _, _ in }
24 | 	@Environment(\.uiKitViewFixedSize) private var selfSizedAxis
   |   `- error: 'Environment' is only available in macOS 10.15 or newer
25 | 	@Environment(\.uiKitViewContentMode) private var uiKitViewContentMode
26 |
/Users/admin/builder/spi-builder-workspace/Sources/UIKitViews/AnyUIViewControllerRepresentable.swift:25:3: error: 'Environment' is only available in macOS 10.15 or newer
18 | }
19 |
20 | private struct AnyUIViewControllerRepresentableIOS16<Content: UIViewController>: UIViewControllerRepresentable {
   |                `- note: add @available attribute to enclosing generic struct
21 |
22 | 	let make: () -> Content
23 | 	public var updater: (Content, UIKitRepresentableContext) -> Void = { _, _ in }
24 | 	@Environment(\.uiKitViewFixedSize) private var selfSizedAxis
25 | 	@Environment(\.uiKitViewContentMode) private var uiKitViewContentMode
   |   `- error: 'Environment' is only available in macOS 10.15 or newer
26 |
27 | 	func makeUIViewController(context: Context) -> 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/AnyUIViewControllerRepresentable.swift:47:3: error: 'Environment' is only available in macOS 10.15 or newer
39 | }
40 |
41 | private struct AnyUIViewControllerRepresentableIOS13<Content: UIViewController>: UIViewControllerRepresentable {
   |                `- note: add @available attribute to enclosing generic struct
42 |
43 | 	let make: () -> Content
   :
45 | 	let expectedSize: CGSize?
46 | 	let updateSize: (CGSize?) -> Void
47 | 	@Environment(\.uiKitViewFixedSize) private var selfSizedAxis
   |   `- error: 'Environment' is only available in macOS 10.15 or newer
48 | 	@Environment(\.uiKitViewContentMode) private var uiKitViewContentMode
49 |
/Users/admin/builder/spi-builder-workspace/Sources/UIKitViews/AnyUIViewControllerRepresentable.swift:48:3: error: 'Environment' is only available in macOS 10.15 or newer
39 | }
40 |
41 | private struct AnyUIViewControllerRepresentableIOS13<Content: UIViewController>: UIViewControllerRepresentable {
   |                `- note: add @available attribute to enclosing generic struct
42 |
43 | 	let make: () -> Content
   :
46 | 	let updateSize: (CGSize?) -> Void
47 | 	@Environment(\.uiKitViewFixedSize) private var selfSizedAxis
48 | 	@Environment(\.uiKitViewContentMode) private var uiKitViewContentMode
   |   `- error: 'Environment' is only available in macOS 10.15 or newer
49 |
50 | 	func makeUIViewController(context: Context) -> UIKitViewControllerWrapper<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/AnyUIViewControllerRepresentable.swift:13:4: error: 'buildExpression' is unavailable: this expression does not conform to 'View'
11 | 	public var body: some View {
12 | 		AnyUIRepresentableWrapper {
13 | 			AnyUIViewControllerRepresentableIOS13(make: make, updater: updater, expectedSize: $0, updateSize: $1)
   |    `- error: 'buildExpression' is unavailable: this expression does not conform to 'View'
14 | 		} iOS16: {
15 | 			AnyUIViewControllerRepresentableIOS16(make: make, updater: updater)
SwiftUICore.ViewBuilder.buildExpression:3:22: note: 'buildExpression' has been explicitly marked unavailable here
1 | struct ViewBuilder {
2 | @available(*, unavailable, message: "this expression does not conform to 'View'")
3 |   public static func buildExpression(_ invalid: Any) -> some View
  |                      `- note: 'buildExpression' has been explicitly marked unavailable here
4 |   }
5 |
/Users/admin/builder/spi-builder-workspace/Sources/UIKitViews/AnyUIViewControllerRepresentable.swift:15:4: error: 'buildExpression' is unavailable: this expression does not conform to 'View'
13 | 			AnyUIViewControllerRepresentableIOS13(make: make, updater: updater, expectedSize: $0, updateSize: $1)
14 | 		} iOS16: {
15 | 			AnyUIViewControllerRepresentableIOS16(make: make, updater: updater)
   |    `- error: 'buildExpression' is unavailable: this expression does not conform to 'View'
16 | 		}
17 | 	}
SwiftUICore.ViewBuilder.buildExpression:3:22: note: 'buildExpression' has been explicitly marked unavailable here
1 | struct ViewBuilder {
2 | @available(*, unavailable, message: "this expression does not conform to 'View'")
3 |   public static func buildExpression(_ invalid: Any) -> some View
  |                      `- note: 'buildExpression' has been explicitly marked unavailable here
4 |   }
5 |
/Users/admin/builder/spi-builder-workspace/Sources/UIKitViews/AnyUIViewControllerRepresentable.swift:37:20: error: value of type 'Content' has no member 'view'
35 | 	@available(iOS 16.0, tvOS 16.0, *)
36 | 	func sizeThatFits(_ proposal: ProposedViewSize, uiViewController: Content, context: Context) -> CGSize? {
37 | 		uiViewController.view.fittingSizeFor(size: proposal, dimensions: selfSizedAxis, contentMode: uiKitViewContentMode)
   |                    `- error: value of type 'Content' has no member 'view'
38 | 	}
39 | }
/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/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) {
BUILD FAILURE 6.1 macosSpm