The Swift Package Index logo.Swift Package Index

Build Information

Failed to build StatefulTabView, reference master (9faa43), with Swift 6.4 for macOS (SPM) on 18 Sep 2026 19:01:22 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/NicholasBellucci/StatefulTabView.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/NicholasBellucci/StatefulTabView
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 9faa432 Merge pull request #16 from camdenfullmer/return-if-found
Cloned https://github.com/NicholasBellucci/StatefulTabView.git
Revision (git rev-parse @):
9faa432592874b6e20065f2aa63f20f72c5df71c
SUCCESS checkout https://github.com/NicholasBellucci/StatefulTabView.git at master
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.4
Building package at path:  $PWD
https://github.com/NicholasBellucci/StatefulTabView.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun swift build --arch arm64
Building for debugging...
[Planning deferred tasks]
[19 / 28]
[20 / 29] StatefulTabView
[30 / 102]
[33 / 102]
[41 / 102]
[43 / 102]
[44 / 102]
[49 / 102]
[52 / 102]
[55 / 102]
[61 / 102]
[64 / 102]
[66 / 102]
[67 / 102]
[77 / 102]
[79 / 102]
[80 / 102]
[83 / 102]
[85 / 102]
error: SwiftCompile normal arm64 failed with a nonzero exit code. Command line:     cd /Users/admin/builder

