The Swift Package Index logo.Swift Package Index

Build Information

Failed to build StatefulTabView, reference 0.1.10 (9faa43), with Swift 6.3 for macOS (SPM) on 21 Apr 2026 12:16:06 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/NicholasBellucci/StatefulTabView.git
Reference: 0.1.10
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/NicholasBellucci/StatefulTabView
 * tag               0.1.10     -> FETCH_HEAD
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 0.1.10
========================================
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",
  "traits": [
    "default"
  ],
  "dependencies": [
    {
      "identity": "statefultabview",
      "name": "StatefulTabView",
      "url": "https://github.com/NicholasBellucci/StatefulTabView.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/StatefulTabView",
      "traits": [
        "default"
      ],
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/NicholasBellucci/StatefulTabView.git
[1/376] Fetching statefultabview
Fetched https://github.com/NicholasBellucci/StatefulTabView.git from cache (0.75s)
Creating working copy for https://github.com/NicholasBellucci/StatefulTabView.git
Working copy of https://github.com/NicholasBellucci/StatefulTabView.git resolved at 0.1.10 (9faa432)
warning: '.resolve-product-dependencies': dependency 'statefultabview' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.3
Building package at path:  $PWD
https://github.com/NicholasBellucci/StatefulTabView.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--6988338F2F200930.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/9] Emitting module StatefulTabView
/Users/admin/builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/Tab.swift:11:15: error: 'AnyView' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public struct Tab {
   |               `- note: add '@available' attribute to enclosing struct
11 |     var view: AnyView
   |               `- error: 'AnyView' is only available in macOS 10.15 or newer
12 |     var barItem: UITabBarItem? = nil
13 |
/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:23:70: error: 'View' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public struct Tab {
   |               `- note: add '@available' attribute to enclosing struct
11 |     var view: AnyView
12 |     var barItem: UITabBarItem? = nil
   :
17 |
18 |     // MARK: Asset Image Names
19 |     public init<T>(title: String? = nil,
   |            `- note: add '@available' attribute to enclosing initializer
20 |                    imageName: String,
21 |                    selectedImageName: String? = nil,
22 |                    badgeValue: String? = nil,
23 |                    @ViewBuilder content: @escaping () -> T) where T: View {
   |                                                                      `- error: 'View' is only available in macOS 10.15 or newer
24 |
25 |         self.badgeValue = badgeValue
/Users/admin/builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/Tab.swift:23:21: error: 'ViewBuilder' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public struct Tab {
   |               `- note: add '@available' attribute to enclosing struct
11 |     var view: AnyView
12 |     var barItem: UITabBarItem? = nil
   :
17 |
18 |     // MARK: Asset Image Names
19 |     public init<T>(title: String? = nil,
   |            `- note: add '@available' attribute to enclosing initializer
20 |                    imageName: String,
21 |                    selectedImageName: String? = nil,
22 |                    badgeValue: String? = nil,
23 |                    @ViewBuilder content: @escaping () -> T) where T: View {
   |                     `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
24 |
25 |         self.badgeValue = badgeValue
/Users/admin/builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/Tab.swift:42:70: error: 'View' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public struct Tab {
   |               `- note: add '@available' attribute to enclosing struct
11 |     var view: AnyView
12 |     var barItem: UITabBarItem? = nil
   :
36 |
37 |     // MARK: System Image Names
38 |     public init<T>(title: String? = nil,
   |            `- note: add '@available' attribute to enclosing initializer
39 |                    systemImageName: String,
40 |                    selectedSystemImageName: String? = nil,
41 |                    badgeValue: String? = nil,
42 |                    @ViewBuilder content: @escaping () -> T) where T: View {
   |                                                                      `- error: 'View' is only available in macOS 10.15 or newer
43 |
44 |         self.badgeValue = badgeValue
/Users/admin/builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/Tab.swift:42:21: error: 'ViewBuilder' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public struct Tab {
   |               `- note: add '@available' attribute to enclosing struct
11 |     var view: AnyView
12 |     var barItem: UITabBarItem? = nil
   :
36 |
37 |     // MARK: System Image Names
38 |     public init<T>(title: String? = nil,
   |            `- note: add '@available' attribute to enclosing initializer
39 |                    systemImageName: String,
40 |                    selectedSystemImageName: String? = nil,
41 |                    badgeValue: String? = nil,
42 |                    @ViewBuilder content: @escaping () -> T) where T: View {
   |                     `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
43 |
44 |         self.badgeValue = badgeValue
/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/Tab.swift:62:70: error: 'View' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public struct Tab {
   |               `- note: add '@available' attribute to enclosing struct
11 |     var view: AnyView
12 |     var barItem: UITabBarItem? = nil
   :
56 |
57 |     // MARK: UIImages
58 |     public init<T>(title: String? = nil,
   |            `- note: add '@available' attribute to enclosing initializer
59 |                    image: UIImage?,
60 |                    selectedImage: UIImage? = nil,
61 |                    badgeValue: String? = nil,
62 |                    @ViewBuilder content: @escaping () -> T) where T: View {
   |                                                                      `- error: 'View' is only available in macOS 10.15 or newer
63 |
64 |         self.badgeValue = badgeValue
/Users/admin/builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/Tab.swift:62:21: error: 'ViewBuilder' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public struct Tab {
   |               `- note: add '@available' attribute to enclosing struct
11 |     var view: AnyView
12 |     var barItem: UITabBarItem? = nil
   :
56 |
57 |     // MARK: UIImages
58 |     public init<T>(title: String? = nil,
   |            `- note: add '@available' attribute to enclosing initializer
59 |                    image: UIImage?,
60 |                    selectedImage: UIImage? = nil,
61 |                    badgeValue: String? = nil,
62 |                    @ViewBuilder content: @escaping () -> T) where T: View {
   |                     `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
63 |
64 |         self.badgeValue = badgeValue
/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:25:6: error: 'Binding' is only available in macOS 10.15 or newer
 14 | }
 15 |
 16 | struct TabBarController: UIViewControllerRepresentable {
    |        `- note: add '@available' attribute to enclosing struct
 17 |     var controllers: [UIViewController]
 18 |     var tabBarItems: [Tab]
    :
 23 |     var tabBarConfiguration: TabBarBackgroundConfiguration?
 24 |
 25 |     @Binding var selectedIndex: Int
    |      `- error: 'Binding' is only available in macOS 10.15 or newer
 26 |
 27 |     func makeUIViewController(context: Context) -> UITabBarController {
/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 |
/Users/admin/builder/spi-builder-workspace/Sources/StatefulTabView/StatefulTabView.swift:19:6: error: 'State' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public struct StatefulTabView: View {
   |               `- note: add '@available' attribute to enclosing struct
11 |     internal var viewControllers: [UIHostingController<AnyView>] = []
12 |     internal var tabBarItems: [Tab] = []
   :
17 |     internal var tabBarConfiguration: TabBarBackgroundConfiguration? = nil
18 |
19 |     @State private var stateIndex: Int = 0
   |      `- error: 'State' is only available in macOS 10.15 or newer
20 |     @Binding private var bindableIndex: Int
21 |
/Users/admin/builder/spi-builder-workspace/Sources/StatefulTabView/StatefulTabView.swift:20:6: error: 'Binding' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public struct StatefulTabView: View {
   |               `- note: add '@available' attribute to enclosing struct
11 |     internal var viewControllers: [UIHostingController<AnyView>] = []
12 |     internal var tabBarItems: [Tab] = []
   :
18 |
19 |     @State private var stateIndex: Int = 0
20 |     @Binding private var bindableIndex: Int
   |      `- error: 'Binding' is only available in macOS 10.15 or newer
21 |
22 |     private var useBindableIndex: Bool = false
/Users/admin/builder/spi-builder-workspace/Sources/StatefulTabView/StatefulTabView.swift:24:32: error: 'Binding' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public struct StatefulTabView: View {
   |               `- note: add '@available' attribute to enclosing struct
11 |     internal var viewControllers: [UIHostingController<AnyView>] = []
12 |     internal var tabBarItems: [Tab] = []
   :
22 |     private var useBindableIndex: Bool = false
23 |
24 |     public init(selectedIndex: Binding<Int>? = nil, @TabBuilder _ content: () -> [Tab]) {
   |            |                   `- error: 'Binding' is only available in macOS 10.15 or newer
   |            `- note: add '@available' attribute to enclosing initializer
25 |         if let selectedIndex = selectedIndex {
26 |             _bindableIndex = selectedIndex
/Users/admin/builder/spi-builder-workspace/Sources/StatefulTabView/StatefulTabView.swift:36:27: error: 'View' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public struct StatefulTabView: View {
   |               `- note: add '@available' attribute to enclosing struct
11 |     internal var viewControllers: [UIHostingController<AnyView>] = []
12 |     internal var tabBarItems: [Tab] = []
   :
34 |     }
35 |
36 |     public var body: some View {
   |                |          `- error: 'View' is only available in macOS 10.15 or newer
   |                `- note: add '@available' attribute to enclosing property
37 |         TabBarController(controllers: viewControllers,
38 |                          tabBarItems: tabBarItems,
[4/9] Compiling StatefulTabView TabBarCoordinator.swift
/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/Helpers/TabBarCoordinator.swift:70:25: error: cannot find type 'UINavigationController' in scope
 68 | private extension TabBarCoordinator {
 69 |     func navigationController(in viewController: UIViewController) -> UINavigationController? {
 70 |         var controller: UINavigationController?
    |                         `- error: cannot find type 'UINavigationController' in scope
 71 |
 72 |         if let navigationController = viewController as? UINavigationController {
/Users/admin/builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarCoordinator.swift:72:58: error: cannot find type 'UINavigationController' in scope
 70 |         var controller: UINavigationController?
 71 |
 72 |         if let navigationController = viewController as? UINavigationController {
    |                                                          `- error: cannot find type 'UINavigationController' in scope
 73 |             return navigationController
 74 |         }
/Users/admin/builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarCoordinator.swift:77:50: error: cannot find type 'UINavigationController' in scope
 75 |
 76 |         viewController.children.forEach {
 77 |             if let navigationController = $0 as? UINavigationController {
    |                                                  `- error: cannot find type 'UINavigationController' in scope
 78 |                 controller = navigationController
 79 |             } else {
/Users/admin/builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarCoordinator.swift:88:19: error: cannot find type 'UIScrollView' in scope
 86 |
 87 |     func scrollView(in views: [UIView]) -> UIScrollView? {
 88 |         var view: UIScrollView?
    |                   `- error: cannot find type 'UIScrollView' in scope
 89 |
 90 |         views.forEach {
/Users/admin/builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarCoordinator.swift:95:40: error: cannot find type 'UIScrollView' in scope
 93 |             }
 94 |
 95 |             if let scrollView = $0 as? UIScrollView {
    |                                        `- error: cannot find type 'UIScrollView' in scope
 96 |                 view = scrollView
 97 |             } else {
[5/9] Compiling StatefulTabView StatefulTabView.swift
/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 |
/Users/admin/builder/spi-builder-workspace/Sources/StatefulTabView/StatefulTabView.swift:19:6: error: 'State' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public struct StatefulTabView: View {
   |               `- note: add '@available' attribute to enclosing struct
11 |     internal var viewControllers: [UIHostingController<AnyView>] = []
12 |     internal var tabBarItems: [Tab] = []
   :
17 |     internal var tabBarConfiguration: TabBarBackgroundConfiguration? = nil
18 |
19 |     @State private var stateIndex: Int = 0
   |      `- error: 'State' is only available in macOS 10.15 or newer
20 |     @Binding private var bindableIndex: Int
21 |
/Users/admin/builder/spi-builder-workspace/Sources/StatefulTabView/StatefulTabView.swift:20:6: error: 'Binding' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public struct StatefulTabView: View {
   |               `- note: add '@available' attribute to enclosing struct
11 |     internal var viewControllers: [UIHostingController<AnyView>] = []
12 |     internal var tabBarItems: [Tab] = []
   :
18 |
19 |     @State private var stateIndex: Int = 0
20 |     @Binding private var bindableIndex: Int
   |      `- error: 'Binding' is only available in macOS 10.15 or newer
21 |
22 |     private var useBindableIndex: Bool = false
/Users/admin/builder/spi-builder-workspace/Sources/StatefulTabView/StatefulTabView.swift:24:32: error: 'Binding' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public struct StatefulTabView: View {
   |               `- note: add '@available' attribute to enclosing struct
11 |     internal var viewControllers: [UIHostingController<AnyView>] = []
12 |     internal var tabBarItems: [Tab] = []
   :
22 |     private var useBindableIndex: Bool = false
23 |
24 |     public init(selectedIndex: Binding<Int>? = nil, @TabBuilder _ content: () -> [Tab]) {
   |            |                   `- error: 'Binding' is only available in macOS 10.15 or newer
   |            `- note: add '@available' attribute to enclosing initializer
25 |         if let selectedIndex = selectedIndex {
26 |             _bindableIndex = selectedIndex
/Users/admin/builder/spi-builder-workspace/Sources/StatefulTabView/StatefulTabView.swift:36:27: error: 'View' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public struct StatefulTabView: View {
   |               `- note: add '@available' attribute to enclosing struct
11 |     internal var viewControllers: [UIHostingController<AnyView>] = []
12 |     internal var tabBarItems: [Tab] = []
   :
34 |     }
35 |
36 |     public var body: some View {
   |                |          `- error: 'View' is only available in macOS 10.15 or newer
   |                `- note: add '@available' attribute to enclosing property
37 |         TabBarController(controllers: viewControllers,
38 |                          tabBarItems: tabBarItems,
/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/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/StatefulTabView.swift:44:37: error: cannot infer contextual base in reference to member 'all'
42 |                          tabBarConfiguration: tabBarConfiguration,
43 |                          selectedIndex: useBindableIndex ? $bindableIndex : $stateIndex)
44 |             .edgesIgnoringSafeArea(.all)
   |                                     `- error: cannot infer contextual base in reference to member 'all'
45 |     }
46 | }
/Users/admin/builder/spi-builder-workspace/Sources/StatefulTabView/StatefulTabView.swift:51:33: error: cannot find 'UIHostingController' in scope
49 |     mutating func configureViewControllers(with tabs: [Tab]) {
50 |         tabs.forEach {
51 |             let tabController = UIHostingController(rootView: $0.view)
   |                                 `- error: cannot find 'UIHostingController' in scope
52 |             tabController.tabBarItem = $0.barItem
53 |             tabBarItems.append($0)
[6/9] Compiling StatefulTabView Tab.swift
/Users/admin/builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/Tab.swift:11:15: error: 'AnyView' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public struct Tab {
   |               `- note: add '@available' attribute to enclosing struct
11 |     var view: AnyView
   |               `- error: 'AnyView' is only available in macOS 10.15 or newer
12 |     var barItem: UITabBarItem? = nil
13 |
/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:23:70: error: 'View' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public struct Tab {
   |               `- note: add '@available' attribute to enclosing struct
11 |     var view: AnyView
12 |     var barItem: UITabBarItem? = nil
   :
17 |
18 |     // MARK: Asset Image Names
19 |     public init<T>(title: String? = nil,
   |            `- note: add '@available' attribute to enclosing initializer
20 |                    imageName: String,
21 |                    selectedImageName: String? = nil,
22 |                    badgeValue: String? = nil,
23 |                    @ViewBuilder content: @escaping () -> T) where T: View {
   |                                                                      `- error: 'View' is only available in macOS 10.15 or newer
24 |
25 |         self.badgeValue = badgeValue
/Users/admin/builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/Tab.swift:23:21: error: 'ViewBuilder' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public struct Tab {
   |               `- note: add '@available' attribute to enclosing struct
11 |     var view: AnyView
12 |     var barItem: UITabBarItem? = nil
   :
17 |
18 |     // MARK: Asset Image Names
19 |     public init<T>(title: String? = nil,
   |            `- note: add '@available' attribute to enclosing initializer
20 |                    imageName: String,
21 |                    selectedImageName: String? = nil,
22 |                    badgeValue: String? = nil,
23 |                    @ViewBuilder content: @escaping () -> T) where T: View {
   |                     `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
24 |
25 |         self.badgeValue = badgeValue
/Users/admin/builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/Tab.swift:42:70: error: 'View' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public struct Tab {
   |               `- note: add '@available' attribute to enclosing struct
11 |     var view: AnyView
12 |     var barItem: UITabBarItem? = nil
   :
36 |
37 |     // MARK: System Image Names
38 |     public init<T>(title: String? = nil,
   |            `- note: add '@available' attribute to enclosing initializer
39 |                    systemImageName: String,
40 |                    selectedSystemImageName: String? = nil,
41 |                    badgeValue: String? = nil,
42 |                    @ViewBuilder content: @escaping () -> T) where T: View {
   |                                                                      `- error: 'View' is only available in macOS 10.15 or newer
43 |
44 |         self.badgeValue = badgeValue
/Users/admin/builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/Tab.swift:42:21: error: 'ViewBuilder' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public struct Tab {
   |               `- note: add '@available' attribute to enclosing struct
11 |     var view: AnyView
12 |     var barItem: UITabBarItem? = nil
   :
36 |
37 |     // MARK: System Image Names
38 |     public init<T>(title: String? = nil,
   |            `- note: add '@available' attribute to enclosing initializer
39 |                    systemImageName: String,
40 |                    selectedSystemImageName: String? = nil,
41 |                    badgeValue: String? = nil,
42 |                    @ViewBuilder content: @escaping () -> T) where T: View {
   |                     `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
43 |
44 |         self.badgeValue = badgeValue
/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/Tab.swift:62:70: error: 'View' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public struct Tab {
   |               `- note: add '@available' attribute to enclosing struct
11 |     var view: AnyView
12 |     var barItem: UITabBarItem? = nil
   :
56 |
57 |     // MARK: UIImages
58 |     public init<T>(title: String? = nil,
   |            `- note: add '@available' attribute to enclosing initializer
59 |                    image: UIImage?,
60 |                    selectedImage: UIImage? = nil,
61 |                    badgeValue: String? = nil,
62 |                    @ViewBuilder content: @escaping () -> T) where T: View {
   |                                                                      `- error: 'View' is only available in macOS 10.15 or newer
63 |
64 |         self.badgeValue = badgeValue
/Users/admin/builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/Tab.swift:62:21: error: 'ViewBuilder' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public struct Tab {
   |               `- note: add '@available' attribute to enclosing struct
11 |     var view: AnyView
12 |     var barItem: UITabBarItem? = nil
   :
56 |
57 |     // MARK: UIImages
58 |     public init<T>(title: String? = nil,
   |            `- note: add '@available' attribute to enclosing initializer
59 |                    image: UIImage?,
60 |                    selectedImage: UIImage? = nil,
61 |                    badgeValue: String? = nil,
62 |                    @ViewBuilder content: @escaping () -> T) where T: View {
   |                     `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
63 |
64 |         self.badgeValue = badgeValue
/Users/admin/builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/Tab.swift:27:28: error: cannot find type 'UIImage' in scope
25 |         self.badgeValue = badgeValue
26 |
27 |         var selectedImage: UIImage?
   |                            `- error: cannot find type 'UIImage' in scope
28 |         if let selectedImageName = selectedImageName {
29 |             selectedImage = UIImage(named: selectedImageName)
/Users/admin/builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/Tab.swift:29:29: error: cannot find 'UIImage' in scope
27 |         var selectedImage: UIImage?
28 |         if let selectedImageName = selectedImageName {
29 |             selectedImage = UIImage(named: selectedImageName)
   |                             `- error: cannot find 'UIImage' in scope
30 |         }
31 |
/Users/admin/builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/Tab.swift:32:19: error: cannot find 'UITabBarItem' in scope
30 |         }
31 |
32 |         barItem = UITabBarItem(title: title, image: UIImage(named: imageName), selectedImage: selectedImage)
   |                   `- error: cannot find 'UITabBarItem' in scope
33 |
34 |         self.view = AnyView(content())
/Users/admin/builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/Tab.swift:32:53: error: cannot find 'UIImage' in scope
30 |         }
31 |
32 |         barItem = UITabBarItem(title: title, image: UIImage(named: imageName), selectedImage: selectedImage)
   |                                                     `- error: cannot find 'UIImage' in scope
33 |
34 |         self.view = AnyView(content())
/Users/admin/builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/Tab.swift:34:21: error: 'AnyView' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public struct Tab {
   |               `- note: add '@available' attribute to enclosing struct
11 |     var view: AnyView
12 |     var barItem: UITabBarItem? = nil
   :
17 |
18 |     // MARK: Asset Image Names
19 |     public init<T>(title: String? = nil,
   |            `- note: add '@available' attribute to enclosing initializer
20 |                    imageName: String,
21 |                    selectedImageName: String? = nil,
   :
32 |         barItem = UITabBarItem(title: title, image: UIImage(named: imageName), selectedImage: selectedImage)
33 |
34 |         self.view = AnyView(content())
   |                     |- error: 'AnyView' is only available in macOS 10.15 or newer
   |                     `- note: add 'if #available' version check
35 |     }
36 |
/Users/admin/builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/Tab.swift:46:28: error: cannot find type 'UIImage' in scope
44 |         self.badgeValue = badgeValue
45 |
46 |         var selectedImage: UIImage?
   |                            `- error: cannot find type 'UIImage' in scope
47 |
48 |         if let selectedSystemImageName = selectedSystemImageName {
/Users/admin/builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/Tab.swift:49:29: error: cannot find 'UIImage' in scope
47 |
48 |         if let selectedSystemImageName = selectedSystemImageName {
49 |             selectedImage = UIImage(systemName: selectedSystemImageName)
   |                             `- error: cannot find 'UIImage' in scope
50 |         }
51 |
/Users/admin/builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/Tab.swift:52:19: error: cannot find 'UITabBarItem' in scope
50 |         }
51 |
52 |         barItem = UITabBarItem(title: title, image: UIImage(systemName: systemImageName), selectedImage: selectedImage)
   |                   `- error: cannot find 'UITabBarItem' in scope
53 |
54 |         self.view = AnyView(content())
/Users/admin/builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/Tab.swift:52:53: error: cannot find 'UIImage' in scope
50 |         }
51 |
52 |         barItem = UITabBarItem(title: title, image: UIImage(systemName: systemImageName), selectedImage: selectedImage)
   |                                                     `- error: cannot find 'UIImage' in scope
53 |
54 |         self.view = AnyView(content())
/Users/admin/builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/Tab.swift:54:21: error: 'AnyView' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public struct Tab {
   |               `- note: add '@available' attribute to enclosing struct
11 |     var view: AnyView
12 |     var barItem: UITabBarItem? = nil
   :
36 |
37 |     // MARK: System Image Names
38 |     public init<T>(title: String? = nil,
   |            `- note: add '@available' attribute to enclosing initializer
39 |                    systemImageName: String,
40 |                    selectedSystemImageName: String? = nil,
   :
52 |         barItem = UITabBarItem(title: title, image: UIImage(systemName: systemImageName), selectedImage: selectedImage)
53 |
54 |         self.view = AnyView(content())
   |                     |- error: 'AnyView' is only available in macOS 10.15 or newer
   |                     `- note: add 'if #available' version check
55 |     }
56 |
/Users/admin/builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/Tab.swift:66:19: error: cannot find 'UITabBarItem' in scope
64 |         self.badgeValue = badgeValue
65 |
66 |         barItem = UITabBarItem(title: title, image: image, selectedImage: selectedImage)
   |                   `- error: cannot find 'UITabBarItem' in scope
67 |
68 |         self.view = AnyView(content())
/Users/admin/builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/Tab.swift:68:21: error: 'AnyView' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public struct Tab {
   |               `- note: add '@available' attribute to enclosing struct
11 |     var view: AnyView
12 |     var barItem: UITabBarItem? = nil
   :
56 |
57 |     // MARK: UIImages
58 |     public init<T>(title: String? = nil,
   |            `- note: add '@available' attribute to enclosing initializer
59 |                    image: UIImage?,
60 |                    selectedImage: UIImage? = nil,
   :
66 |         barItem = UITabBarItem(title: title, image: image, selectedImage: selectedImage)
67 |
68 |         self.view = AnyView(content())
   |                     |- error: 'AnyView' is only available in macOS 10.15 or newer
   |                     `- note: add 'if #available' version check
69 |     }
70 | }
[7/9] Compiling StatefulTabView TabBarController.swift
/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:25:6: error: 'Binding' is only available in macOS 10.15 or newer
 14 | }
 15 |
 16 | struct TabBarController: UIViewControllerRepresentable {
    |        `- note: add '@available' attribute to enclosing struct
 17 |     var controllers: [UIViewController]
 18 |     var tabBarItems: [Tab]
    :
 23 |     var tabBarConfiguration: TabBarBackgroundConfiguration?
 24 |
 25 |     @Binding var selectedIndex: Int
    |      `- error: 'Binding' is only available in macOS 10.15 or newer
 26 |
 27 |     func makeUIViewController(context: Context) -> UITabBarController {
/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/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/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/TabBarController.swift:28:32: error: cannot find 'UITabBarController' in scope
 26 |
 27 |     func makeUIViewController(context: Context) -> UITabBarController {
 28 |         let tabBarController = UITabBarController()
    |                                `- error: cannot find 'UITabBarController' in scope
 29 |         tabBarController.viewControllers = controllers
 30 |         tabBarController.delegate = context.coordinator
/Users/admin/builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarController.swift:90:25: error: cannot find type 'UINavigationController' in scope
 88 |
 89 |     func navigationController(in viewController: UIViewController) -> UINavigationController? {
 90 |         var controller: UINavigationController?
    |                         `- error: cannot find type 'UINavigationController' in scope
 91 |
 92 |         if let navigationController = viewController as? UINavigationController {
/Users/admin/builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarController.swift:92:58: error: cannot find type 'UINavigationController' in scope
 90 |         var controller: UINavigationController?
 91 |
 92 |         if let navigationController = viewController as? UINavigationController {
    |                                                          `- error: cannot find type 'UINavigationController' in scope
 93 |             return navigationController
 94 |         }
/Users/admin/builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarController.swift:97:50: error: cannot find type 'UINavigationController' in scope
 95 |
 96 |         viewController.children.forEach {
 97 |             if let navigationController = $0 as? UINavigationController {
    |                                                  `- error: cannot find type 'UINavigationController' in scope
 98 |                 controller = navigationController
 99 |             } else {
[8/9] Compiling StatefulTabView Tab+Modifiers.swift
/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
[9/9] Compiling StatefulTabView StatefulTabView+Modifiers.swift
/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: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 |
BUILD FAILURE 6.3 macosSpm