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 VDLayout, reference main (1b3ea6), with Swift 6.1 for macOS (SPM) on 29 Apr 2025 02:18:58 UTC.

Build Command

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

Build Log

 20 | 		transformEnvironment(\.uiKitView) {
 21 | 			$0.set(keyPath: keyPath, value: value)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/UIKitViews/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/.build/checkouts/UIKitViews/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/.build/checkouts/UIKitViews/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/.build/checkouts/UIKitViews/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/.build/checkouts/UIKitViews/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/.build/checkouts/UIKitViews/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/.build/checkouts/UIKitViews/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/.build/checkouts/UIKitViews/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/.build/checkouts/UIKitViews/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/.build/checkouts/UIKitViews/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/.build/checkouts/UIKitViews/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/.build/checkouts/UIKitViews/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/.build/checkouts/UIKitViews/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/.build/checkouts/UIKitViews/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/.build/checkouts/UIKitViews/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/.build/checkouts/UIKitViews/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/.build/checkouts/UIKitViews/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/.build/checkouts/UIKitViews/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/.build/checkouts/UIKitViews/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/.build/checkouts/UIKitViews/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/.build/checkouts/UIKitViews/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/.build/checkouts/UIKitViews/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/.build/checkouts/UIKitViews/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/.build/checkouts/UIKitViews/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/.build/checkouts/UIKitViews/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/.build/checkouts/UIKitViews/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/.build/checkouts/UIKitViews/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/.build/checkouts/UIKitViews/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/.build/checkouts/UIKitViews/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/.build/checkouts/UIKitViews/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/.build/checkouts/UIKitViews/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/.build/checkouts/UIKitViews/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/.build/checkouts/UIKitViews/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/.build/checkouts/UIKitViews/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/.build/checkouts/UIKitViews/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/.build/checkouts/UIKitViews/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/.build/checkouts/UIKitViews/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/.build/checkouts/UIKitViews/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/.build/checkouts/UIKitViews/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/.build/checkouts/UIKitViews/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/.build/checkouts/UIKitViews/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/.build/checkouts/UIKitViews/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/.build/checkouts/UIKitViews/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/.build/checkouts/UIKitViews/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/.build/checkouts/UIKitViews/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/.build/checkouts/UIKitViews/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/.build/checkouts/UIKitViews/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/.build/checkouts/UIKitViews/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/.build/checkouts/UIKitViews/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/.build/checkouts/UIKitViews/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/.build/checkouts/UIKitViews/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/.build/checkouts/UIKitViews/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/.build/checkouts/UIKitViews/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/.build/checkouts/UIKitViews/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/.build/checkouts/UIKitViews/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/.build/checkouts/UIKitViews/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/.build/checkouts/UIKitViews/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/.build/checkouts/UIKitViews/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/.build/checkouts/UIKitViews/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/.build/checkouts/UIKitViews/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/.build/checkouts/UIKitViews/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/.build/checkouts/UIKitViews/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/.build/checkouts/UIKitViews/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/.build/checkouts/UIKitViews/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/.build/checkouts/UIKitViews/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? {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/UIKitViews/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/.build/checkouts/UIKitViews/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/.build/checkouts/UIKitViews/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/.build/checkouts/UIKitViews/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/.build/checkouts/UIKitViews/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/.build/checkouts/UIKitViews/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/.build/checkouts/UIKitViews/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/.build/checkouts/UIKitViews/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/.build/checkouts/UIKitViews/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/.build/checkouts/UIKitViews/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/.build/checkouts/UIKitViews/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/.build/checkouts/UIKitViews/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/.build/checkouts/UIKitViews/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/.build/checkouts/UIKitViews/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/.build/checkouts/UIKitViews/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/.build/checkouts/UIKitViews/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/.build/checkouts/UIKitViews/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/.build/checkouts/UIKitViews/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/.build/checkouts/UIKitViews/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/.build/checkouts/UIKitViews/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/.build/checkouts/UIKitViews/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/.build/checkouts/UIKitViews/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/.build/checkouts/UIKitViews/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/.build/checkouts/UIKitViews/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/.build/checkouts/UIKitViews/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/.build/checkouts/UIKitViews/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/.build/checkouts/UIKitViews/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/.build/checkouts/UIKitViews/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/.build/checkouts/UIKitViews/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/.build/checkouts/UIKitViews/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/.build/checkouts/UIKitViews/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/.build/checkouts/UIKitViews/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/.build/checkouts/UIKitViews/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/.build/checkouts/UIKitViews/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/.build/checkouts/UIKitViews/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/.build/checkouts/UIKitViews/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/.build/checkouts/UIKitViews/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/.build/checkouts/UIKitViews/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/.build/checkouts/UIKitViews/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/.build/checkouts/UIKitViews/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/.build/checkouts/UIKitViews/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/.build/checkouts/UIKitViews/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/.build/checkouts/UIKitViews/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/.build/checkouts/UIKitViews/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/.build/checkouts/UIKitViews/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/.build/checkouts/UIKitViews/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/.build/checkouts/UIKitViews/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/.build/checkouts/UIKitViews/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/.build/checkouts/UIKitViews/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/.build/checkouts/UIKitViews/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/.build/checkouts/UIKitViews/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/.build/checkouts/UIKitViews/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/.build/checkouts/UIKitViews/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/.build/checkouts/UIKitViews/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/.build/checkouts/UIKitViews/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/.build/checkouts/UIKitViews/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/.build/checkouts/UIKitViews/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/.build/checkouts/UIKitViews/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/.build/checkouts/UIKitViews/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/.build/checkouts/UIKitViews/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/.build/checkouts/UIKitViews/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/.build/checkouts/UIKitViews/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/.build/checkouts/UIKitViews/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/.build/checkouts/UIKitViews/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/.build/checkouts/UIKitViews/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/.build/checkouts/UIKitViews/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/.build/checkouts/UIKitViews/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/.build/checkouts/UIKitViews/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/.build/checkouts/UIKitViews/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/.build/checkouts/UIKitViews/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/.build/checkouts/UIKitViews/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/.build/checkouts/UIKitViews/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/.build/checkouts/UIKitViews/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/.build/checkouts/UIKitViews/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/.build/checkouts/UIKitViews/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/.build/checkouts/UIKitViews/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/.build/checkouts/UIKitViews/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/.build/checkouts/UIKitViews/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/.build/checkouts/UIKitViews/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/.build/checkouts/UIKitViews/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/.build/checkouts/UIKitViews/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/.build/checkouts/UIKitViews/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/.build/checkouts/UIKitViews/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/.build/checkouts/UIKitViews/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/.build/checkouts/UIKitViews/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/.build/checkouts/UIKitViews/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/.build/checkouts/UIKitViews/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/.build/checkouts/UIKitViews/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/.build/checkouts/UIKitViews/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/.build/checkouts/UIKitViews/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/.build/checkouts/UIKitViews/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/.build/checkouts/UIKitViews/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/.build/checkouts/UIKitViews/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/.build/checkouts/UIKitViews/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/.build/checkouts/UIKitViews/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/.build/checkouts/UIKitViews/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/.build/checkouts/UIKitViews/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/.build/checkouts/UIKitViews/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/.build/checkouts/UIKitViews/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/.build/checkouts/UIKitViews/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/.build/checkouts/UIKitViews/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/.build/checkouts/UIKitViews/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/.build/checkouts/UIKitViews/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/.build/checkouts/UIKitViews/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/.build/checkouts/UIKitViews/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/.build/checkouts/UIKitViews/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/.build/checkouts/UIKitViews/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/.build/checkouts/UIKitViews/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/.build/checkouts/UIKitViews/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/.build/checkouts/UIKitViews/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/.build/checkouts/UIKitViews/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/.build/checkouts/UIKitViews/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/.build/checkouts/UIKitViews/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/.build/checkouts/UIKitViews/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/.build/checkouts/UIKitViews/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/.build/checkouts/UIKitViews/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/.build/checkouts/UIKitViews/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/.build/checkouts/UIKitViews/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/.build/checkouts/UIKitViews/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/.build/checkouts/UIKitViews/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/.build/checkouts/UIKitViews/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/.build/checkouts/UIKitViews/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/.build/checkouts/UIKitViews/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/.build/checkouts/UIKitViews/Sources/UIKitViews/AnyUIViewRepresentable.swift:14:4: error: 'buildExpression' is unavailable: this expression does not conform to 'View'
12 | 	public var body: some View {
13 | 		AnyUIRepresentableWrapper {
14 | 			AnyUIViewRepresentableIOS13(make: make, updater: updater, expectedSize: $0, updateSize: $1)
   |    `- error: 'buildExpression' is unavailable: this expression does not conform to 'View'
15 | 		} iOS16: {
16 | 			AnyUIViewRepresentableIOS16(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/.build/checkouts/UIKitViews/Sources/UIKitViews/AnyUIViewRepresentable.swift:16:4: error: 'buildExpression' is unavailable: this expression does not conform to 'View'
14 | 			AnyUIViewRepresentableIOS13(make: make, updater: updater, expectedSize: $0, updateSize: $1)
15 | 		} iOS16: {
16 | 			AnyUIViewRepresentableIOS16(make: make, updater: updater)
   |    `- error: 'buildExpression' is unavailable: this expression does not conform to 'View'
17 | 		}
18 | 	}
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/.build/checkouts/UIKitViews/Sources/UIKitViews/AnyUIViewRepresentable.swift:38:10: error: value of type 'Content' has no member 'fittingSizeFor'
36 | 	@available(iOS 16.0, tvOS 16.0, *)
37 | 	func sizeThatFits(_ proposal: ProposedViewSize, uiView: Content, context: Context) -> CGSize? {
38 | 		uiView.fittingSizeFor(size: proposal, dimensions: selfSizedAxis, contentMode: uiKitViewContentMode)
   |          `- error: value of type 'Content' has no member 'fittingSizeFor'
39 | 	}
40 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/UIKitViews/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/.build/checkouts/UIKitViews/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/.build/checkouts/UIKitViews/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/.build/checkouts/UIKitViews/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/.build/checkouts/UIKitViews/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/.build/checkouts/UIKitViews/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/.build/checkouts/UIKitViews/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/.build/checkouts/UIKitViews/Sources/UIKitViews/HostingView.swift:7:9: error: value of type 'HostingView<RootView>' has no dynamic member 'hostingController' using key path from root type 'RootView'
 5 |
 6 | 	open var rootView: RootView {
 7 | 		get { hostingController.rootView }
   |         `- error: value of type 'HostingView<RootView>' has no dynamic member 'hostingController' using key path from root type 'RootView'
 8 | 		set {
 9 | 			hostingController.rootView = newValue
/Users/admin/builder/spi-builder-workspace/.build/checkouts/UIKitViews/Sources/UIKitViews/HostingView.swift:9:4: error: value of type 'HostingView<RootView>' has no dynamic member 'hostingController' using key path from root type 'RootView'
 7 | 		get { hostingController.rootView }
 8 | 		set {
 9 | 			hostingController.rootView = newValue
   |    `- error: value of type 'HostingView<RootView>' has no dynamic member 'hostingController' using key path from root type 'RootView'
10 | 			hostingController.view.invalidateIntrinsicContentSize()
11 | 			invalidateIntrinsicContentSize()
/Users/admin/builder/spi-builder-workspace/.build/checkouts/UIKitViews/Sources/UIKitViews/HostingView.swift:10:4: error: value of type 'HostingView<RootView>' has no dynamic member 'hostingController' using key path from root type 'RootView'
 8 | 		set {
 9 | 			hostingController.rootView = newValue
10 | 			hostingController.view.invalidateIntrinsicContentSize()
   |    `- error: value of type 'HostingView<RootView>' has no dynamic member 'hostingController' using key path from root type 'RootView'
11 | 			invalidateIntrinsicContentSize()
12 | 		}
/Users/admin/builder/spi-builder-workspace/.build/checkouts/UIKitViews/Sources/UIKitViews/HostingView.swift:11:4: error: cannot find 'invalidateIntrinsicContentSize' in scope
 9 | 			hostingController.rootView = newValue
10 | 			hostingController.view.invalidateIntrinsicContentSize()
11 | 			invalidateIntrinsicContentSize()
   |    `- error: cannot find 'invalidateIntrinsicContentSize' in scope
12 | 		}
13 | 	}
/Users/admin/builder/spi-builder-workspace/.build/checkouts/UIKitViews/Sources/UIKitViews/HostingView.swift:16:3: error: value of type 'HostingView<RootView>' has no dynamic member 'hostingController' using key path from root type 'RootView'
14 |
15 | 	override open var intrinsicContentSize: CGSize {
16 | 		hostingController.view.intrinsicContentSize
   |   `- error: value of type 'HostingView<RootView>' has no dynamic member 'hostingController' using key path from root type 'RootView'
17 | 	}
18 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/UIKitViews/Sources/UIKitViews/HostingView.swift:22:3: error: value of type 'HostingView<RootView>' has no dynamic member 'hostingController' using key path from root type 'RootView'
20 |
21 | 	public init(_ rootView: RootView) {
22 | 		hostingController = SelfSizingHostingController(rootView: rootView)
   |   `- error: value of type 'HostingView<RootView>' has no dynamic member 'hostingController' using key path from root type 'RootView'
23 | 		super.init(frame: .zero)
24 | 		afterInit()
/Users/admin/builder/spi-builder-workspace/.build/checkouts/UIKitViews/Sources/UIKitViews/HostingView.swift:22:61: error: argument passed to call that takes no arguments
20 |
21 | 	public init(_ rootView: RootView) {
22 | 		hostingController = SelfSizingHostingController(rootView: rootView)
   |                                                             `- error: argument passed to call that takes no arguments
23 | 		super.init(frame: .zero)
24 | 		afterInit()
/Users/admin/builder/spi-builder-workspace/.build/checkouts/UIKitViews/Sources/UIKitViews/HostingView.swift:22:23: error: generic parameter 'Content' could not be inferred
20 |
21 | 	public init(_ rootView: RootView) {
22 | 		hostingController = SelfSizingHostingController(rootView: rootView)
   |                       |- error: generic parameter 'Content' could not be inferred
   |                       `- note: explicitly specify the generic arguments to fix this issue
23 | 		super.init(frame: .zero)
24 | 		afterInit()
/Users/admin/builder/spi-builder-workspace/.build/checkouts/UIKitViews/Sources/UIKitViews/SelfSizingHostingController.swift:3:40: note: 'Content' declared as parameter to type 'SelfSizingHostingController'
 1 | import SwiftUI
 2 |
 3 | open class SelfSizingHostingController<Content>: UIHostingController<Content> where Content: View {
   |                                        `- note: 'Content' declared as parameter to type 'SelfSizingHostingController'
 4 |
 5 | 	private var wasLoad = false
/Users/admin/builder/spi-builder-workspace/.build/checkouts/UIKitViews/Sources/UIKitViews/HostingView.swift:23:3: error: 'super' cannot be used in class 'HostingView' because it has no superclass
21 | 	public init(_ rootView: RootView) {
22 | 		hostingController = SelfSizingHostingController(rootView: rootView)
23 | 		super.init(frame: .zero)
   |   `- error: 'super' cannot be used in class 'HostingView' because it has no superclass
24 | 		afterInit()
25 | 	}
/Users/admin/builder/spi-builder-workspace/.build/checkouts/UIKitViews/Sources/UIKitViews/HostingView.swift:23:22: error: cannot infer contextual base in reference to member 'zero'
21 | 	public init(_ rootView: RootView) {
22 | 		hostingController = SelfSizingHostingController(rootView: rootView)
23 | 		super.init(frame: .zero)
   |                      `- error: cannot infer contextual base in reference to member 'zero'
24 | 		afterInit()
25 | 	}
/Users/admin/builder/spi-builder-workspace/.build/checkouts/UIKitViews/Sources/UIKitViews/HostingView.swift:46:3: error: cannot find 'addSubview' in scope
44 |
45 | 	private func afterInit() {
46 | 		addSubview(hostingController.view)
   |   `- error: cannot find 'addSubview' in scope
47 | 		hostingController.view.backgroundColor = .clear
48 | 		hostingController.view.translatesAutoresizingMaskIntoConstraints = false
/Users/admin/builder/spi-builder-workspace/.build/checkouts/UIKitViews/Sources/UIKitViews/HostingView.swift:46:14: error: value of type 'HostingView<RootView>' has no dynamic member 'hostingController' using key path from root type 'RootView'
44 |
45 | 	private func afterInit() {
46 | 		addSubview(hostingController.view)
   |              `- error: value of type 'HostingView<RootView>' has no dynamic member 'hostingController' using key path from root type 'RootView'
47 | 		hostingController.view.backgroundColor = .clear
48 | 		hostingController.view.translatesAutoresizingMaskIntoConstraints = false
/Users/admin/builder/spi-builder-workspace/.build/checkouts/UIKitViews/Sources/UIKitViews/HostingView.swift:47:3: error: value of type 'HostingView<RootView>' has no dynamic member 'hostingController' using key path from root type 'RootView'
45 | 	private func afterInit() {
46 | 		addSubview(hostingController.view)
47 | 		hostingController.view.backgroundColor = .clear
   |   `- error: value of type 'HostingView<RootView>' has no dynamic member 'hostingController' using key path from root type 'RootView'
48 | 		hostingController.view.translatesAutoresizingMaskIntoConstraints = false
49 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/UIKitViews/Sources/UIKitViews/HostingView.swift:47:45: error: cannot infer contextual base in reference to member 'clear'
45 | 	private func afterInit() {
46 | 		addSubview(hostingController.view)
47 | 		hostingController.view.backgroundColor = .clear
   |                                             `- error: cannot infer contextual base in reference to member 'clear'
48 | 		hostingController.view.translatesAutoresizingMaskIntoConstraints = false
49 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/UIKitViews/Sources/UIKitViews/HostingView.swift:48:3: error: value of type 'HostingView<RootView>' has no dynamic member 'hostingController' using key path from root type 'RootView'
46 | 		addSubview(hostingController.view)
47 | 		hostingController.view.backgroundColor = .clear
48 | 		hostingController.view.translatesAutoresizingMaskIntoConstraints = false
   |   `- error: value of type 'HostingView<RootView>' has no dynamic member 'hostingController' using key path from root type 'RootView'
49 |
50 | 		hostingController.view.leadingAnchor.constraint(equalTo: leadingAnchor).isActive = true
/Users/admin/builder/spi-builder-workspace/.build/checkouts/UIKitViews/Sources/UIKitViews/HostingView.swift:50:60: error: cannot find 'leadingAnchor' in scope
48 | 		hostingController.view.translatesAutoresizingMaskIntoConstraints = false
49 |
50 | 		hostingController.view.leadingAnchor.constraint(equalTo: leadingAnchor).isActive = true
   |                                                            `- error: cannot find 'leadingAnchor' in scope
51 | 		hostingController.view.trailingAnchor.constraint(equalTo: trailingAnchor).isActive = true
52 | 		hostingController.view.topAnchor.constraint(equalTo: topAnchor).isActive = true
/Users/admin/builder/spi-builder-workspace/.build/checkouts/UIKitViews/Sources/UIKitViews/HostingView.swift:50:3: error: value of type 'HostingView<RootView>' has no dynamic member 'hostingController' using key path from root type 'RootView'
48 | 		hostingController.view.translatesAutoresizingMaskIntoConstraints = false
49 |
50 | 		hostingController.view.leadingAnchor.constraint(equalTo: leadingAnchor).isActive = true
   |   `- error: value of type 'HostingView<RootView>' has no dynamic member 'hostingController' using key path from root type 'RootView'
51 | 		hostingController.view.trailingAnchor.constraint(equalTo: trailingAnchor).isActive = true
52 | 		hostingController.view.topAnchor.constraint(equalTo: topAnchor).isActive = true
/Users/admin/builder/spi-builder-workspace/.build/checkouts/UIKitViews/Sources/UIKitViews/HostingView.swift:51:61: error: cannot find 'trailingAnchor' in scope
49 |
50 | 		hostingController.view.leadingAnchor.constraint(equalTo: leadingAnchor).isActive = true
51 | 		hostingController.view.trailingAnchor.constraint(equalTo: trailingAnchor).isActive = true
   |                                                             `- error: cannot find 'trailingAnchor' in scope
52 | 		hostingController.view.topAnchor.constraint(equalTo: topAnchor).isActive = true
53 | 		hostingController.view.bottomAnchor.constraint(equalTo: bottomAnchor).isActive = true
/Users/admin/builder/spi-builder-workspace/.build/checkouts/UIKitViews/Sources/UIKitViews/HostingView.swift:51:3: error: value of type 'HostingView<RootView>' has no dynamic member 'hostingController' using key path from root type 'RootView'
49 |
50 | 		hostingController.view.leadingAnchor.constraint(equalTo: leadingAnchor).isActive = true
51 | 		hostingController.view.trailingAnchor.constraint(equalTo: trailingAnchor).isActive = true
   |   `- error: value of type 'HostingView<RootView>' has no dynamic member 'hostingController' using key path from root type 'RootView'
52 | 		hostingController.view.topAnchor.constraint(equalTo: topAnchor).isActive = true
53 | 		hostingController.view.bottomAnchor.constraint(equalTo: bottomAnchor).isActive = true
/Users/admin/builder/spi-builder-workspace/.build/checkouts/UIKitViews/Sources/UIKitViews/HostingView.swift:52:56: error: cannot find 'topAnchor' in scope
50 | 		hostingController.view.leadingAnchor.constraint(equalTo: leadingAnchor).isActive = true
51 | 		hostingController.view.trailingAnchor.constraint(equalTo: trailingAnchor).isActive = true
52 | 		hostingController.view.topAnchor.constraint(equalTo: topAnchor).isActive = true
   |                                                        `- error: cannot find 'topAnchor' in scope
53 | 		hostingController.view.bottomAnchor.constraint(equalTo: bottomAnchor).isActive = true
54 | 	}
/Users/admin/builder/spi-builder-workspace/.build/checkouts/UIKitViews/Sources/UIKitViews/HostingView.swift:52:3: error: value of type 'HostingView<RootView>' has no dynamic member 'hostingController' using key path from root type 'RootView'
50 | 		hostingController.view.leadingAnchor.constraint(equalTo: leadingAnchor).isActive = true
51 | 		hostingController.view.trailingAnchor.constraint(equalTo: trailingAnchor).isActive = true
52 | 		hostingController.view.topAnchor.constraint(equalTo: topAnchor).isActive = true
   |   `- error: value of type 'HostingView<RootView>' has no dynamic member 'hostingController' using key path from root type 'RootView'
53 | 		hostingController.view.bottomAnchor.constraint(equalTo: bottomAnchor).isActive = true
54 | 	}
/Users/admin/builder/spi-builder-workspace/.build/checkouts/UIKitViews/Sources/UIKitViews/HostingView.swift:53:59: error: cannot find 'bottomAnchor' in scope
51 | 		hostingController.view.trailingAnchor.constraint(equalTo: trailingAnchor).isActive = true
52 | 		hostingController.view.topAnchor.constraint(equalTo: topAnchor).isActive = true
53 | 		hostingController.view.bottomAnchor.constraint(equalTo: bottomAnchor).isActive = true
   |                                                           `- error: cannot find 'bottomAnchor' in scope
54 | 	}
55 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/UIKitViews/Sources/UIKitViews/HostingView.swift:53:3: error: value of type 'HostingView<RootView>' has no dynamic member 'hostingController' using key path from root type 'RootView'
51 | 		hostingController.view.trailingAnchor.constraint(equalTo: trailingAnchor).isActive = true
52 | 		hostingController.view.topAnchor.constraint(equalTo: topAnchor).isActive = true
53 | 		hostingController.view.bottomAnchor.constraint(equalTo: bottomAnchor).isActive = true
   |   `- error: value of type 'HostingView<RootView>' has no dynamic member 'hostingController' using key path from root type 'RootView'
54 | 	}
55 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/UIKitViews/Sources/UIKitViews/HostingView.swift:57:3: error: 'super' cannot be used in class 'HostingView' because it has no superclass
55 |
56 | 	override open func didMoveToWindow() {
57 | 		super.didMoveToWindow()
   |   `- error: 'super' cannot be used in class 'HostingView' because it has no superclass
58 | 		guard let controller else { return }
59 | 		hostingController.willMove(toParent: controller)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/UIKitViews/Sources/UIKitViews/HostingView.swift:58:13: error: cannot find 'controller' in scope
56 | 	override open func didMoveToWindow() {
57 | 		super.didMoveToWindow()
58 | 		guard let controller else { return }
   |             `- error: cannot find 'controller' in scope
59 | 		hostingController.willMove(toParent: controller)
60 | 		controller.addChild(hostingController)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/UIKitViews/Sources/UIKitViews/HostingView.swift:59:3: error: value of type 'HostingView<RootView>' has no dynamic member 'hostingController' using key path from root type 'RootView'
57 | 		super.didMoveToWindow()
58 | 		guard let controller else { return }
59 | 		hostingController.willMove(toParent: controller)
   |   `- error: value of type 'HostingView<RootView>' has no dynamic member 'hostingController' using key path from root type 'RootView'
60 | 		controller.addChild(hostingController)
61 | 	}
/Users/admin/builder/spi-builder-workspace/.build/checkouts/UIKitViews/Sources/UIKitViews/HostingView.swift:60:23: error: value of type 'HostingView<RootView>' has no dynamic member 'hostingController' using key path from root type 'RootView'
58 | 		guard let controller else { return }
59 | 		hostingController.willMove(toParent: controller)
60 | 		controller.addChild(hostingController)
   |                       `- error: value of type 'HostingView<RootView>' has no dynamic member 'hostingController' using key path from root type 'RootView'
61 | 	}
62 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/UIKitViews/Sources/UIKitViews/HostingView.swift:66:18: error: cannot find type 'UIViewController' in scope
64 | private extension UIView {
65 |
66 | 	var controller: UIViewController? {
   |                  `- error: cannot find type 'UIViewController' in scope
67 | 		(next as? UIViewController) ?? superview?.controller
68 | 	}
/Users/admin/builder/spi-builder-workspace/.build/checkouts/UIKitViews/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/.build/checkouts/UIKitViews/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/.build/checkouts/UIKitViews/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/.build/checkouts/UIKitViews/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/.build/checkouts/UIKitViews/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/.build/checkouts/UIKitViews/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/.build/checkouts/UIKitViews/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/.build/checkouts/UIKitViews/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/.build/checkouts/UIKitViews/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/.build/checkouts/UIKitViews/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/.build/checkouts/UIKitViews/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/.build/checkouts/UIKitViews/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/.build/checkouts/UIKitViews/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/.build/checkouts/UIKitViews/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/.build/checkouts/UIKitViews/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/.build/checkouts/UIKitViews/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/.build/checkouts/UIKitViews/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/.build/checkouts/UIKitViews/Sources/UIKitViews/AnyUIViewRepresentable.swift:14:4: error: 'buildExpression' is unavailable: this expression does not conform to 'View'
12 | 	public var body: some View {
13 | 		AnyUIRepresentableWrapper {
14 | 			AnyUIViewRepresentableIOS13(make: make, updater: updater, expectedSize: $0, updateSize: $1)
   |    `- error: 'buildExpression' is unavailable: this expression does not conform to 'View'
15 | 		} iOS16: {
16 | 			AnyUIViewRepresentableIOS16(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/.build/checkouts/UIKitViews/Sources/UIKitViews/AnyUIViewRepresentable.swift:16:4: error: 'buildExpression' is unavailable: this expression does not conform to 'View'
14 | 			AnyUIViewRepresentableIOS13(make: make, updater: updater, expectedSize: $0, updateSize: $1)
15 | 		} iOS16: {
16 | 			AnyUIViewRepresentableIOS16(make: make, updater: updater)
   |    `- error: 'buildExpression' is unavailable: this expression does not conform to 'View'
17 | 		}
18 | 	}
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/.build/checkouts/UIKitViews/Sources/UIKitViews/AnyUIViewRepresentable.swift:38:10: error: value of type 'Content' has no member 'fittingSizeFor'
36 | 	@available(iOS 16.0, tvOS 16.0, *)
37 | 	func sizeThatFits(_ proposal: ProposedViewSize, uiView: Content, context: Context) -> CGSize? {
38 | 		uiView.fittingSizeFor(size: proposal, dimensions: selfSizedAxis, contentMode: uiKitViewContentMode)
   |          `- error: value of type 'Content' has no member 'fittingSizeFor'
39 | 	}
40 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/UIKitViews/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/.build/checkouts/UIKitViews/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/.build/checkouts/UIKitViews/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/.build/checkouts/UIKitViews/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/.build/checkouts/UIKitViews/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/.build/checkouts/UIKitViews/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/.build/checkouts/UIKitViews/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/.build/checkouts/UIKitViews/Sources/UIKitViews/HostingView.swift:7:9: error: value of type 'HostingView<RootView>' has no dynamic member 'hostingController' using key path from root type 'RootView'
 5 |
 6 | 	open var rootView: RootView {
 7 | 		get { hostingController.rootView }
   |         `- error: value of type 'HostingView<RootView>' has no dynamic member 'hostingController' using key path from root type 'RootView'
 8 | 		set {
 9 | 			hostingController.rootView = newValue
/Users/admin/builder/spi-builder-workspace/.build/checkouts/UIKitViews/Sources/UIKitViews/HostingView.swift:9:4: error: value of type 'HostingView<RootView>' has no dynamic member 'hostingController' using key path from root type 'RootView'
 7 | 		get { hostingController.rootView }
 8 | 		set {
 9 | 			hostingController.rootView = newValue
   |    `- error: value of type 'HostingView<RootView>' has no dynamic member 'hostingController' using key path from root type 'RootView'
10 | 			hostingController.view.invalidateIntrinsicContentSize()
11 | 			invalidateIntrinsicContentSize()
/Users/admin/builder/spi-builder-workspace/.build/checkouts/UIKitViews/Sources/UIKitViews/HostingView.swift:10:4: error: value of type 'HostingView<RootView>' has no dynamic member 'hostingController' using key path from root type 'RootView'
 8 | 		set {
 9 | 			hostingController.rootView = newValue
10 | 			hostingController.view.invalidateIntrinsicContentSize()
   |    `- error: value of type 'HostingView<RootView>' has no dynamic member 'hostingController' using key path from root type 'RootView'
11 | 			invalidateIntrinsicContentSize()
12 | 		}
/Users/admin/builder/spi-builder-workspace/.build/checkouts/UIKitViews/Sources/UIKitViews/HostingView.swift:11:4: error: cannot find 'invalidateIntrinsicContentSize' in scope
 9 | 			hostingController.rootView = newValue
10 | 			hostingController.view.invalidateIntrinsicContentSize()
11 | 			invalidateIntrinsicContentSize()
   |    `- error: cannot find 'invalidateIntrinsicContentSize' in scope
12 | 		}
13 | 	}
/Users/admin/builder/spi-builder-workspace/.build/checkouts/UIKitViews/Sources/UIKitViews/HostingView.swift:16:3: error: value of type 'HostingView<RootView>' has no dynamic member 'hostingController' using key path from root type 'RootView'
14 |
15 | 	override open var intrinsicContentSize: CGSize {
16 | 		hostingController.view.intrinsicContentSize
   |   `- error: value of type 'HostingView<RootView>' has no dynamic member 'hostingController' using key path from root type 'RootView'
17 | 	}
18 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/UIKitViews/Sources/UIKitViews/HostingView.swift:22:3: error: value of type 'HostingView<RootView>' has no dynamic member 'hostingController' using key path from root type 'RootView'
20 |
21 | 	public init(_ rootView: RootView) {
22 | 		hostingController = SelfSizingHostingController(rootView: rootView)
   |   `- error: value of type 'HostingView<RootView>' has no dynamic member 'hostingController' using key path from root type 'RootView'
23 | 		super.init(frame: .zero)
24 | 		afterInit()
/Users/admin/builder/spi-builder-workspace/.build/checkouts/UIKitViews/Sources/UIKitViews/HostingView.swift:22:61: error: argument passed to call that takes no arguments
20 |
21 | 	public init(_ rootView: RootView) {
22 | 		hostingController = SelfSizingHostingController(rootView: rootView)
   |                                                             `- error: argument passed to call that takes no arguments
23 | 		super.init(frame: .zero)
24 | 		afterInit()
/Users/admin/builder/spi-builder-workspace/.build/checkouts/UIKitViews/Sources/UIKitViews/HostingView.swift:22:23: error: generic parameter 'Content' could not be inferred
20 |
21 | 	public init(_ rootView: RootView) {
22 | 		hostingController = SelfSizingHostingController(rootView: rootView)
   |                       |- error: generic parameter 'Content' could not be inferred
   |                       `- note: explicitly specify the generic arguments to fix this issue
23 | 		super.init(frame: .zero)
24 | 		afterInit()
/Users/admin/builder/spi-builder-workspace/.build/checkouts/UIKitViews/Sources/UIKitViews/SelfSizingHostingController.swift:3:40: note: 'Content' declared as parameter to type 'SelfSizingHostingController'
 1 | import SwiftUI
 2 |
 3 | open class SelfSizingHostingController<Content>: UIHostingController<Content> where Content: View {
   |                                        `- note: 'Content' declared as parameter to type 'SelfSizingHostingController'
 4 |
 5 | 	private var wasLoad = false
/Users/admin/builder/spi-builder-workspace/.build/checkouts/UIKitViews/Sources/UIKitViews/HostingView.swift:23:3: error: 'super' cannot be used in class 'HostingView' because it has no superclass
21 | 	public init(_ rootView: RootView) {
22 | 		hostingController = SelfSizingHostingController(rootView: rootView)
23 | 		super.init(frame: .zero)
   |   `- error: 'super' cannot be used in class 'HostingView' because it has no superclass
24 | 		afterInit()
25 | 	}
/Users/admin/builder/spi-builder-workspace/.build/checkouts/UIKitViews/Sources/UIKitViews/HostingView.swift:23:22: error: cannot infer contextual base in reference to member 'zero'
21 | 	public init(_ rootView: RootView) {
22 | 		hostingController = SelfSizingHostingController(rootView: rootView)
23 | 		super.init(frame: .zero)
   |                      `- error: cannot infer contextual base in reference to member 'zero'
24 | 		afterInit()
25 | 	}
/Users/admin/builder/spi-builder-workspace/.build/checkouts/UIKitViews/Sources/UIKitViews/HostingView.swift:46:3: error: cannot find 'addSubview' in scope
44 |
45 | 	private func afterInit() {
46 | 		addSubview(hostingController.view)
   |   `- error: cannot find 'addSubview' in scope
47 | 		hostingController.view.backgroundColor = .clear
48 | 		hostingController.view.translatesAutoresizingMaskIntoConstraints = false
/Users/admin/builder/spi-builder-workspace/.build/checkouts/UIKitViews/Sources/UIKitViews/HostingView.swift:46:14: error: value of type 'HostingView<RootView>' has no dynamic member 'hostingController' using key path from root type 'RootView'
44 |
45 | 	private func afterInit() {
46 | 		addSubview(hostingController.view)
   |              `- error: value of type 'HostingView<RootView>' has no dynamic member 'hostingController' using key path from root type 'RootView'
47 | 		hostingController.view.backgroundColor = .clear
48 | 		hostingController.view.translatesAutoresizingMaskIntoConstraints = false
/Users/admin/builder/spi-builder-workspace/.build/checkouts/UIKitViews/Sources/UIKitViews/HostingView.swift:47:3: error: value of type 'HostingView<RootView>' has no dynamic member 'hostingController' using key path from root type 'RootView'
45 | 	private func afterInit() {
46 | 		addSubview(hostingController.view)
47 | 		hostingController.view.backgroundColor = .clear
   |   `- error: value of type 'HostingView<RootView>' has no dynamic member 'hostingController' using key path from root type 'RootView'
48 | 		hostingController.view.translatesAutoresizingMaskIntoConstraints = false
49 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/UIKitViews/Sources/UIKitViews/HostingView.swift:47:45: error: cannot infer contextual base in reference to member 'clear'
45 | 	private func afterInit() {
46 | 		addSubview(hostingController.view)
47 | 		hostingController.view.backgroundColor = .clear
   |                                             `- error: cannot infer contextual base in reference to member 'clear'
48 | 		hostingController.view.translatesAutoresizingMaskIntoConstraints = false
49 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/UIKitViews/Sources/UIKitViews/HostingView.swift:48:3: error: value of type 'HostingView<RootView>' has no dynamic member 'hostingController' using key path from root type 'RootView'
46 | 		addSubview(hostingController.view)
47 | 		hostingController.view.backgroundColor = .clear
48 | 		hostingController.view.translatesAutoresizingMaskIntoConstraints = false
   |   `- error: value of type 'HostingView<RootView>' has no dynamic member 'hostingController' using key path from root type 'RootView'
49 |
50 | 		hostingController.view.leadingAnchor.constraint(equalTo: leadingAnchor).isActive = true
/Users/admin/builder/spi-builder-workspace/.build/checkouts/UIKitViews/Sources/UIKitViews/HostingView.swift:50:60: error: cannot find 'leadingAnchor' in scope
48 | 		hostingController.view.translatesAutoresizingMaskIntoConstraints = false
49 |
50 | 		hostingController.view.leadingAnchor.constraint(equalTo: leadingAnchor).isActive = true
   |                                                            `- error: cannot find 'leadingAnchor' in scope
51 | 		hostingController.view.trailingAnchor.constraint(equalTo: trailingAnchor).isActive = true
52 | 		hostingController.view.topAnchor.constraint(equalTo: topAnchor).isActive = true
/Users/admin/builder/spi-builder-workspace/.build/checkouts/UIKitViews/Sources/UIKitViews/HostingView.swift:50:3: error: value of type 'HostingView<RootView>' has no dynamic member 'hostingController' using key path from root type 'RootView'
48 | 		hostingController.view.translatesAutoresizingMaskIntoConstraints = false
49 |
50 | 		hostingController.view.leadingAnchor.constraint(equalTo: leadingAnchor).isActive = true
   |   `- error: value of type 'HostingView<RootView>' has no dynamic member 'hostingController' using key path from root type 'RootView'
51 | 		hostingController.view.trailingAnchor.constraint(equalTo: trailingAnchor).isActive = true
52 | 		hostingController.view.topAnchor.constraint(equalTo: topAnchor).isActive = true
/Users/admin/builder/spi-builder-workspace/.build/checkouts/UIKitViews/Sources/UIKitViews/HostingView.swift:51:61: error: cannot find 'trailingAnchor' in scope
49 |
50 | 		hostingController.view.leadingAnchor.constraint(equalTo: leadingAnchor).isActive = true
51 | 		hostingController.view.trailingAnchor.constraint(equalTo: trailingAnchor).isActive = true
   |                                                             `- error: cannot find 'trailingAnchor' in scope
52 | 		hostingController.view.topAnchor.constraint(equalTo: topAnchor).isActive = true
53 | 		hostingController.view.bottomAnchor.constraint(equalTo: bottomAnchor).isActive = true
/Users/admin/builder/spi-builder-workspace/.build/checkouts/UIKitViews/Sources/UIKitViews/HostingView.swift:51:3: error: value of type 'HostingView<RootView>' has no dynamic member 'hostingController' using key path from root type 'RootView'
49 |
50 | 		hostingController.view.leadingAnchor.constraint(equalTo: leadingAnchor).isActive = true
51 | 		hostingController.view.trailingAnchor.constraint(equalTo: trailingAnchor).isActive = true
   |   `- error: value of type 'HostingView<RootView>' has no dynamic member 'hostingController' using key path from root type 'RootView'
52 | 		hostingController.view.topAnchor.constraint(equalTo: topAnchor).isActive = true
53 | 		hostingController.view.bottomAnchor.constraint(equalTo: bottomAnchor).isActive = true
/Users/admin/builder/spi-builder-workspace/.build/checkouts/UIKitViews/Sources/UIKitViews/HostingView.swift:52:56: error: cannot find 'topAnchor' in scope
50 | 		hostingController.view.leadingAnchor.constraint(equalTo: leadingAnchor).isActive = true
51 | 		hostingController.view.trailingAnchor.constraint(equalTo: trailingAnchor).isActive = true
52 | 		hostingController.view.topAnchor.constraint(equalTo: topAnchor).isActive = true
   |                                                        `- error: cannot find 'topAnchor' in scope
53 | 		hostingController.view.bottomAnchor.constraint(equalTo: bottomAnchor).isActive = true
54 | 	}
/Users/admin/builder/spi-builder-workspace/.build/checkouts/UIKitViews/Sources/UIKitViews/HostingView.swift:52:3: error: value of type 'HostingView<RootView>' has no dynamic member 'hostingController' using key path from root type 'RootView'
50 | 		hostingController.view.leadingAnchor.constraint(equalTo: leadingAnchor).isActive = true
51 | 		hostingController.view.trailingAnchor.constraint(equalTo: trailingAnchor).isActive = true
52 | 		hostingController.view.topAnchor.constraint(equalTo: topAnchor).isActive = true
   |   `- error: value of type 'HostingView<RootView>' has no dynamic member 'hostingController' using key path from root type 'RootView'
53 | 		hostingController.view.bottomAnchor.constraint(equalTo: bottomAnchor).isActive = true
54 | 	}
/Users/admin/builder/spi-builder-workspace/.build/checkouts/UIKitViews/Sources/UIKitViews/HostingView.swift:53:59: error: cannot find 'bottomAnchor' in scope
51 | 		hostingController.view.trailingAnchor.constraint(equalTo: trailingAnchor).isActive = true
52 | 		hostingController.view.topAnchor.constraint(equalTo: topAnchor).isActive = true
53 | 		hostingController.view.bottomAnchor.constraint(equalTo: bottomAnchor).isActive = true
   |                                                           `- error: cannot find 'bottomAnchor' in scope
54 | 	}
55 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/UIKitViews/Sources/UIKitViews/HostingView.swift:53:3: error: value of type 'HostingView<RootView>' has no dynamic member 'hostingController' using key path from root type 'RootView'
51 | 		hostingController.view.trailingAnchor.constraint(equalTo: trailingAnchor).isActive = true
52 | 		hostingController.view.topAnchor.constraint(equalTo: topAnchor).isActive = true
53 | 		hostingController.view.bottomAnchor.constraint(equalTo: bottomAnchor).isActive = true
   |   `- error: value of type 'HostingView<RootView>' has no dynamic member 'hostingController' using key path from root type 'RootView'
54 | 	}
55 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/UIKitViews/Sources/UIKitViews/HostingView.swift:57:3: error: 'super' cannot be used in class 'HostingView' because it has no superclass
55 |
56 | 	override open func didMoveToWindow() {
57 | 		super.didMoveToWindow()
   |   `- error: 'super' cannot be used in class 'HostingView' because it has no superclass
58 | 		guard let controller else { return }
59 | 		hostingController.willMove(toParent: controller)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/UIKitViews/Sources/UIKitViews/HostingView.swift:58:13: error: cannot find 'controller' in scope
56 | 	override open func didMoveToWindow() {
57 | 		super.didMoveToWindow()
58 | 		guard let controller else { return }
   |             `- error: cannot find 'controller' in scope
59 | 		hostingController.willMove(toParent: controller)
60 | 		controller.addChild(hostingController)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/UIKitViews/Sources/UIKitViews/HostingView.swift:59:3: error: value of type 'HostingView<RootView>' has no dynamic member 'hostingController' using key path from root type 'RootView'
57 | 		super.didMoveToWindow()
58 | 		guard let controller else { return }
59 | 		hostingController.willMove(toParent: controller)
   |   `- error: value of type 'HostingView<RootView>' has no dynamic member 'hostingController' using key path from root type 'RootView'
60 | 		controller.addChild(hostingController)
61 | 	}
/Users/admin/builder/spi-builder-workspace/.build/checkouts/UIKitViews/Sources/UIKitViews/HostingView.swift:60:23: error: value of type 'HostingView<RootView>' has no dynamic member 'hostingController' using key path from root type 'RootView'
58 | 		guard let controller else { return }
59 | 		hostingController.willMove(toParent: controller)
60 | 		controller.addChild(hostingController)
   |                       `- error: value of type 'HostingView<RootView>' has no dynamic member 'hostingController' using key path from root type 'RootView'
61 | 	}
62 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/UIKitViews/Sources/UIKitViews/HostingView.swift:66:18: error: cannot find type 'UIViewController' in scope
64 | private extension UIView {
65 |
66 | 	var controller: UIViewController? {
   |                  `- error: cannot find type 'UIViewController' in scope
67 | 		(next as? UIViewController) ?? superview?.controller
68 | 	}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-2F0A5646E1D333AE.txt
[2/25] Compiling VDChain EmptyChaining.swift
[3/25] Compiling VDChain ValueChaining.swift
[4/25] Compiling VDChain TypeChain.swift
[5/25] Compiling VDChain PropertyChain.swift
[6/25] Compiling VDChain Chainable.swift
[7/25] Compiling VDChain Chaining.swift
[8/25] Compiling VDChain Chain.swift
[9/25] Emitting module VDChain
[10/25] Compiling VDChain ChainValues.swift
[11/40] Compiling VDPin RangeConvertable.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/VDPin/Sources/VDPin/Constraints.swift:1:8: error: no such module 'UIKit'
 1 | import UIKit
   |        `- error: no such module 'UIKit'
 2 |
 3 | public struct Constraints {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[12/41] Emitting module VDPin
/Users/admin/builder/spi-builder-workspace/.build/checkouts/VDPin/Sources/VDPin/Constraints.swift:1:8: error: no such module 'UIKit'
 1 | import UIKit
   |        `- error: no such module 'UIKit'
 2 |
 3 | public struct Constraints {
[13/41] Compiling UIKitViews AnyUIRepresentableWrapper.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/VDPin/Sources/VDPin/Constraints.swift:1:8: error: no such module 'UIKit'
 1 | import UIKit
   |        `- error: no such module 'UIKit'
 2 |
 3 | public struct Constraints {
[14/41] Compiling UIKitViews AnyUIViewControllerRepresentable.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/VDPin/Sources/VDPin/Constraints.swift:1:8: error: no such module 'UIKit'
 1 | import UIKit
   |        `- error: no such module 'UIKit'
 2 |
 3 | public struct Constraints {
[15/41] Compiling VDPin NSLayoutConstraints+Options.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/VDPin/Sources/VDPin/Constraints.swift:1:8: error: no such module 'UIKit'
 1 | import UIKit
   |        `- error: no such module 'UIKit'
 2 |
 3 | public struct Constraints {
[16/41] Compiling VDPin NSLayoutConstraintable.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/VDPin/Sources/VDPin/Constraints.swift:1:8: error: no such module 'UIKit'
 1 | import UIKit
   |        `- error: no such module 'UIKit'
 2 |
 3 | public struct Constraints {
[17/41] Compiling VDPin Pinnable.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/VDPin/Sources/VDPin/Constraints.swift:1:8: error: no such module 'UIKit'
 1 | import UIKit
   |        `- error: no such module 'UIKit'
 2 |
 3 | public struct Constraints {
[18/41] Compiling UIKitViews AnyUIViewRepresentable.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/VDPin/Sources/VDPin/Constraints.swift:1:8: error: no such module 'UIKit'
 1 | import UIKit
   |        `- error: no such module 'UIKit'
 2 |
 3 | public struct Constraints {
[19/41] Compiling UIKitViews HostingView.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/VDPin/Sources/VDPin/Constraints.swift:1:8: error: no such module 'UIKit'
 1 | import UIKit
   |        `- error: no such module 'UIKit'
 2 |
 3 | public struct Constraints {
[20/41] Compiling UIKitViews Operator.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/VDPin/Sources/VDPin/Constraints.swift:1:8: error: no such module 'UIKit'
 1 | import UIKit
   |        `- error: no such module 'UIKit'
 2 |
 3 | public struct Constraints {
[21/41] Compiling UIKitViews SelfSizingHostingController.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/VDPin/Sources/VDPin/Constraints.swift:1:8: error: no such module 'UIKit'
 1 | import UIKit
   |        `- error: no such module 'UIKit'
 2 |
 3 | public struct Constraints {
[22/41] Compiling UIKitViews UIKitView+init.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/VDPin/Sources/VDPin/Constraints.swift:1:8: error: no such module 'UIKit'
 1 | import UIKit
   |        `- error: no such module 'UIKit'
 2 |
 3 | public struct Constraints {
[23/41] Compiling UIKitViews UIKitView.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/VDPin/Sources/VDPin/Constraints.swift:1:8: error: no such module 'UIKit'
 1 | import UIKit
   |        `- error: no such module 'UIKit'
 2 |
 3 | public struct Constraints {
[24/41] Compiling UIKitViews UIKitRepresentable.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/VDPin/Sources/VDPin/Constraints.swift:1:8: error: no such module 'UIKit'
 1 | import UIKit
   |        `- error: no such module 'UIKit'
 2 |
 3 | public struct Constraints {
[25/41] Compiling UIKitViews UIKitView+Chain.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/VDPin/Sources/VDPin/Constraints.swift:1:8: error: no such module 'UIKit'
 1 | import UIKit
   |        `- error: no such module 'UIKit'
 2 |
 3 | public struct Constraints {
[26/41] Compiling UIKitViews UIKitViewWrapper.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/UIKitViews/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/.build/checkouts/UIKitViews/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/.build/checkouts/UIKitViews/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/.build/checkouts/UIKitViews/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/.build/checkouts/UIKitViews/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/.build/checkouts/UIKitViews/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/.build/checkouts/UIKitViews/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/.build/checkouts/UIKitViews/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/.build/checkouts/UIKitViews/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/.build/checkouts/UIKitViews/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/.build/checkouts/UIKitViews/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/.build/checkouts/UIKitViews/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/.build/checkouts/UIKitViews/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/.build/checkouts/UIKitViews/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/.build/checkouts/UIKitViews/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/.build/checkouts/UIKitViews/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/.build/checkouts/UIKitViews/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/.build/checkouts/UIKitViews/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/.build/checkouts/UIKitViews/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,
[27/42] Compiling VDPin UILayoutPriority+Ext.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/VDPin/Sources/VDPin/Constraints.swift:1:8: error: no such module 'UIKit'
 1 | import UIKit
   |        `- error: no such module 'UIKit'
 2 |
 3 | public struct Constraints {
BUILD FAILURE 6.1 macosSpm