Build Information
Failed to build HeadlessTabView, reference 0.1.1 (b9f800
), with Swift 6.0 for macOS (SPM) on 2 Nov 2024 15:51:34 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
Build Log
========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/davidask/HeadlessTabView.git
Reference: 0.1.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/davidask/HeadlessTabView
* tag 0.1.1 -> FETCH_HEAD
HEAD is now at b9f800a Replace iOS 14 call with iOS 13
Cloned https://github.com/davidask/HeadlessTabView.git
Revision (git rev-parse @):
b9f800a2fb7e9536bac86b6131bf1c8e3ce32dc5
SUCCESS checkout https://github.com/davidask/HeadlessTabView.git at 0.1.1
========================================
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": "headlesstabview",
"name": "HeadlessTabView",
"url": "https://github.com/davidask/HeadlessTabView.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/HeadlessTabView",
"dependencies": [
]
}
]
}
Fetching https://github.com/davidask/HeadlessTabView.git
[1/49] Fetching headlesstabview
Fetched https://github.com/davidask/HeadlessTabView.git from cache (0.68s)
Creating working copy for https://github.com/davidask/HeadlessTabView.git
Working copy of https://github.com/davidask/HeadlessTabView.git resolved at 0.1.1 (b9f800a)
warning: '.resolve-product-dependencies': dependency 'headlesstabview' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/davidask/HeadlessTabView.git
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
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--7754E27361AE5C74.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/4] Emitting module HeadlessTabView
/Users/admin/builder/spi-builder-workspace/Sources/HeadlessTabView/HeadlessTabView.swift:6:6: error: 'Binding' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public struct HeadlessTabView<Selection, Content>: View
| `- note: add @available attribute to enclosing generic struct
4 | where Selection: Hashable & CaseIterable, Content: View {
5 |
6 | @Binding var state: Selection
| `- error: 'Binding' is only available in macOS 10.15 or newer
7 |
8 | private let content: (Selection) -> Content
/Users/admin/builder/spi-builder-workspace/Sources/HeadlessTabView/HeadlessTabView.swift:10:26: error: 'Binding' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public struct HeadlessTabView<Selection, Content>: View
| `- note: add @available attribute to enclosing generic struct
4 | where Selection: Hashable & CaseIterable, Content: View {
5 |
:
8 | private let content: (Selection) -> Content
9 |
10 | public init(_ state: Binding<Selection>, @ViewBuilder content: @escaping (Selection) -> Content)
| | `- error: 'Binding' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing initializer
11 | {
12 | self._state = state
/Users/admin/builder/spi-builder-workspace/Sources/HeadlessTabView/HeadlessTabView.swift:10:47: error: 'ViewBuilder' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public struct HeadlessTabView<Selection, Content>: View
| `- note: add @available attribute to enclosing generic struct
4 | where Selection: Hashable & CaseIterable, Content: View {
5 |
:
8 | private let content: (Selection) -> Content
9 |
10 | public init(_ state: Binding<Selection>, @ViewBuilder content: @escaping (Selection) -> Content)
| | `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing initializer
11 | {
12 | self._state = state
/Users/admin/builder/spi-builder-workspace/Sources/HeadlessTabView/HeadlessTabView.swift:16:27: error: 'View' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public struct HeadlessTabView<Selection, Content>: View
| `- note: add @available attribute to enclosing generic struct
4 | where Selection: Hashable & CaseIterable, Content: View {
5 |
:
14 | }
15 |
16 | public var body: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
17 | GeometryReader { proxy in
18 | Inner($state, proxy: proxy, content: content).edgesIgnoringSafeArea(.all)
/Users/admin/builder/spi-builder-workspace/Sources/HeadlessTabView/HeadlessTabView.swift:4:52: error: 'View' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public struct HeadlessTabView<Selection, Content>: View
| `- note: add @available attribute to enclosing generic struct
4 | where Selection: Hashable & CaseIterable, Content: View {
| `- error: 'View' is only available in macOS 10.15 or newer
5 |
6 | @Binding var state: Selection
/Users/admin/builder/spi-builder-workspace/Sources/HeadlessTabView/HeadlessTabView.swift:25:10: error: 'Binding' is only available in macOS 10.15 or newer
22 |
23 | extension HeadlessTabView {
24 | fileprivate struct Inner {
| |- note: add @available attribute to enclosing struct
| `- note: add @available attribute to enclosing struct
25 | @Binding var state: Selection
| `- error: 'Binding' is only available in macOS 10.15 or newer
26 |
27 | private let content: (Selection) -> Content
/Users/admin/builder/spi-builder-workspace/Sources/HeadlessTabView/HeadlessTabView.swift:29:20: error: 'GeometryProxy' is only available in macOS 10.15 or newer
22 |
23 | extension HeadlessTabView {
24 | fileprivate struct Inner {
| `- note: add @available attribute to enclosing struct
25 | @Binding var state: Selection
26 |
27 | private let content: (Selection) -> Content
28 |
29 | var proxy: GeometryProxy
| `- error: 'GeometryProxy' is only available in macOS 10.15 or newer
30 |
31 | public init(
/Users/admin/builder/spi-builder-workspace/Sources/HeadlessTabView/HeadlessTabView.swift:32:22: error: 'Binding' is only available in macOS 10.15 or newer
22 |
23 | extension HeadlessTabView {
24 | fileprivate struct Inner {
| `- note: add @available attribute to enclosing struct
25 | @Binding var state: Selection
26 |
:
29 | var proxy: GeometryProxy
30 |
31 | public init(
| `- note: add @available attribute to enclosing initializer
32 | _ state: Binding<Selection>,
| `- error: 'Binding' is only available in macOS 10.15 or newer
33 | proxy: GeometryProxy,
34 | content: @escaping (Selection) -> Content
/Users/admin/builder/spi-builder-workspace/Sources/HeadlessTabView/HeadlessTabView.swift:33:20: error: 'GeometryProxy' is only available in macOS 10.15 or newer
22 |
23 | extension HeadlessTabView {
24 | fileprivate struct Inner {
| `- note: add @available attribute to enclosing struct
25 | @Binding var state: Selection
26 |
:
29 | var proxy: GeometryProxy
30 |
31 | public init(
| `- note: add @available attribute to enclosing initializer
32 | _ state: Binding<Selection>,
33 | proxy: GeometryProxy,
| `- error: 'GeometryProxy' is only available in macOS 10.15 or newer
34 | content: @escaping (Selection) -> Content
35 | ) {
/Users/admin/builder/spi-builder-workspace/Sources/HeadlessTabView/HeadlessTabView.swift:43:34: error: cannot find type 'UIViewControllerRepresentable' in scope
41 | }
42 |
43 | extension HeadlessTabView.Inner: UIViewControllerRepresentable {
| `- error: cannot find type 'UIViewControllerRepresentable' in scope
44 |
45 | func makeUIViewController(context: Context) -> HeadlessTabView.Controller {
/Users/admin/builder/spi-builder-workspace/Sources/HeadlessTabView/HeadlessTabView.swift:45:40: error: cannot find type 'Context' in scope
43 | extension HeadlessTabView.Inner: UIViewControllerRepresentable {
44 |
45 | func makeUIViewController(context: Context) -> HeadlessTabView.Controller {
| `- error: cannot find type 'Context' in scope
46 | HeadlessTabView.Controller(nibName: nil, bundle: nil)
47 | }
/Users/admin/builder/spi-builder-workspace/Sources/HeadlessTabView/HeadlessTabView.swift:49:90: error: cannot find type 'Context' in scope
47 | }
48 |
49 | func updateUIViewController(_ uiViewController: HeadlessTabView.Controller, context: Context) {
| `- error: cannot find type 'Context' in scope
50 |
51 | let viewController: UIViewController
/Users/admin/builder/spi-builder-workspace/Sources/HeadlessTabView/HeadlessTabView.swift:81:31: error: cannot find type 'UIEdgeInsets' in scope
79 | fileprivate final class Controller: UIViewController {
80 |
81 | var passedEdgeInsets: UIEdgeInsets?
| `- error: cannot find type 'UIEdgeInsets' in scope
82 |
83 | override func loadView() {
/Users/admin/builder/spi-builder-workspace/Sources/HeadlessTabView/HeadlessTabView.swift:106:28: error: cannot find type 'UIViewController' in scope
104 | }
105 |
106 | var selectedChild: UIViewController? {
| `- error: cannot find type 'UIViewController' in scope
107 | willSet {
108 |
/Users/admin/builder/spi-builder-workspace/Sources/HeadlessTabView/HeadlessTabView.swift:79:41: error: cannot find type 'UIViewController' in scope
77 |
78 | extension HeadlessTabView {
79 | fileprivate final class Controller: UIViewController {
| `- error: cannot find type 'UIViewController' in scope
80 |
81 | var passedEdgeInsets: UIEdgeInsets?
/Users/admin/builder/spi-builder-workspace/Sources/HeadlessTabView/HeadlessTabView.swift:83:23: error: method does not override any method from its superclass
81 | var passedEdgeInsets: UIEdgeInsets?
82 |
83 | override func loadView() {
| `- error: method does not override any method from its superclass
84 | view = UIView()
85 | view.backgroundColor = .clear
/Users/admin/builder/spi-builder-workspace/Sources/HeadlessTabView/HeadlessTabView.swift:88:23: error: method does not override any method from its superclass
86 | }
87 |
88 | override func viewWillLayoutSubviews() {
| `- error: method does not override any method from its superclass
89 | super.viewWillLayoutSubviews()
90 |
/Users/admin/builder/spi-builder-workspace/Sources/HeadlessTabView/HeadlessTabView.swift:126:23: error: cannot find 'isViewLoaded' in scope
124 | }
125 | didSet {
126 | guard isViewLoaded && view.superview != nil else {
| `- error: cannot find 'isViewLoaded' in scope
127 | return
128 | }
/Users/admin/builder/spi-builder-workspace/Sources/HeadlessTabView/HeadlessTabView.swift:126:39: error: cannot find 'view' in scope
124 | }
125 | didSet {
126 | guard isViewLoaded && view.superview != nil else {
| `- error: cannot find 'view' in scope
127 | return
128 | }
/Users/admin/builder/spi-builder-workspace/Sources/HeadlessTabView/HeadlessTabView.swift:131:31: error: cannot find 'children' in scope
129 |
130 | didRemove(
131 | children: children.filter({ child in
| `- error: cannot find 'children' in scope
132 | child != selectedChild
133 | })
/Users/admin/builder/spi-builder-workspace/Sources/HeadlessTabView/HeadlessTabView.swift:209:43: error: cannot find type 'UIViewController' in scope
207 | }
208 |
209 | private func didRemove(children: [UIViewController]) {
| `- error: cannot find type 'UIViewController' in scope
210 | for child in children {
211 | child.view.removeFromSuperview()
/Users/admin/builder/spi-builder-workspace/Sources/HeadlessTabView/HeadlessTabView.swift:199:36: error: cannot find type 'UIViewController' in scope
197 | }
198 |
199 | private func didAdd(child: UIViewController) {
| `- error: cannot find type 'UIViewController' in scope
200 | child.didMove(toParent: self)
201 | }
/Users/admin/builder/spi-builder-workspace/Sources/HeadlessTabView/HeadlessTabView.swift:144:23: error: method does not override any method from its superclass
142 | }
143 |
144 | override func viewWillAppear(_ animated: Bool) {
| `- error: method does not override any method from its superclass
145 | super.viewWillAppear(animated)
146 |
/Users/admin/builder/spi-builder-workspace/Sources/HeadlessTabView/HeadlessTabView.swift:154:23: error: method does not override any method from its superclass
152 | }
153 |
154 | override func viewDidAppear(_ animated: Bool) {
| `- error: method does not override any method from its superclass
155 | super.viewDidAppear(animated)
156 |
/Users/admin/builder/spi-builder-workspace/Sources/HeadlessTabView/HeadlessTabView.swift:164:23: error: method does not override any method from its superclass
162 | }
163 |
164 | override func viewWillDisappear(_ animated: Bool) {
| `- error: method does not override any method from its superclass
165 | super.viewWillDisappear(animated)
166 |
/Users/admin/builder/spi-builder-workspace/Sources/HeadlessTabView/HeadlessTabView.swift:170:23: error: method does not override any method from its superclass
168 | }
169 |
170 | override func viewDidDisappear(_ animated: Bool) {
| `- error: method does not override any method from its superclass
171 | super.viewDidDisappear(animated)
172 |
/Users/admin/builder/spi-builder-workspace/Sources/HeadlessTabView/HeadlessTabView.swift:176:49: error: cannot find type 'UIViewController' in scope
174 | }
175 |
176 | override func willMove(toParent parent: UIViewController?) {
| `- error: cannot find type 'UIViewController' in scope
177 | super.willMove(toParent: parent)
178 | }
/Users/admin/builder/spi-builder-workspace/Sources/HeadlessTabView/HeadlessTabView.swift:176:23: error: method does not override any method from its superclass
174 | }
175 |
176 | override func willMove(toParent parent: UIViewController?) {
| `- error: method does not override any method from its superclass
177 | super.willMove(toParent: parent)
178 | }
/Users/admin/builder/spi-builder-workspace/Sources/HeadlessTabView/HeadlessTabView.swift:182:37: error: cannot find type 'UIViewController' in scope
180 | // MARK: - Convenience
181 |
182 | private func willAdd(child: UIViewController) {
| `- error: cannot find type 'UIViewController' in scope
183 |
184 | addChild(child)
/Users/admin/builder/spi-builder-workspace/Sources/HeadlessTabView/HeadlessTabView.swift:203:44: error: cannot find type 'UIViewController' in scope
201 | }
202 |
203 | private func willRemove(children: [UIViewController]) {
| `- error: cannot find type 'UIViewController' in scope
204 | for child in children {
205 | child.willMove(toParent: nil)
/Users/admin/builder/spi-builder-workspace/Sources/HeadlessTabView/HeadlessTabView.swift:220:48: error: cannot find type 'UIViewController' in scope
218 | extension HeadlessTabView {
219 | fileprivate class Coordinator {
220 | var storedViewControllers: [Selection: UIViewController] = [:]
| `- error: cannot find type 'UIViewController' in scope
221 | }
222 | }
[4/4] Compiling HeadlessTabView HeadlessTabView.swift
/Users/admin/builder/spi-builder-workspace/Sources/HeadlessTabView/HeadlessTabView.swift:6:6: error: 'Binding' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public struct HeadlessTabView<Selection, Content>: View
| `- note: add @available attribute to enclosing generic struct
4 | where Selection: Hashable & CaseIterable, Content: View {
5 |
6 | @Binding var state: Selection
| `- error: 'Binding' is only available in macOS 10.15 or newer
7 |
8 | private let content: (Selection) -> Content
/Users/admin/builder/spi-builder-workspace/Sources/HeadlessTabView/HeadlessTabView.swift:10:26: error: 'Binding' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public struct HeadlessTabView<Selection, Content>: View
| `- note: add @available attribute to enclosing generic struct
4 | where Selection: Hashable & CaseIterable, Content: View {
5 |
:
8 | private let content: (Selection) -> Content
9 |
10 | public init(_ state: Binding<Selection>, @ViewBuilder content: @escaping (Selection) -> Content)
| | `- error: 'Binding' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing initializer
11 | {
12 | self._state = state
/Users/admin/builder/spi-builder-workspace/Sources/HeadlessTabView/HeadlessTabView.swift:10:47: error: 'ViewBuilder' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public struct HeadlessTabView<Selection, Content>: View
| `- note: add @available attribute to enclosing generic struct
4 | where Selection: Hashable & CaseIterable, Content: View {
5 |
:
8 | private let content: (Selection) -> Content
9 |
10 | public init(_ state: Binding<Selection>, @ViewBuilder content: @escaping (Selection) -> Content)
| | `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing initializer
11 | {
12 | self._state = state
/Users/admin/builder/spi-builder-workspace/Sources/HeadlessTabView/HeadlessTabView.swift:16:27: error: 'View' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public struct HeadlessTabView<Selection, Content>: View
| `- note: add @available attribute to enclosing generic struct
4 | where Selection: Hashable & CaseIterable, Content: View {
5 |
:
14 | }
15 |
16 | public var body: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
17 | GeometryReader { proxy in
18 | Inner($state, proxy: proxy, content: content).edgesIgnoringSafeArea(.all)
/Users/admin/builder/spi-builder-workspace/Sources/HeadlessTabView/HeadlessTabView.swift:4:52: error: 'View' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public struct HeadlessTabView<Selection, Content>: View
| `- note: add @available attribute to enclosing generic struct
4 | where Selection: Hashable & CaseIterable, Content: View {
| `- error: 'View' is only available in macOS 10.15 or newer
5 |
6 | @Binding var state: Selection
/Users/admin/builder/spi-builder-workspace/Sources/HeadlessTabView/HeadlessTabView.swift:25:10: error: 'Binding' is only available in macOS 10.15 or newer
22 |
23 | extension HeadlessTabView {
24 | fileprivate struct Inner {
| |- note: add @available attribute to enclosing struct
| `- note: add @available attribute to enclosing struct
25 | @Binding var state: Selection
| `- error: 'Binding' is only available in macOS 10.15 or newer
26 |
27 | private let content: (Selection) -> Content
/Users/admin/builder/spi-builder-workspace/Sources/HeadlessTabView/HeadlessTabView.swift:29:20: error: 'GeometryProxy' is only available in macOS 10.15 or newer
22 |
23 | extension HeadlessTabView {
24 | fileprivate struct Inner {
| `- note: add @available attribute to enclosing struct
25 | @Binding var state: Selection
26 |
27 | private let content: (Selection) -> Content
28 |
29 | var proxy: GeometryProxy
| `- error: 'GeometryProxy' is only available in macOS 10.15 or newer
30 |
31 | public init(
/Users/admin/builder/spi-builder-workspace/Sources/HeadlessTabView/HeadlessTabView.swift:32:22: error: 'Binding' is only available in macOS 10.15 or newer
22 |
23 | extension HeadlessTabView {
24 | fileprivate struct Inner {
| `- note: add @available attribute to enclosing struct
25 | @Binding var state: Selection
26 |
:
29 | var proxy: GeometryProxy
30 |
31 | public init(
| `- note: add @available attribute to enclosing initializer
32 | _ state: Binding<Selection>,
| `- error: 'Binding' is only available in macOS 10.15 or newer
33 | proxy: GeometryProxy,
34 | content: @escaping (Selection) -> Content
/Users/admin/builder/spi-builder-workspace/Sources/HeadlessTabView/HeadlessTabView.swift:33:20: error: 'GeometryProxy' is only available in macOS 10.15 or newer
22 |
23 | extension HeadlessTabView {
24 | fileprivate struct Inner {
| `- note: add @available attribute to enclosing struct
25 | @Binding var state: Selection
26 |
:
29 | var proxy: GeometryProxy
30 |
31 | public init(
| `- note: add @available attribute to enclosing initializer
32 | _ state: Binding<Selection>,
33 | proxy: GeometryProxy,
| `- error: 'GeometryProxy' is only available in macOS 10.15 or newer
34 | content: @escaping (Selection) -> Content
35 | ) {
/Users/admin/builder/spi-builder-workspace/Sources/HeadlessTabView/HeadlessTabView.swift:43:34: error: cannot find type 'UIViewControllerRepresentable' in scope
41 | }
42 |
43 | extension HeadlessTabView.Inner: UIViewControllerRepresentable {
| `- error: cannot find type 'UIViewControllerRepresentable' in scope
44 |
45 | func makeUIViewController(context: Context) -> HeadlessTabView.Controller {
/Users/admin/builder/spi-builder-workspace/Sources/HeadlessTabView/HeadlessTabView.swift:45:40: error: cannot find type 'Context' in scope
43 | extension HeadlessTabView.Inner: UIViewControllerRepresentable {
44 |
45 | func makeUIViewController(context: Context) -> HeadlessTabView.Controller {
| `- error: cannot find type 'Context' in scope
46 | HeadlessTabView.Controller(nibName: nil, bundle: nil)
47 | }
/Users/admin/builder/spi-builder-workspace/Sources/HeadlessTabView/HeadlessTabView.swift:49:90: error: cannot find type 'Context' in scope
47 | }
48 |
49 | func updateUIViewController(_ uiViewController: HeadlessTabView.Controller, context: Context) {
| `- error: cannot find type 'Context' in scope
50 |
51 | let viewController: UIViewController
/Users/admin/builder/spi-builder-workspace/Sources/HeadlessTabView/HeadlessTabView.swift:81:31: error: cannot find type 'UIEdgeInsets' in scope
79 | fileprivate final class Controller: UIViewController {
80 |
81 | var passedEdgeInsets: UIEdgeInsets?
| `- error: cannot find type 'UIEdgeInsets' in scope
82 |
83 | override func loadView() {
/Users/admin/builder/spi-builder-workspace/Sources/HeadlessTabView/HeadlessTabView.swift:106:28: error: cannot find type 'UIViewController' in scope
104 | }
105 |
106 | var selectedChild: UIViewController? {
| `- error: cannot find type 'UIViewController' in scope
107 | willSet {
108 |
/Users/admin/builder/spi-builder-workspace/Sources/HeadlessTabView/HeadlessTabView.swift:79:41: error: cannot find type 'UIViewController' in scope
77 |
78 | extension HeadlessTabView {
79 | fileprivate final class Controller: UIViewController {
| `- error: cannot find type 'UIViewController' in scope
80 |
81 | var passedEdgeInsets: UIEdgeInsets?
/Users/admin/builder/spi-builder-workspace/Sources/HeadlessTabView/HeadlessTabView.swift:83:23: error: method does not override any method from its superclass
81 | var passedEdgeInsets: UIEdgeInsets?
82 |
83 | override func loadView() {
| `- error: method does not override any method from its superclass
84 | view = UIView()
85 | view.backgroundColor = .clear
/Users/admin/builder/spi-builder-workspace/Sources/HeadlessTabView/HeadlessTabView.swift:88:23: error: method does not override any method from its superclass
86 | }
87 |
88 | override func viewWillLayoutSubviews() {
| `- error: method does not override any method from its superclass
89 | super.viewWillLayoutSubviews()
90 |
/Users/admin/builder/spi-builder-workspace/Sources/HeadlessTabView/HeadlessTabView.swift:126:23: error: cannot find 'isViewLoaded' in scope
124 | }
125 | didSet {
126 | guard isViewLoaded && view.superview != nil else {
| `- error: cannot find 'isViewLoaded' in scope
127 | return
128 | }
/Users/admin/builder/spi-builder-workspace/Sources/HeadlessTabView/HeadlessTabView.swift:126:39: error: cannot find 'view' in scope
124 | }
125 | didSet {
126 | guard isViewLoaded && view.superview != nil else {
| `- error: cannot find 'view' in scope
127 | return
128 | }
/Users/admin/builder/spi-builder-workspace/Sources/HeadlessTabView/HeadlessTabView.swift:131:31: error: cannot find 'children' in scope
129 |
130 | didRemove(
131 | children: children.filter({ child in
| `- error: cannot find 'children' in scope
132 | child != selectedChild
133 | })
/Users/admin/builder/spi-builder-workspace/Sources/HeadlessTabView/HeadlessTabView.swift:209:43: error: cannot find type 'UIViewController' in scope
207 | }
208 |
209 | private func didRemove(children: [UIViewController]) {
| `- error: cannot find type 'UIViewController' in scope
210 | for child in children {
211 | child.view.removeFromSuperview()
/Users/admin/builder/spi-builder-workspace/Sources/HeadlessTabView/HeadlessTabView.swift:199:36: error: cannot find type 'UIViewController' in scope
197 | }
198 |
199 | private func didAdd(child: UIViewController) {
| `- error: cannot find type 'UIViewController' in scope
200 | child.didMove(toParent: self)
201 | }
/Users/admin/builder/spi-builder-workspace/Sources/HeadlessTabView/HeadlessTabView.swift:144:23: error: method does not override any method from its superclass
142 | }
143 |
144 | override func viewWillAppear(_ animated: Bool) {
| `- error: method does not override any method from its superclass
145 | super.viewWillAppear(animated)
146 |
/Users/admin/builder/spi-builder-workspace/Sources/HeadlessTabView/HeadlessTabView.swift:154:23: error: method does not override any method from its superclass
152 | }
153 |
154 | override func viewDidAppear(_ animated: Bool) {
| `- error: method does not override any method from its superclass
155 | super.viewDidAppear(animated)
156 |
/Users/admin/builder/spi-builder-workspace/Sources/HeadlessTabView/HeadlessTabView.swift:164:23: error: method does not override any method from its superclass
162 | }
163 |
164 | override func viewWillDisappear(_ animated: Bool) {
| `- error: method does not override any method from its superclass
165 | super.viewWillDisappear(animated)
166 |
/Users/admin/builder/spi-builder-workspace/Sources/HeadlessTabView/HeadlessTabView.swift:170:23: error: method does not override any method from its superclass
168 | }
169 |
170 | override func viewDidDisappear(_ animated: Bool) {
| `- error: method does not override any method from its superclass
171 | super.viewDidDisappear(animated)
172 |
/Users/admin/builder/spi-builder-workspace/Sources/HeadlessTabView/HeadlessTabView.swift:176:49: error: cannot find type 'UIViewController' in scope
174 | }
175 |
176 | override func willMove(toParent parent: UIViewController?) {
| `- error: cannot find type 'UIViewController' in scope
177 | super.willMove(toParent: parent)
178 | }
/Users/admin/builder/spi-builder-workspace/Sources/HeadlessTabView/HeadlessTabView.swift:176:23: error: method does not override any method from its superclass
174 | }
175 |
176 | override func willMove(toParent parent: UIViewController?) {
| `- error: method does not override any method from its superclass
177 | super.willMove(toParent: parent)
178 | }
/Users/admin/builder/spi-builder-workspace/Sources/HeadlessTabView/HeadlessTabView.swift:182:37: error: cannot find type 'UIViewController' in scope
180 | // MARK: - Convenience
181 |
182 | private func willAdd(child: UIViewController) {
| `- error: cannot find type 'UIViewController' in scope
183 |
184 | addChild(child)
/Users/admin/builder/spi-builder-workspace/Sources/HeadlessTabView/HeadlessTabView.swift:203:44: error: cannot find type 'UIViewController' in scope
201 | }
202 |
203 | private func willRemove(children: [UIViewController]) {
| `- error: cannot find type 'UIViewController' in scope
204 | for child in children {
205 | child.willMove(toParent: nil)
/Users/admin/builder/spi-builder-workspace/Sources/HeadlessTabView/HeadlessTabView.swift:220:48: error: cannot find type 'UIViewController' in scope
218 | extension HeadlessTabView {
219 | fileprivate class Coordinator {
220 | var storedViewControllers: [Selection: UIViewController] = [:]
| `- error: cannot find type 'UIViewController' in scope
221 | }
222 | }
/Users/admin/builder/spi-builder-workspace/Sources/HeadlessTabView/HeadlessTabView.swift:18:59: error: value of type 'HeadlessTabView<Selection, Content>.Inner' has no member 'edgesIgnoringSafeArea'
16 | public var body: some View {
17 | GeometryReader { proxy in
18 | Inner($state, proxy: proxy, content: content).edgesIgnoringSafeArea(.all)
| `- error: value of type 'HeadlessTabView<Selection, Content>.Inner' has no member 'edgesIgnoringSafeArea'
19 | }
20 | }
/Users/admin/builder/spi-builder-workspace/Sources/HeadlessTabView/HeadlessTabView.swift:18:82: error: cannot infer contextual base in reference to member 'all'
16 | public var body: some View {
17 | GeometryReader { proxy in
18 | Inner($state, proxy: proxy, content: content).edgesIgnoringSafeArea(.all)
| `- error: cannot infer contextual base in reference to member 'all'
19 | }
20 | }
/Users/admin/builder/spi-builder-workspace/Sources/HeadlessTabView/HeadlessTabView.swift:46:35: error: argument passed to call that takes no arguments
44 |
45 | func makeUIViewController(context: Context) -> HeadlessTabView.Controller {
46 | HeadlessTabView.Controller(nibName: nil, bundle: nil)
| `- error: argument passed to call that takes no arguments
47 | }
48 |
/Users/admin/builder/spi-builder-workspace/Sources/HeadlessTabView/HeadlessTabView.swift:46:45: error: 'nil' requires a contextual type
44 |
45 | func makeUIViewController(context: Context) -> HeadlessTabView.Controller {
46 | HeadlessTabView.Controller(nibName: nil, bundle: nil)
| `- error: 'nil' requires a contextual type
47 | }
48 |
/Users/admin/builder/spi-builder-workspace/Sources/HeadlessTabView/HeadlessTabView.swift:46:58: error: 'nil' requires a contextual type
44 |
45 | func makeUIViewController(context: Context) -> HeadlessTabView.Controller {
46 | HeadlessTabView.Controller(nibName: nil, bundle: nil)
| `- error: 'nil' requires a contextual type
47 | }
48 |
/Users/admin/builder/spi-builder-workspace/Sources/HeadlessTabView/HeadlessTabView.swift:51:29: error: cannot find type 'UIViewController' in scope
49 | func updateUIViewController(_ uiViewController: HeadlessTabView.Controller, context: Context) {
50 |
51 | let viewController: UIViewController
| `- error: cannot find type 'UIViewController' in scope
52 |
53 | if let existing = context.coordinator.storedViewControllers[state] {
/Users/admin/builder/spi-builder-workspace/Sources/HeadlessTabView/HeadlessTabView.swift:57:30: error: cannot find 'UIHostingController' in scope
55 | }
56 | else {
57 | viewController = UIHostingController(
| `- error: cannot find 'UIHostingController' in scope
58 | rootView: content(state)
59 | )
/Users/admin/builder/spi-builder-workspace/Sources/HeadlessTabView/HeadlessTabView.swift:64:45: error: cannot find 'UIEdgeInsets' in scope
62 | }
63 |
64 | uiViewController.passedEdgeInsets = UIEdgeInsets(
| `- error: cannot find 'UIEdgeInsets' in scope
65 | top: proxy.safeAreaInsets.top,
66 | left: proxy.safeAreaInsets.leading,
/Users/admin/builder/spi-builder-workspace/Sources/HeadlessTabView/HeadlessTabView.swift:84:13: error: cannot find 'view' in scope
82 |
83 | override func loadView() {
84 | view = UIView()
| `- error: cannot find 'view' in scope
85 | view.backgroundColor = .clear
86 | }
/Users/admin/builder/spi-builder-workspace/Sources/HeadlessTabView/HeadlessTabView.swift:84:20: error: cannot find 'UIView' in scope
82 |
83 | override func loadView() {
84 | view = UIView()
| `- error: cannot find 'UIView' in scope
85 | view.backgroundColor = .clear
86 | }
/Users/admin/builder/spi-builder-workspace/Sources/HeadlessTabView/HeadlessTabView.swift:85:13: error: cannot find 'view' in scope
83 | override func loadView() {
84 | view = UIView()
85 | view.backgroundColor = .clear
| `- error: cannot find 'view' in scope
86 | }
87 |
/Users/admin/builder/spi-builder-workspace/Sources/HeadlessTabView/HeadlessTabView.swift:89:13: error: 'super' members cannot be referenced in a root class
87 |
88 | override func viewWillLayoutSubviews() {
89 | super.viewWillLayoutSubviews()
| `- error: 'super' members cannot be referenced in a root class
90 |
91 | guard let parentSafeAreaInsets = parent?.view.safeAreaInsets,
/Users/admin/builder/spi-builder-workspace/Sources/HeadlessTabView/HeadlessTabView.swift:91:46: error: cannot find 'parent' in scope
89 | super.viewWillLayoutSubviews()
90 |
91 | guard let parentSafeAreaInsets = parent?.view.safeAreaInsets,
| `- error: cannot find 'parent' in scope
92 | let passedEdgeInsets = passedEdgeInsets
93 | else {
/Users/admin/builder/spi-builder-workspace/Sources/HeadlessTabView/HeadlessTabView.swift:94:17: error: cannot find 'additionalSafeAreaInsets' in scope
92 | let passedEdgeInsets = passedEdgeInsets
93 | else {
94 | additionalSafeAreaInsets = .zero
| `- error: cannot find 'additionalSafeAreaInsets' in scope
95 | return
96 | }
/Users/admin/builder/spi-builder-workspace/Sources/HeadlessTabView/HeadlessTabView.swift:98:13: error: cannot find 'additionalSafeAreaInsets' in scope
96 | }
97 |
98 | additionalSafeAreaInsets = UIEdgeInsets(
| `- error: cannot find 'additionalSafeAreaInsets' in scope
99 | top: passedEdgeInsets.top - parentSafeAreaInsets.top,
100 | left: passedEdgeInsets.left - parentSafeAreaInsets.left,
/Users/admin/builder/spi-builder-workspace/Sources/HeadlessTabView/HeadlessTabView.swift:98:40: error: cannot find 'UIEdgeInsets' in scope
96 | }
97 |
98 | additionalSafeAreaInsets = UIEdgeInsets(
| `- error: cannot find 'UIEdgeInsets' in scope
99 | top: passedEdgeInsets.top - parentSafeAreaInsets.top,
100 | left: passedEdgeInsets.left - parentSafeAreaInsets.left,
/Users/admin/builder/spi-builder-workspace/Sources/HeadlessTabView/HeadlessTabView.swift:98:13: error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
96 | }
97 |
98 | additionalSafeAreaInsets = UIEdgeInsets(
| `- error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
99 | top: passedEdgeInsets.top - parentSafeAreaInsets.top,
100 | left: passedEdgeInsets.left - parentSafeAreaInsets.left,
/Users/admin/builder/spi-builder-workspace/Sources/HeadlessTabView/HeadlessTabView.swift:109:23: error: cannot find 'isViewLoaded' in scope
107 | willSet {
108 |
109 | guard isViewLoaded && view.superview != nil else {
| `- error: cannot find 'isViewLoaded' in scope
110 | return
111 | }
/Users/admin/builder/spi-builder-workspace/Sources/HeadlessTabView/HeadlessTabView.swift:109:39: error: cannot find 'view' in scope
107 | willSet {
108 |
109 | guard isViewLoaded && view.superview != nil else {
| `- error: cannot find 'view' in scope
110 | return
111 | }
/Users/admin/builder/spi-builder-workspace/Sources/HeadlessTabView/HeadlessTabView.swift:114:31: error: cannot find 'children' in scope
112 |
113 | willRemove(
114 | children: children.filter({ child in
| `- error: cannot find 'children' in scope
115 | child != selectedChild
116 | })
/Users/admin/builder/spi-builder-workspace/Sources/HeadlessTabView/HeadlessTabView.swift:145:13: error: 'super' members cannot be referenced in a root class
143 |
144 | override func viewWillAppear(_ animated: Bool) {
145 | super.viewWillAppear(animated)
| `- error: 'super' members cannot be referenced in a root class
146 |
147 | guard let selectedChild = selectedChild else {
/Users/admin/builder/spi-builder-workspace/Sources/HeadlessTabView/HeadlessTabView.swift:155:13: error: 'super' members cannot be referenced in a root class
153 |
154 | override func viewDidAppear(_ animated: Bool) {
155 | super.viewDidAppear(animated)
| `- error: 'super' members cannot be referenced in a root class
156 |
157 | guard let selectedChild = selectedChild else {
/Users/admin/builder/spi-builder-workspace/Sources/HeadlessTabView/HeadlessTabView.swift:165:13: error: 'super' members cannot be referenced in a root class
163 |
164 | override func viewWillDisappear(_ animated: Bool) {
165 | super.viewWillDisappear(animated)
| `- error: 'super' members cannot be referenced in a root class
166 |
167 | willRemove(children: children)
/Users/admin/builder/spi-builder-workspace/Sources/HeadlessTabView/HeadlessTabView.swift:167:34: error: cannot find 'children' in scope
165 | super.viewWillDisappear(animated)
166 |
167 | willRemove(children: children)
| `- error: cannot find 'children' in scope
168 | }
169 |
/Users/admin/builder/spi-builder-workspace/Sources/HeadlessTabView/HeadlessTabView.swift:171:13: error: 'super' members cannot be referenced in a root class
169 |
170 | override func viewDidDisappear(_ animated: Bool) {
171 | super.viewDidDisappear(animated)
| `- error: 'super' members cannot be referenced in a root class
172 |
173 | didRemove(children: children)
/Users/admin/builder/spi-builder-workspace/Sources/HeadlessTabView/HeadlessTabView.swift:173:33: error: cannot find 'children' in scope
171 | super.viewDidDisappear(animated)
172 |
173 | didRemove(children: children)
| `- error: cannot find 'children' in scope
174 | }
175 |
/Users/admin/builder/spi-builder-workspace/Sources/HeadlessTabView/HeadlessTabView.swift:177:13: error: 'super' members cannot be referenced in a root class
175 |
176 | override func willMove(toParent parent: UIViewController?) {
177 | super.willMove(toParent: parent)
| `- error: 'super' members cannot be referenced in a root class
178 | }
179 |
/Users/admin/builder/spi-builder-workspace/Sources/HeadlessTabView/HeadlessTabView.swift:184:13: error: cannot find 'addChild' in scope
182 | private func willAdd(child: UIViewController) {
183 |
184 | addChild(child)
| `- error: cannot find 'addChild' in scope
185 |
186 | child.view.translatesAutoresizingMaskIntoConstraints = false
/Users/admin/builder/spi-builder-workspace/Sources/HeadlessTabView/HeadlessTabView.swift:187:43: error: cannot infer contextual base in reference to member 'clear'
185 |
186 | child.view.translatesAutoresizingMaskIntoConstraints = false
187 | child.view.backgroundColor = .clear
| `- error: cannot infer contextual base in reference to member 'clear'
188 |
189 | view.addSubview(child.view)
/Users/admin/builder/spi-builder-workspace/Sources/HeadlessTabView/HeadlessTabView.swift:189:13: error: cannot find 'view' in scope
187 | child.view.backgroundColor = .clear
188 |
189 | view.addSubview(child.view)
| `- error: cannot find 'view' in scope
190 |
191 | NSLayoutConstraint.activate([
/Users/admin/builder/spi-builder-workspace/Sources/HeadlessTabView/HeadlessTabView.swift:192:58: error: cannot find 'view' in scope
190 |
191 | NSLayoutConstraint.activate([
192 | child.view.topAnchor.constraint(equalTo: view.topAnchor),
| `- error: cannot find 'view' in scope
193 | child.view.leadingAnchor.constraint(equalTo: view.leadingAnchor),
194 | child.view.bottomAnchor.constraint(equalTo: view.bottomAnchor),
/Users/admin/builder/spi-builder-workspace/Sources/HeadlessTabView/HeadlessTabView.swift:193:62: error: cannot find 'view' in scope
191 | NSLayoutConstraint.activate([
192 | child.view.topAnchor.constraint(equalTo: view.topAnchor),
193 | child.view.leadingAnchor.constraint(equalTo: view.leadingAnchor),
| `- error: cannot find 'view' in scope
194 | child.view.bottomAnchor.constraint(equalTo: view.bottomAnchor),
195 | child.view.trailingAnchor.constraint(equalTo: view.trailingAnchor),
/Users/admin/builder/spi-builder-workspace/Sources/HeadlessTabView/HeadlessTabView.swift:194:61: error: cannot find 'view' in scope
192 | child.view.topAnchor.constraint(equalTo: view.topAnchor),
193 | child.view.leadingAnchor.constraint(equalTo: view.leadingAnchor),
194 | child.view.bottomAnchor.constraint(equalTo: view.bottomAnchor),
| `- error: cannot find 'view' in scope
195 | child.view.trailingAnchor.constraint(equalTo: view.trailingAnchor),
196 | ])
/Users/admin/builder/spi-builder-workspace/Sources/HeadlessTabView/HeadlessTabView.swift:195:63: error: cannot find 'view' in scope
193 | child.view.leadingAnchor.constraint(equalTo: view.leadingAnchor),
194 | child.view.bottomAnchor.constraint(equalTo: view.bottomAnchor),
195 | child.view.trailingAnchor.constraint(equalTo: view.trailingAnchor),
| `- error: cannot find 'view' in scope
196 | ])
197 | }
BUILD FAILURE 6.0 macosSpm