Build Information
Failed to build HeadlessTabView, reference master (c8f6e4
), with Swift 6.0 for macOS (SPM) on 2 Nov 2024 15:52:02 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: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/davidask/HeadlessTabView
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at c8f6e43 Add guard for swapping view controllers, rename generic type
Cloned https://github.com/davidask/HeadlessTabView.git
Revision (git rev-parse @):
c8f6e4399ce65d231231a22d2733a8009c5950be
SUCCESS checkout https://github.com/davidask/HeadlessTabView.git at master
========================================
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.65s)
Creating working copy for https://github.com/davidask/HeadlessTabView.git
Working copy of https://github.com/davidask/HeadlessTabView.git resolved at master (c8f6e43)
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<Tab, Content>: View
| `- note: add @available attribute to enclosing generic struct
4 | where Tab: Hashable & CaseIterable, Content: View {
5 |
6 | @Binding var selection: Tab
| `- error: 'Binding' is only available in macOS 10.15 or newer
7 |
8 | private let content: (Tab) -> Content
/Users/admin/builder/spi-builder-workspace/Sources/HeadlessTabView/HeadlessTabView.swift:10:30: error: 'Binding' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public struct HeadlessTabView<Tab, Content>: View
| `- note: add @available attribute to enclosing generic struct
4 | where Tab: Hashable & CaseIterable, Content: View {
5 |
:
8 | private let content: (Tab) -> Content
9 |
10 | public init(_ selection: Binding<Tab>, @ViewBuilder content: @escaping (Tab) -> Content)
| | `- error: 'Binding' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing initializer
11 | {
12 | self._selection = selection
/Users/admin/builder/spi-builder-workspace/Sources/HeadlessTabView/HeadlessTabView.swift:10:45: error: 'ViewBuilder' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public struct HeadlessTabView<Tab, Content>: View
| `- note: add @available attribute to enclosing generic struct
4 | where Tab: Hashable & CaseIterable, Content: View {
5 |
:
8 | private let content: (Tab) -> Content
9 |
10 | public init(_ selection: Binding<Tab>, @ViewBuilder content: @escaping (Tab) -> Content)
| | `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing initializer
11 | {
12 | self._selection = selection
/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<Tab, Content>: View
| `- note: add @available attribute to enclosing generic struct
4 | where Tab: 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($selection, proxy: proxy, content: content).edgesIgnoringSafeArea(.all)
/Users/admin/builder/spi-builder-workspace/Sources/HeadlessTabView/HeadlessTabView.swift:4:46: error: 'View' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public struct HeadlessTabView<Tab, Content>: View
| `- note: add @available attribute to enclosing generic struct
4 | where Tab: Hashable & CaseIterable, Content: View {
| `- error: 'View' is only available in macOS 10.15 or newer
5 |
6 | @Binding var selection: Tab
/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 selection: Tab
| `- error: 'Binding' is only available in macOS 10.15 or newer
26 |
27 | private let content: (Tab) -> 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 selection: Tab
26 |
27 | private let content: (Tab) -> 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:26: 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 selection: Tab
26 |
:
29 | var proxy: GeometryProxy
30 |
31 | public init(
| `- note: add @available attribute to enclosing initializer
32 | _ selection: Binding<Tab>,
| `- error: 'Binding' is only available in macOS 10.15 or newer
33 | proxy: GeometryProxy,
34 | content: @escaping (Tab) -> 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 selection: Tab
26 |
:
29 | var proxy: GeometryProxy
30 |
31 | public init(
| `- note: add @available attribute to enclosing initializer
32 | _ selection: Binding<Tab>,
33 | proxy: GeometryProxy,
| `- error: 'GeometryProxy' is only available in macOS 10.15 or newer
34 | content: @escaping (Tab) -> 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 | guard context.coordinator.currentSelection != selection else {
/Users/admin/builder/spi-builder-workspace/Sources/HeadlessTabView/HeadlessTabView.swift:89:31: error: cannot find type 'UIEdgeInsets' in scope
87 | fileprivate final class Controller: UIViewController {
88 |
89 | var passedEdgeInsets: UIEdgeInsets?
| `- error: cannot find type 'UIEdgeInsets' in scope
90 |
91 | override func loadView() {
/Users/admin/builder/spi-builder-workspace/Sources/HeadlessTabView/HeadlessTabView.swift:114:28: error: cannot find type 'UIViewController' in scope
112 | }
113 |
114 | var selectedChild: UIViewController? {
| `- error: cannot find type 'UIViewController' in scope
115 | willSet {
116 |
/Users/admin/builder/spi-builder-workspace/Sources/HeadlessTabView/HeadlessTabView.swift:87:41: error: cannot find type 'UIViewController' in scope
85 |
86 | extension HeadlessTabView {
87 | fileprivate final class Controller: UIViewController {
| `- error: cannot find type 'UIViewController' in scope
88 |
89 | var passedEdgeInsets: UIEdgeInsets?
/Users/admin/builder/spi-builder-workspace/Sources/HeadlessTabView/HeadlessTabView.swift:91:23: error: method does not override any method from its superclass
89 | var passedEdgeInsets: UIEdgeInsets?
90 |
91 | override func loadView() {
| `- error: method does not override any method from its superclass
92 | view = UIView()
93 | view.backgroundColor = .clear
/Users/admin/builder/spi-builder-workspace/Sources/HeadlessTabView/HeadlessTabView.swift:96:23: error: method does not override any method from its superclass
94 | }
95 |
96 | override func viewWillLayoutSubviews() {
| `- error: method does not override any method from its superclass
97 | super.viewWillLayoutSubviews()
98 |
/Users/admin/builder/spi-builder-workspace/Sources/HeadlessTabView/HeadlessTabView.swift:134:23: error: cannot find 'isViewLoaded' in scope
132 | }
133 | didSet {
134 | guard isViewLoaded && view.superview != nil else {
| `- error: cannot find 'isViewLoaded' in scope
135 | return
136 | }
/Users/admin/builder/spi-builder-workspace/Sources/HeadlessTabView/HeadlessTabView.swift:134:39: error: cannot find 'view' in scope
132 | }
133 | didSet {
134 | guard isViewLoaded && view.superview != nil else {
| `- error: cannot find 'view' in scope
135 | return
136 | }
/Users/admin/builder/spi-builder-workspace/Sources/HeadlessTabView/HeadlessTabView.swift:139:31: error: cannot find 'children' in scope
137 |
138 | didRemove(
139 | children: children.filter({ child in
| `- error: cannot find 'children' in scope
140 | child != selectedChild
141 | })
/Users/admin/builder/spi-builder-workspace/Sources/HeadlessTabView/HeadlessTabView.swift:217:43: error: cannot find type 'UIViewController' in scope
215 | }
216 |
217 | private func didRemove(children: [UIViewController]) {
| `- error: cannot find type 'UIViewController' in scope
218 | for child in children {
219 | child.view.removeFromSuperview()
/Users/admin/builder/spi-builder-workspace/Sources/HeadlessTabView/HeadlessTabView.swift:207:36: error: cannot find type 'UIViewController' in scope
205 | }
206 |
207 | private func didAdd(child: UIViewController) {
| `- error: cannot find type 'UIViewController' in scope
208 | child.didMove(toParent: self)
209 | }
/Users/admin/builder/spi-builder-workspace/Sources/HeadlessTabView/HeadlessTabView.swift:152:23: error: method does not override any method from its superclass
150 | }
151 |
152 | override func viewWillAppear(_ animated: Bool) {
| `- error: method does not override any method from its superclass
153 | super.viewWillAppear(animated)
154 |
/Users/admin/builder/spi-builder-workspace/Sources/HeadlessTabView/HeadlessTabView.swift:162:23: error: method does not override any method from its superclass
160 | }
161 |
162 | override func viewDidAppear(_ animated: Bool) {
| `- error: method does not override any method from its superclass
163 | super.viewDidAppear(animated)
164 |
/Users/admin/builder/spi-builder-workspace/Sources/HeadlessTabView/HeadlessTabView.swift:172:23: error: method does not override any method from its superclass
170 | }
171 |
172 | override func viewWillDisappear(_ animated: Bool) {
| `- error: method does not override any method from its superclass
173 | super.viewWillDisappear(animated)
174 |
/Users/admin/builder/spi-builder-workspace/Sources/HeadlessTabView/HeadlessTabView.swift:178:23: error: method does not override any method from its superclass
176 | }
177 |
178 | override func viewDidDisappear(_ animated: Bool) {
| `- error: method does not override any method from its superclass
179 | super.viewDidDisappear(animated)
180 |
/Users/admin/builder/spi-builder-workspace/Sources/HeadlessTabView/HeadlessTabView.swift:184:49: error: cannot find type 'UIViewController' in scope
182 | }
183 |
184 | override func willMove(toParent parent: UIViewController?) {
| `- error: cannot find type 'UIViewController' in scope
185 | super.willMove(toParent: parent)
186 | }
/Users/admin/builder/spi-builder-workspace/Sources/HeadlessTabView/HeadlessTabView.swift:184:23: error: method does not override any method from its superclass
182 | }
183 |
184 | override func willMove(toParent parent: UIViewController?) {
| `- error: method does not override any method from its superclass
185 | super.willMove(toParent: parent)
186 | }
/Users/admin/builder/spi-builder-workspace/Sources/HeadlessTabView/HeadlessTabView.swift:190:37: error: cannot find type 'UIViewController' in scope
188 | // MARK: - Convenience
189 |
190 | private func willAdd(child: UIViewController) {
| `- error: cannot find type 'UIViewController' in scope
191 |
192 | addChild(child)
/Users/admin/builder/spi-builder-workspace/Sources/HeadlessTabView/HeadlessTabView.swift:211:44: error: cannot find type 'UIViewController' in scope
209 | }
210 |
211 | private func willRemove(children: [UIViewController]) {
| `- error: cannot find type 'UIViewController' in scope
212 | for child in children {
213 | child.willMove(toParent: nil)
/Users/admin/builder/spi-builder-workspace/Sources/HeadlessTabView/HeadlessTabView.swift:228:42: error: cannot find type 'UIViewController' in scope
226 | extension HeadlessTabView {
227 | fileprivate class Coordinator {
228 | var storedViewControllers: [Tab: UIViewController] = [:]
| `- error: cannot find type 'UIViewController' in scope
229 | var currentSelection: Tab?
230 | }
[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<Tab, Content>: View
| `- note: add @available attribute to enclosing generic struct
4 | where Tab: Hashable & CaseIterable, Content: View {
5 |
6 | @Binding var selection: Tab
| `- error: 'Binding' is only available in macOS 10.15 or newer
7 |
8 | private let content: (Tab) -> Content
/Users/admin/builder/spi-builder-workspace/Sources/HeadlessTabView/HeadlessTabView.swift:10:30: error: 'Binding' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public struct HeadlessTabView<Tab, Content>: View
| `- note: add @available attribute to enclosing generic struct
4 | where Tab: Hashable & CaseIterable, Content: View {
5 |
:
8 | private let content: (Tab) -> Content
9 |
10 | public init(_ selection: Binding<Tab>, @ViewBuilder content: @escaping (Tab) -> Content)
| | `- error: 'Binding' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing initializer
11 | {
12 | self._selection = selection
/Users/admin/builder/spi-builder-workspace/Sources/HeadlessTabView/HeadlessTabView.swift:10:45: error: 'ViewBuilder' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public struct HeadlessTabView<Tab, Content>: View
| `- note: add @available attribute to enclosing generic struct
4 | where Tab: Hashable & CaseIterable, Content: View {
5 |
:
8 | private let content: (Tab) -> Content
9 |
10 | public init(_ selection: Binding<Tab>, @ViewBuilder content: @escaping (Tab) -> Content)
| | `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing initializer
11 | {
12 | self._selection = selection
/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<Tab, Content>: View
| `- note: add @available attribute to enclosing generic struct
4 | where Tab: 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($selection, proxy: proxy, content: content).edgesIgnoringSafeArea(.all)
/Users/admin/builder/spi-builder-workspace/Sources/HeadlessTabView/HeadlessTabView.swift:4:46: error: 'View' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public struct HeadlessTabView<Tab, Content>: View
| `- note: add @available attribute to enclosing generic struct
4 | where Tab: Hashable & CaseIterable, Content: View {
| `- error: 'View' is only available in macOS 10.15 or newer
5 |
6 | @Binding var selection: Tab
/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 selection: Tab
| `- error: 'Binding' is only available in macOS 10.15 or newer
26 |
27 | private let content: (Tab) -> 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 selection: Tab
26 |
27 | private let content: (Tab) -> 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:26: 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 selection: Tab
26 |
:
29 | var proxy: GeometryProxy
30 |
31 | public init(
| `- note: add @available attribute to enclosing initializer
32 | _ selection: Binding<Tab>,
| `- error: 'Binding' is only available in macOS 10.15 or newer
33 | proxy: GeometryProxy,
34 | content: @escaping (Tab) -> 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 selection: Tab
26 |
:
29 | var proxy: GeometryProxy
30 |
31 | public init(
| `- note: add @available attribute to enclosing initializer
32 | _ selection: Binding<Tab>,
33 | proxy: GeometryProxy,
| `- error: 'GeometryProxy' is only available in macOS 10.15 or newer
34 | content: @escaping (Tab) -> 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 | guard context.coordinator.currentSelection != selection else {
/Users/admin/builder/spi-builder-workspace/Sources/HeadlessTabView/HeadlessTabView.swift:89:31: error: cannot find type 'UIEdgeInsets' in scope
87 | fileprivate final class Controller: UIViewController {
88 |
89 | var passedEdgeInsets: UIEdgeInsets?
| `- error: cannot find type 'UIEdgeInsets' in scope
90 |
91 | override func loadView() {
/Users/admin/builder/spi-builder-workspace/Sources/HeadlessTabView/HeadlessTabView.swift:114:28: error: cannot find type 'UIViewController' in scope
112 | }
113 |
114 | var selectedChild: UIViewController? {
| `- error: cannot find type 'UIViewController' in scope
115 | willSet {
116 |
/Users/admin/builder/spi-builder-workspace/Sources/HeadlessTabView/HeadlessTabView.swift:87:41: error: cannot find type 'UIViewController' in scope
85 |
86 | extension HeadlessTabView {
87 | fileprivate final class Controller: UIViewController {
| `- error: cannot find type 'UIViewController' in scope
88 |
89 | var passedEdgeInsets: UIEdgeInsets?
/Users/admin/builder/spi-builder-workspace/Sources/HeadlessTabView/HeadlessTabView.swift:91:23: error: method does not override any method from its superclass
89 | var passedEdgeInsets: UIEdgeInsets?
90 |
91 | override func loadView() {
| `- error: method does not override any method from its superclass
92 | view = UIView()
93 | view.backgroundColor = .clear
/Users/admin/builder/spi-builder-workspace/Sources/HeadlessTabView/HeadlessTabView.swift:96:23: error: method does not override any method from its superclass
94 | }
95 |
96 | override func viewWillLayoutSubviews() {
| `- error: method does not override any method from its superclass
97 | super.viewWillLayoutSubviews()
98 |
/Users/admin/builder/spi-builder-workspace/Sources/HeadlessTabView/HeadlessTabView.swift:134:23: error: cannot find 'isViewLoaded' in scope
132 | }
133 | didSet {
134 | guard isViewLoaded && view.superview != nil else {
| `- error: cannot find 'isViewLoaded' in scope
135 | return
136 | }
/Users/admin/builder/spi-builder-workspace/Sources/HeadlessTabView/HeadlessTabView.swift:134:39: error: cannot find 'view' in scope
132 | }
133 | didSet {
134 | guard isViewLoaded && view.superview != nil else {
| `- error: cannot find 'view' in scope
135 | return
136 | }
/Users/admin/builder/spi-builder-workspace/Sources/HeadlessTabView/HeadlessTabView.swift:139:31: error: cannot find 'children' in scope
137 |
138 | didRemove(
139 | children: children.filter({ child in
| `- error: cannot find 'children' in scope
140 | child != selectedChild
141 | })
/Users/admin/builder/spi-builder-workspace/Sources/HeadlessTabView/HeadlessTabView.swift:217:43: error: cannot find type 'UIViewController' in scope
215 | }
216 |
217 | private func didRemove(children: [UIViewController]) {
| `- error: cannot find type 'UIViewController' in scope
218 | for child in children {
219 | child.view.removeFromSuperview()
/Users/admin/builder/spi-builder-workspace/Sources/HeadlessTabView/HeadlessTabView.swift:207:36: error: cannot find type 'UIViewController' in scope
205 | }
206 |
207 | private func didAdd(child: UIViewController) {
| `- error: cannot find type 'UIViewController' in scope
208 | child.didMove(toParent: self)
209 | }
/Users/admin/builder/spi-builder-workspace/Sources/HeadlessTabView/HeadlessTabView.swift:152:23: error: method does not override any method from its superclass
150 | }
151 |
152 | override func viewWillAppear(_ animated: Bool) {
| `- error: method does not override any method from its superclass
153 | super.viewWillAppear(animated)
154 |
/Users/admin/builder/spi-builder-workspace/Sources/HeadlessTabView/HeadlessTabView.swift:162:23: error: method does not override any method from its superclass
160 | }
161 |
162 | override func viewDidAppear(_ animated: Bool) {
| `- error: method does not override any method from its superclass
163 | super.viewDidAppear(animated)
164 |
/Users/admin/builder/spi-builder-workspace/Sources/HeadlessTabView/HeadlessTabView.swift:172:23: error: method does not override any method from its superclass
170 | }
171 |
172 | override func viewWillDisappear(_ animated: Bool) {
| `- error: method does not override any method from its superclass
173 | super.viewWillDisappear(animated)
174 |
/Users/admin/builder/spi-builder-workspace/Sources/HeadlessTabView/HeadlessTabView.swift:178:23: error: method does not override any method from its superclass
176 | }
177 |
178 | override func viewDidDisappear(_ animated: Bool) {
| `- error: method does not override any method from its superclass
179 | super.viewDidDisappear(animated)
180 |
/Users/admin/builder/spi-builder-workspace/Sources/HeadlessTabView/HeadlessTabView.swift:184:49: error: cannot find type 'UIViewController' in scope
182 | }
183 |
184 | override func willMove(toParent parent: UIViewController?) {
| `- error: cannot find type 'UIViewController' in scope
185 | super.willMove(toParent: parent)
186 | }
/Users/admin/builder/spi-builder-workspace/Sources/HeadlessTabView/HeadlessTabView.swift:184:23: error: method does not override any method from its superclass
182 | }
183 |
184 | override func willMove(toParent parent: UIViewController?) {
| `- error: method does not override any method from its superclass
185 | super.willMove(toParent: parent)
186 | }
/Users/admin/builder/spi-builder-workspace/Sources/HeadlessTabView/HeadlessTabView.swift:190:37: error: cannot find type 'UIViewController' in scope
188 | // MARK: - Convenience
189 |
190 | private func willAdd(child: UIViewController) {
| `- error: cannot find type 'UIViewController' in scope
191 |
192 | addChild(child)
/Users/admin/builder/spi-builder-workspace/Sources/HeadlessTabView/HeadlessTabView.swift:211:44: error: cannot find type 'UIViewController' in scope
209 | }
210 |
211 | private func willRemove(children: [UIViewController]) {
| `- error: cannot find type 'UIViewController' in scope
212 | for child in children {
213 | child.willMove(toParent: nil)
/Users/admin/builder/spi-builder-workspace/Sources/HeadlessTabView/HeadlessTabView.swift:228:42: error: cannot find type 'UIViewController' in scope
226 | extension HeadlessTabView {
227 | fileprivate class Coordinator {
228 | var storedViewControllers: [Tab: UIViewController] = [:]
| `- error: cannot find type 'UIViewController' in scope
229 | var currentSelection: Tab?
230 | }
/Users/admin/builder/spi-builder-workspace/Sources/HeadlessTabView/HeadlessTabView.swift:18:63: error: value of type 'HeadlessTabView<Tab, Content>.Inner' has no member 'edgesIgnoringSafeArea'
16 | public var body: some View {
17 | GeometryReader { proxy in
18 | Inner($selection, proxy: proxy, content: content).edgesIgnoringSafeArea(.all)
| `- error: value of type 'HeadlessTabView<Tab, Content>.Inner' has no member 'edgesIgnoringSafeArea'
19 | }
20 | }
/Users/admin/builder/spi-builder-workspace/Sources/HeadlessTabView/HeadlessTabView.swift:18:86: error: cannot infer contextual base in reference to member 'all'
16 | public var body: some View {
17 | GeometryReader { proxy in
18 | Inner($selection, 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:59:29: error: cannot find type 'UIViewController' in scope
57 | }
58 |
59 | let viewController: UIViewController
| `- error: cannot find type 'UIViewController' in scope
60 |
61 | if let existing = context.coordinator.storedViewControllers[selection] {
/Users/admin/builder/spi-builder-workspace/Sources/HeadlessTabView/HeadlessTabView.swift:65:30: error: cannot find 'UIHostingController' in scope
63 | }
64 | else {
65 | viewController = UIHostingController(
| `- error: cannot find 'UIHostingController' in scope
66 | rootView: content(selection).id(selection)
67 | )
/Users/admin/builder/spi-builder-workspace/Sources/HeadlessTabView/HeadlessTabView.swift:72:45: error: cannot find 'UIEdgeInsets' in scope
70 | }
71 |
72 | uiViewController.passedEdgeInsets = UIEdgeInsets(
| `- error: cannot find 'UIEdgeInsets' in scope
73 | top: proxy.safeAreaInsets.top,
74 | left: proxy.safeAreaInsets.leading,
/Users/admin/builder/spi-builder-workspace/Sources/HeadlessTabView/HeadlessTabView.swift:92:13: error: cannot find 'view' in scope
90 |
91 | override func loadView() {
92 | view = UIView()
| `- error: cannot find 'view' in scope
93 | view.backgroundColor = .clear
94 | }
/Users/admin/builder/spi-builder-workspace/Sources/HeadlessTabView/HeadlessTabView.swift:92:20: error: cannot find 'UIView' in scope
90 |
91 | override func loadView() {
92 | view = UIView()
| `- error: cannot find 'UIView' in scope
93 | view.backgroundColor = .clear
94 | }
/Users/admin/builder/spi-builder-workspace/Sources/HeadlessTabView/HeadlessTabView.swift:93:13: error: cannot find 'view' in scope
91 | override func loadView() {
92 | view = UIView()
93 | view.backgroundColor = .clear
| `- error: cannot find 'view' in scope
94 | }
95 |
/Users/admin/builder/spi-builder-workspace/Sources/HeadlessTabView/HeadlessTabView.swift:97:13: error: 'super' members cannot be referenced in a root class
95 |
96 | override func viewWillLayoutSubviews() {
97 | super.viewWillLayoutSubviews()
| `- error: 'super' members cannot be referenced in a root class
98 |
99 | guard let parentSafeAreaInsets = parent?.view.safeAreaInsets,
/Users/admin/builder/spi-builder-workspace/Sources/HeadlessTabView/HeadlessTabView.swift:99:46: error: cannot find 'parent' in scope
97 | super.viewWillLayoutSubviews()
98 |
99 | guard let parentSafeAreaInsets = parent?.view.safeAreaInsets,
| `- error: cannot find 'parent' in scope
100 | let passedEdgeInsets = passedEdgeInsets
101 | else {
/Users/admin/builder/spi-builder-workspace/Sources/HeadlessTabView/HeadlessTabView.swift:102:17: error: cannot find 'additionalSafeAreaInsets' in scope
100 | let passedEdgeInsets = passedEdgeInsets
101 | else {
102 | additionalSafeAreaInsets = .zero
| `- error: cannot find 'additionalSafeAreaInsets' in scope
103 | return
104 | }
/Users/admin/builder/spi-builder-workspace/Sources/HeadlessTabView/HeadlessTabView.swift:106:13: error: cannot find 'additionalSafeAreaInsets' in scope
104 | }
105 |
106 | additionalSafeAreaInsets = UIEdgeInsets(
| `- error: cannot find 'additionalSafeAreaInsets' in scope
107 | top: passedEdgeInsets.top - parentSafeAreaInsets.top,
108 | left: passedEdgeInsets.left - parentSafeAreaInsets.left,
/Users/admin/builder/spi-builder-workspace/Sources/HeadlessTabView/HeadlessTabView.swift:106:40: error: cannot find 'UIEdgeInsets' in scope
104 | }
105 |
106 | additionalSafeAreaInsets = UIEdgeInsets(
| `- error: cannot find 'UIEdgeInsets' in scope
107 | top: passedEdgeInsets.top - parentSafeAreaInsets.top,
108 | left: passedEdgeInsets.left - parentSafeAreaInsets.left,
/Users/admin/builder/spi-builder-workspace/Sources/HeadlessTabView/HeadlessTabView.swift:106:13: error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
104 | }
105 |
106 | additionalSafeAreaInsets = UIEdgeInsets(
| `- error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
107 | top: passedEdgeInsets.top - parentSafeAreaInsets.top,
108 | left: passedEdgeInsets.left - parentSafeAreaInsets.left,
/Users/admin/builder/spi-builder-workspace/Sources/HeadlessTabView/HeadlessTabView.swift:117:23: error: cannot find 'isViewLoaded' in scope
115 | willSet {
116 |
117 | guard isViewLoaded && view.superview != nil else {
| `- error: cannot find 'isViewLoaded' in scope
118 | return
119 | }
/Users/admin/builder/spi-builder-workspace/Sources/HeadlessTabView/HeadlessTabView.swift:117:39: error: cannot find 'view' in scope
115 | willSet {
116 |
117 | guard isViewLoaded && view.superview != nil else {
| `- error: cannot find 'view' in scope
118 | return
119 | }
/Users/admin/builder/spi-builder-workspace/Sources/HeadlessTabView/HeadlessTabView.swift:122:31: error: cannot find 'children' in scope
120 |
121 | willRemove(
122 | children: children.filter({ child in
| `- error: cannot find 'children' in scope
123 | child != selectedChild
124 | })
/Users/admin/builder/spi-builder-workspace/Sources/HeadlessTabView/HeadlessTabView.swift:153:13: error: 'super' members cannot be referenced in a root class
151 |
152 | override func viewWillAppear(_ animated: Bool) {
153 | super.viewWillAppear(animated)
| `- error: 'super' members cannot be referenced in a root class
154 |
155 | guard let selectedChild = selectedChild else {
/Users/admin/builder/spi-builder-workspace/Sources/HeadlessTabView/HeadlessTabView.swift:163:13: error: 'super' members cannot be referenced in a root class
161 |
162 | override func viewDidAppear(_ animated: Bool) {
163 | super.viewDidAppear(animated)
| `- error: 'super' members cannot be referenced in a root class
164 |
165 | guard let selectedChild = selectedChild else {
/Users/admin/builder/spi-builder-workspace/Sources/HeadlessTabView/HeadlessTabView.swift:173:13: error: 'super' members cannot be referenced in a root class
171 |
172 | override func viewWillDisappear(_ animated: Bool) {
173 | super.viewWillDisappear(animated)
| `- error: 'super' members cannot be referenced in a root class
174 |
175 | willRemove(children: children)
/Users/admin/builder/spi-builder-workspace/Sources/HeadlessTabView/HeadlessTabView.swift:175:34: error: cannot find 'children' in scope
173 | super.viewWillDisappear(animated)
174 |
175 | willRemove(children: children)
| `- error: cannot find 'children' in scope
176 | }
177 |
/Users/admin/builder/spi-builder-workspace/Sources/HeadlessTabView/HeadlessTabView.swift:179:13: error: 'super' members cannot be referenced in a root class
177 |
178 | override func viewDidDisappear(_ animated: Bool) {
179 | super.viewDidDisappear(animated)
| `- error: 'super' members cannot be referenced in a root class
180 |
181 | didRemove(children: children)
/Users/admin/builder/spi-builder-workspace/Sources/HeadlessTabView/HeadlessTabView.swift:181:33: error: cannot find 'children' in scope
179 | super.viewDidDisappear(animated)
180 |
181 | didRemove(children: children)
| `- error: cannot find 'children' in scope
182 | }
183 |
/Users/admin/builder/spi-builder-workspace/Sources/HeadlessTabView/HeadlessTabView.swift:185:13: error: 'super' members cannot be referenced in a root class
183 |
184 | override func willMove(toParent parent: UIViewController?) {
185 | super.willMove(toParent: parent)
| `- error: 'super' members cannot be referenced in a root class
186 | }
187 |
/Users/admin/builder/spi-builder-workspace/Sources/HeadlessTabView/HeadlessTabView.swift:192:13: error: cannot find 'addChild' in scope
190 | private func willAdd(child: UIViewController) {
191 |
192 | addChild(child)
| `- error: cannot find 'addChild' in scope
193 |
194 | child.view.translatesAutoresizingMaskIntoConstraints = false
/Users/admin/builder/spi-builder-workspace/Sources/HeadlessTabView/HeadlessTabView.swift:195:43: error: cannot infer contextual base in reference to member 'clear'
193 |
194 | child.view.translatesAutoresizingMaskIntoConstraints = false
195 | child.view.backgroundColor = .clear
| `- error: cannot infer contextual base in reference to member 'clear'
196 |
197 | view.addSubview(child.view)
/Users/admin/builder/spi-builder-workspace/Sources/HeadlessTabView/HeadlessTabView.swift:197:13: error: cannot find 'view' in scope
195 | child.view.backgroundColor = .clear
196 |
197 | view.addSubview(child.view)
| `- error: cannot find 'view' in scope
198 |
199 | NSLayoutConstraint.activate([
/Users/admin/builder/spi-builder-workspace/Sources/HeadlessTabView/HeadlessTabView.swift:200:58: error: cannot find 'view' in scope
198 |
199 | NSLayoutConstraint.activate([
200 | child.view.topAnchor.constraint(equalTo: view.topAnchor),
| `- error: cannot find 'view' in scope
201 | child.view.leadingAnchor.constraint(equalTo: view.leadingAnchor),
202 | child.view.bottomAnchor.constraint(equalTo: view.bottomAnchor),
/Users/admin/builder/spi-builder-workspace/Sources/HeadlessTabView/HeadlessTabView.swift:201:62: error: cannot find 'view' in scope
199 | NSLayoutConstraint.activate([
200 | child.view.topAnchor.constraint(equalTo: view.topAnchor),
201 | child.view.leadingAnchor.constraint(equalTo: view.leadingAnchor),
| `- error: cannot find 'view' in scope
202 | child.view.bottomAnchor.constraint(equalTo: view.bottomAnchor),
203 | child.view.trailingAnchor.constraint(equalTo: view.trailingAnchor),
/Users/admin/builder/spi-builder-workspace/Sources/HeadlessTabView/HeadlessTabView.swift:202:61: error: cannot find 'view' in scope
200 | child.view.topAnchor.constraint(equalTo: view.topAnchor),
201 | child.view.leadingAnchor.constraint(equalTo: view.leadingAnchor),
202 | child.view.bottomAnchor.constraint(equalTo: view.bottomAnchor),
| `- error: cannot find 'view' in scope
203 | child.view.trailingAnchor.constraint(equalTo: view.trailingAnchor),
204 | ])
/Users/admin/builder/spi-builder-workspace/Sources/HeadlessTabView/HeadlessTabView.swift:203:63: error: cannot find 'view' in scope
201 | child.view.leadingAnchor.constraint(equalTo: view.leadingAnchor),
202 | child.view.bottomAnchor.constraint(equalTo: view.bottomAnchor),
203 | child.view.trailingAnchor.constraint(equalTo: view.trailingAnchor),
| `- error: cannot find 'view' in scope
204 | ])
205 | }
BUILD FAILURE 6.0 macosSpm