The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build CustomTabView, reference main (32b9c6), with Swift 5.10 for macOS (SPM) on 29 Jul 2025 13:28:38 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
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 32b9c69 Merge pull request #10 from NicFontana/fix/stale-child-view
Cloned https://github.com/NicFontana/SwiftUI-CustomTabView.git
Revision (git rev-parse @):
32b9c69474dc69d037adbae04f13aa1aa04b8d21
SUCCESS checkout https://github.com/NicFontana/SwiftUI-CustomTabView.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             5.10
Building package at path:  $PWD
https://github.com/NicFontana/SwiftUI-CustomTabView.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.4.0.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-33747A42983211AE.txt
[3/12] Compiling CustomTabView UITabBarControllerRepresentable.swift
[4/12] Compiling CustomTabView KeyboardReadable.swift
[5/12] Compiling CustomTabView NSTabBarControllerRepresentable.swift
/Users/admin/builder/spi-builder-workspace/Sources/CustomTabView/macOS/NSTabBarControllerRepresentable.swift:37:19: error: cannot find type 'SubviewsCollection' in scope
    let subviews: SubviewsCollection
                  ^~~~~~~~~~~~~~~~~~
[6/12] Compiling CustomTabView BottomFloatingTabBarView.swift
[7/12] Compiling CustomTabView Tab.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[8/12] Compiling CustomTabView ExampleView.swift
[9/12] Compiling CustomTabView EnvironmentValues+TabBarPosition.swift
[10/12] Compiling CustomTabView TopIndicatorTabBarView.swift
[11/12] Emitting module CustomTabView
/Users/admin/builder/spi-builder-workspace/Sources/CustomTabView/CustomTabView.swift:228:19: error: cannot find type 'SubviewsCollection' in scope
    let subviews: SubviewsCollection
                  ^~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/CustomTabView/CustomTabView.swift:230:40: error: cannot find type 'SubviewsCollection' in scope
    private func contentView(subviews: 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(subviews: 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(subviews: 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(subviews: 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(subviews: 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(subviews: SubviewsCollection, edge: Edge) -> some View {
                                           ^~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/CustomTabView/macOS/NSTabBarControllerRepresentable.swift:37:19: error: cannot find type 'SubviewsCollection' in scope
    let subviews: SubviewsCollection
                  ^~~~~~~~~~~~~~~~~~
[12/12] Compiling CustomTabView CustomTabView.swift
/Users/admin/builder/spi-builder-workspace/Sources/CustomTabView/CustomTabView.swift:228:19: error: cannot find type 'SubviewsCollection' in scope
    let subviews: SubviewsCollection
                  ^~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/CustomTabView/CustomTabView.swift:230:40: error: cannot find type 'SubviewsCollection' in scope
    private func contentView(subviews: 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(subviews: 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(subviews: 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(subviews: 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(subviews: 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(subviews: 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>
/Users/admin/builder/spi-builder-workspace/Sources/CustomTabView/macOS/NSTabBarControllerRepresentable.swift:37:19: error: cannot find type 'SubviewsCollection' in scope
    let subviews: SubviewsCollection
                  ^~~~~~~~~~~~~~~~~~
error: fatalError
BUILD FAILURE 5.10 macosSpm