/Users/admin/builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/Tab.swift:12:18: error: cannot find type 'UITabBarItem' in scope
10 | public struct Tab {
11 |     var view: AnyView
12 |     var barItem: UITabBarItem? = nil
   |                  `- error: cannot find type 'UITabBarItem' in scope
13 |
14 |     internal var prefersLargeTitle: Bool = false
/Users/admin/builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/Tab.swift:59:27: error: cannot find type 'UIImage' in scope
57 |     // MARK: UIImages
58 |     public init<T>(title: String? = nil,
59 |                    image: UIImage?,
   |                           `- error: cannot find type 'UIImage' in scope
60 |                    selectedImage: UIImage? = nil,
61 |                    badgeValue: String? = nil,
/Users/admin/builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/Tab.swift:60:35: error: cannot find type 'UIImage' in scope
58 |     public init<T>(title: String? = nil,
59 |                    image: UIImage?,
60 |                    selectedImage: UIImage? = nil,
   |                                   `- error: cannot find type 'UIImage' in scope
61 |                    badgeValue: String? = nil,
62 |                    @ViewBuilder content: @escaping () -> T) where T: View {
/Users/admin/builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarController.swift:17:23: error: cannot find type 'UIViewController' in scope
 15 |
 16 | struct TabBarController: UIViewControllerRepresentable {
 17 |     var controllers: [UIViewController]
    |                       `- error: cannot find type 'UIViewController' in scope
 18 |     var tabBarItems: [Tab]
 19 |
/Users/admin/builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarController.swift:20:23: error: cannot find type 'UIColor' in scope
 18 |     var tabBarItems: [Tab]
 19 |
 20 |     var barTintColor: UIColor?
    |                       `- error: cannot find type 'UIColor' in scope
 21 |     var unselectedItemTintColor: UIColor?
 22 |     var backgroundColor: UIColor?
/Users/admin/builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarController.swift:21:34: error: cannot find type 'UIColor' in scope
 19 |
 20 |     var barTintColor: UIColor?
 21 |     var unselectedItemTintColor: UIColor?
    |                                  `- error: cannot find type 'UIColor' in scope
 22 |     var backgroundColor: UIColor?
 23 |     var tabBarConfiguration: TabBarBackgroundConfiguration?
/Users/admin/builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarController.swift:22:26: error: cannot find type 'UIColor' in scope
 20 |     var barTintColor: UIColor?
 21 |     var unselectedItemTintColor: UIColor?
 22 |     var backgroundColor: UIColor?
    |                          `- error: cannot find type 'UIColor' in scope
 23 |     var tabBarConfiguration: TabBarBackgroundConfiguration?
 24 |
/Users/admin/builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarController.swift:27:52: error: cannot find type 'UITabBarController' in scope
 25 |     @Binding var selectedIndex: Int
 26 |
 27 |     func makeUIViewController(context: Context) -> UITabBarController {
    |                                                    `- error: cannot find type 'UITabBarController' in scope
 28 |         let tabBarController = UITabBarController()
 29 |         tabBarController.viewControllers = controllers
/Users/admin/builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarController.swift:27:40: error: cannot find type 'Context' in scope
 25 |     @Binding var selectedIndex: Int
 26 |
 27 |     func makeUIViewController(context: Context) -> UITabBarController {
    |                                        `- error: cannot find type 'Context' in scope
 28 |         let tabBarController = UITabBarController()
 29 |         tabBarController.viewControllers = controllers
/Users/admin/builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarController.swift:37:53: error: cannot find type 'UITabBarController' in scope
 35 |     }
 36 |
 37 |     func updateUIViewController(_ tabBarController: UITabBarController, context: Context) {
    |                                                     `- error: cannot find type 'UITabBarController' in scope
 38 |         tabBarController.selectedIndex = selectedIndex
 39 |
/Users/admin/builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarController.swift:37:82: error: cannot find type 'Context' in scope
 35 |     }
 36 |
 37 |     func updateUIViewController(_ tabBarController: UITabBarController, context: Context) {
    |                                                                                  `- error: cannot find type 'Context' in scope
 38 |         tabBarController.selectedIndex = selectedIndex
 39 |
/Users/admin/builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarController.swift:16:26: error: cannot find type 'UIViewControllerRepresentable' in scope
 14 | }
 15 |
 16 | struct TabBarController: UIViewControllerRepresentable {
    |                          `- error: cannot find type 'UIViewControllerRepresentable' in scope
 17 |     var controllers: [UIViewController]
 18 |     var tabBarItems: [Tab]
/Users/admin/builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarController.swift:55:30: error: cannot find type 'UITabBar' in scope
 53 |
 54 | private extension TabBarController {
 55 |     func configure(_ tabBar: UITabBar) {
    |                              `- error: cannot find type 'UITabBar' in scope
 56 |         let appearance = tabBar.standardAppearance.copy()
 57 |
/Users/admin/builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarController.swift:89:71: error: cannot find type 'UINavigationController' in scope
 87 |     }
 88 |
 89 |     func navigationController(in viewController: UIViewController) -> UINavigationController? {
    |                                                                       `- error: cannot find type 'UINavigationController' in scope
 90 |         var controller: UINavigationController?
 91 |
/Users/admin/builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarController.swift:89:50: error: cannot find type 'UIViewController' in scope
 87 |     }
 88 |
 89 |     func navigationController(in viewController: UIViewController) -> UINavigationController? {
    |                                                  `- error: cannot find type 'UIViewController' in scope
 90 |         var controller: UINavigationController?
 91 |
/Users/admin/builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarCoordinator.swift:11:36: error: cannot find type 'UITabBarControllerDelegate' in scope
  9 | import SwiftUI
 10 |
 11 | class TabBarCoordinator: NSObject, UITabBarControllerDelegate {
    |                                    `- error: cannot find type 'UITabBarControllerDelegate' in scope
 12 |     private enum Constants {
 13 |         static let boundsContainsPoint = CGPoint(x: 0, y: -89)
/Users/admin/builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarCoordinator.swift:24:47: error: cannot find type 'UITabBarController' in scope
 22 |     }
 23 |
 24 |     func tabBarController(_ tabBarController: UITabBarController, didSelect viewController: UIViewController) {
    |                                               `- error: cannot find type 'UITabBarController' in scope
 25 |         if parent.selectedIndex == tabBarController.selectedIndex {
 26 |             guard let navigationController = navigationController(in: viewController)  else {
/Users/admin/builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarCoordinator.swift:24:93: error: cannot find type 'UIViewController' in scope
 22 |     }
 23 |
 24 |     func tabBarController(_ tabBarController: UITabBarController, didSelect viewController: UIViewController) {
    |                                                                                             `- error: cannot find type 'UIViewController' in scope
 25 |         if parent.selectedIndex == tabBarController.selectedIndex {
 26 |             guard let navigationController = navigationController(in: viewController)  else {
/Users/admin/builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarCoordinator.swift:43:47: error: cannot find type 'UINavigationController' in scope
 41 |
 42 | private extension TabBarCoordinator {
 43 |     func scrollToTop(in navigationController: UINavigationController, selectedIndex: Int) {
    |                                               `- error: cannot find type 'UINavigationController' in scope
 44 |         let views = navigationController.viewControllers
 45 |             .map { $0.view.subviews }
/Users/admin/builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarCoordinator.swift:59:41: error: cannot find type 'UIViewController' in scope
 57 |     }
 58 |
 59 |     func scrollToTop(in viewController: UIViewController) {
    |                                         `- error: cannot find type 'UIViewController' in scope
 60 |         let views = viewController.view.subviews
 61 |
/Users/admin/builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarCoordinator.swift:69:71: error: cannot find type 'UINavigationController' in scope
 67 |
 68 | private extension TabBarCoordinator {
 69 |     func navigationController(in viewController: UIViewController) -> UINavigationController? {
    |                                                                       `- error: cannot find type 'UINavigationController' in scope
 70 |         var controller: UINavigationController?
 71 |
/Users/admin/builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarCoordinator.swift:69:50: error: cannot find type 'UIViewController' in scope
 67 |
 68 | private extension TabBarCoordinator {
 69 |     func navigationController(in viewController: UIViewController) -> UINavigationController? {
    |                                                  `- error: cannot find type 'UIViewController' in scope
 70 |         var controller: UINavigationController?
 71 |
/Users/admin/builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarCoordinator.swift:87:44: error: cannot find type 'UIScrollView' in scope
 85 |     }
 86 |
 87 |     func scrollView(in views: [UIView]) -> UIScrollView? {
    |                                            `- error: cannot find type 'UIScrollView' in scope
 88 |         var view: UIScrollView?
 89 |
/Users/admin/builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarCoordinator.swift:87:32: error: cannot find type 'UIView' in scope
 85 |     }
 86 |
 87 |     func scrollView(in views: [UIView]) -> UIScrollView? {
    |                                `- error: cannot find type 'UIView' in scope
 88 |         var view: UIScrollView?
 89 |
/Users/admin/builder/spi-builder-workspace/Sources/StatefulTabView/Modifiers/StatefulTabView+Modifiers.swift:11:32: error: cannot find type 'UIColor' in scope
 9 |
10 | public extension StatefulTabView {
11 |     func barTintColor(_ color: UIColor) -> StatefulTabView {
   |                                `- error: cannot find type 'UIColor' in scope
12 |         var copy = self
13 |         copy.barTintColor = color
/Users/admin/builder/spi-builder-workspace/Sources/StatefulTabView/Modifiers/StatefulTabView+Modifiers.swift:17:43: error: cannot find type 'UIColor' in scope
15 |     }
16 |
17 |     func unselectedItemTintColor(_ color: UIColor) -> StatefulTabView {
   |                                           `- error: cannot find type 'UIColor' in scope
18 |         var copy = self
19 |         copy.unselectedItemTintColor = color
/Users/admin/builder/spi-builder-workspace/Sources/StatefulTabView/Modifiers/StatefulTabView+Modifiers.swift:23:38: error: cannot find type 'UIColor' in scope
21 |     }
22 |
23 |     func barBackgroundColor(_ color: UIColor) -> StatefulTabView {
   |                                      `- error: cannot find type 'UIColor' in scope
24 |         var copy = self
25 |         copy.backgroundColor = color
/Users/admin/builder/spi-builder-workspace/Sources/StatefulTabView/StatefulTabView.swift:11:36: error: cannot find type 'UIHostingController' in scope
 9 |
10 | public struct StatefulTabView: View {
11 |     internal var viewControllers: [UIHostingController<AnyView>] = []
   |                                    `- error: cannot find type 'UIHostingController' in scope
12 |     internal var tabBarItems: [Tab] = []
13 |
/Users/admin/builder/spi-builder-workspace/Sources/StatefulTabView/StatefulTabView.swift:14:32: error: cannot find type 'UIColor' in scope
12 |     internal var tabBarItems: [Tab] = []
13 |
14 |     internal var barTintColor: UIColor? = nil
   |                                `- error: cannot find type 'UIColor' in scope
15 |     internal var unselectedItemTintColor: UIColor? = nil
16 |     internal var backgroundColor: UIColor? = nil
/Users/admin/builder/spi-builder-workspace/Sources/StatefulTabView/StatefulTabView.swift:15:43: error: cannot find type 'UIColor' in scope
13 |
14 |     internal var barTintColor: UIColor? = nil
15 |     internal var unselectedItemTintColor: UIColor? = nil
   |                                           `- error: cannot find type 'UIColor' in scope
16 |     internal var backgroundColor: UIColor? = nil
17 |     internal var tabBarConfiguration: TabBarBackgroundConfiguration? = nil
/Users/admin/builder/spi-builder-workspace/Sources/StatefulTabView/StatefulTabView.swift:16:35: error: cannot find type 'UIColor' in scope
14 |     internal var barTintColor: UIColor? = nil
15 |     internal var unselectedItemTintColor: UIColor? = nil
16 |     internal var backgroundColor: UIColor? = nil
   |                                   `- error: cannot find type 'UIColor' in scope
17 |     internal var tabBarConfiguration: TabBarBackgroundConfiguration? = nil
18 |
Failed frontend command:
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /Users/admin/builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/Tab.swift /Users/admin/builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarController.swift /Users/admin/builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarCoordinator.swift /Users/admin/builder/spi-builder-workspace/Sources/StatefulTabView/Modifiers/StatefulTabView+Modifiers.swift /Users/admin/builder/spi-builder-workspace/Sources/StatefulTabView/Modifiers/Tab+Modifiers.swift /Users/admin/builder/spi-builder-workspace/Sources/StatefulTabView/StatefulTabView.swift -target arm64-apple-macos12.0 -disable-cross-import-overlay-search -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins/libFoundationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server\#FoundationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins/libObservationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server\#ObservationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins/libPreviewsMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server\#PreviewsMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins/libSwiftMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server\#SwiftMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins/libSwiftUIMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server\#SwiftUIMacros -disable-implicit-swift-modules -Xcc -fno-implicit-modules -Xcc -fno-implicit-module-maps -explicit-swift-module-map-file /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/StatefulTabView.build/Debug/StatefulTabView-t.build/Objects-normal/arm64/StatefulTabView-dependencies-1.json -Xllvm -aarch64-use-tbi -enable-objc-interop -stack-check -sdk /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX27.0.sdk -I /Users/admin/builder/spi-builder-workspace/.build/out/Products/Debug -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.build/out/Products/Debug -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks -module-cache-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftExplicitPrecompiledModules -color-diagnostics -Xcc -fcolor-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -swift-version 5 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.build/out/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /Users/admin/builder -enable-anonymous-context-mangled-names -file-compilation-dir /Users/admin/builder -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.build/out/SDKStatCaches.noindex/macosx27.0-26A425-80c5bbf1d171475443272936d42f90a36a22442a12e9d48fe1a705f55a1adfc4.sdkstatcache -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/Users/admin/builder/spi-builder-workspace/.build/out/Products/Debug/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/StatefulTabView.build/Debug/StatefulTabView-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/StatefulTabView.build/Debug/StatefulTabView-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/StatefulTabView.build/Debug/StatefulTabView-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name StatefulTabView -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/StatefulTabView.build/Debug/StatefulTabView-t.build/Objects-normal/arm64/StatefulTabView_const_extract_protocols.json -disable-clang-spi -clang-target arm64-apple-macos27.0 -target-sdk-version 27.0 -target-sdk-name macosx27.0 -in-process-plugin-server-path /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/libSwiftInProcPluginServer.dylib -emit-module-doc-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/StatefulTabView.build/Debug/StatefulTabView-t.build/Objects-normal/arm64/StatefulTabView.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/StatefulTabView.build/Debug/StatefulTabView-t.build/Objects-normal/arm64/StatefulTabView.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/StatefulTabView.build/Debug/StatefulTabView-t.build/Objects-normal/arm64/StatefulTabView-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/StatefulTabView.build/Debug/StatefulTabView-t.build/Objects-normal/arm64/StatefulTabView-primary-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/StatefulTabView.build/Debug/StatefulTabView-t.build/Objects-normal/arm64/StatefulTabView-primary-emit-module.d -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/StatefulTabView.build/Debug/StatefulTabView-t.build/Objects-normal/arm64/StatefulTabView.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/StatefulTabView.build/Debug/StatefulTabView-t.build/Objects-normal/arm64/StatefulTabView.abi.json
error: Build failed
BUILD FAILURE 6.4 macosSpm