Build Information
Failed to build VDLayout, reference 5.0.1 (1b3ea6
), with Swift 6.0 for macOS (SPM) on 1 Dec 2024 08:37:22 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Build Log
========================================
RunAll
========================================
Builder version: 4.58.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/dankinsoid/VDLayout.git
Reference: 5.0.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/dankinsoid/VDLayout
* tag 5.0.1 -> FETCH_HEAD
HEAD is now at 1b3ea65 5.0.1
Cloned https://github.com/dankinsoid/VDLayout.git
Revision (git rev-parse @):
1b3ea65fb6f5a0e26a8a17ea741ebfc2a996664a
SUCCESS checkout https://github.com/dankinsoid/VDLayout.git at 5.0.1
Fetching https://github.com/dankinsoid/UIKitViews.git
Fetching https://github.com/dankinsoid/VDChain.git
Fetching https://github.com/dankinsoid/VDPin.git
[1/140] Fetching vdpin
[141/408] Fetching vdpin, uikitviews
[364/766] Fetching vdpin, uikitviews, vdchain
Fetched https://github.com/dankinsoid/VDPin.git from cache (0.86s)
[609/626] Fetching uikitviews, vdchain
Fetched https://github.com/dankinsoid/UIKitViews.git from cache (0.88s)
Fetched https://github.com/dankinsoid/VDChain.git from cache (0.88s)
Computing version for https://github.com/dankinsoid/VDPin.git
Computed https://github.com/dankinsoid/VDPin.git at 1.7.0 (0.52s)
Computing version for https://github.com/dankinsoid/UIKitViews.git
Computed https://github.com/dankinsoid/UIKitViews.git at 1.8.1 (0.52s)
Computing version for https://github.com/dankinsoid/VDChain.git
Computed https://github.com/dankinsoid/VDChain.git at 3.6.0 (0.52s)
Creating working copy for https://github.com/dankinsoid/UIKitViews.git
Working copy of https://github.com/dankinsoid/UIKitViews.git resolved at 1.8.1
Creating working copy for https://github.com/dankinsoid/VDChain.git
Working copy of https://github.com/dankinsoid/VDChain.git resolved at 3.6.0
Creating working copy for https://github.com/dankinsoid/VDPin.git
Working copy of https://github.com/dankinsoid/VDPin.git resolved at 1.7.0
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"dependencies": [
{
"identity": "vdlayout",
"name": "VDLayout",
"url": "https://github.com/dankinsoid/VDLayout.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/VDLayout",
"dependencies": [
{
"identity": "vdchain",
"name": "VDChain",
"url": "https://github.com/dankinsoid/VDChain.git",
"version": "3.6.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/VDChain",
"dependencies": [
]
},
{
"identity": "uikitviews",
"name": "UIKitViews",
"url": "https://github.com/dankinsoid/UIKitViews.git",
"version": "1.8.1",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/UIKitViews",
"dependencies": [
{
"identity": "vdchain",
"name": "VDChain",
"url": "https://github.com/dankinsoid/VDChain.git",
"version": "3.6.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/VDChain",
"dependencies": [
]
}
]
},
{
"identity": "vdpin",
"name": "VDPin",
"url": "https://github.com/dankinsoid/VDPin.git",
"version": "1.7.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/VDPin",
"dependencies": [
]
}
]
}
]
}
Fetching https://github.com/dankinsoid/VDLayout.git
[1/2284] Fetching vdlayout
Fetched https://github.com/dankinsoid/VDLayout.git from cache (1.07s)
Fetching https://github.com/dankinsoid/UIKitViews.git from cache
Fetching https://github.com/dankinsoid/VDPin.git from cache
Fetching https://github.com/dankinsoid/VDChain.git from cache
Fetched https://github.com/dankinsoid/VDChain.git from cache (0.48s)
Fetched https://github.com/dankinsoid/VDPin.git from cache (0.48s)
Fetched https://github.com/dankinsoid/UIKitViews.git from cache (0.48s)
Computing version for https://github.com/dankinsoid/VDPin.git
Computed https://github.com/dankinsoid/VDPin.git at 1.7.0 (0.02s)
Computing version for https://github.com/dankinsoid/UIKitViews.git
Computed https://github.com/dankinsoid/UIKitViews.git at 1.8.1 (0.02s)
Computing version for https://github.com/dankinsoid/VDChain.git
Computed https://github.com/dankinsoid/VDChain.git at 3.6.0 (0.02s)
Creating working copy for https://github.com/dankinsoid/UIKitViews.git
Working copy of https://github.com/dankinsoid/UIKitViews.git resolved at 1.8.1
Creating working copy for https://github.com/dankinsoid/VDLayout.git
Working copy of https://github.com/dankinsoid/VDLayout.git resolved at 5.0.1 (1b3ea65)
Creating working copy for https://github.com/dankinsoid/VDPin.git
Working copy of https://github.com/dankinsoid/VDPin.git resolved at 1.7.0
Creating working copy for https://github.com/dankinsoid/VDChain.git
Working copy of https://github.com/dankinsoid/VDChain.git resolved at 3.6.0
warning: '.resolve-product-dependencies': dependency 'vdlayout' is not used by any target
Found 3 product dependencies
- VDChain
- UIKitViews
- VDPin
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/dankinsoid/VDLayout.git
{
"dependencies" : [
{
"identity" : "vdchain",
"requirement" : {
"range" : [
{
"lower_bound" : "3.0.0",
"upper_bound" : "4.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/dankinsoid/VDChain.git"
},
{
"identity" : "uikitviews",
"requirement" : {
"range" : [
{
"lower_bound" : "1.4.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/dankinsoid/UIKitViews.git"
},
{
"identity" : "vdpin",
"requirement" : {
"range" : [
{
"lower_bound" : "1.7.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/dankinsoid/VDPin.git"
}
],
"manifest_display_name" : "VDLayout",
"name" : "VDLayout",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "13.0"
}
],
"products" : [
{
"name" : "VDLayout",
"targets" : [
"VDLayout"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "VDLayout",
"module_type" : "SwiftTarget",
"name" : "VDLayout",
"path" : "Sources/VDLayout",
"product_dependencies" : [
"VDChain",
"VDPin",
"UIKitViews"
],
"product_memberships" : [
"VDLayout"
],
"sources" : [
"Chain+SubviewProtocol.swift",
"CustomAddSubviewType.swift",
"Extensions/CACornerMask++.swift",
"Extensions/NSDirectionalEdgeInsets++.swift",
"Extensions/UIApplication++.swift",
"Extensions/UIButton++.swift",
"Extensions/UIControl++.swift",
"Extensions/UIKitView+Subview.swift",
"Extensions/UILabel++.swift",
"Extensions/UIScrollView++.swift",
"Extensions/UIStackView++.swift",
"Extensions/UIView++.swift",
"Extensions/UIViewController++.swift",
"Extensions/ValueBuilder+Chain.swift",
"Modifiers/Chain+pin.swift",
"Modifiers/Chaining+Subview.swift",
"Modifiers/Chaining+UIButton.swift",
"Modifiers/Chaining+UIControl.swift",
"Modifiers/Chaining+UIImageView.swift",
"Modifiers/Chaining+UILabel.swift",
"Modifiers/Chaining+UIScrollView.swift",
"Modifiers/Chaining+UIStackView.swift",
"Modifiers/Chaining+UITextField.swift",
"Modifiers/Chaining+UITextView.swift",
"Modifiers/Chaining+UIView.swift",
"Modifiers/ContentPriority.swift",
"Modifiers/Padding.swift",
"Subview.swift",
"SubviewBuilder.swift",
"SubviewInstaller.swift",
"Subviews/AnySubview.swift",
"Subviews/ArraySubview.swift",
"Subviews/EmptySubview.swift",
"UISubview.swift",
"ValueBuilder.swift"
],
"type" : "library"
}
],
"tools_version" : "5.7"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Building for debugging...
[0/5] Write sources
[4/5] Write swift-version--7754E27361AE5C74.txt
[6/29] 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 {
[7/29] 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 {
[8/30] 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 {
[9/30] 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 {
[10/30] 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 {
[11/30] Compiling VDChain Chainable.swift
[12/30] Compiling VDChain ChainValues.swift
[13/30] Emitting module VDChain
[14/30] Compiling VDChain Chain.swift
[15/30] Compiling VDChain TypeChain.swift
[16/30] Compiling VDChain PropertyChain.swift
[17/30] Compiling VDChain EmptyChaining.swift
[18/30] Compiling VDChain ValueChaining.swift
[19/30] Compiling VDChain Chaining.swift
[20/45] 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/45] 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/45] 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 {
[23/45] 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 {
[24/45] 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 {
[25/45] 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 {
[26/45] 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 {
[27/45] 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 {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[28/45] 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 {
[29/45] 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 {
[30/45] 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 {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[31/45] Emitting module UIKitViews
/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/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/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/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/Operator.swift:19:27: error: cannot find type 'UIView' in scope
17 | /// You can set view properties via method chaining and `uiKitViewEnvironment` modifier.
18 | /// Use the `UIKitView` like you would any other view.
19 | public postfix func §<T: UIView>(_ view: @escaping @autoclosure () -> T) -> UIKitView<AnyUIViewRepresentable<T>> {
| `- error: cannot find type 'UIView' in scope
20 | UIKitView(view)
21 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/UIKitViews/Sources/UIKitViews/Operator.swift:35:27: error: cannot find type 'UIViewController' in scope
33 | /// You can set view properties via method chaining and `uiKitViewEnvironment` modifier.
34 | /// Use the `UIKitView` like you would any other view.
35 | public postfix func §<T: UIViewController>(_ view: @escaping @autoclosure () -> T) -> UIKitView<AnyUIViewControllerRepresentable<T>> {
| `- error: cannot find type 'UIViewController' in scope
36 | UIKitView(view)
37 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/UIKitViews/Sources/UIKitViews/Operator.swift:40:19: error: 'View' is only available in macOS 10.15 or newer
38 |
39 | @ViewBuilder
40 | func tt() -> some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing global function
41 | UILabel()§
42 | .text("Text")
/Users/admin/builder/spi-builder-workspace/.build/checkouts/UIKitViews/Sources/UIKitViews/Operator.swift:39:2: error: 'ViewBuilder' is only available in macOS 10.15 or newer
37 | }
38 |
39 | @ViewBuilder
| `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
40 | func tt() -> some View {
| `- note: add @available attribute to enclosing global function
41 | UILabel()§
42 | .text("Text")
/Users/admin/builder/spi-builder-workspace/.build/checkouts/UIKitViews/Sources/UIKitViews/SelfSizingHostingController.swift:7:21: error: method does not override any method from its superclass
5 | private var wasLoad = false
6 |
7 | override open func viewDidLoad() {
| `- error: method does not override any method from its superclass
8 | super.viewDidLoad()
9 | view.setContentHuggingPriority(.required, for: .vertical)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/UIKitViews/Sources/UIKitViews/SelfSizingHostingController.swift:13:21: error: method does not override any method from its superclass
11 | }
12 |
13 | override open func viewWillLayoutSubviews() {
| `- error: method does not override any method from its superclass
14 | super.viewWillLayoutSubviews()
15 | // viewDidLoad is not being called on iOS 13
/Users/admin/builder/spi-builder-workspace/.build/checkouts/UIKitViews/Sources/UIKitViews/SelfSizingHostingController.swift:22:21: error: method does not override any method from its superclass
20 | }
21 |
22 | override open func viewDidLayoutSubviews() {
| `- error: method does not override any method from its superclass
23 | super.viewDidLayoutSubviews()
24 | view.invalidateIntrinsicContentSize()
/Users/admin/builder/spi-builder-workspace/.build/checkouts/UIKitViews/Sources/UIKitViews/SelfSizingHostingController.swift:3:50: error: cannot find type 'UIHostingController' in scope
1 | import SwiftUI
2 |
3 | open class SelfSizingHostingController<Content>: UIHostingController<Content> where Content: View {
| `- error: cannot find type 'UIHostingController' in scope
4 |
5 | private var wasLoad = false
/Users/admin/builder/spi-builder-workspace/.build/checkouts/UIKitViews/Sources/UIKitViews/SelfSizingHostingController.swift:3:94: error: 'View' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | open class SelfSizingHostingController<Content>: UIHostingController<Content> where Content: View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing generic class
4 |
5 | private var wasLoad = false
/Users/admin/builder/spi-builder-workspace/.build/checkouts/UIKitViews/Sources/UIKitViews/UIKitRepresentable.swift:8:46: error: 'View' is only available in macOS 10.15 or newer
6 | }
7 |
8 | public protocol UIKitRepresentable<Content>: View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing protocol
9 |
10 | associatedtype Content
/Users/admin/builder/spi-builder-workspace/.build/checkouts/UIKitViews/Sources/UIKitViews/UIKitRepresentable.swift:17:29: error: 'Transaction' is only available in macOS 10.15 or newer
13 | }
14 |
15 | public struct UIKitRepresentableContext {
| `- note: add @available attribute to enclosing struct
16 |
17 | public let transaction: Transaction
| `- error: 'Transaction' is only available in macOS 10.15 or newer
18 | public let environment: EnvironmentValues
19 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/UIKitViews/Sources/UIKitViews/UIKitRepresentable.swift:18:29: error: 'EnvironmentValues' is only available in macOS 10.15 or newer
13 | }
14 |
15 | public struct UIKitRepresentableContext {
| `- note: add @available attribute to enclosing struct
16 |
17 | public let transaction: Transaction
18 | public let environment: EnvironmentValues
| `- error: 'EnvironmentValues' is only available in macOS 10.15 or newer
19 | }
20 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/UIKitViews/Sources/UIKitViews/UIKitView+Chain.swift:6:24: error: 'View' is only available in macOS 10.15 or newer
2 | import VDChain
3 |
4 | extension Chain: View where Base: UIKitViewChaining {
| `- note: add @available attribute to enclosing extension
5 |
6 | public var body: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
7 | base.body(values: values)
8 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/UIKitViews/Sources/UIKitViews/UIKitView.swift:24:26: error: 'View' is only available in macOS 10.15 or newer
20 | public typealias UIKitView<Content: UIKitRepresentable> = Chain<UIKitViewChain<Content>>
21 |
22 | public protocol UIKitViewChaining<Root>: Chaining {
| `- note: add @available attribute to enclosing protocol
23 |
24 | associatedtype Body: View
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing associated type
25 |
26 | func body(values: ChainValues<Root>) -> Body
/Users/admin/builder/spi-builder-workspace/.build/checkouts/UIKitViews/Sources/UIKitViews/UIKitView.swift:57:22: error: 'Transaction' is only available in macOS 10.15 or newer
53 | }
54 |
55 | public extension ChainValues {
| `- note: add @available attribute to enclosing extension
56 |
57 | var transaction: Transaction {
| | `- error: 'Transaction' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
58 | get { get(\.transaction) ?? Transaction() }
59 | set { set(\.transaction, newValue) }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/UIKitViews/Sources/UIKitViews/UIKitView.swift:65:22: error: 'EnvironmentValues' is only available in macOS 10.15 or newer
61 | }
62 |
63 | public extension ChainValues {
| `- note: add @available attribute to enclosing extension
64 |
65 | var environment: EnvironmentValues {
| | `- error: 'EnvironmentValues' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
66 | get { get(\.environment) ?? EnvironmentValues() }
67 | set { set(\.environment, newValue) { _, new in new } }
/Users/admin/builder/spi-builder-workspace/.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/UIKitViewControllerWrapper.swift:3:68: error: cannot find type 'UIViewController' in scope
1 | import SwiftUI
2 |
3 | final class UIKitViewControllerWrapper<Content: UIViewController>: UIViewController {
| `- error: cannot find type 'UIViewController' in scope
4 |
5 | let content: Content
/Users/admin/builder/spi-builder-workspace/.build/checkouts/UIKitViews/Sources/UIKitViews/UIKitViewControllerWrapper.swift:21:16: error: method does not override any method from its superclass
19 | }
20 |
21 | override func loadView() {
| `- error: method does not override any method from its superclass
22 | view = wrapper
23 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/UIKitViews/Sources/UIKitViews/UIKitViewEnvironment.swift:6:31: error: cannot find type 'UIView' in scope
4 |
5 | /// Set the `UIKitView` environment value of the specified key path with the given value
6 | func uiKitViewEnvironment<T: UIView, Value>(
| `- error: cannot find type 'UIView' in scope
7 | _ keyPath: ReferenceWritableKeyPath<T, Value>,
8 | _ value: @escaping @autoclosure () -> Value
/Users/admin/builder/spi-builder-workspace/.build/checkouts/UIKitViews/Sources/UIKitViews/UIKitViewEnvironment.swift:9:12: error: 'View' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public extension View {
| `- note: add @available attribute to enclosing extension
4 |
5 | /// Set the `UIKitView` environment value of the specified key path with the given value
6 | func uiKitViewEnvironment<T: UIView, Value>(
| `- note: add @available attribute to enclosing instance method
7 | _ keyPath: ReferenceWritableKeyPath<T, Value>,
8 | _ value: @escaping @autoclosure () -> Value
9 | ) -> some View {
| `- error: 'View' is only available in macOS 10.15 or newer
10 | transformEnvironment(\.uiKitView) {
11 | $0.set(keyPath: keyPath, value: value)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/UIKitViews/Sources/UIKitViews/UIKitViewEnvironment.swift:16:31: error: cannot find type 'UIViewController' in scope
14 |
15 | /// Set the `UIKitView` environment value of the specified key path with the given value
16 | func uiKitViewEnvironment<T: UIViewController, Value>(
| `- error: cannot find type 'UIViewController' in scope
17 | _ keyPath: ReferenceWritableKeyPath<T, Value>,
18 | _ value: @escaping @autoclosure () -> Value
/Users/admin/builder/spi-builder-workspace/.build/checkouts/UIKitViews/Sources/UIKitViews/UIKitViewEnvironment.swift:19:12: error: 'View' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public extension View {
| `- note: add @available attribute to enclosing extension
4 |
5 | /// Set the `UIKitView` environment value of the specified key path with the given value
:
14 |
15 | /// Set the `UIKitView` environment value of the specified key path with the given value
16 | func uiKitViewEnvironment<T: UIViewController, Value>(
| `- note: add @available attribute to enclosing instance method
17 | _ keyPath: ReferenceWritableKeyPath<T, Value>,
18 | _ value: @escaping @autoclosure () -> Value
19 | ) -> some View {
| `- error: 'View' is only available in macOS 10.15 or newer
20 | transformEnvironment(\.uiKitView) {
21 | $0.set(keyPath: keyPath, value: value)
/Users/admin/builder/spi-builder-workspace/.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/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/UIKitViewResizing.swift:24:3: error: 'environment' 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 {
| `- note: add @available attribute to enclosing instance method
24 | environment(\.uiKitViewFixedSize, axis)
| |- error: 'environment' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
25 | }
26 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/UIKitViews/Sources/UIKitViews/UIKitViewResizing.swift:49:3: error: 'environment' 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 {
| `- note: add @available attribute to enclosing instance method
49 | environment(\.uiKitViewWrapperPolicy, policy)
| |- error: 'environment' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
50 | }
51 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/UIKitViews/Sources/UIKitViews/UIKitViewResizing.swift:66:3: error: 'environment' 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 {
| `- note: add @available attribute to enclosing instance method
66 | environment(\.uiKitViewContentMode, contentMode)
| |- error: 'environment' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
67 | }
68 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/UIKitViews/Sources/UIKitViews/UIKitViewResizing.swift:93:9: error: 'center' 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.
:
90 |
91 | /// - `fit`: The UIView should resize to fit within the view while preserving its aspect ratio, the UIView is positioned at center.
92 | public static var fit: UIKitViewContentMode {
| `- note: add @available attribute to enclosing static property
93 | .fit(.center)
| |- error: 'center' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
94 | }
95 |
BUILD FAILURE 6.0 macosSpm