Build Information
Failed to build StatefulTabView with Swift 5.8 for macOS (SPM).
Build Command
env DEVELOPER_DIR=/Applications/Xcode-14.3.1.app xcrun swift build --arch arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.28.7
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/NicholasBellucci/StatefulTabView.git
Reference: master
Initialized empty Git repository in /Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-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: 5.8
Building package at path: $PWD/checkout
https://github.com/NicholasBellucci/StatefulTabView.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-14.3.1.app xcrun swift build --arch arm64
Building for debugging...
[1/6] Compiling StatefulTabView Tab+Modifiers.swift
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/Tab.swift:12:18: error: cannot find type 'UITabBarItem' in scope
var barItem: UITabBarItem? = nil
^~~~~~~~~~~~
[2/7] Compiling StatefulTabView TabBarCoordinator.swift
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarCoordinator.swift:11:36: error: cannot find type 'UITabBarControllerDelegate' in scope
class TabBarCoordinator: NSObject, UITabBarControllerDelegate {
^~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarCoordinator.swift:24:47: error: cannot find type 'UITabBarController' in scope
func tabBarController(_ tabBarController: UITabBarController, didSelect viewController: UIViewController) {
^~~~~~~~~~~~~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarCoordinator.swift:24:93: error: cannot find type 'UIViewController' in scope
func tabBarController(_ tabBarController: UITabBarController, didSelect viewController: UIViewController) {
^~~~~~~~~~~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarCoordinator.swift:43:47: error: cannot find type 'UINavigationController' in scope
func scrollToTop(in navigationController: UINavigationController, selectedIndex: Int) {
^~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarCoordinator.swift:59:41: error: cannot find type 'UIViewController' in scope
func scrollToTop(in viewController: UIViewController) {
^~~~~~~~~~~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarCoordinator.swift:69:71: error: cannot find type 'UINavigationController' in scope
func navigationController(in viewController: UIViewController) -> UINavigationController? {
^~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarCoordinator.swift:69:50: error: cannot find type 'UIViewController' in scope
func navigationController(in viewController: UIViewController) -> UINavigationController? {
^~~~~~~~~~~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarCoordinator.swift:87:44: error: cannot find type 'UIScrollView' in scope
func scrollView(in views: [UIView]) -> UIScrollView? {
^~~~~~~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarCoordinator.swift:87:32: error: cannot find type 'UIView' in scope
func scrollView(in views: [UIView]) -> UIScrollView? {
^~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarController.swift:16:26: error: cannot find type 'UIViewControllerRepresentable' in scope
struct TabBarController: UIViewControllerRepresentable {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarCoordinator.swift:70:25: error: cannot find type 'UINavigationController' in scope
var controller: UINavigationController?
^~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarCoordinator.swift:72:58: error: cannot find type 'UINavigationController' in scope
if let navigationController = viewController as? UINavigationController {
^~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarCoordinator.swift:77:50: error: cannot find type 'UINavigationController' in scope
if let navigationController = $0 as? UINavigationController {
^~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarCoordinator.swift:88:19: error: cannot find type 'UIScrollView' in scope
var view: UIScrollView?
^~~~~~~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarCoordinator.swift:95:40: error: cannot find type 'UIScrollView' in scope
if let scrollView = $0 as? UIScrollView {
^~~~~~~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Modifiers/StatefulTabView+Modifiers.swift:11:32: error: cannot find type 'UIColor' in scope
func barTintColor(_ color: UIColor) -> StatefulTabView {
^~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Modifiers/StatefulTabView+Modifiers.swift:17:43: error: cannot find type 'UIColor' in scope
func unselectedItemTintColor(_ color: UIColor) -> StatefulTabView {
^~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Modifiers/StatefulTabView+Modifiers.swift:23:38: error: cannot find type 'UIColor' in scope
func barBackgroundColor(_ color: UIColor) -> StatefulTabView {
^~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/StatefulTabView.swift:14:32: error: cannot find type 'UIColor' in scope
internal var barTintColor: UIColor? = nil
^~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/StatefulTabView.swift:15:43: error: cannot find type 'UIColor' in scope
internal var unselectedItemTintColor: UIColor? = nil
^~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/StatefulTabView.swift:16:35: error: cannot find type 'UIColor' in scope
internal var backgroundColor: UIColor? = nil
^~~~~~~
[3/7] Compiling StatefulTabView StatefulTabView+Modifiers.swift
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarCoordinator.swift:11:36: error: cannot find type 'UITabBarControllerDelegate' in scope
class TabBarCoordinator: NSObject, UITabBarControllerDelegate {
^~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarCoordinator.swift:24:47: error: cannot find type 'UITabBarController' in scope
func tabBarController(_ tabBarController: UITabBarController, didSelect viewController: UIViewController) {
^~~~~~~~~~~~~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarCoordinator.swift:24:93: error: cannot find type 'UIViewController' in scope
func tabBarController(_ tabBarController: UITabBarController, didSelect viewController: UIViewController) {
^~~~~~~~~~~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarCoordinator.swift:43:47: error: cannot find type 'UINavigationController' in scope
func scrollToTop(in navigationController: UINavigationController, selectedIndex: Int) {
^~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarCoordinator.swift:59:41: error: cannot find type 'UIViewController' in scope
func scrollToTop(in viewController: UIViewController) {
^~~~~~~~~~~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarCoordinator.swift:69:71: error: cannot find type 'UINavigationController' in scope
func navigationController(in viewController: UIViewController) -> UINavigationController? {
^~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarCoordinator.swift:69:50: error: cannot find type 'UIViewController' in scope
func navigationController(in viewController: UIViewController) -> UINavigationController? {
^~~~~~~~~~~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarCoordinator.swift:87:44: error: cannot find type 'UIScrollView' in scope
func scrollView(in views: [UIView]) -> UIScrollView? {
^~~~~~~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarCoordinator.swift:87:32: error: cannot find type 'UIView' in scope
func scrollView(in views: [UIView]) -> UIScrollView? {
^~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarController.swift:16:26: error: cannot find type 'UIViewControllerRepresentable' in scope
struct TabBarController: UIViewControllerRepresentable {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarCoordinator.swift:70:25: error: cannot find type 'UINavigationController' in scope
var controller: UINavigationController?
^~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarCoordinator.swift:72:58: error: cannot find type 'UINavigationController' in scope
if let navigationController = viewController as? UINavigationController {
^~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarCoordinator.swift:77:50: error: cannot find type 'UINavigationController' in scope
if let navigationController = $0 as? UINavigationController {
^~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarCoordinator.swift:88:19: error: cannot find type 'UIScrollView' in scope
var view: UIScrollView?
^~~~~~~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarCoordinator.swift:95:40: error: cannot find type 'UIScrollView' in scope
if let scrollView = $0 as? UIScrollView {
^~~~~~~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Modifiers/StatefulTabView+Modifiers.swift:11:32: error: cannot find type 'UIColor' in scope
func barTintColor(_ color: UIColor) -> StatefulTabView {
^~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Modifiers/StatefulTabView+Modifiers.swift:17:43: error: cannot find type 'UIColor' in scope
func unselectedItemTintColor(_ color: UIColor) -> StatefulTabView {
^~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Modifiers/StatefulTabView+Modifiers.swift:23:38: error: cannot find type 'UIColor' in scope
func barBackgroundColor(_ color: UIColor) -> StatefulTabView {
^~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/StatefulTabView.swift:14:32: error: cannot find type 'UIColor' in scope
internal var barTintColor: UIColor? = nil
^~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/StatefulTabView.swift:15:43: error: cannot find type 'UIColor' in scope
internal var unselectedItemTintColor: UIColor? = nil
^~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/StatefulTabView.swift:16:35: error: cannot find type 'UIColor' in scope
internal var backgroundColor: UIColor? = nil
^~~~~~~
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/7] Emitting module StatefulTabView
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/Tab.swift:11:15: error: 'AnyView' is only available in macOS 10.15 or newer
var view: AnyView
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/Tab.swift:10:15: note: add @available attribute to enclosing struct
public struct Tab {
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/Tab.swift:12:18: error: cannot find type 'UITabBarItem' in scope
var barItem: UITabBarItem? = nil
^~~~~~~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/Tab.swift:23:70: error: 'View' is only available in macOS 10.15 or newer
@ViewBuilder content: @escaping () -> T) where T: View {
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/Tab.swift:19:12: note: add @available attribute to enclosing initializer
public init<T>(title: String? = nil,
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/Tab.swift:10:15: note: add @available attribute to enclosing struct
public struct Tab {
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/Tab.swift:23:21: error: 'ViewBuilder' is only available in macOS 10.15 or newer
@ViewBuilder content: @escaping () -> T) where T: View {
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/Tab.swift:19:12: note: add @available attribute to enclosing initializer
public init<T>(title: String? = nil,
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/Tab.swift:10:15: note: add @available attribute to enclosing struct
public struct Tab {
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/Tab.swift:42:70: error: 'View' is only available in macOS 10.15 or newer
@ViewBuilder content: @escaping () -> T) where T: View {
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/Tab.swift:38:12: note: add @available attribute to enclosing initializer
public init<T>(title: String? = nil,
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/Tab.swift:10:15: note: add @available attribute to enclosing struct
public struct Tab {
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/Tab.swift:42:21: error: 'ViewBuilder' is only available in macOS 10.15 or newer
@ViewBuilder content: @escaping () -> T) where T: View {
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/Tab.swift:38:12: note: add @available attribute to enclosing initializer
public init<T>(title: String? = nil,
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/Tab.swift:10:15: note: add @available attribute to enclosing struct
public struct Tab {
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/Tab.swift:59:27: error: cannot find type 'UIImage' in scope
image: UIImage?,
^~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/Tab.swift:60:35: error: cannot find type 'UIImage' in scope
selectedImage: UIImage? = nil,
^~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/Tab.swift:62:70: error: 'View' is only available in macOS 10.15 or newer
@ViewBuilder content: @escaping () -> T) where T: View {
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/Tab.swift:58:12: note: add @available attribute to enclosing initializer
public init<T>(title: String? = nil,
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/Tab.swift:10:15: note: add @available attribute to enclosing struct
public struct Tab {
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/Tab.swift:62:21: error: 'ViewBuilder' is only available in macOS 10.15 or newer
@ViewBuilder content: @escaping () -> T) where T: View {
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/Tab.swift:58:12: note: add @available attribute to enclosing initializer
public init<T>(title: String? = nil,
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/Tab.swift:10:15: note: add @available attribute to enclosing struct
public struct Tab {
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarController.swift:16:26: error: cannot find type 'UIViewControllerRepresentable' in scope
struct TabBarController: UIViewControllerRepresentable {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarController.swift:17:23: error: cannot find type 'UIViewController' in scope
var controllers: [UIViewController]
^~~~~~~~~~~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarController.swift:20:23: error: cannot find type 'UIColor' in scope
var barTintColor: UIColor?
^~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarController.swift:21:34: error: cannot find type 'UIColor' in scope
var unselectedItemTintColor: UIColor?
^~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarController.swift:22:26: error: cannot find type 'UIColor' in scope
var backgroundColor: UIColor?
^~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarController.swift:25:6: error: 'Binding' is only available in macOS 10.15 or newer
@Binding var selectedIndex: Int
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarController.swift:16:8: note: add @available attribute to enclosing struct
struct TabBarController: UIViewControllerRepresentable {
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarController.swift:27:52: error: cannot find type 'UITabBarController' in scope
func makeUIViewController(context: Context) -> UITabBarController {
^~~~~~~~~~~~~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarController.swift:27:40: error: cannot find type 'Context' in scope
func makeUIViewController(context: Context) -> UITabBarController {
^~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarController.swift:37:53: error: cannot find type 'UITabBarController' in scope
func updateUIViewController(_ tabBarController: UITabBarController, context: Context) {
^~~~~~~~~~~~~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarController.swift:37:82: error: cannot find type 'Context' in scope
func updateUIViewController(_ tabBarController: UITabBarController, context: Context) {
^~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarController.swift:55:30: error: cannot find type 'UITabBar' in scope
func configure(_ tabBar: UITabBar) {
^~~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarController.swift:89:71: error: cannot find type 'UINavigationController' in scope
func navigationController(in viewController: UIViewController) -> UINavigationController? {
^~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarController.swift:89:50: error: cannot find type 'UIViewController' in scope
func navigationController(in viewController: UIViewController) -> UINavigationController? {
^~~~~~~~~~~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarCoordinator.swift:11:36: error: cannot find type 'UITabBarControllerDelegate' in scope
class TabBarCoordinator: NSObject, UITabBarControllerDelegate {
^~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarCoordinator.swift:24:47: error: cannot find type 'UITabBarController' in scope
func tabBarController(_ tabBarController: UITabBarController, didSelect viewController: UIViewController) {
^~~~~~~~~~~~~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarCoordinator.swift:24:93: error: cannot find type 'UIViewController' in scope
func tabBarController(_ tabBarController: UITabBarController, didSelect viewController: UIViewController) {
^~~~~~~~~~~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarCoordinator.swift:43:47: error: cannot find type 'UINavigationController' in scope
func scrollToTop(in navigationController: UINavigationController, selectedIndex: Int) {
^~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarCoordinator.swift:59:41: error: cannot find type 'UIViewController' in scope
func scrollToTop(in viewController: UIViewController) {
^~~~~~~~~~~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarCoordinator.swift:69:71: error: cannot find type 'UINavigationController' in scope
func navigationController(in viewController: UIViewController) -> UINavigationController? {
^~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarCoordinator.swift:69:50: error: cannot find type 'UIViewController' in scope
func navigationController(in viewController: UIViewController) -> UINavigationController? {
^~~~~~~~~~~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarCoordinator.swift:87:44: error: cannot find type 'UIScrollView' in scope
func scrollView(in views: [UIView]) -> UIScrollView? {
^~~~~~~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarCoordinator.swift:87:32: error: cannot find type 'UIView' in scope
func scrollView(in views: [UIView]) -> UIScrollView? {
^~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Modifiers/StatefulTabView+Modifiers.swift:11:32: error: cannot find type 'UIColor' in scope
func barTintColor(_ color: UIColor) -> StatefulTabView {
^~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Modifiers/StatefulTabView+Modifiers.swift:17:43: error: cannot find type 'UIColor' in scope
func unselectedItemTintColor(_ color: UIColor) -> StatefulTabView {
^~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Modifiers/StatefulTabView+Modifiers.swift:23:38: error: cannot find type 'UIColor' in scope
func barBackgroundColor(_ color: UIColor) -> StatefulTabView {
^~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/StatefulTabView.swift:11:36: error: cannot find type 'UIHostingController' in scope
internal var viewControllers: [UIHostingController<AnyView>] = []
^~~~~~~~~~~~~~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/StatefulTabView.swift:14:32: error: cannot find type 'UIColor' in scope
internal var barTintColor: UIColor? = nil
^~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/StatefulTabView.swift:15:43: error: cannot find type 'UIColor' in scope
internal var unselectedItemTintColor: UIColor? = nil
^~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/StatefulTabView.swift:16:35: error: cannot find type 'UIColor' in scope
internal var backgroundColor: UIColor? = nil
^~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/StatefulTabView.swift:19:6: error: 'State' is only available in macOS 10.15 or newer
@State private var stateIndex: Int = 0
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/StatefulTabView.swift:10:15: note: add @available attribute to enclosing struct
public struct StatefulTabView: View {
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/StatefulTabView.swift:20:6: error: 'Binding' is only available in macOS 10.15 or newer
@Binding private var bindableIndex: Int
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/StatefulTabView.swift:10:15: note: add @available attribute to enclosing struct
public struct StatefulTabView: View {
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/StatefulTabView.swift:24:32: error: 'Binding' is only available in macOS 10.15 or newer
public init(selectedIndex: Binding<Int>? = nil, @TabBuilder _ content: () -> [Tab]) {
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/StatefulTabView.swift:24:12: note: add @available attribute to enclosing initializer
public init(selectedIndex: Binding<Int>? = nil, @TabBuilder _ content: () -> [Tab]) {
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/StatefulTabView.swift:10:15: note: add @available attribute to enclosing struct
public struct StatefulTabView: View {
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/StatefulTabView.swift:36:27: error: 'View' is only available in macOS 10.15 or newer
public var body: some View {
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/StatefulTabView.swift:36:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/StatefulTabView.swift:10:15: note: add @available attribute to enclosing struct
public struct StatefulTabView: View {
^
[5/7] Compiling StatefulTabView Tab.swift
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/Tab.swift:11:15: error: 'AnyView' is only available in macOS 10.15 or newer
var view: AnyView
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/Tab.swift:10:15: note: add @available attribute to enclosing struct
public struct Tab {
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/Tab.swift:12:18: error: cannot find type 'UITabBarItem' in scope
var barItem: UITabBarItem? = nil
^~~~~~~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/Tab.swift:23:70: error: 'View' is only available in macOS 10.15 or newer
@ViewBuilder content: @escaping () -> T) where T: View {
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/Tab.swift:19:12: note: add @available attribute to enclosing initializer
public init<T>(title: String? = nil,
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/Tab.swift:10:15: note: add @available attribute to enclosing struct
public struct Tab {
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/Tab.swift:23:21: error: 'ViewBuilder' is only available in macOS 10.15 or newer
@ViewBuilder content: @escaping () -> T) where T: View {
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/Tab.swift:19:12: note: add @available attribute to enclosing initializer
public init<T>(title: String? = nil,
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/Tab.swift:10:15: note: add @available attribute to enclosing struct
public struct Tab {
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/Tab.swift:42:70: error: 'View' is only available in macOS 10.15 or newer
@ViewBuilder content: @escaping () -> T) where T: View {
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/Tab.swift:38:12: note: add @available attribute to enclosing initializer
public init<T>(title: String? = nil,
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/Tab.swift:10:15: note: add @available attribute to enclosing struct
public struct Tab {
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/Tab.swift:42:21: error: 'ViewBuilder' is only available in macOS 10.15 or newer
@ViewBuilder content: @escaping () -> T) where T: View {
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/Tab.swift:38:12: note: add @available attribute to enclosing initializer
public init<T>(title: String? = nil,
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/Tab.swift:10:15: note: add @available attribute to enclosing struct
public struct Tab {
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/Tab.swift:59:27: error: cannot find type 'UIImage' in scope
image: UIImage?,
^~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/Tab.swift:60:35: error: cannot find type 'UIImage' in scope
selectedImage: UIImage? = nil,
^~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/Tab.swift:62:70: error: 'View' is only available in macOS 10.15 or newer
@ViewBuilder content: @escaping () -> T) where T: View {
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/Tab.swift:58:12: note: add @available attribute to enclosing initializer
public init<T>(title: String? = nil,
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/Tab.swift:10:15: note: add @available attribute to enclosing struct
public struct Tab {
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/Tab.swift:62:21: error: 'ViewBuilder' is only available in macOS 10.15 or newer
@ViewBuilder content: @escaping () -> T) where T: View {
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/Tab.swift:58:12: note: add @available attribute to enclosing initializer
public init<T>(title: String? = nil,
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/Tab.swift:10:15: note: add @available attribute to enclosing struct
public struct Tab {
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/Tab.swift:27:28: error: cannot find type 'UIImage' in scope
var selectedImage: UIImage?
^~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/Tab.swift:29:29: error: cannot find 'UIImage' in scope
selectedImage = UIImage(named: selectedImageName)
^~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/Tab.swift:32:19: error: cannot find 'UITabBarItem' in scope
barItem = UITabBarItem(title: title, image: UIImage(named: imageName), selectedImage: selectedImage)
^~~~~~~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/Tab.swift:32:53: error: cannot find 'UIImage' in scope
barItem = UITabBarItem(title: title, image: UIImage(named: imageName), selectedImage: selectedImage)
^~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/Tab.swift:34:21: error: 'AnyView' is only available in macOS 10.15 or newer
self.view = AnyView(content())
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/Tab.swift:34:21: note: add 'if #available' version check
self.view = AnyView(content())
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/Tab.swift:19:12: note: add @available attribute to enclosing initializer
public init<T>(title: String? = nil,
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/Tab.swift:10:15: note: add @available attribute to enclosing struct
public struct Tab {
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/Tab.swift:46:28: error: cannot find type 'UIImage' in scope
var selectedImage: UIImage?
^~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/Tab.swift:49:29: error: cannot find 'UIImage' in scope
selectedImage = UIImage(systemName: selectedSystemImageName)
^~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/Tab.swift:52:19: error: cannot find 'UITabBarItem' in scope
barItem = UITabBarItem(title: title, image: UIImage(systemName: systemImageName), selectedImage: selectedImage)
^~~~~~~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/Tab.swift:52:53: error: cannot find 'UIImage' in scope
barItem = UITabBarItem(title: title, image: UIImage(systemName: systemImageName), selectedImage: selectedImage)
^~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/Tab.swift:54:21: error: 'AnyView' is only available in macOS 10.15 or newer
self.view = AnyView(content())
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/Tab.swift:54:21: note: add 'if #available' version check
self.view = AnyView(content())
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/Tab.swift:38:12: note: add @available attribute to enclosing initializer
public init<T>(title: String? = nil,
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/Tab.swift:10:15: note: add @available attribute to enclosing struct
public struct Tab {
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/Tab.swift:66:19: error: cannot find 'UITabBarItem' in scope
barItem = UITabBarItem(title: title, image: image, selectedImage: selectedImage)
^~~~~~~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/Tab.swift:68:21: error: 'AnyView' is only available in macOS 10.15 or newer
self.view = AnyView(content())
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/Tab.swift:68:21: note: add 'if #available' version check
self.view = AnyView(content())
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/Tab.swift:58:12: note: add @available attribute to enclosing initializer
public init<T>(title: String? = nil,
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/Tab.swift:10:15: note: add @available attribute to enclosing struct
public struct Tab {
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarController.swift:16:26: error: cannot find type 'UIViewControllerRepresentable' in scope
struct TabBarController: UIViewControllerRepresentable {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarController.swift:17:23: error: cannot find type 'UIViewController' in scope
var controllers: [UIViewController]
^~~~~~~~~~~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarController.swift:20:23: error: cannot find type 'UIColor' in scope
var barTintColor: UIColor?
^~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarController.swift:21:34: error: cannot find type 'UIColor' in scope
var unselectedItemTintColor: UIColor?
^~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarController.swift:22:26: error: cannot find type 'UIColor' in scope
var backgroundColor: UIColor?
^~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarController.swift:25:6: error: 'Binding' is only available in macOS 10.15 or newer
@Binding var selectedIndex: Int
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarController.swift:16:8: note: add @available attribute to enclosing struct
struct TabBarController: UIViewControllerRepresentable {
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarController.swift:27:52: error: cannot find type 'UITabBarController' in scope
func makeUIViewController(context: Context) -> UITabBarController {
^~~~~~~~~~~~~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarController.swift:27:40: error: cannot find type 'Context' in scope
func makeUIViewController(context: Context) -> UITabBarController {
^~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarController.swift:37:53: error: cannot find type 'UITabBarController' in scope
func updateUIViewController(_ tabBarController: UITabBarController, context: Context) {
^~~~~~~~~~~~~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarController.swift:37:82: error: cannot find type 'Context' in scope
func updateUIViewController(_ tabBarController: UITabBarController, context: Context) {
^~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarController.swift:55:30: error: cannot find type 'UITabBar' in scope
func configure(_ tabBar: UITabBar) {
^~~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarController.swift:89:71: error: cannot find type 'UINavigationController' in scope
func navigationController(in viewController: UIViewController) -> UINavigationController? {
^~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarController.swift:89:50: error: cannot find type 'UIViewController' in scope
func navigationController(in viewController: UIViewController) -> UINavigationController? {
^~~~~~~~~~~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarController.swift:28:32: error: cannot find 'UITabBarController' in scope
let tabBarController = UITabBarController()
^~~~~~~~~~~~~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarCoordinator.swift:11:36: error: cannot find type 'UITabBarControllerDelegate' in scope
class TabBarCoordinator: NSObject, UITabBarControllerDelegate {
^~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarController.swift:90:25: error: cannot find type 'UINavigationController' in scope
var controller: UINavigationController?
^~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarController.swift:92:58: error: cannot find type 'UINavigationController' in scope
if let navigationController = viewController as? UINavigationController {
^~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarController.swift:97:50: error: cannot find type 'UINavigationController' in scope
if let navigationController = $0 as? UINavigationController {
^~~~~~~~~~~~~~~~~~~~~~
[6/7] Compiling StatefulTabView TabBarController.swift
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/Tab.swift:11:15: error: 'AnyView' is only available in macOS 10.15 or newer
var view: AnyView
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/Tab.swift:10:15: note: add @available attribute to enclosing struct
public struct Tab {
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/Tab.swift:12:18: error: cannot find type 'UITabBarItem' in scope
var barItem: UITabBarItem? = nil
^~~~~~~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/Tab.swift:23:70: error: 'View' is only available in macOS 10.15 or newer
@ViewBuilder content: @escaping () -> T) where T: View {
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/Tab.swift:19:12: note: add @available attribute to enclosing initializer
public init<T>(title: String? = nil,
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/Tab.swift:10:15: note: add @available attribute to enclosing struct
public struct Tab {
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/Tab.swift:23:21: error: 'ViewBuilder' is only available in macOS 10.15 or newer
@ViewBuilder content: @escaping () -> T) where T: View {
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/Tab.swift:19:12: note: add @available attribute to enclosing initializer
public init<T>(title: String? = nil,
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/Tab.swift:10:15: note: add @available attribute to enclosing struct
public struct Tab {
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/Tab.swift:42:70: error: 'View' is only available in macOS 10.15 or newer
@ViewBuilder content: @escaping () -> T) where T: View {
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/Tab.swift:38:12: note: add @available attribute to enclosing initializer
public init<T>(title: String? = nil,
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/Tab.swift:10:15: note: add @available attribute to enclosing struct
public struct Tab {
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/Tab.swift:42:21: error: 'ViewBuilder' is only available in macOS 10.15 or newer
@ViewBuilder content: @escaping () -> T) where T: View {
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/Tab.swift:38:12: note: add @available attribute to enclosing initializer
public init<T>(title: String? = nil,
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/Tab.swift:10:15: note: add @available attribute to enclosing struct
public struct Tab {
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/Tab.swift:59:27: error: cannot find type 'UIImage' in scope
image: UIImage?,
^~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/Tab.swift:60:35: error: cannot find type 'UIImage' in scope
selectedImage: UIImage? = nil,
^~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/Tab.swift:62:70: error: 'View' is only available in macOS 10.15 or newer
@ViewBuilder content: @escaping () -> T) where T: View {
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/Tab.swift:58:12: note: add @available attribute to enclosing initializer
public init<T>(title: String? = nil,
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/Tab.swift:10:15: note: add @available attribute to enclosing struct
public struct Tab {
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/Tab.swift:62:21: error: 'ViewBuilder' is only available in macOS 10.15 or newer
@ViewBuilder content: @escaping () -> T) where T: View {
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/Tab.swift:58:12: note: add @available attribute to enclosing initializer
public init<T>(title: String? = nil,
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/Tab.swift:10:15: note: add @available attribute to enclosing struct
public struct Tab {
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/Tab.swift:27:28: error: cannot find type 'UIImage' in scope
var selectedImage: UIImage?
^~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/Tab.swift:29:29: error: cannot find 'UIImage' in scope
selectedImage = UIImage(named: selectedImageName)
^~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/Tab.swift:32:19: error: cannot find 'UITabBarItem' in scope
barItem = UITabBarItem(title: title, image: UIImage(named: imageName), selectedImage: selectedImage)
^~~~~~~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/Tab.swift:32:53: error: cannot find 'UIImage' in scope
barItem = UITabBarItem(title: title, image: UIImage(named: imageName), selectedImage: selectedImage)
^~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/Tab.swift:34:21: error: 'AnyView' is only available in macOS 10.15 or newer
self.view = AnyView(content())
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/Tab.swift:34:21: note: add 'if #available' version check
self.view = AnyView(content())
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/Tab.swift:19:12: note: add @available attribute to enclosing initializer
public init<T>(title: String? = nil,
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/Tab.swift:10:15: note: add @available attribute to enclosing struct
public struct Tab {
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/Tab.swift:46:28: error: cannot find type 'UIImage' in scope
var selectedImage: UIImage?
^~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/Tab.swift:49:29: error: cannot find 'UIImage' in scope
selectedImage = UIImage(systemName: selectedSystemImageName)
^~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/Tab.swift:52:19: error: cannot find 'UITabBarItem' in scope
barItem = UITabBarItem(title: title, image: UIImage(systemName: systemImageName), selectedImage: selectedImage)
^~~~~~~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/Tab.swift:52:53: error: cannot find 'UIImage' in scope
barItem = UITabBarItem(title: title, image: UIImage(systemName: systemImageName), selectedImage: selectedImage)
^~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/Tab.swift:54:21: error: 'AnyView' is only available in macOS 10.15 or newer
self.view = AnyView(content())
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/Tab.swift:54:21: note: add 'if #available' version check
self.view = AnyView(content())
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/Tab.swift:38:12: note: add @available attribute to enclosing initializer
public init<T>(title: String? = nil,
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/Tab.swift:10:15: note: add @available attribute to enclosing struct
public struct Tab {
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/Tab.swift:66:19: error: cannot find 'UITabBarItem' in scope
barItem = UITabBarItem(title: title, image: image, selectedImage: selectedImage)
^~~~~~~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/Tab.swift:68:21: error: 'AnyView' is only available in macOS 10.15 or newer
self.view = AnyView(content())
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/Tab.swift:68:21: note: add 'if #available' version check
self.view = AnyView(content())
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/Tab.swift:58:12: note: add @available attribute to enclosing initializer
public init<T>(title: String? = nil,
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/Tab.swift:10:15: note: add @available attribute to enclosing struct
public struct Tab {
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarController.swift:16:26: error: cannot find type 'UIViewControllerRepresentable' in scope
struct TabBarController: UIViewControllerRepresentable {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarController.swift:17:23: error: cannot find type 'UIViewController' in scope
var controllers: [UIViewController]
^~~~~~~~~~~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarController.swift:20:23: error: cannot find type 'UIColor' in scope
var barTintColor: UIColor?
^~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarController.swift:21:34: error: cannot find type 'UIColor' in scope
var unselectedItemTintColor: UIColor?
^~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarController.swift:22:26: error: cannot find type 'UIColor' in scope
var backgroundColor: UIColor?
^~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarController.swift:25:6: error: 'Binding' is only available in macOS 10.15 or newer
@Binding var selectedIndex: Int
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarController.swift:16:8: note: add @available attribute to enclosing struct
struct TabBarController: UIViewControllerRepresentable {
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarController.swift:27:52: error: cannot find type 'UITabBarController' in scope
func makeUIViewController(context: Context) -> UITabBarController {
^~~~~~~~~~~~~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarController.swift:27:40: error: cannot find type 'Context' in scope
func makeUIViewController(context: Context) -> UITabBarController {
^~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarController.swift:37:53: error: cannot find type 'UITabBarController' in scope
func updateUIViewController(_ tabBarController: UITabBarController, context: Context) {
^~~~~~~~~~~~~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarController.swift:37:82: error: cannot find type 'Context' in scope
func updateUIViewController(_ tabBarController: UITabBarController, context: Context) {
^~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarController.swift:55:30: error: cannot find type 'UITabBar' in scope
func configure(_ tabBar: UITabBar) {
^~~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarController.swift:89:71: error: cannot find type 'UINavigationController' in scope
func navigationController(in viewController: UIViewController) -> UINavigationController? {
^~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarController.swift:89:50: error: cannot find type 'UIViewController' in scope
func navigationController(in viewController: UIViewController) -> UINavigationController? {
^~~~~~~~~~~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarController.swift:28:32: error: cannot find 'UITabBarController' in scope
let tabBarController = UITabBarController()
^~~~~~~~~~~~~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarCoordinator.swift:11:36: error: cannot find type 'UITabBarControllerDelegate' in scope
class TabBarCoordinator: NSObject, UITabBarControllerDelegate {
^~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarController.swift:90:25: error: cannot find type 'UINavigationController' in scope
var controller: UINavigationController?
^~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarController.swift:92:58: error: cannot find type 'UINavigationController' in scope
if let navigationController = viewController as? UINavigationController {
^~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarController.swift:97:50: error: cannot find type 'UINavigationController' in scope
if let navigationController = $0 as? UINavigationController {
^~~~~~~~~~~~~~~~~~~~~~
[7/7] Compiling StatefulTabView StatefulTabView.swift
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/StatefulTabView.swift:11:36: error: cannot find type 'UIHostingController' in scope
internal var viewControllers: [UIHostingController<AnyView>] = []
^~~~~~~~~~~~~~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/StatefulTabView.swift:14:32: error: cannot find type 'UIColor' in scope
internal var barTintColor: UIColor? = nil
^~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/StatefulTabView.swift:15:43: error: cannot find type 'UIColor' in scope
internal var unselectedItemTintColor: UIColor? = nil
^~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/StatefulTabView.swift:16:35: error: cannot find type 'UIColor' in scope
internal var backgroundColor: UIColor? = nil
^~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/StatefulTabView.swift:19:6: error: 'State' is only available in macOS 10.15 or newer
@State private var stateIndex: Int = 0
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/StatefulTabView.swift:10:15: note: add @available attribute to enclosing struct
public struct StatefulTabView: View {
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/StatefulTabView.swift:20:6: error: 'Binding' is only available in macOS 10.15 or newer
@Binding private var bindableIndex: Int
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/StatefulTabView.swift:10:15: note: add @available attribute to enclosing struct
public struct StatefulTabView: View {
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/StatefulTabView.swift:24:32: error: 'Binding' is only available in macOS 10.15 or newer
public init(selectedIndex: Binding<Int>? = nil, @TabBuilder _ content: () -> [Tab]) {
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/StatefulTabView.swift:24:12: note: add @available attribute to enclosing initializer
public init(selectedIndex: Binding<Int>? = nil, @TabBuilder _ content: () -> [Tab]) {
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/StatefulTabView.swift:10:15: note: add @available attribute to enclosing struct
public struct StatefulTabView: View {
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/StatefulTabView.swift:36:27: error: 'View' is only available in macOS 10.15 or newer
public var body: some View {
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/StatefulTabView.swift:36:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/StatefulTabView.swift:10:15: note: add @available attribute to enclosing struct
public struct StatefulTabView: View {
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Modifiers/StatefulTabView+Modifiers.swift:11:32: error: cannot find type 'UIColor' in scope
func barTintColor(_ color: UIColor) -> StatefulTabView {
^~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Modifiers/StatefulTabView+Modifiers.swift:17:43: error: cannot find type 'UIColor' in scope
func unselectedItemTintColor(_ color: UIColor) -> StatefulTabView {
^~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarController.swift:16:26: error: cannot find type 'UIViewControllerRepresentable' in scope
struct TabBarController: UIViewControllerRepresentable {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarController.swift:17:23: error: cannot find type 'UIViewController' in scope
var controllers: [UIViewController]
^~~~~~~~~~~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarController.swift:20:23: error: cannot find type 'UIColor' in scope
var barTintColor: UIColor?
^~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarController.swift:21:34: error: cannot find type 'UIColor' in scope
var unselectedItemTintColor: UIColor?
^~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarController.swift:22:26: error: cannot find type 'UIColor' in scope
var backgroundColor: UIColor?
^~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/StatefulTabView.swift:44:37: error: cannot infer contextual base in reference to member 'all'
.edgesIgnoringSafeArea(.all)
~^~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/StatefulTabView.swift:51:33: error: cannot find 'UIHostingController' in scope
let tabController = UIHostingController(rootView: $0.view)
^~~~~~~~~~~~~~~~~~~
[0/1] Planning build
Building for debugging...
[1/6] Compiling StatefulTabView Tab+Modifiers.swift
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/Tab.swift:12:18: error: cannot find type 'UITabBarItem' in scope
var barItem: UITabBarItem? = nil
^~~~~~~~~~~~
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/7] Emitting module StatefulTabView
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/Tab.swift:11:15: error: 'AnyView' is only available in macOS 10.15 or newer
var view: AnyView
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/Tab.swift:10:15: note: add @available attribute to enclosing struct
public struct Tab {
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/Tab.swift:12:18: error: cannot find type 'UITabBarItem' in scope
var barItem: UITabBarItem? = nil
^~~~~~~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/Tab.swift:23:70: error: 'View' is only available in macOS 10.15 or newer
@ViewBuilder content: @escaping () -> T) where T: View {
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/Tab.swift:19:12: note: add @available attribute to enclosing initializer
public init<T>(title: String? = nil,
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/Tab.swift:10:15: note: add @available attribute to enclosing struct
public struct Tab {
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/Tab.swift:23:21: error: 'ViewBuilder' is only available in macOS 10.15 or newer
@ViewBuilder content: @escaping () -> T) where T: View {
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/Tab.swift:19:12: note: add @available attribute to enclosing initializer
public init<T>(title: String? = nil,
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/Tab.swift:10:15: note: add @available attribute to enclosing struct
public struct Tab {
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/Tab.swift:42:70: error: 'View' is only available in macOS 10.15 or newer
@ViewBuilder content: @escaping () -> T) where T: View {
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/Tab.swift:38:12: note: add @available attribute to enclosing initializer
public init<T>(title: String? = nil,
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/Tab.swift:10:15: note: add @available attribute to enclosing struct
public struct Tab {
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/Tab.swift:42:21: error: 'ViewBuilder' is only available in macOS 10.15 or newer
@ViewBuilder content: @escaping () -> T) where T: View {
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/Tab.swift:38:12: note: add @available attribute to enclosing initializer
public init<T>(title: String? = nil,
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/Tab.swift:10:15: note: add @available attribute to enclosing struct
public struct Tab {
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/Tab.swift:59:27: error: cannot find type 'UIImage' in scope
image: UIImage?,
^~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/Tab.swift:60:35: error: cannot find type 'UIImage' in scope
selectedImage: UIImage? = nil,
^~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/Tab.swift:62:70: error: 'View' is only available in macOS 10.15 or newer
@ViewBuilder content: @escaping () -> T) where T: View {
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/Tab.swift:58:12: note: add @available attribute to enclosing initializer
public init<T>(title: String? = nil,
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/Tab.swift:10:15: note: add @available attribute to enclosing struct
public struct Tab {
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/Tab.swift:62:21: error: 'ViewBuilder' is only available in macOS 10.15 or newer
@ViewBuilder content: @escaping () -> T) where T: View {
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/Tab.swift:58:12: note: add @available attribute to enclosing initializer
public init<T>(title: String? = nil,
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/Tab.swift:10:15: note: add @available attribute to enclosing struct
public struct Tab {
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarController.swift:16:26: error: cannot find type 'UIViewControllerRepresentable' in scope
struct TabBarController: UIViewControllerRepresentable {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarController.swift:17:23: error: cannot find type 'UIViewController' in scope
var controllers: [UIViewController]
^~~~~~~~~~~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarController.swift:20:23: error: cannot find type 'UIColor' in scope
var barTintColor: UIColor?
^~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarController.swift:21:34: error: cannot find type 'UIColor' in scope
var unselectedItemTintColor: UIColor?
^~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarController.swift:22:26: error: cannot find type 'UIColor' in scope
var backgroundColor: UIColor?
^~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarController.swift:25:6: error: 'Binding' is only available in macOS 10.15 or newer
@Binding var selectedIndex: Int
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarController.swift:16:8: note: add @available attribute to enclosing struct
struct TabBarController: UIViewControllerRepresentable {
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarController.swift:27:52: error: cannot find type 'UITabBarController' in scope
func makeUIViewController(context: Context) -> UITabBarController {
^~~~~~~~~~~~~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarController.swift:27:40: error: cannot find type 'Context' in scope
func makeUIViewController(context: Context) -> UITabBarController {
^~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarController.swift:37:53: error: cannot find type 'UITabBarController' in scope
func updateUIViewController(_ tabBarController: UITabBarController, context: Context) {
^~~~~~~~~~~~~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarController.swift:37:82: error: cannot find type 'Context' in scope
func updateUIViewController(_ tabBarController: UITabBarController, context: Context) {
^~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarController.swift:55:30: error: cannot find type 'UITabBar' in scope
func configure(_ tabBar: UITabBar) {
^~~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarController.swift:89:71: error: cannot find type 'UINavigationController' in scope
func navigationController(in viewController: UIViewController) -> UINavigationController? {
^~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarController.swift:89:50: error: cannot find type 'UIViewController' in scope
func navigationController(in viewController: UIViewController) -> UINavigationController? {
^~~~~~~~~~~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarCoordinator.swift:11:36: error: cannot find type 'UITabBarControllerDelegate' in scope
class TabBarCoordinator: NSObject, UITabBarControllerDelegate {
^~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarCoordinator.swift:24:47: error: cannot find type 'UITabBarController' in scope
func tabBarController(_ tabBarController: UITabBarController, didSelect viewController: UIViewController) {
^~~~~~~~~~~~~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarCoordinator.swift:24:93: error: cannot find type 'UIViewController' in scope
func tabBarController(_ tabBarController: UITabBarController, didSelect viewController: UIViewController) {
^~~~~~~~~~~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarCoordinator.swift:43:47: error: cannot find type 'UINavigationController' in scope
func scrollToTop(in navigationController: UINavigationController, selectedIndex: Int) {
^~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarCoordinator.swift:59:41: error: cannot find type 'UIViewController' in scope
func scrollToTop(in viewController: UIViewController) {
^~~~~~~~~~~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarCoordinator.swift:69:71: error: cannot find type 'UINavigationController' in scope
func navigationController(in viewController: UIViewController) -> UINavigationController? {
^~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarCoordinator.swift:69:50: error: cannot find type 'UIViewController' in scope
func navigationController(in viewController: UIViewController) -> UINavigationController? {
^~~~~~~~~~~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarCoordinator.swift:87:44: error: cannot find type 'UIScrollView' in scope
func scrollView(in views: [UIView]) -> UIScrollView? {
^~~~~~~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarCoordinator.swift:87:32: error: cannot find type 'UIView' in scope
func scrollView(in views: [UIView]) -> UIScrollView? {
^~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Modifiers/StatefulTabView+Modifiers.swift:11:32: error: cannot find type 'UIColor' in scope
func barTintColor(_ color: UIColor) -> StatefulTabView {
^~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Modifiers/StatefulTabView+Modifiers.swift:17:43: error: cannot find type 'UIColor' in scope
func unselectedItemTintColor(_ color: UIColor) -> StatefulTabView {
^~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Modifiers/StatefulTabView+Modifiers.swift:23:38: error: cannot find type 'UIColor' in scope
func barBackgroundColor(_ color: UIColor) -> StatefulTabView {
^~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/StatefulTabView.swift:11:36: error: cannot find type 'UIHostingController' in scope
internal var viewControllers: [UIHostingController<AnyView>] = []
^~~~~~~~~~~~~~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/StatefulTabView.swift:14:32: error: cannot find type 'UIColor' in scope
internal var barTintColor: UIColor? = nil
^~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/StatefulTabView.swift:15:43: error: cannot find type 'UIColor' in scope
internal var unselectedItemTintColor: UIColor? = nil
^~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/StatefulTabView.swift:16:35: error: cannot find type 'UIColor' in scope
internal var backgroundColor: UIColor? = nil
^~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/StatefulTabView.swift:19:6: error: 'State' is only available in macOS 10.15 or newer
@State private var stateIndex: Int = 0
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/StatefulTabView.swift:10:15: note: add @available attribute to enclosing struct
public struct StatefulTabView: View {
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/StatefulTabView.swift:20:6: error: 'Binding' is only available in macOS 10.15 or newer
@Binding private var bindableIndex: Int
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/StatefulTabView.swift:10:15: note: add @available attribute to enclosing struct
public struct StatefulTabView: View {
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/StatefulTabView.swift:24:32: error: 'Binding' is only available in macOS 10.15 or newer
public init(selectedIndex: Binding<Int>? = nil, @TabBuilder _ content: () -> [Tab]) {
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/StatefulTabView.swift:24:12: note: add @available attribute to enclosing initializer
public init(selectedIndex: Binding<Int>? = nil, @TabBuilder _ content: () -> [Tab]) {
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/StatefulTabView.swift:10:15: note: add @available attribute to enclosing struct
public struct StatefulTabView: View {
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/StatefulTabView.swift:36:27: error: 'View' is only available in macOS 10.15 or newer
public var body: some View {
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/StatefulTabView.swift:36:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/StatefulTabView.swift:10:15: note: add @available attribute to enclosing struct
public struct StatefulTabView: View {
^
[3/7] Compiling StatefulTabView Tab.swift
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/Tab.swift:11:15: error: 'AnyView' is only available in macOS 10.15 or newer
var view: AnyView
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/Tab.swift:10:15: note: add @available attribute to enclosing struct
public struct Tab {
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/Tab.swift:12:18: error: cannot find type 'UITabBarItem' in scope
var barItem: UITabBarItem? = nil
^~~~~~~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/Tab.swift:23:70: error: 'View' is only available in macOS 10.15 or newer
@ViewBuilder content: @escaping () -> T) where T: View {
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/Tab.swift:19:12: note: add @available attribute to enclosing initializer
public init<T>(title: String? = nil,
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/Tab.swift:10:15: note: add @available attribute to enclosing struct
public struct Tab {
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/Tab.swift:23:21: error: 'ViewBuilder' is only available in macOS 10.15 or newer
@ViewBuilder content: @escaping () -> T) where T: View {
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/Tab.swift:19:12: note: add @available attribute to enclosing initializer
public init<T>(title: String? = nil,
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/Tab.swift:10:15: note: add @available attribute to enclosing struct
public struct Tab {
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/Tab.swift:42:70: error: 'View' is only available in macOS 10.15 or newer
@ViewBuilder content: @escaping () -> T) where T: View {
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/Tab.swift:38:12: note: add @available attribute to enclosing initializer
public init<T>(title: String? = nil,
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/Tab.swift:10:15: note: add @available attribute to enclosing struct
public struct Tab {
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/Tab.swift:42:21: error: 'ViewBuilder' is only available in macOS 10.15 or newer
@ViewBuilder content: @escaping () -> T) where T: View {
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/Tab.swift:38:12: note: add @available attribute to enclosing initializer
public init<T>(title: String? = nil,
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/Tab.swift:10:15: note: add @available attribute to enclosing struct
public struct Tab {
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/Tab.swift:59:27: error: cannot find type 'UIImage' in scope
image: UIImage?,
^~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/Tab.swift:60:35: error: cannot find type 'UIImage' in scope
selectedImage: UIImage? = nil,
^~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/Tab.swift:62:70: error: 'View' is only available in macOS 10.15 or newer
@ViewBuilder content: @escaping () -> T) where T: View {
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/Tab.swift:58:12: note: add @available attribute to enclosing initializer
public init<T>(title: String? = nil,
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/Tab.swift:10:15: note: add @available attribute to enclosing struct
public struct Tab {
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/Tab.swift:62:21: error: 'ViewBuilder' is only available in macOS 10.15 or newer
@ViewBuilder content: @escaping () -> T) where T: View {
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/Tab.swift:58:12: note: add @available attribute to enclosing initializer
public init<T>(title: String? = nil,
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/Tab.swift:10:15: note: add @available attribute to enclosing struct
public struct Tab {
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/Tab.swift:27:28: error: cannot find type 'UIImage' in scope
var selectedImage: UIImage?
^~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/Tab.swift:29:29: error: cannot find 'UIImage' in scope
selectedImage = UIImage(named: selectedImageName)
^~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/Tab.swift:32:19: error: cannot find 'UITabBarItem' in scope
barItem = UITabBarItem(title: title, image: UIImage(named: imageName), selectedImage: selectedImage)
^~~~~~~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/Tab.swift:32:53: error: cannot find 'UIImage' in scope
barItem = UITabBarItem(title: title, image: UIImage(named: imageName), selectedImage: selectedImage)
^~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/Tab.swift:34:21: error: 'AnyView' is only available in macOS 10.15 or newer
self.view = AnyView(content())
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/Tab.swift:34:21: note: add 'if #available' version check
self.view = AnyView(content())
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/Tab.swift:19:12: note: add @available attribute to enclosing initializer
public init<T>(title: String? = nil,
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/Tab.swift:10:15: note: add @available attribute to enclosing struct
public struct Tab {
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/Tab.swift:46:28: error: cannot find type 'UIImage' in scope
var selectedImage: UIImage?
^~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/Tab.swift:49:29: error: cannot find 'UIImage' in scope
selectedImage = UIImage(systemName: selectedSystemImageName)
^~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/Tab.swift:52:19: error: cannot find 'UITabBarItem' in scope
barItem = UITabBarItem(title: title, image: UIImage(systemName: systemImageName), selectedImage: selectedImage)
^~~~~~~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/Tab.swift:52:53: error: cannot find 'UIImage' in scope
barItem = UITabBarItem(title: title, image: UIImage(systemName: systemImageName), selectedImage: selectedImage)
^~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/Tab.swift:54:21: error: 'AnyView' is only available in macOS 10.15 or newer
self.view = AnyView(content())
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/Tab.swift:54:21: note: add 'if #available' version check
self.view = AnyView(content())
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/Tab.swift:38:12: note: add @available attribute to enclosing initializer
public init<T>(title: String? = nil,
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/Tab.swift:10:15: note: add @available attribute to enclosing struct
public struct Tab {
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/Tab.swift:66:19: error: cannot find 'UITabBarItem' in scope
barItem = UITabBarItem(title: title, image: image, selectedImage: selectedImage)
^~~~~~~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/Tab.swift:68:21: error: 'AnyView' is only available in macOS 10.15 or newer
self.view = AnyView(content())
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/Tab.swift:68:21: note: add 'if #available' version check
self.view = AnyView(content())
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/Tab.swift:58:12: note: add @available attribute to enclosing initializer
public init<T>(title: String? = nil,
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/Tab.swift:10:15: note: add @available attribute to enclosing struct
public struct Tab {
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarController.swift:16:26: error: cannot find type 'UIViewControllerRepresentable' in scope
struct TabBarController: UIViewControllerRepresentable {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarController.swift:17:23: error: cannot find type 'UIViewController' in scope
var controllers: [UIViewController]
^~~~~~~~~~~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarController.swift:20:23: error: cannot find type 'UIColor' in scope
var barTintColor: UIColor?
^~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarController.swift:21:34: error: cannot find type 'UIColor' in scope
var unselectedItemTintColor: UIColor?
^~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarController.swift:22:26: error: cannot find type 'UIColor' in scope
var backgroundColor: UIColor?
^~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarController.swift:25:6: error: 'Binding' is only available in macOS 10.15 or newer
@Binding var selectedIndex: Int
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarController.swift:16:8: note: add @available attribute to enclosing struct
struct TabBarController: UIViewControllerRepresentable {
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarController.swift:27:52: error: cannot find type 'UITabBarController' in scope
func makeUIViewController(context: Context) -> UITabBarController {
^~~~~~~~~~~~~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarController.swift:27:40: error: cannot find type 'Context' in scope
func makeUIViewController(context: Context) -> UITabBarController {
^~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarController.swift:37:53: error: cannot find type 'UITabBarController' in scope
func updateUIViewController(_ tabBarController: UITabBarController, context: Context) {
^~~~~~~~~~~~~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarController.swift:37:82: error: cannot find type 'Context' in scope
func updateUIViewController(_ tabBarController: UITabBarController, context: Context) {
^~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarController.swift:55:30: error: cannot find type 'UITabBar' in scope
func configure(_ tabBar: UITabBar) {
^~~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarController.swift:89:71: error: cannot find type 'UINavigationController' in scope
func navigationController(in viewController: UIViewController) -> UINavigationController? {
^~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarController.swift:89:50: error: cannot find type 'UIViewController' in scope
func navigationController(in viewController: UIViewController) -> UINavigationController? {
^~~~~~~~~~~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarController.swift:28:32: error: cannot find 'UITabBarController' in scope
let tabBarController = UITabBarController()
^~~~~~~~~~~~~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarCoordinator.swift:11:36: error: cannot find type 'UITabBarControllerDelegate' in scope
class TabBarCoordinator: NSObject, UITabBarControllerDelegate {
^~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarController.swift:90:25: error: cannot find type 'UINavigationController' in scope
var controller: UINavigationController?
^~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarController.swift:92:58: error: cannot find type 'UINavigationController' in scope
if let navigationController = viewController as? UINavigationController {
^~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarController.swift:97:50: error: cannot find type 'UINavigationController' in scope
if let navigationController = $0 as? UINavigationController {
^~~~~~~~~~~~~~~~~~~~~~
[4/7] Compiling StatefulTabView TabBarController.swift
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/Tab.swift:11:15: error: 'AnyView' is only available in macOS 10.15 or newer
var view: AnyView
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/Tab.swift:10:15: note: add @available attribute to enclosing struct
public struct Tab {
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/Tab.swift:12:18: error: cannot find type 'UITabBarItem' in scope
var barItem: UITabBarItem? = nil
^~~~~~~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/Tab.swift:23:70: error: 'View' is only available in macOS 10.15 or newer
@ViewBuilder content: @escaping () -> T) where T: View {
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/Tab.swift:19:12: note: add @available attribute to enclosing initializer
public init<T>(title: String? = nil,
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/Tab.swift:10:15: note: add @available attribute to enclosing struct
public struct Tab {
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/Tab.swift:23:21: error: 'ViewBuilder' is only available in macOS 10.15 or newer
@ViewBuilder content: @escaping () -> T) where T: View {
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/Tab.swift:19:12: note: add @available attribute to enclosing initializer
public init<T>(title: String? = nil,
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/Tab.swift:10:15: note: add @available attribute to enclosing struct
public struct Tab {
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/Tab.swift:42:70: error: 'View' is only available in macOS 10.15 or newer
@ViewBuilder content: @escaping () -> T) where T: View {
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/Tab.swift:38:12: note: add @available attribute to enclosing initializer
public init<T>(title: String? = nil,
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/Tab.swift:10:15: note: add @available attribute to enclosing struct
public struct Tab {
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/Tab.swift:42:21: error: 'ViewBuilder' is only available in macOS 10.15 or newer
@ViewBuilder content: @escaping () -> T) where T: View {
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/Tab.swift:38:12: note: add @available attribute to enclosing initializer
public init<T>(title: String? = nil,
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/Tab.swift:10:15: note: add @available attribute to enclosing struct
public struct Tab {
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/Tab.swift:59:27: error: cannot find type 'UIImage' in scope
image: UIImage?,
^~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/Tab.swift:60:35: error: cannot find type 'UIImage' in scope
selectedImage: UIImage? = nil,
^~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/Tab.swift:62:70: error: 'View' is only available in macOS 10.15 or newer
@ViewBuilder content: @escaping () -> T) where T: View {
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/Tab.swift:58:12: note: add @available attribute to enclosing initializer
public init<T>(title: String? = nil,
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/Tab.swift:10:15: note: add @available attribute to enclosing struct
public struct Tab {
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/Tab.swift:62:21: error: 'ViewBuilder' is only available in macOS 10.15 or newer
@ViewBuilder content: @escaping () -> T) where T: View {
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/Tab.swift:58:12: note: add @available attribute to enclosing initializer
public init<T>(title: String? = nil,
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/Tab.swift:10:15: note: add @available attribute to enclosing struct
public struct Tab {
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/Tab.swift:27:28: error: cannot find type 'UIImage' in scope
var selectedImage: UIImage?
^~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/Tab.swift:29:29: error: cannot find 'UIImage' in scope
selectedImage = UIImage(named: selectedImageName)
^~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/Tab.swift:32:19: error: cannot find 'UITabBarItem' in scope
barItem = UITabBarItem(title: title, image: UIImage(named: imageName), selectedImage: selectedImage)
^~~~~~~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/Tab.swift:32:53: error: cannot find 'UIImage' in scope
barItem = UITabBarItem(title: title, image: UIImage(named: imageName), selectedImage: selectedImage)
^~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/Tab.swift:34:21: error: 'AnyView' is only available in macOS 10.15 or newer
self.view = AnyView(content())
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/Tab.swift:34:21: note: add 'if #available' version check
self.view = AnyView(content())
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/Tab.swift:19:12: note: add @available attribute to enclosing initializer
public init<T>(title: String? = nil,
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/Tab.swift:10:15: note: add @available attribute to enclosing struct
public struct Tab {
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/Tab.swift:46:28: error: cannot find type 'UIImage' in scope
var selectedImage: UIImage?
^~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/Tab.swift:49:29: error: cannot find 'UIImage' in scope
selectedImage = UIImage(systemName: selectedSystemImageName)
^~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/Tab.swift:52:19: error: cannot find 'UITabBarItem' in scope
barItem = UITabBarItem(title: title, image: UIImage(systemName: systemImageName), selectedImage: selectedImage)
^~~~~~~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/Tab.swift:52:53: error: cannot find 'UIImage' in scope
barItem = UITabBarItem(title: title, image: UIImage(systemName: systemImageName), selectedImage: selectedImage)
^~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/Tab.swift:54:21: error: 'AnyView' is only available in macOS 10.15 or newer
self.view = AnyView(content())
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/Tab.swift:54:21: note: add 'if #available' version check
self.view = AnyView(content())
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/Tab.swift:38:12: note: add @available attribute to enclosing initializer
public init<T>(title: String? = nil,
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/Tab.swift:10:15: note: add @available attribute to enclosing struct
public struct Tab {
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/Tab.swift:66:19: error: cannot find 'UITabBarItem' in scope
barItem = UITabBarItem(title: title, image: image, selectedImage: selectedImage)
^~~~~~~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/Tab.swift:68:21: error: 'AnyView' is only available in macOS 10.15 or newer
self.view = AnyView(content())
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/Tab.swift:68:21: note: add 'if #available' version check
self.view = AnyView(content())
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/Tab.swift:58:12: note: add @available attribute to enclosing initializer
public init<T>(title: String? = nil,
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/Tab.swift:10:15: note: add @available attribute to enclosing struct
public struct Tab {
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarController.swift:16:26: error: cannot find type 'UIViewControllerRepresentable' in scope
struct TabBarController: UIViewControllerRepresentable {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarController.swift:17:23: error: cannot find type 'UIViewController' in scope
var controllers: [UIViewController]
^~~~~~~~~~~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarController.swift:20:23: error: cannot find type 'UIColor' in scope
var barTintColor: UIColor?
^~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarController.swift:21:34: error: cannot find type 'UIColor' in scope
var unselectedItemTintColor: UIColor?
^~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarController.swift:22:26: error: cannot find type 'UIColor' in scope
var backgroundColor: UIColor?
^~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarController.swift:25:6: error: 'Binding' is only available in macOS 10.15 or newer
@Binding var selectedIndex: Int
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarController.swift:16:8: note: add @available attribute to enclosing struct
struct TabBarController: UIViewControllerRepresentable {
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarController.swift:27:52: error: cannot find type 'UITabBarController' in scope
func makeUIViewController(context: Context) -> UITabBarController {
^~~~~~~~~~~~~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarController.swift:27:40: error: cannot find type 'Context' in scope
func makeUIViewController(context: Context) -> UITabBarController {
^~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarController.swift:37:53: error: cannot find type 'UITabBarController' in scope
func updateUIViewController(_ tabBarController: UITabBarController, context: Context) {
^~~~~~~~~~~~~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarController.swift:37:82: error: cannot find type 'Context' in scope
func updateUIViewController(_ tabBarController: UITabBarController, context: Context) {
^~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarController.swift:55:30: error: cannot find type 'UITabBar' in scope
func configure(_ tabBar: UITabBar) {
^~~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarController.swift:89:71: error: cannot find type 'UINavigationController' in scope
func navigationController(in viewController: UIViewController) -> UINavigationController? {
^~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarController.swift:89:50: error: cannot find type 'UIViewController' in scope
func navigationController(in viewController: UIViewController) -> UINavigationController? {
^~~~~~~~~~~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarController.swift:28:32: error: cannot find 'UITabBarController' in scope
let tabBarController = UITabBarController()
^~~~~~~~~~~~~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarCoordinator.swift:11:36: error: cannot find type 'UITabBarControllerDelegate' in scope
class TabBarCoordinator: NSObject, UITabBarControllerDelegate {
^~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarController.swift:90:25: error: cannot find type 'UINavigationController' in scope
var controller: UINavigationController?
^~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarController.swift:92:58: error: cannot find type 'UINavigationController' in scope
if let navigationController = viewController as? UINavigationController {
^~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarController.swift:97:50: error: cannot find type 'UINavigationController' in scope
if let navigationController = $0 as? UINavigationController {
^~~~~~~~~~~~~~~~~~~~~~
[5/7] Compiling StatefulTabView TabBarCoordinator.swift
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarCoordinator.swift:11:36: error: cannot find type 'UITabBarControllerDelegate' in scope
class TabBarCoordinator: NSObject, UITabBarControllerDelegate {
^~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarCoordinator.swift:24:47: error: cannot find type 'UITabBarController' in scope
func tabBarController(_ tabBarController: UITabBarController, didSelect viewController: UIViewController) {
^~~~~~~~~~~~~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarCoordinator.swift:24:93: error: cannot find type 'UIViewController' in scope
func tabBarController(_ tabBarController: UITabBarController, didSelect viewController: UIViewController) {
^~~~~~~~~~~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarCoordinator.swift:43:47: error: cannot find type 'UINavigationController' in scope
func scrollToTop(in navigationController: UINavigationController, selectedIndex: Int) {
^~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarCoordinator.swift:59:41: error: cannot find type 'UIViewController' in scope
func scrollToTop(in viewController: UIViewController) {
^~~~~~~~~~~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarCoordinator.swift:69:71: error: cannot find type 'UINavigationController' in scope
func navigationController(in viewController: UIViewController) -> UINavigationController? {
^~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarCoordinator.swift:69:50: error: cannot find type 'UIViewController' in scope
func navigationController(in viewController: UIViewController) -> UINavigationController? {
^~~~~~~~~~~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarCoordinator.swift:87:44: error: cannot find type 'UIScrollView' in scope
func scrollView(in views: [UIView]) -> UIScrollView? {
^~~~~~~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarCoordinator.swift:87:32: error: cannot find type 'UIView' in scope
func scrollView(in views: [UIView]) -> UIScrollView? {
^~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarController.swift:16:26: error: cannot find type 'UIViewControllerRepresentable' in scope
struct TabBarController: UIViewControllerRepresentable {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarCoordinator.swift:70:25: error: cannot find type 'UINavigationController' in scope
var controller: UINavigationController?
^~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarCoordinator.swift:72:58: error: cannot find type 'UINavigationController' in scope
if let navigationController = viewController as? UINavigationController {
^~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarCoordinator.swift:77:50: error: cannot find type 'UINavigationController' in scope
if let navigationController = $0 as? UINavigationController {
^~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarCoordinator.swift:88:19: error: cannot find type 'UIScrollView' in scope
var view: UIScrollView?
^~~~~~~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarCoordinator.swift:95:40: error: cannot find type 'UIScrollView' in scope
if let scrollView = $0 as? UIScrollView {
^~~~~~~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Modifiers/StatefulTabView+Modifiers.swift:11:32: error: cannot find type 'UIColor' in scope
func barTintColor(_ color: UIColor) -> StatefulTabView {
^~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Modifiers/StatefulTabView+Modifiers.swift:17:43: error: cannot find type 'UIColor' in scope
func unselectedItemTintColor(_ color: UIColor) -> StatefulTabView {
^~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Modifiers/StatefulTabView+Modifiers.swift:23:38: error: cannot find type 'UIColor' in scope
func barBackgroundColor(_ color: UIColor) -> StatefulTabView {
^~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/StatefulTabView.swift:14:32: error: cannot find type 'UIColor' in scope
internal var barTintColor: UIColor? = nil
^~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/StatefulTabView.swift:15:43: error: cannot find type 'UIColor' in scope
internal var unselectedItemTintColor: UIColor? = nil
^~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/StatefulTabView.swift:16:35: error: cannot find type 'UIColor' in scope
internal var backgroundColor: UIColor? = nil
^~~~~~~
[6/7] Compiling StatefulTabView StatefulTabView+Modifiers.swift
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarCoordinator.swift:11:36: error: cannot find type 'UITabBarControllerDelegate' in scope
class TabBarCoordinator: NSObject, UITabBarControllerDelegate {
^~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarCoordinator.swift:24:47: error: cannot find type 'UITabBarController' in scope
func tabBarController(_ tabBarController: UITabBarController, didSelect viewController: UIViewController) {
^~~~~~~~~~~~~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarCoordinator.swift:24:93: error: cannot find type 'UIViewController' in scope
func tabBarController(_ tabBarController: UITabBarController, didSelect viewController: UIViewController) {
^~~~~~~~~~~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarCoordinator.swift:43:47: error: cannot find type 'UINavigationController' in scope
func scrollToTop(in navigationController: UINavigationController, selectedIndex: Int) {
^~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarCoordinator.swift:59:41: error: cannot find type 'UIViewController' in scope
func scrollToTop(in viewController: UIViewController) {
^~~~~~~~~~~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarCoordinator.swift:69:71: error: cannot find type 'UINavigationController' in scope
func navigationController(in viewController: UIViewController) -> UINavigationController? {
^~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarCoordinator.swift:69:50: error: cannot find type 'UIViewController' in scope
func navigationController(in viewController: UIViewController) -> UINavigationController? {
^~~~~~~~~~~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarCoordinator.swift:87:44: error: cannot find type 'UIScrollView' in scope
func scrollView(in views: [UIView]) -> UIScrollView? {
^~~~~~~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarCoordinator.swift:87:32: error: cannot find type 'UIView' in scope
func scrollView(in views: [UIView]) -> UIScrollView? {
^~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarController.swift:16:26: error: cannot find type 'UIViewControllerRepresentable' in scope
struct TabBarController: UIViewControllerRepresentable {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarCoordinator.swift:70:25: error: cannot find type 'UINavigationController' in scope
var controller: UINavigationController?
^~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarCoordinator.swift:72:58: error: cannot find type 'UINavigationController' in scope
if let navigationController = viewController as? UINavigationController {
^~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarCoordinator.swift:77:50: error: cannot find type 'UINavigationController' in scope
if let navigationController = $0 as? UINavigationController {
^~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarCoordinator.swift:88:19: error: cannot find type 'UIScrollView' in scope
var view: UIScrollView?
^~~~~~~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarCoordinator.swift:95:40: error: cannot find type 'UIScrollView' in scope
if let scrollView = $0 as? UIScrollView {
^~~~~~~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Modifiers/StatefulTabView+Modifiers.swift:11:32: error: cannot find type 'UIColor' in scope
func barTintColor(_ color: UIColor) -> StatefulTabView {
^~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Modifiers/StatefulTabView+Modifiers.swift:17:43: error: cannot find type 'UIColor' in scope
func unselectedItemTintColor(_ color: UIColor) -> StatefulTabView {
^~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Modifiers/StatefulTabView+Modifiers.swift:23:38: error: cannot find type 'UIColor' in scope
func barBackgroundColor(_ color: UIColor) -> StatefulTabView {
^~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/StatefulTabView.swift:14:32: error: cannot find type 'UIColor' in scope
internal var barTintColor: UIColor? = nil
^~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/StatefulTabView.swift:15:43: error: cannot find type 'UIColor' in scope
internal var unselectedItemTintColor: UIColor? = nil
^~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/StatefulTabView.swift:16:35: error: cannot find type 'UIColor' in scope
internal var backgroundColor: UIColor? = nil
^~~~~~~
[7/7] Compiling StatefulTabView StatefulTabView.swift
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/StatefulTabView.swift:11:36: error: cannot find type 'UIHostingController' in scope
internal var viewControllers: [UIHostingController<AnyView>] = []
^~~~~~~~~~~~~~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/StatefulTabView.swift:14:32: error: cannot find type 'UIColor' in scope
internal var barTintColor: UIColor? = nil
^~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/StatefulTabView.swift:15:43: error: cannot find type 'UIColor' in scope
internal var unselectedItemTintColor: UIColor? = nil
^~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/StatefulTabView.swift:16:35: error: cannot find type 'UIColor' in scope
internal var backgroundColor: UIColor? = nil
^~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/StatefulTabView.swift:19:6: error: 'State' is only available in macOS 10.15 or newer
@State private var stateIndex: Int = 0
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/StatefulTabView.swift:10:15: note: add @available attribute to enclosing struct
public struct StatefulTabView: View {
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/StatefulTabView.swift:20:6: error: 'Binding' is only available in macOS 10.15 or newer
@Binding private var bindableIndex: Int
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/StatefulTabView.swift:10:15: note: add @available attribute to enclosing struct
public struct StatefulTabView: View {
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/StatefulTabView.swift:24:32: error: 'Binding' is only available in macOS 10.15 or newer
public init(selectedIndex: Binding<Int>? = nil, @TabBuilder _ content: () -> [Tab]) {
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/StatefulTabView.swift:24:12: note: add @available attribute to enclosing initializer
public init(selectedIndex: Binding<Int>? = nil, @TabBuilder _ content: () -> [Tab]) {
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/StatefulTabView.swift:10:15: note: add @available attribute to enclosing struct
public struct StatefulTabView: View {
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/StatefulTabView.swift:36:27: error: 'View' is only available in macOS 10.15 or newer
public var body: some View {
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/StatefulTabView.swift:36:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/StatefulTabView.swift:10:15: note: add @available attribute to enclosing struct
public struct StatefulTabView: View {
^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Modifiers/StatefulTabView+Modifiers.swift:11:32: error: cannot find type 'UIColor' in scope
func barTintColor(_ color: UIColor) -> StatefulTabView {
^~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Modifiers/StatefulTabView+Modifiers.swift:17:43: error: cannot find type 'UIColor' in scope
func unselectedItemTintColor(_ color: UIColor) -> StatefulTabView {
^~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarController.swift:16:26: error: cannot find type 'UIViewControllerRepresentable' in scope
struct TabBarController: UIViewControllerRepresentable {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarController.swift:17:23: error: cannot find type 'UIViewController' in scope
var controllers: [UIViewController]
^~~~~~~~~~~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarController.swift:20:23: error: cannot find type 'UIColor' in scope
var barTintColor: UIColor?
^~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarController.swift:21:34: error: cannot find type 'UIColor' in scope
var unselectedItemTintColor: UIColor?
^~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarController.swift:22:26: error: cannot find type 'UIColor' in scope
var backgroundColor: UIColor?
^~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/StatefulTabView.swift:44:37: error: cannot infer contextual base in reference to member 'all'
.edgesIgnoringSafeArea(.all)
~^~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StatefulTabView/StatefulTabView.swift:51:33: error: cannot find 'UIHostingController' in scope
let tabController = UIHostingController(rootView: $0.view)
^~~~~~~~~~~~~~~~~~~
BUILD FAILURE 5.8 macosSpm