Build Information
Failed to build CustomTabView, reference main (622dfe
), with Swift 5.9 for macOS (SPM) on 13 Jan 2025 22:23:21 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.2.0.app xcrun swift build --arch arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.60.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/NicFontana/SwiftUI-CustomTabView.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/NicFontana/SwiftUI-CustomTabView
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 622dfef Merge pull request #7 from NicFontana/feat/support-ios-18-swiftui-containers
Cloned https://github.com/NicFontana/SwiftUI-CustomTabView.git
Revision (git rev-parse @):
622dfef343c3840a6c0545e61576ba3fa4424b66
SUCCESS checkout https://github.com/NicFontana/SwiftUI-CustomTabView.git at main
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 5.9
Building package at path: $PWD
https://github.com/NicFontana/SwiftUI-CustomTabView.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.2.0.app xcrun swift build --arch arm64
Building for debugging...
[1/10] Compiling CustomTabView UITabBarControllerRepresentable.swift
[2/10] Compiling CustomTabView KeyboardReadable.swift
[3/10] Compiling CustomTabView NSTabBarControllerRepresentable.swift
[4/10] Compiling CustomTabView ExampleView.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[5/10] Compiling CustomTabView BottomFloatingTabBarView.swift
[6/10] Compiling CustomTabView EnvironmentValues+TabBarPosition.swift
[7/10] Compiling CustomTabView CustomTabView.swift
/Users/admin/builder/spi-builder-workspace/Sources/CustomTabView/CustomTabView.swift:228:19: error: cannot find type 'SubviewsCollection' in scope
let children: SubviewsCollection
^~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/CustomTabView/CustomTabView.swift:230:40: error: cannot find type 'SubviewsCollection' in scope
private func contentView(children: SubviewsCollection) -> some View {
^~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/CustomTabView/CustomTabView.swift:244:39: error: cannot find type 'SubviewsCollection' in scope
private func topBarView(children: SubviewsCollection) -> some View {
^~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/CustomTabView/CustomTabView.swift:252:42: error: cannot find type 'SubviewsCollection' in scope
private func bottomBarView(children: SubviewsCollection) -> some View {
^~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/CustomTabView/CustomTabView.swift:260:40: error: cannot find type 'SubviewsCollection' in scope
private func leftBarView(children: SubviewsCollection) -> some View {
^~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/CustomTabView/CustomTabView.swift:268:41: error: cannot find type 'SubviewsCollection' in scope
private func rightBarView(children: SubviewsCollection) -> some View {
^~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/CustomTabView/CustomTabView.swift:276:44: error: cannot find type 'SubviewsCollection' in scope
private func floatingBarView(children: SubviewsCollection, edge: Edge) -> some View {
^~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/CustomTabView/CustomTabView.swift:63:13: error: no exact matches in call to initializer
Group(subviews: content) { subviews in
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomTabView/CustomTabView.swift:63:13: note: candidate has partially matching parameter list (content: () -> _)
Group(subviews: content) { subviews in
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomTabView/CustomTabView.swift:63:13: note: candidate has partially matching parameter list (content: () -> _)
Group(subviews: content) { subviews in
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomTabView/CustomTabView.swift:63:13: note: candidate has partially matching parameter list (content: () -> _)
Group(subviews: content) { subviews in
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomTabView/CustomTabView.swift:63:13: note: candidate has partially matching parameter list (content: () -> _)
Group(subviews: content) { subviews in
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomTabView/CustomTabView.swift:63:13: note: candidate has partially matching parameter list (content: () -> _)
Group(subviews: content) { subviews in
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomTabView/CustomTabView.swift:63:13: note: candidate has partially matching parameter list (content: () -> _)
Group(subviews: content) { subviews in
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomTabView/CustomTabView.swift:63:13: note: candidate has partially matching parameter list (content: () -> _)
Group(subviews: content) { subviews in
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomTabView/CustomTabView.swift:63:13: note: candidate has partially matching parameter list (content: () -> _)
Group(subviews: content) { subviews in
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomTabView/CustomTabView.swift:63:13: error: generic parameter 'Content' could not be inferred
Group(subviews: content) { subviews in
^
/Users/admin/builder/spi-builder-workspace/Sources/CustomTabView/CustomTabView.swift:63:13: note: explicitly specify the generic arguments to fix this issue
Group(subviews: content) { subviews in
^
<Any>
[8/10] Emitting module CustomTabView
/Users/admin/builder/spi-builder-workspace/Sources/CustomTabView/CustomTabView.swift:228:19: error: cannot find type 'SubviewsCollection' in scope
let children: SubviewsCollection
^~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/CustomTabView/CustomTabView.swift:230:40: error: cannot find type 'SubviewsCollection' in scope
private func contentView(children: SubviewsCollection) -> some View {
^~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/CustomTabView/CustomTabView.swift:244:39: error: cannot find type 'SubviewsCollection' in scope
private func topBarView(children: SubviewsCollection) -> some View {
^~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/CustomTabView/CustomTabView.swift:252:42: error: cannot find type 'SubviewsCollection' in scope
private func bottomBarView(children: SubviewsCollection) -> some View {
^~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/CustomTabView/CustomTabView.swift:260:40: error: cannot find type 'SubviewsCollection' in scope
private func leftBarView(children: SubviewsCollection) -> some View {
^~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/CustomTabView/CustomTabView.swift:268:41: error: cannot find type 'SubviewsCollection' in scope
private func rightBarView(children: SubviewsCollection) -> some View {
^~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/CustomTabView/CustomTabView.swift:276:44: error: cannot find type 'SubviewsCollection' in scope
private func floatingBarView(children: SubviewsCollection, edge: Edge) -> some View {
^~~~~~~~~~~~~~~~~~
[9/10] Compiling CustomTabView Tab.swift
[10/10] Compiling CustomTabView TopIndicatorTabBarView.swift
error: fatalError
BUILD FAILURE 5.9 macosSpm