Build Information
Failed to build TabBar, reference master (995e6b
), with Swift 5.10 for macOS (SPM) on 17 Oct 2024 07:03:12 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.4.0.app xcrun swift build --arch arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.55.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/onl1ner/TabBar.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/onl1ner/TabBar
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 995e6bc Merge pull request #14 from onl1ner/feature/tab-item-selected-icon
Cloned https://github.com/onl1ner/TabBar.git
Revision (git rev-parse @):
995e6bc32829d0a0f5300d6f49b654412068dbbe
SUCCESS checkout https://github.com/onl1ner/TabBar.git at master
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 5.10
Building package at path: $PWD
https://github.com/onl1ner/TabBar.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.4.0.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-33747A42983211AE.txt
[3/15] Compiling TabBar AnyTabBarStyle.swift
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Styles/TabBar/AnyTabBarStyle.swift:34:31: error: 'GeometryProxy' is only available in macOS 10.15 or newer
private let _makeTabBar: (GeometryProxy, @escaping () -> AnyView) -> AnyView
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Styles/TabBar/AnyTabBarStyle.swift:33:15: note: add @available attribute to enclosing struct
public struct AnyTabBarStyle: TabBarStyle {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Styles/TabBar/AnyTabBarStyle.swift:34:62: error: 'AnyView' is only available in macOS 10.15 or newer
private let _makeTabBar: (GeometryProxy, @escaping () -> AnyView) -> AnyView
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Styles/TabBar/AnyTabBarStyle.swift:33:15: note: add @available attribute to enclosing struct
public struct AnyTabBarStyle: TabBarStyle {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Styles/TabBar/AnyTabBarStyle.swift:34:74: error: 'AnyView' is only available in macOS 10.15 or newer
private let _makeTabBar: (GeometryProxy, @escaping () -> AnyView) -> AnyView
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Styles/TabBar/AnyTabBarStyle.swift:33:15: note: add @available attribute to enclosing struct
public struct AnyTabBarStyle: TabBarStyle {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Styles/TabBar/AnyTabBarStyle.swift:40:39: error: 'GeometryProxy' is only available in macOS 10.15 or newer
public func tabBar(with geometry: GeometryProxy, itemsContainer: @escaping () -> AnyView) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Styles/TabBar/AnyTabBarStyle.swift:40:17: note: add @available attribute to enclosing instance method
public func tabBar(with geometry: GeometryProxy, itemsContainer: @escaping () -> AnyView) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Styles/TabBar/AnyTabBarStyle.swift:33:15: note: add @available attribute to enclosing struct
public struct AnyTabBarStyle: TabBarStyle {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Styles/TabBar/AnyTabBarStyle.swift:40:86: error: 'AnyView' is only available in macOS 10.15 or newer
public func tabBar(with geometry: GeometryProxy, itemsContainer: @escaping () -> AnyView) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Styles/TabBar/AnyTabBarStyle.swift:40:17: note: add @available attribute to enclosing instance method
public func tabBar(with geometry: GeometryProxy, itemsContainer: @escaping () -> AnyView) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Styles/TabBar/AnyTabBarStyle.swift:33:15: note: add @available attribute to enclosing struct
public struct AnyTabBarStyle: TabBarStyle {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Styles/TabBar/AnyTabBarStyle.swift:40:103: error: 'View' is only available in macOS 10.15 or newer
public func tabBar(with geometry: GeometryProxy, itemsContainer: @escaping () -> AnyView) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Styles/TabBar/AnyTabBarStyle.swift:40:17: note: add @available attribute to enclosing instance method
public func tabBar(with geometry: GeometryProxy, itemsContainer: @escaping () -> AnyView) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Styles/TabBar/AnyTabBarStyle.swift:33:15: note: add @available attribute to enclosing struct
public struct AnyTabBarStyle: TabBarStyle {
^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/16] Compiling TabBar TabBarVisibility.swift
[5/16] Compiling TabBar Tabbable.swift
[6/16] Emitting module TabBar
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Extensions/View.swift:27:74: error: 'View' is only available in macOS 10.15 or newer
@ViewBuilder func visibility(_ visibility: TabBarVisibility) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Extensions/View.swift:27:23: note: add @available attribute to enclosing instance method
@ViewBuilder func visibility(_ visibility: TabBarVisibility) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Extensions/View.swift:26:1: note: add @available attribute to enclosing extension
extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Extensions/View.swift:27:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
@ViewBuilder func visibility(_ visibility: TabBarVisibility) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Extensions/View.swift:27:23: note: add @available attribute to enclosing instance method
@ViewBuilder func visibility(_ visibility: TabBarVisibility) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Extensions/View.swift:26:1: note: add @available attribute to enclosing extension
extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Extensions/View.swift:26:11: error: 'View' is only available in macOS 10.15 or newer
extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Extensions/View.swift:26:1: note: add @available attribute to enclosing extension
extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Preferences/TabBarSelection.swift:27:6: error: 'Binding' is only available in macOS 10.15 or newer
@Binding var selection: TabItem
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Preferences/TabBarSelection.swift:26:7: note: add @available attribute to enclosing generic class
class TabBarSelection<TabItem: Tabbable>: ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Preferences/TabBarSelection.swift:29:21: error: 'Binding' is only available in macOS 10.15 or newer
init(selection: Binding<TabItem>) {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Preferences/TabBarSelection.swift:29:5: note: add @available attribute to enclosing initializer
init(selection: Binding<TabItem>) {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Preferences/TabBarSelection.swift:26:7: note: add @available attribute to enclosing generic class
class TabBarSelection<TabItem: Tabbable>: ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Preferences/TabBarSelection.swift:26:43: error: 'ObservableObject' is only available in macOS 10.15 or newer
class TabBarSelection<TabItem: Tabbable>: ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Preferences/TabBarSelection.swift:26:7: note: add @available attribute to enclosing generic class
class TabBarSelection<TabItem: Tabbable>: ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Preferences/TabBarViewModifier.swift:27:6: error: 'EnvironmentObject' is only available in macOS 10.15 or newer
@EnvironmentObject private var selectionObject: TabBarSelection<TabItem>
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Preferences/TabBarViewModifier.swift:26:8: note: add @available attribute to enclosing generic struct
struct TabBarViewModifier<TabItem: Tabbable>: ViewModifier {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Preferences/TabBarViewModifier.swift:31:41: error: 'View' is only available in macOS 10.15 or newer
func body(content: Content) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Preferences/TabBarViewModifier.swift:31:10: note: add @available attribute to enclosing instance method
func body(content: Content) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Preferences/TabBarViewModifier.swift:26:8: note: add @available attribute to enclosing generic struct
struct TabBarViewModifier<TabItem: Tabbable>: ViewModifier {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Preferences/TabBarViewModifier.swift:50:71: error: 'View' is only available in macOS 10.15 or newer
public func tabItem<TabItem: Tabbable>(for item: TabItem) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Preferences/TabBarViewModifier.swift:50:17: note: add @available attribute to enclosing instance method
public func tabItem<TabItem: Tabbable>(for item: TabItem) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Preferences/TabBarViewModifier.swift:43:1: note: add @available attribute to enclosing extension
extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Preferences/TabBarViewModifier.swift:43:11: error: 'View' is only available in macOS 10.15 or newer
extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Preferences/TabBarViewModifier.swift:43:1: note: add @available attribute to enclosing extension
extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Styles/TabBar/AnyTabBarStyle.swift:34:31: error: 'GeometryProxy' is only available in macOS 10.15 or newer
private let _makeTabBar: (GeometryProxy, @escaping () -> AnyView) -> AnyView
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Styles/TabBar/AnyTabBarStyle.swift:33:15: note: add @available attribute to enclosing struct
public struct AnyTabBarStyle: TabBarStyle {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Styles/TabBar/AnyTabBarStyle.swift:34:62: error: 'AnyView' is only available in macOS 10.15 or newer
private let _makeTabBar: (GeometryProxy, @escaping () -> AnyView) -> AnyView
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Styles/TabBar/AnyTabBarStyle.swift:33:15: note: add @available attribute to enclosing struct
public struct AnyTabBarStyle: TabBarStyle {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Styles/TabBar/AnyTabBarStyle.swift:34:74: error: 'AnyView' is only available in macOS 10.15 or newer
private let _makeTabBar: (GeometryProxy, @escaping () -> AnyView) -> AnyView
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Styles/TabBar/AnyTabBarStyle.swift:33:15: note: add @available attribute to enclosing struct
public struct AnyTabBarStyle: TabBarStyle {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Styles/TabBar/AnyTabBarStyle.swift:40:39: error: 'GeometryProxy' is only available in macOS 10.15 or newer
public func tabBar(with geometry: GeometryProxy, itemsContainer: @escaping () -> AnyView) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Styles/TabBar/AnyTabBarStyle.swift:40:17: note: add @available attribute to enclosing instance method
public func tabBar(with geometry: GeometryProxy, itemsContainer: @escaping () -> AnyView) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Styles/TabBar/AnyTabBarStyle.swift:33:15: note: add @available attribute to enclosing struct
public struct AnyTabBarStyle: TabBarStyle {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Styles/TabBar/AnyTabBarStyle.swift:40:86: error: 'AnyView' is only available in macOS 10.15 or newer
public func tabBar(with geometry: GeometryProxy, itemsContainer: @escaping () -> AnyView) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Styles/TabBar/AnyTabBarStyle.swift:40:17: note: add @available attribute to enclosing instance method
public func tabBar(with geometry: GeometryProxy, itemsContainer: @escaping () -> AnyView) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Styles/TabBar/AnyTabBarStyle.swift:33:15: note: add @available attribute to enclosing struct
public struct AnyTabBarStyle: TabBarStyle {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Styles/TabBar/AnyTabBarStyle.swift:40:103: error: 'View' is only available in macOS 10.15 or newer
public func tabBar(with geometry: GeometryProxy, itemsContainer: @escaping () -> AnyView) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Styles/TabBar/AnyTabBarStyle.swift:40:17: note: add @available attribute to enclosing instance method
public func tabBar(with geometry: GeometryProxy, itemsContainer: @escaping () -> AnyView) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Styles/TabBar/AnyTabBarStyle.swift:33:15: note: add @available attribute to enclosing struct
public struct AnyTabBarStyle: TabBarStyle {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Styles/TabBar/DefaultTabBarStyle.swift:34:39: error: 'GeometryProxy' is only available in macOS 10.15 or newer
public func tabBar(with geometry: GeometryProxy, itemsContainer: @escaping () -> AnyView) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Styles/TabBar/DefaultTabBarStyle.swift:34:17: note: add @available attribute to enclosing instance method
public func tabBar(with geometry: GeometryProxy, itemsContainer: @escaping () -> AnyView) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Styles/TabBar/DefaultTabBarStyle.swift:32:15: note: add @available attribute to enclosing struct
public struct DefaultTabBarStyle: TabBarStyle {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Styles/TabBar/DefaultTabBarStyle.swift:34:86: error: 'AnyView' is only available in macOS 10.15 or newer
public func tabBar(with geometry: GeometryProxy, itemsContainer: @escaping () -> AnyView) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Styles/TabBar/DefaultTabBarStyle.swift:34:17: note: add @available attribute to enclosing instance method
public func tabBar(with geometry: GeometryProxy, itemsContainer: @escaping () -> AnyView) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Styles/TabBar/DefaultTabBarStyle.swift:32:15: note: add @available attribute to enclosing struct
public struct DefaultTabBarStyle: TabBarStyle {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Styles/TabBar/DefaultTabBarStyle.swift:34:103: error: 'View' is only available in macOS 10.15 or newer
public func tabBar(with geometry: GeometryProxy, itemsContainer: @escaping () -> AnyView) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Styles/TabBar/DefaultTabBarStyle.swift:34:17: note: add @available attribute to enclosing instance method
public func tabBar(with geometry: GeometryProxy, itemsContainer: @escaping () -> AnyView) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Styles/TabBar/DefaultTabBarStyle.swift:32:15: note: add @available attribute to enclosing struct
public struct DefaultTabBarStyle: TabBarStyle {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Styles/TabBar/TabBarStyle.swift:35:29: error: 'View' is only available in macOS 10.15 or newer
associatedtype Content: View
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Styles/TabBar/TabBarStyle.swift:34:17: note: add @available attribute to enclosing protocol
public protocol TabBarStyle {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Styles/TabBar/TabBarStyle.swift:37:32: error: 'GeometryProxy' is only available in macOS 10.15 or newer
func tabBar(with geometry: GeometryProxy, itemsContainer: @escaping () -> AnyView) -> Content
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Styles/TabBar/TabBarStyle.swift:37:10: note: add @available attribute to enclosing instance method
func tabBar(with geometry: GeometryProxy, itemsContainer: @escaping () -> AnyView) -> Content
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Styles/TabBar/TabBarStyle.swift:34:17: note: add @available attribute to enclosing protocol
public protocol TabBarStyle {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Styles/TabBar/TabBarStyle.swift:37:79: error: 'AnyView' is only available in macOS 10.15 or newer
func tabBar(with geometry: GeometryProxy, itemsContainer: @escaping () -> AnyView) -> Content
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Styles/TabBar/TabBarStyle.swift:37:10: note: add @available attribute to enclosing instance method
func tabBar(with geometry: GeometryProxy, itemsContainer: @escaping () -> AnyView) -> Content
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Styles/TabBar/TabBarStyle.swift:34:17: note: add @available attribute to enclosing protocol
public protocol TabBarStyle {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Styles/TabBar/TabBarStyle.swift:41:38: error: 'GeometryProxy' is only available in macOS 10.15 or newer
func tabBarErased(with geometry: GeometryProxy, itemsContainer: @escaping () -> AnyView) -> AnyView {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Styles/TabBar/TabBarStyle.swift:41:10: note: add @available attribute to enclosing instance method
func tabBarErased(with geometry: GeometryProxy, itemsContainer: @escaping () -> AnyView) -> AnyView {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Styles/TabBar/TabBarStyle.swift:40:1: note: add @available attribute to enclosing extension
extension TabBarStyle {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Styles/TabBar/TabBarStyle.swift:41:85: error: 'AnyView' is only available in macOS 10.15 or newer
func tabBarErased(with geometry: GeometryProxy, itemsContainer: @escaping () -> AnyView) -> AnyView {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Styles/TabBar/TabBarStyle.swift:41:10: note: add @available attribute to enclosing instance method
func tabBarErased(with geometry: GeometryProxy, itemsContainer: @escaping () -> AnyView) -> AnyView {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Styles/TabBar/TabBarStyle.swift:40:1: note: add @available attribute to enclosing extension
extension TabBarStyle {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Styles/TabBar/TabBarStyle.swift:41:97: error: 'AnyView' is only available in macOS 10.15 or newer
func tabBarErased(with geometry: GeometryProxy, itemsContainer: @escaping () -> AnyView) -> AnyView {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Styles/TabBar/TabBarStyle.swift:41:10: note: add @available attribute to enclosing instance method
func tabBarErased(with geometry: GeometryProxy, itemsContainer: @escaping () -> AnyView) -> AnyView {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Styles/TabBar/TabBarStyle.swift:40:1: note: add @available attribute to enclosing extension
extension TabBarStyle {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Styles/TabItem/AnyTabItemStyle.swift:34:65: error: 'AnyView' is only available in macOS 10.15 or newer
private let _makeTabItem: (String, String, String, Bool) -> AnyView
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Styles/TabItem/AnyTabItemStyle.swift:33:15: note: add @available attribute to enclosing struct
public struct AnyTabItemStyle: TabItemStyle {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Styles/TabItem/AnyTabItemStyle.swift:40:102: error: 'View' is only available in macOS 10.15 or newer
public func tabItem(icon: String, selectedIcon: String, title: String, isSelected: Bool) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Styles/TabItem/AnyTabItemStyle.swift:40:17: note: add @available attribute to enclosing instance method
public func tabItem(icon: String, selectedIcon: String, title: String, isSelected: Bool) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Styles/TabItem/AnyTabItemStyle.swift:33:15: note: add @available attribute to enclosing struct
public struct AnyTabItemStyle: TabItemStyle {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Styles/TabItem/DefaultTabItem.swift:33:102: error: 'View' is only available in macOS 10.15 or newer
public func tabItem(icon: String, selectedIcon: String, title: String, isSelected: Bool) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Styles/TabItem/DefaultTabItem.swift:33:17: note: add @available attribute to enclosing instance method
public func tabItem(icon: String, selectedIcon: String, title: String, isSelected: Bool) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Styles/TabItem/DefaultTabItem.swift:32:15: note: add @available attribute to enclosing struct
public struct DefaultTabItemStyle: TabItemStyle {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Styles/TabItem/TabItemStyle.swift:34:30: error: 'View' is only available in macOS 10.15 or newer
associatedtype Content : View
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Styles/TabItem/TabItemStyle.swift:33:17: note: add @available attribute to enclosing protocol
public protocol TabItemStyle {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Styles/TabItem/TabItemStyle.swift:49:96: error: 'AnyView' is only available in macOS 10.15 or newer
func tabItemErased(icon: String, selectedIcon: String, title: String, isSelected: Bool) -> AnyView {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Styles/TabItem/TabItemStyle.swift:49:10: note: add @available attribute to enclosing instance method
func tabItemErased(icon: String, selectedIcon: String, title: String, isSelected: Bool) -> AnyView {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Styles/TabItem/TabItemStyle.swift:40:1: note: add @available attribute to enclosing extension
extension TabItemStyle {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/View/TabBar.swift:55:6: error: 'State' is only available in macOS 10.15 or newer
@State private var items: [TabItem]
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/View/TabBar.swift:47:15: note: add @available attribute to enclosing generic struct
public struct TabBar<TabItem: Tabbable, Content: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/View/TabBar.swift:57:6: error: 'Binding' is only available in macOS 10.15 or newer
@Binding private var visibility: TabBarVisibility
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/View/TabBar.swift:47:15: note: add @available attribute to enclosing generic struct
public struct TabBar<TabItem: Tabbable, Content: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/View/TabBar.swift:68:20: error: 'Binding' is only available in macOS 10.15 or newer
selection: Binding<TabItem>,
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/View/TabBar.swift:67:12: note: add @available attribute to enclosing initializer
public init(
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/View/TabBar.swift:47:15: note: add @available attribute to enclosing generic struct
public struct TabBar<TabItem: Tabbable, Content: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/View/TabBar.swift:69:21: error: 'Binding' is only available in macOS 10.15 or newer
visibility: Binding<TabBarVisibility> = .constant(.visible),
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/View/TabBar.swift:67:12: note: add @available attribute to enclosing initializer
public init(
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/View/TabBar.swift:47:15: note: add @available attribute to enclosing generic struct
public struct TabBar<TabItem: Tabbable, Content: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/View/TabBar.swift:70:10: error: 'ViewBuilder' is only available in macOS 10.15 or newer
@ViewBuilder content: () -> Content
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/View/TabBar.swift:67:12: note: add @available attribute to enclosing initializer
public init(
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/View/TabBar.swift:47:15: note: add @available attribute to enclosing generic struct
public struct TabBar<TabItem: Tabbable, Content: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/View/TabBar.swift:82:32: error: 'View' is only available in macOS 10.15 or newer
private var tabItems: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/View/TabBar.swift:82:17: note: add @available attribute to enclosing property
private var tabItems: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/View/TabBar.swift:47:15: note: add @available attribute to enclosing generic struct
public struct TabBar<TabItem: Tabbable, Content: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/View/TabBar.swift:100:27: error: 'View' is only available in macOS 10.15 or newer
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/View/TabBar.swift:100:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/View/TabBar.swift:47:15: note: add @available attribute to enclosing generic struct
public struct TabBar<TabItem: Tabbable, Content: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/View/TabBar.swift:47:50: error: 'View' is only available in macOS 10.15 or newer
public struct TabBar<TabItem: Tabbable, Content: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/View/TabBar.swift:47:15: note: add @available attribute to enclosing generic struct
public struct TabBar<TabItem: Tabbable, Content: View>: View {
^
[7/16] Compiling TabBar View.swift
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Extensions/View.swift:27:74: error: 'View' is only available in macOS 10.15 or newer
@ViewBuilder func visibility(_ visibility: TabBarVisibility) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Extensions/View.swift:27:23: note: add @available attribute to enclosing instance method
@ViewBuilder func visibility(_ visibility: TabBarVisibility) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Extensions/View.swift:26:1: note: add @available attribute to enclosing extension
extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Extensions/View.swift:27:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
@ViewBuilder func visibility(_ visibility: TabBarVisibility) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Extensions/View.swift:27:23: note: add @available attribute to enclosing instance method
@ViewBuilder func visibility(_ visibility: TabBarVisibility) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Extensions/View.swift:26:1: note: add @available attribute to enclosing extension
extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Extensions/View.swift:26:11: error: 'View' is only available in macOS 10.15 or newer
extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Extensions/View.swift:26:1: note: add @available attribute to enclosing extension
extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Extensions/View.swift:30:18: error: 'transition' is only available in macOS 14.0 or newer
self.transition(.move(edge: .bottom))
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Extensions/View.swift:30:18: note: add 'if #available' version check
self.transition(.move(edge: .bottom))
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Extensions/View.swift:27:23: note: add @available attribute to enclosing instance method
@ViewBuilder func visibility(_ visibility: TabBarVisibility) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Extensions/View.swift:26:1: note: add @available attribute to enclosing extension
extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Extensions/View.swift:30:30: error: 'move(edge:)' is only available in macOS 14.0 or newer
self.transition(.move(edge: .bottom))
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Extensions/View.swift:30:30: note: add 'if #available' version check
self.transition(.move(edge: .bottom))
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Extensions/View.swift:27:23: note: add @available attribute to enclosing instance method
@ViewBuilder func visibility(_ visibility: TabBarVisibility) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Extensions/View.swift:26:1: note: add @available attribute to enclosing extension
extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Extensions/View.swift:30:13: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
self.transition(.move(edge: .bottom))
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Extensions/View.swift:30:13: note: add 'if #available' version check
self.transition(.move(edge: .bottom))
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Extensions/View.swift:27:23: note: add @available attribute to enclosing instance method
@ViewBuilder func visibility(_ visibility: TabBarVisibility) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Extensions/View.swift:26:1: note: add @available attribute to enclosing extension
extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Extensions/View.swift:32:13: error: 'hidden()' is only available in macOS 10.15 or newer
hidden().transition(.move(edge: .bottom))
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Extensions/View.swift:32:13: note: add 'if #available' version check
hidden().transition(.move(edge: .bottom))
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Extensions/View.swift:27:23: note: add @available attribute to enclosing instance method
@ViewBuilder func visibility(_ visibility: TabBarVisibility) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Extensions/View.swift:26:1: note: add @available attribute to enclosing extension
extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Extensions/View.swift:32:22: error: 'transition' is only available in macOS 14.0 or newer
hidden().transition(.move(edge: .bottom))
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Extensions/View.swift:32:22: note: add 'if #available' version check
hidden().transition(.move(edge: .bottom))
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Extensions/View.swift:27:23: note: add @available attribute to enclosing instance method
@ViewBuilder func visibility(_ visibility: TabBarVisibility) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Extensions/View.swift:26:1: note: add @available attribute to enclosing extension
extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Extensions/View.swift:32:34: error: 'move(edge:)' is only available in macOS 14.0 or newer
hidden().transition(.move(edge: .bottom))
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Extensions/View.swift:32:34: note: add 'if #available' version check
hidden().transition(.move(edge: .bottom))
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Extensions/View.swift:27:23: note: add @available attribute to enclosing instance method
@ViewBuilder func visibility(_ visibility: TabBarVisibility) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Extensions/View.swift:26:1: note: add @available attribute to enclosing extension
extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Extensions/View.swift:32:13: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
hidden().transition(.move(edge: .bottom))
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Extensions/View.swift:32:13: note: add 'if #available' version check
hidden().transition(.move(edge: .bottom))
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Extensions/View.swift:27:23: note: add @available attribute to enclosing instance method
@ViewBuilder func visibility(_ visibility: TabBarVisibility) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Extensions/View.swift:26:1: note: add @available attribute to enclosing extension
extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Extensions/View.swift:27:79: warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer
@ViewBuilder func visibility(_ visibility: TabBarVisibility) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Extensions/View.swift:27:79: note: add 'if #available' version check
@ViewBuilder func visibility(_ visibility: TabBarVisibility) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Extensions/View.swift:27:23: note: add @available attribute to enclosing instance method
@ViewBuilder func visibility(_ visibility: TabBarVisibility) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Extensions/View.swift:26:1: note: add @available attribute to enclosing extension
extension View {
^
[8/16] Compiling TabBar TabBarPreferenceKey.swift
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Extensions/View.swift:27:74: error: 'View' is only available in macOS 10.15 or newer
@ViewBuilder func visibility(_ visibility: TabBarVisibility) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Extensions/View.swift:27:23: note: add @available attribute to enclosing instance method
@ViewBuilder func visibility(_ visibility: TabBarVisibility) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Extensions/View.swift:26:1: note: add @available attribute to enclosing extension
extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Extensions/View.swift:27:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
@ViewBuilder func visibility(_ visibility: TabBarVisibility) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Extensions/View.swift:27:23: note: add @available attribute to enclosing instance method
@ViewBuilder func visibility(_ visibility: TabBarVisibility) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Extensions/View.swift:26:1: note: add @available attribute to enclosing extension
extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Extensions/View.swift:26:11: error: 'View' is only available in macOS 10.15 or newer
extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Extensions/View.swift:26:1: note: add @available attribute to enclosing extension
extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Extensions/View.swift:30:18: error: 'transition' is only available in macOS 14.0 or newer
self.transition(.move(edge: .bottom))
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Extensions/View.swift:30:18: note: add 'if #available' version check
self.transition(.move(edge: .bottom))
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Extensions/View.swift:27:23: note: add @available attribute to enclosing instance method
@ViewBuilder func visibility(_ visibility: TabBarVisibility) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Extensions/View.swift:26:1: note: add @available attribute to enclosing extension
extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Extensions/View.swift:30:30: error: 'move(edge:)' is only available in macOS 14.0 or newer
self.transition(.move(edge: .bottom))
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Extensions/View.swift:30:30: note: add 'if #available' version check
self.transition(.move(edge: .bottom))
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Extensions/View.swift:27:23: note: add @available attribute to enclosing instance method
@ViewBuilder func visibility(_ visibility: TabBarVisibility) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Extensions/View.swift:26:1: note: add @available attribute to enclosing extension
extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Extensions/View.swift:30:13: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
self.transition(.move(edge: .bottom))
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Extensions/View.swift:30:13: note: add 'if #available' version check
self.transition(.move(edge: .bottom))
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Extensions/View.swift:27:23: note: add @available attribute to enclosing instance method
@ViewBuilder func visibility(_ visibility: TabBarVisibility) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Extensions/View.swift:26:1: note: add @available attribute to enclosing extension
extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Extensions/View.swift:32:13: error: 'hidden()' is only available in macOS 10.15 or newer
hidden().transition(.move(edge: .bottom))
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Extensions/View.swift:32:13: note: add 'if #available' version check
hidden().transition(.move(edge: .bottom))
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Extensions/View.swift:27:23: note: add @available attribute to enclosing instance method
@ViewBuilder func visibility(_ visibility: TabBarVisibility) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Extensions/View.swift:26:1: note: add @available attribute to enclosing extension
extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Extensions/View.swift:32:22: error: 'transition' is only available in macOS 14.0 or newer
hidden().transition(.move(edge: .bottom))
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Extensions/View.swift:32:22: note: add 'if #available' version check
hidden().transition(.move(edge: .bottom))
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Extensions/View.swift:27:23: note: add @available attribute to enclosing instance method
@ViewBuilder func visibility(_ visibility: TabBarVisibility) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Extensions/View.swift:26:1: note: add @available attribute to enclosing extension
extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Extensions/View.swift:32:34: error: 'move(edge:)' is only available in macOS 14.0 or newer
hidden().transition(.move(edge: .bottom))
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Extensions/View.swift:32:34: note: add 'if #available' version check
hidden().transition(.move(edge: .bottom))
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Extensions/View.swift:27:23: note: add @available attribute to enclosing instance method
@ViewBuilder func visibility(_ visibility: TabBarVisibility) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Extensions/View.swift:26:1: note: add @available attribute to enclosing extension
extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Extensions/View.swift:32:13: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
hidden().transition(.move(edge: .bottom))
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Extensions/View.swift:32:13: note: add 'if #available' version check
hidden().transition(.move(edge: .bottom))
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Extensions/View.swift:27:23: note: add @available attribute to enclosing instance method
@ViewBuilder func visibility(_ visibility: TabBarVisibility) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Extensions/View.swift:26:1: note: add @available attribute to enclosing extension
extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Extensions/View.swift:27:79: warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer
@ViewBuilder func visibility(_ visibility: TabBarVisibility) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Extensions/View.swift:27:79: note: add 'if #available' version check
@ViewBuilder func visibility(_ visibility: TabBarVisibility) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Extensions/View.swift:27:23: note: add @available attribute to enclosing instance method
@ViewBuilder func visibility(_ visibility: TabBarVisibility) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Extensions/View.swift:26:1: note: add @available attribute to enclosing extension
extension View {
^
[9/16] Compiling TabBar DefaultTabItem.swift
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Styles/TabItem/DefaultTabItem.swift:33:102: error: 'View' is only available in macOS 10.15 or newer
public func tabItem(icon: String, selectedIcon: String, title: String, isSelected: Bool) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Styles/TabItem/DefaultTabItem.swift:33:17: note: add @available attribute to enclosing instance method
public func tabItem(icon: String, selectedIcon: String, title: String, isSelected: Bool) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Styles/TabItem/DefaultTabItem.swift:32:15: note: add @available attribute to enclosing struct
public struct DefaultTabItemStyle: TabItemStyle {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Styles/TabItem/DefaultTabItem.swift:34:9: error: 'VStack' is only available in macOS 10.15 or newer
VStack(spacing: 5.0) {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Styles/TabItem/DefaultTabItem.swift:34:9: note: add 'if #available' version check
VStack(spacing: 5.0) {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Styles/TabItem/DefaultTabItem.swift:33:17: note: add @available attribute to enclosing instance method
public func tabItem(icon: String, selectedIcon: String, title: String, isSelected: Bool) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Styles/TabItem/DefaultTabItem.swift:32:15: note: add @available attribute to enclosing struct
public struct DefaultTabItemStyle: TabItemStyle {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Styles/TabItem/DefaultTabItem.swift:35:13: warning: conformance of 'Image' to 'View' is only available in macOS 10.15 or newer
Image(systemName: icon)
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Styles/TabItem/DefaultTabItem.swift:35:13: note: add 'if #available' version check
Image(systemName: icon)
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Styles/TabItem/DefaultTabItem.swift:33:17: note: add @available attribute to enclosing instance method
public func tabItem(icon: String, selectedIcon: String, title: String, isSelected: Bool) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Styles/TabItem/DefaultTabItem.swift:32:15: note: add @available attribute to enclosing struct
public struct DefaultTabItemStyle: TabItemStyle {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Styles/TabItem/DefaultTabItem.swift:35:13: error: 'Image' is only available in macOS 10.15 or newer
Image(systemName: icon)
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Styles/TabItem/DefaultTabItem.swift:35:13: note: add 'if #available' version check
Image(systemName: icon)
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Styles/TabItem/DefaultTabItem.swift:33:17: note: add @available attribute to enclosing instance method
public func tabItem(icon: String, selectedIcon: String, title: String, isSelected: Bool) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Styles/TabItem/DefaultTabItem.swift:32:15: note: add @available attribute to enclosing struct
public struct DefaultTabItemStyle: TabItemStyle {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Styles/TabItem/DefaultTabItem.swift:35:13: error: 'init(systemName:)' is only available in macOS 11.0 or newer
Image(systemName: icon)
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Styles/TabItem/DefaultTabItem.swift:35:13: note: add 'if #available' version check
Image(systemName: icon)
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Styles/TabItem/DefaultTabItem.swift:33:17: note: add @available attribute to enclosing instance method
public func tabItem(icon: String, selectedIcon: String, title: String, isSelected: Bool) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Styles/TabItem/DefaultTabItem.swift:32:15: note: add @available attribute to enclosing struct
public struct DefaultTabItemStyle: TabItemStyle {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Styles/TabItem/DefaultTabItem.swift:36:18: error: 'renderingMode' is only available in macOS 10.15 or newer
.renderingMode(.template)
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Styles/TabItem/DefaultTabItem.swift:36:18: note: add 'if #available' version check
.renderingMode(.template)
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Styles/TabItem/DefaultTabItem.swift:33:17: note: add @available attribute to enclosing instance method
public func tabItem(icon: String, selectedIcon: String, title: String, isSelected: Bool) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Styles/TabItem/DefaultTabItem.swift:32:15: note: add @available attribute to enclosing struct
public struct DefaultTabItemStyle: TabItemStyle {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Styles/TabItem/DefaultTabItem.swift:38:13: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
Text(title)
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Styles/TabItem/DefaultTabItem.swift:38:13: note: add 'if #available' version check
Text(title)
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Styles/TabItem/DefaultTabItem.swift:33:17: note: add @available attribute to enclosing instance method
public func tabItem(icon: String, selectedIcon: String, title: String, isSelected: Bool) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Styles/TabItem/DefaultTabItem.swift:32:15: note: add @available attribute to enclosing struct
public struct DefaultTabItemStyle: TabItemStyle {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Styles/TabItem/DefaultTabItem.swift:38:13: error: 'Text' is only available in macOS 10.15 or newer
Text(title)
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Styles/TabItem/DefaultTabItem.swift:38:13: note: add 'if #available' version check
Text(title)
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Styles/TabItem/DefaultTabItem.swift:33:17: note: add @available attribute to enclosing instance method
public func tabItem(icon: String, selectedIcon: String, title: String, isSelected: Bool) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Styles/TabItem/DefaultTabItem.swift:32:15: note: add @available attribute to enclosing struct
public struct DefaultTabItemStyle: TabItemStyle {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Styles/TabItem/DefaultTabItem.swift:39:18: error: 'font' is only available in macOS 10.15 or newer
.font(.system(size: 10.0, weight: .medium))
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Styles/TabItem/DefaultTabItem.swift:39:18: note: add 'if #available' version check
.font(.system(size: 10.0, weight: .medium))
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Styles/TabItem/DefaultTabItem.swift:33:17: note: add @available attribute to enclosing instance method
public func tabItem(icon: String, selectedIcon: String, title: String, isSelected: Bool) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Styles/TabItem/DefaultTabItem.swift:32:15: note: add @available attribute to enclosing struct
public struct DefaultTabItemStyle: TabItemStyle {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Styles/TabItem/DefaultTabItem.swift:39:24: error: 'system(size:weight:design:)' is only available in macOS 13.0 or newer
.font(.system(size: 10.0, weight: .medium))
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Styles/TabItem/DefaultTabItem.swift:39:24: note: add 'if #available' version check
.font(.system(size: 10.0, weight: .medium))
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Styles/TabItem/DefaultTabItem.swift:33:17: note: add @available attribute to enclosing instance method
public func tabItem(icon: String, selectedIcon: String, title: String, isSelected: Bool) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Styles/TabItem/DefaultTabItem.swift:32:15: note: add @available attribute to enclosing struct
public struct DefaultTabItemStyle: TabItemStyle {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Styles/TabItem/DefaultTabItem.swift:34:30: warning: conformance of 'Image' to 'View' is only available in macOS 10.15 or newer
VStack(spacing: 5.0) {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Styles/TabItem/DefaultTabItem.swift:34:30: note: add 'if #available' version check
VStack(spacing: 5.0) {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Styles/TabItem/DefaultTabItem.swift:33:17: note: add @available attribute to enclosing instance method
public func tabItem(icon: String, selectedIcon: String, title: String, isSelected: Bool) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Styles/TabItem/DefaultTabItem.swift:32:15: note: add @available attribute to enclosing struct
public struct DefaultTabItemStyle: TabItemStyle {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Styles/TabItem/DefaultTabItem.swift:34:30: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
VStack(spacing: 5.0) {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Styles/TabItem/DefaultTabItem.swift:34:30: note: add 'if #available' version check
VStack(spacing: 5.0) {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Styles/TabItem/DefaultTabItem.swift:33:17: note: add @available attribute to enclosing instance method
public func tabItem(icon: String, selectedIcon: String, title: String, isSelected: Bool) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Styles/TabItem/DefaultTabItem.swift:32:15: note: add @available attribute to enclosing struct
public struct DefaultTabItemStyle: TabItemStyle {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Styles/TabItem/DefaultTabItem.swift:41:10: error: 'foregroundColor' is only available in macOS 10.15 or newer
.foregroundColor(isSelected ? .accentColor : .gray)
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Styles/TabItem/DefaultTabItem.swift:41:10: note: add 'if #available' version check
.foregroundColor(isSelected ? .accentColor : .gray)
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Styles/TabItem/DefaultTabItem.swift:33:17: note: add @available attribute to enclosing instance method
public func tabItem(icon: String, selectedIcon: String, title: String, isSelected: Bool) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Styles/TabItem/DefaultTabItem.swift:32:15: note: add @available attribute to enclosing struct
public struct DefaultTabItemStyle: TabItemStyle {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Styles/TabItem/DefaultTabItem.swift:41:40: error: 'accentColor' is only available in macOS 10.15 or newer
.foregroundColor(isSelected ? .accentColor : .gray)
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Styles/TabItem/DefaultTabItem.swift:41:40: note: add 'if #available' version check
.foregroundColor(isSelected ? .accentColor : .gray)
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Styles/TabItem/DefaultTabItem.swift:33:17: note: add @available attribute to enclosing instance method
public func tabItem(icon: String, selectedIcon: String, title: String, isSelected: Bool) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Styles/TabItem/DefaultTabItem.swift:32:15: note: add @available attribute to enclosing struct
public struct DefaultTabItemStyle: TabItemStyle {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Styles/TabItem/DefaultTabItem.swift:41:55: error: 'gray' is only available in macOS 10.15 or newer
.foregroundColor(isSelected ? .accentColor : .gray)
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Styles/TabItem/DefaultTabItem.swift:41:55: note: add 'if #available' version check
.foregroundColor(isSelected ? .accentColor : .gray)
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Styles/TabItem/DefaultTabItem.swift:33:17: note: add @available attribute to enclosing instance method
public func tabItem(icon: String, selectedIcon: String, title: String, isSelected: Bool) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Styles/TabItem/DefaultTabItem.swift:32:15: note: add @available attribute to enclosing struct
public struct DefaultTabItemStyle: TabItemStyle {
^
[10/16] Compiling TabBar TabItemStyle.swift
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Styles/TabItem/TabItemStyle.swift:34:30: error: 'View' is only available in macOS 10.15 or newer
associatedtype Content : View
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Styles/TabItem/TabItemStyle.swift:33:17: note: add @available attribute to enclosing protocol
public protocol TabItemStyle {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Styles/TabItem/TabItemStyle.swift:49:96: error: 'AnyView' is only available in macOS 10.15 or newer
func tabItemErased(icon: String, selectedIcon: String, title: String, isSelected: Bool) -> AnyView {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Styles/TabItem/TabItemStyle.swift:49:10: note: add @available attribute to enclosing instance method
func tabItemErased(icon: String, selectedIcon: String, title: String, isSelected: Bool) -> AnyView {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Styles/TabItem/TabItemStyle.swift:40:1: note: add @available attribute to enclosing extension
extension TabItemStyle {
^
[11/16] Compiling TabBar TabBarStyle.swift
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Styles/TabBar/TabBarStyle.swift:35:29: error: 'View' is only available in macOS 10.15 or newer
associatedtype Content: View
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Styles/TabBar/TabBarStyle.swift:34:17: note: add @available attribute to enclosing protocol
public protocol TabBarStyle {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Styles/TabBar/TabBarStyle.swift:37:32: error: 'GeometryProxy' is only available in macOS 10.15 or newer
func tabBar(with geometry: GeometryProxy, itemsContainer: @escaping () -> AnyView) -> Content
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Styles/TabBar/TabBarStyle.swift:37:10: note: add @available attribute to enclosing instance method
func tabBar(with geometry: GeometryProxy, itemsContainer: @escaping () -> AnyView) -> Content
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Styles/TabBar/TabBarStyle.swift:34:17: note: add @available attribute to enclosing protocol
public protocol TabBarStyle {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Styles/TabBar/TabBarStyle.swift:37:79: error: 'AnyView' is only available in macOS 10.15 or newer
func tabBar(with geometry: GeometryProxy, itemsContainer: @escaping () -> AnyView) -> Content
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Styles/TabBar/TabBarStyle.swift:37:10: note: add @available attribute to enclosing instance method
func tabBar(with geometry: GeometryProxy, itemsContainer: @escaping () -> AnyView) -> Content
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Styles/TabBar/TabBarStyle.swift:34:17: note: add @available attribute to enclosing protocol
public protocol TabBarStyle {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Styles/TabBar/TabBarStyle.swift:41:38: error: 'GeometryProxy' is only available in macOS 10.15 or newer
func tabBarErased(with geometry: GeometryProxy, itemsContainer: @escaping () -> AnyView) -> AnyView {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Styles/TabBar/TabBarStyle.swift:41:10: note: add @available attribute to enclosing instance method
func tabBarErased(with geometry: GeometryProxy, itemsContainer: @escaping () -> AnyView) -> AnyView {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Styles/TabBar/TabBarStyle.swift:40:1: note: add @available attribute to enclosing extension
extension TabBarStyle {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Styles/TabBar/TabBarStyle.swift:41:85: error: 'AnyView' is only available in macOS 10.15 or newer
func tabBarErased(with geometry: GeometryProxy, itemsContainer: @escaping () -> AnyView) -> AnyView {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Styles/TabBar/TabBarStyle.swift:41:10: note: add @available attribute to enclosing instance method
func tabBarErased(with geometry: GeometryProxy, itemsContainer: @escaping () -> AnyView) -> AnyView {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Styles/TabBar/TabBarStyle.swift:40:1: note: add @available attribute to enclosing extension
extension TabBarStyle {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Styles/TabBar/TabBarStyle.swift:41:97: error: 'AnyView' is only available in macOS 10.15 or newer
func tabBarErased(with geometry: GeometryProxy, itemsContainer: @escaping () -> AnyView) -> AnyView {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Styles/TabBar/TabBarStyle.swift:41:10: note: add @available attribute to enclosing instance method
func tabBarErased(with geometry: GeometryProxy, itemsContainer: @escaping () -> AnyView) -> AnyView {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Styles/TabBar/TabBarStyle.swift:40:1: note: add @available attribute to enclosing extension
extension TabBarStyle {
^
[12/16] Compiling TabBar AnyTabItemStyle.swift
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Styles/TabItem/AnyTabItemStyle.swift:34:65: error: 'AnyView' is only available in macOS 10.15 or newer
private let _makeTabItem: (String, String, String, Bool) -> AnyView
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Styles/TabItem/AnyTabItemStyle.swift:33:15: note: add @available attribute to enclosing struct
public struct AnyTabItemStyle: TabItemStyle {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Styles/TabItem/AnyTabItemStyle.swift:40:102: error: 'View' is only available in macOS 10.15 or newer
public func tabItem(icon: String, selectedIcon: String, title: String, isSelected: Bool) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Styles/TabItem/AnyTabItemStyle.swift:40:17: note: add @available attribute to enclosing instance method
public func tabItem(icon: String, selectedIcon: String, title: String, isSelected: Bool) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Styles/TabItem/AnyTabItemStyle.swift:33:15: note: add @available attribute to enclosing struct
public struct AnyTabItemStyle: TabItemStyle {
^
[13/16] Compiling TabBar DefaultTabBarStyle.swift
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Styles/TabBar/DefaultTabBarStyle.swift:34:39: error: 'GeometryProxy' is only available in macOS 10.15 or newer
public func tabBar(with geometry: GeometryProxy, itemsContainer: @escaping () -> AnyView) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Styles/TabBar/DefaultTabBarStyle.swift:34:17: note: add @available attribute to enclosing instance method
public func tabBar(with geometry: GeometryProxy, itemsContainer: @escaping () -> AnyView) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Styles/TabBar/DefaultTabBarStyle.swift:32:15: note: add @available attribute to enclosing struct
public struct DefaultTabBarStyle: TabBarStyle {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Styles/TabBar/DefaultTabBarStyle.swift:34:86: error: 'AnyView' is only available in macOS 10.15 or newer
public func tabBar(with geometry: GeometryProxy, itemsContainer: @escaping () -> AnyView) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Styles/TabBar/DefaultTabBarStyle.swift:34:17: note: add @available attribute to enclosing instance method
public func tabBar(with geometry: GeometryProxy, itemsContainer: @escaping () -> AnyView) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Styles/TabBar/DefaultTabBarStyle.swift:32:15: note: add @available attribute to enclosing struct
public struct DefaultTabBarStyle: TabBarStyle {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Styles/TabBar/DefaultTabBarStyle.swift:34:103: error: 'View' is only available in macOS 10.15 or newer
public func tabBar(with geometry: GeometryProxy, itemsContainer: @escaping () -> AnyView) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Styles/TabBar/DefaultTabBarStyle.swift:34:17: note: add @available attribute to enclosing instance method
public func tabBar(with geometry: GeometryProxy, itemsContainer: @escaping () -> AnyView) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Styles/TabBar/DefaultTabBarStyle.swift:32:15: note: add @available attribute to enclosing struct
public struct DefaultTabBarStyle: TabBarStyle {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Styles/TabBar/DefaultTabBarStyle.swift:35:9: error: 'VStack' is only available in macOS 10.15 or newer
VStack(spacing: 0.0) {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Styles/TabBar/DefaultTabBarStyle.swift:35:9: note: add 'if #available' version check
VStack(spacing: 0.0) {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Styles/TabBar/DefaultTabBarStyle.swift:34:17: note: add @available attribute to enclosing instance method
public func tabBar(with geometry: GeometryProxy, itemsContainer: @escaping () -> AnyView) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Styles/TabBar/DefaultTabBarStyle.swift:32:15: note: add @available attribute to enclosing struct
public struct DefaultTabBarStyle: TabBarStyle {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Styles/TabBar/DefaultTabBarStyle.swift:36:13: error: 'Divider' is only available in macOS 10.15 or newer
Divider()
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Styles/TabBar/DefaultTabBarStyle.swift:36:13: note: add 'if #available' version check
Divider()
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Styles/TabBar/DefaultTabBarStyle.swift:34:17: note: add @available attribute to enclosing instance method
public func tabBar(with geometry: GeometryProxy, itemsContainer: @escaping () -> AnyView) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Styles/TabBar/DefaultTabBarStyle.swift:32:15: note: add @available attribute to enclosing struct
public struct DefaultTabBarStyle: TabBarStyle {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Styles/TabBar/DefaultTabBarStyle.swift:38:13: error: 'VStack' is only available in macOS 10.15 or newer
VStack {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Styles/TabBar/DefaultTabBarStyle.swift:38:13: note: add 'if #available' version check
VStack {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Styles/TabBar/DefaultTabBarStyle.swift:34:17: note: add @available attribute to enclosing instance method
public func tabBar(with geometry: GeometryProxy, itemsContainer: @escaping () -> AnyView) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Styles/TabBar/DefaultTabBarStyle.swift:32:15: note: add @available attribute to enclosing struct
public struct DefaultTabBarStyle: TabBarStyle {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Styles/TabBar/DefaultTabBarStyle.swift:40:22: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
.frame(height: 50.0)
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Styles/TabBar/DefaultTabBarStyle.swift:40:22: note: add 'if #available' version check
.frame(height: 50.0)
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Styles/TabBar/DefaultTabBarStyle.swift:34:17: note: add @available attribute to enclosing instance method
public func tabBar(with geometry: GeometryProxy, itemsContainer: @escaping () -> AnyView) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Styles/TabBar/DefaultTabBarStyle.swift:32:15: note: add @available attribute to enclosing struct
public struct DefaultTabBarStyle: TabBarStyle {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Styles/TabBar/DefaultTabBarStyle.swift:41:22: error: 'padding' is only available in macOS 10.15 or newer
.padding(.bottom, geometry.safeAreaInsets.bottom)
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Styles/TabBar/DefaultTabBarStyle.swift:41:22: note: add 'if #available' version check
.padding(.bottom, geometry.safeAreaInsets.bottom)
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Styles/TabBar/DefaultTabBarStyle.swift:34:17: note: add @available attribute to enclosing instance method
public func tabBar(with geometry: GeometryProxy, itemsContainer: @escaping () -> AnyView) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Styles/TabBar/DefaultTabBarStyle.swift:32:15: note: add @available attribute to enclosing struct
public struct DefaultTabBarStyle: TabBarStyle {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Styles/TabBar/DefaultTabBarStyle.swift:43:14: error: 'background(_:ignoresSafeAreaEdges:)' is only available in macOS 12.0 or newer
.background(
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Styles/TabBar/DefaultTabBarStyle.swift:43:14: note: add 'if #available' version check
.background(
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Styles/TabBar/DefaultTabBarStyle.swift:34:17: note: add @available attribute to enclosing instance method
public func tabBar(with geometry: GeometryProxy, itemsContainer: @escaping () -> AnyView) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Styles/TabBar/DefaultTabBarStyle.swift:32:15: note: add @available attribute to enclosing struct
public struct DefaultTabBarStyle: TabBarStyle {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Styles/TabBar/DefaultTabBarStyle.swift:44:17: error: 'Color' is only available in macOS 10.15 or newer
Color(
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Styles/TabBar/DefaultTabBarStyle.swift:44:17: note: add 'if #available' version check
Color(
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Styles/TabBar/DefaultTabBarStyle.swift:34:17: note: add @available attribute to enclosing instance method
public func tabBar(with geometry: GeometryProxy, itemsContainer: @escaping () -> AnyView) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Styles/TabBar/DefaultTabBarStyle.swift:32:15: note: add @available attribute to enclosing struct
public struct DefaultTabBarStyle: TabBarStyle {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Styles/TabBar/DefaultTabBarStyle.swift:44:17: error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
Color(
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Styles/TabBar/DefaultTabBarStyle.swift:44:17: note: add 'if #available' version check
Color(
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Styles/TabBar/DefaultTabBarStyle.swift:34:17: note: add @available attribute to enclosing instance method
public func tabBar(with geometry: GeometryProxy, itemsContainer: @escaping () -> AnyView) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Styles/TabBar/DefaultTabBarStyle.swift:32:15: note: add @available attribute to enclosing struct
public struct DefaultTabBarStyle: TabBarStyle {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Styles/TabBar/DefaultTabBarStyle.swift:51:14: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
.frame(height: 50.0 + geometry.safeAreaInsets.bottom)
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Styles/TabBar/DefaultTabBarStyle.swift:51:14: note: add 'if #available' version check
.frame(height: 50.0 + geometry.safeAreaInsets.bottom)
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Styles/TabBar/DefaultTabBarStyle.swift:34:17: note: add @available attribute to enclosing instance method
public func tabBar(with geometry: GeometryProxy, itemsContainer: @escaping () -> AnyView) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Styles/TabBar/DefaultTabBarStyle.swift:32:15: note: add @available attribute to enclosing struct
public struct DefaultTabBarStyle: TabBarStyle {
^
[14/16] Compiling TabBar TabBarSelection.swift
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Preferences/TabBarSelection.swift:27:6: error: 'Binding' is only available in macOS 10.15 or newer
@Binding var selection: TabItem
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Preferences/TabBarSelection.swift:26:7: note: add @available attribute to enclosing generic class
class TabBarSelection<TabItem: Tabbable>: ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Preferences/TabBarSelection.swift:29:21: error: 'Binding' is only available in macOS 10.15 or newer
init(selection: Binding<TabItem>) {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Preferences/TabBarSelection.swift:29:5: note: add @available attribute to enclosing initializer
init(selection: Binding<TabItem>) {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Preferences/TabBarSelection.swift:26:7: note: add @available attribute to enclosing generic class
class TabBarSelection<TabItem: Tabbable>: ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Preferences/TabBarSelection.swift:26:43: error: 'ObservableObject' is only available in macOS 10.15 or newer
class TabBarSelection<TabItem: Tabbable>: ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Preferences/TabBarSelection.swift:26:7: note: add @available attribute to enclosing generic class
class TabBarSelection<TabItem: Tabbable>: ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Preferences/TabBarViewModifier.swift:27:6: error: 'EnvironmentObject' is only available in macOS 10.15 or newer
@EnvironmentObject private var selectionObject: TabBarSelection<TabItem>
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Preferences/TabBarViewModifier.swift:26:8: note: add @available attribute to enclosing generic struct
struct TabBarViewModifier<TabItem: Tabbable>: ViewModifier {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Preferences/TabBarViewModifier.swift:31:41: error: 'View' is only available in macOS 10.15 or newer
func body(content: Content) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Preferences/TabBarViewModifier.swift:31:10: note: add @available attribute to enclosing instance method
func body(content: Content) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Preferences/TabBarViewModifier.swift:26:8: note: add @available attribute to enclosing generic struct
struct TabBarViewModifier<TabItem: Tabbable>: ViewModifier {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Preferences/TabBarViewModifier.swift:50:71: error: 'View' is only available in macOS 10.15 or newer
public func tabItem<TabItem: Tabbable>(for item: TabItem) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Preferences/TabBarViewModifier.swift:50:17: note: add @available attribute to enclosing instance method
public func tabItem<TabItem: Tabbable>(for item: TabItem) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Preferences/TabBarViewModifier.swift:43:1: note: add @available attribute to enclosing extension
extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Preferences/TabBarViewModifier.swift:43:11: error: 'View' is only available in macOS 10.15 or newer
extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Preferences/TabBarViewModifier.swift:43:1: note: add @available attribute to enclosing extension
extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Preferences/TabBarViewModifier.swift:32:9: error: 'Group' is only available in macOS 10.15 or newer
Group {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Preferences/TabBarViewModifier.swift:32:9: note: add 'if #available' version check
Group {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Preferences/TabBarViewModifier.swift:31:10: note: add @available attribute to enclosing instance method
func body(content: Content) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Preferences/TabBarViewModifier.swift:26:8: note: add @available attribute to enclosing generic struct
struct TabBarViewModifier<TabItem: Tabbable>: ViewModifier {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Preferences/TabBarViewModifier.swift:32:9: error: 'init(content:)' is only available in macOS 10.15 or newer
Group {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Preferences/TabBarViewModifier.swift:32:9: note: add 'if #available' version check
Group {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Preferences/TabBarViewModifier.swift:31:10: note: add @available attribute to enclosing instance method
func body(content: Content) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Preferences/TabBarViewModifier.swift:26:8: note: add @available attribute to enclosing generic struct
struct TabBarViewModifier<TabItem: Tabbable>: ViewModifier {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Preferences/TabBarViewModifier.swift:33:60: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
if self.item == self.selectionObject.selection {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Preferences/TabBarViewModifier.swift:33:60: note: add 'if #available' version check
if self.item == self.selectionObject.selection {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Preferences/TabBarViewModifier.swift:31:10: note: add @available attribute to enclosing instance method
func body(content: Content) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Preferences/TabBarViewModifier.swift:26:8: note: add @available attribute to enclosing generic struct
struct TabBarViewModifier<TabItem: Tabbable>: ViewModifier {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Preferences/TabBarViewModifier.swift:36:17: warning: conformance of 'Color' to 'View' is only available in macOS 10.15 or newer
Color.clear
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Preferences/TabBarViewModifier.swift:36:17: note: add 'if #available' version check
Color.clear
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Preferences/TabBarViewModifier.swift:31:10: note: add @available attribute to enclosing instance method
func body(content: Content) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Preferences/TabBarViewModifier.swift:26:8: note: add @available attribute to enclosing generic struct
struct TabBarViewModifier<TabItem: Tabbable>: ViewModifier {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Preferences/TabBarViewModifier.swift:36:17: error: 'Color' is only available in macOS 10.15 or newer
Color.clear
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Preferences/TabBarViewModifier.swift:36:17: note: add 'if #available' version check
Color.clear
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Preferences/TabBarViewModifier.swift:31:10: note: add @available attribute to enclosing instance method
func body(content: Content) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Preferences/TabBarViewModifier.swift:26:8: note: add @available attribute to enclosing generic struct
struct TabBarViewModifier<TabItem: Tabbable>: ViewModifier {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Preferences/TabBarViewModifier.swift:36:23: error: 'clear' is only available in macOS 10.15 or newer
Color.clear
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Preferences/TabBarViewModifier.swift:36:23: note: add 'if #available' version check
Color.clear
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Preferences/TabBarViewModifier.swift:31:10: note: add @available attribute to enclosing instance method
func body(content: Content) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Preferences/TabBarViewModifier.swift:26:8: note: add @available attribute to enclosing generic struct
struct TabBarViewModifier<TabItem: Tabbable>: ViewModifier {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Preferences/TabBarViewModifier.swift:35:20: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
} else {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Preferences/TabBarViewModifier.swift:35:20: note: add 'if #available' version check
} else {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Preferences/TabBarViewModifier.swift:31:10: note: add @available attribute to enclosing instance method
func body(content: Content) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Preferences/TabBarViewModifier.swift:26:8: note: add @available attribute to enclosing generic struct
struct TabBarViewModifier<TabItem: Tabbable>: ViewModifier {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Preferences/TabBarViewModifier.swift:35:20: warning: conformance of 'Color' to 'View' is only available in macOS 10.15 or newer
} else {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Preferences/TabBarViewModifier.swift:35:20: note: add 'if #available' version check
} else {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Preferences/TabBarViewModifier.swift:31:10: note: add @available attribute to enclosing instance method
func body(content: Content) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Preferences/TabBarViewModifier.swift:26:8: note: add @available attribute to enclosing generic struct
struct TabBarViewModifier<TabItem: Tabbable>: ViewModifier {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Preferences/TabBarViewModifier.swift:32:15: warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer
Group {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Preferences/TabBarViewModifier.swift:32:15: note: add 'if #available' version check
Group {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Preferences/TabBarViewModifier.swift:31:10: note: add @available attribute to enclosing instance method
func body(content: Content) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Preferences/TabBarViewModifier.swift:26:8: note: add @available attribute to enclosing generic struct
struct TabBarViewModifier<TabItem: Tabbable>: ViewModifier {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Preferences/TabBarViewModifier.swift:39:10: error: 'preference(key:value:)' is only available in macOS 10.15 or newer
.preference(key: TabBarPreferenceKey.self, value: [self.item])
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Preferences/TabBarViewModifier.swift:39:10: note: add 'if #available' version check
.preference(key: TabBarPreferenceKey.self, value: [self.item])
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Preferences/TabBarViewModifier.swift:31:10: note: add @available attribute to enclosing instance method
func body(content: Content) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Preferences/TabBarViewModifier.swift:26:8: note: add @available attribute to enclosing generic struct
struct TabBarViewModifier<TabItem: Tabbable>: ViewModifier {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Preferences/TabBarViewModifier.swift:51:21: error: 'modifier' is only available in macOS 10.15 or newer
return self.modifier(TabBarViewModifier(item: item))
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Preferences/TabBarViewModifier.swift:51:21: note: add 'if #available' version check
return self.modifier(TabBarViewModifier(item: item))
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Preferences/TabBarViewModifier.swift:50:17: note: add @available attribute to enclosing instance method
public func tabItem<TabItem: Tabbable>(for item: TabItem) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Preferences/TabBarViewModifier.swift:43:1: note: add @available attribute to enclosing extension
extension View {
^
[15/16] Compiling TabBar TabBarViewModifier.swift
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Preferences/TabBarSelection.swift:27:6: error: 'Binding' is only available in macOS 10.15 or newer
@Binding var selection: TabItem
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Preferences/TabBarSelection.swift:26:7: note: add @available attribute to enclosing generic class
class TabBarSelection<TabItem: Tabbable>: ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Preferences/TabBarSelection.swift:29:21: error: 'Binding' is only available in macOS 10.15 or newer
init(selection: Binding<TabItem>) {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Preferences/TabBarSelection.swift:29:5: note: add @available attribute to enclosing initializer
init(selection: Binding<TabItem>) {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Preferences/TabBarSelection.swift:26:7: note: add @available attribute to enclosing generic class
class TabBarSelection<TabItem: Tabbable>: ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Preferences/TabBarSelection.swift:26:43: error: 'ObservableObject' is only available in macOS 10.15 or newer
class TabBarSelection<TabItem: Tabbable>: ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Preferences/TabBarSelection.swift:26:7: note: add @available attribute to enclosing generic class
class TabBarSelection<TabItem: Tabbable>: ObservableObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Preferences/TabBarViewModifier.swift:27:6: error: 'EnvironmentObject' is only available in macOS 10.15 or newer
@EnvironmentObject private var selectionObject: TabBarSelection<TabItem>
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Preferences/TabBarViewModifier.swift:26:8: note: add @available attribute to enclosing generic struct
struct TabBarViewModifier<TabItem: Tabbable>: ViewModifier {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Preferences/TabBarViewModifier.swift:31:41: error: 'View' is only available in macOS 10.15 or newer
func body(content: Content) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Preferences/TabBarViewModifier.swift:31:10: note: add @available attribute to enclosing instance method
func body(content: Content) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Preferences/TabBarViewModifier.swift:26:8: note: add @available attribute to enclosing generic struct
struct TabBarViewModifier<TabItem: Tabbable>: ViewModifier {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Preferences/TabBarViewModifier.swift:50:71: error: 'View' is only available in macOS 10.15 or newer
public func tabItem<TabItem: Tabbable>(for item: TabItem) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Preferences/TabBarViewModifier.swift:50:17: note: add @available attribute to enclosing instance method
public func tabItem<TabItem: Tabbable>(for item: TabItem) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Preferences/TabBarViewModifier.swift:43:1: note: add @available attribute to enclosing extension
extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Preferences/TabBarViewModifier.swift:43:11: error: 'View' is only available in macOS 10.15 or newer
extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Preferences/TabBarViewModifier.swift:43:1: note: add @available attribute to enclosing extension
extension View {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Preferences/TabBarViewModifier.swift:32:9: error: 'Group' is only available in macOS 10.15 or newer
Group {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Preferences/TabBarViewModifier.swift:32:9: note: add 'if #available' version check
Group {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Preferences/TabBarViewModifier.swift:31:10: note: add @available attribute to enclosing instance method
func body(content: Content) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Preferences/TabBarViewModifier.swift:26:8: note: add @available attribute to enclosing generic struct
struct TabBarViewModifier<TabItem: Tabbable>: ViewModifier {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Preferences/TabBarViewModifier.swift:32:9: error: 'init(content:)' is only available in macOS 10.15 or newer
Group {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Preferences/TabBarViewModifier.swift:32:9: note: add 'if #available' version check
Group {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Preferences/TabBarViewModifier.swift:31:10: note: add @available attribute to enclosing instance method
func body(content: Content) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Preferences/TabBarViewModifier.swift:26:8: note: add @available attribute to enclosing generic struct
struct TabBarViewModifier<TabItem: Tabbable>: ViewModifier {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Preferences/TabBarViewModifier.swift:33:60: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
if self.item == self.selectionObject.selection {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Preferences/TabBarViewModifier.swift:33:60: note: add 'if #available' version check
if self.item == self.selectionObject.selection {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Preferences/TabBarViewModifier.swift:31:10: note: add @available attribute to enclosing instance method
func body(content: Content) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Preferences/TabBarViewModifier.swift:26:8: note: add @available attribute to enclosing generic struct
struct TabBarViewModifier<TabItem: Tabbable>: ViewModifier {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Preferences/TabBarViewModifier.swift:36:17: warning: conformance of 'Color' to 'View' is only available in macOS 10.15 or newer
Color.clear
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Preferences/TabBarViewModifier.swift:36:17: note: add 'if #available' version check
Color.clear
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Preferences/TabBarViewModifier.swift:31:10: note: add @available attribute to enclosing instance method
func body(content: Content) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Preferences/TabBarViewModifier.swift:26:8: note: add @available attribute to enclosing generic struct
struct TabBarViewModifier<TabItem: Tabbable>: ViewModifier {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Preferences/TabBarViewModifier.swift:36:17: error: 'Color' is only available in macOS 10.15 or newer
Color.clear
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Preferences/TabBarViewModifier.swift:36:17: note: add 'if #available' version check
Color.clear
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Preferences/TabBarViewModifier.swift:31:10: note: add @available attribute to enclosing instance method
func body(content: Content) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Preferences/TabBarViewModifier.swift:26:8: note: add @available attribute to enclosing generic struct
struct TabBarViewModifier<TabItem: Tabbable>: ViewModifier {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Preferences/TabBarViewModifier.swift:36:23: error: 'clear' is only available in macOS 10.15 or newer
Color.clear
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Preferences/TabBarViewModifier.swift:36:23: note: add 'if #available' version check
Color.clear
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Preferences/TabBarViewModifier.swift:31:10: note: add @available attribute to enclosing instance method
func body(content: Content) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Preferences/TabBarViewModifier.swift:26:8: note: add @available attribute to enclosing generic struct
struct TabBarViewModifier<TabItem: Tabbable>: ViewModifier {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Preferences/TabBarViewModifier.swift:35:20: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
} else {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Preferences/TabBarViewModifier.swift:35:20: note: add 'if #available' version check
} else {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Preferences/TabBarViewModifier.swift:31:10: note: add @available attribute to enclosing instance method
func body(content: Content) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Preferences/TabBarViewModifier.swift:26:8: note: add @available attribute to enclosing generic struct
struct TabBarViewModifier<TabItem: Tabbable>: ViewModifier {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Preferences/TabBarViewModifier.swift:35:20: warning: conformance of 'Color' to 'View' is only available in macOS 10.15 or newer
} else {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Preferences/TabBarViewModifier.swift:35:20: note: add 'if #available' version check
} else {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Preferences/TabBarViewModifier.swift:31:10: note: add @available attribute to enclosing instance method
func body(content: Content) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Preferences/TabBarViewModifier.swift:26:8: note: add @available attribute to enclosing generic struct
struct TabBarViewModifier<TabItem: Tabbable>: ViewModifier {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Preferences/TabBarViewModifier.swift:32:15: warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer
Group {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Preferences/TabBarViewModifier.swift:32:15: note: add 'if #available' version check
Group {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Preferences/TabBarViewModifier.swift:31:10: note: add @available attribute to enclosing instance method
func body(content: Content) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Preferences/TabBarViewModifier.swift:26:8: note: add @available attribute to enclosing generic struct
struct TabBarViewModifier<TabItem: Tabbable>: ViewModifier {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Preferences/TabBarViewModifier.swift:39:10: error: 'preference(key:value:)' is only available in macOS 10.15 or newer
.preference(key: TabBarPreferenceKey.self, value: [self.item])
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Preferences/TabBarViewModifier.swift:39:10: note: add 'if #available' version check
.preference(key: TabBarPreferenceKey.self, value: [self.item])
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Preferences/TabBarViewModifier.swift:31:10: note: add @available attribute to enclosing instance method
func body(content: Content) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Preferences/TabBarViewModifier.swift:26:8: note: add @available attribute to enclosing generic struct
struct TabBarViewModifier<TabItem: Tabbable>: ViewModifier {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Preferences/TabBarViewModifier.swift:51:21: error: 'modifier' is only available in macOS 10.15 or newer
return self.modifier(TabBarViewModifier(item: item))
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Preferences/TabBarViewModifier.swift:51:21: note: add 'if #available' version check
return self.modifier(TabBarViewModifier(item: item))
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Preferences/TabBarViewModifier.swift:50:17: note: add @available attribute to enclosing instance method
public func tabItem<TabItem: Tabbable>(for item: TabItem) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/Common/Preferences/TabBarViewModifier.swift:43:1: note: add @available attribute to enclosing extension
extension View {
^
[16/16] Compiling TabBar TabBar.swift
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/View/TabBar.swift:55:6: error: 'State' is only available in macOS 10.15 or newer
@State private var items: [TabItem]
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/View/TabBar.swift:47:15: note: add @available attribute to enclosing generic struct
public struct TabBar<TabItem: Tabbable, Content: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/View/TabBar.swift:57:6: error: 'Binding' is only available in macOS 10.15 or newer
@Binding private var visibility: TabBarVisibility
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/View/TabBar.swift:47:15: note: add @available attribute to enclosing generic struct
public struct TabBar<TabItem: Tabbable, Content: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/View/TabBar.swift:68:20: error: 'Binding' is only available in macOS 10.15 or newer
selection: Binding<TabItem>,
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/View/TabBar.swift:67:12: note: add @available attribute to enclosing initializer
public init(
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/View/TabBar.swift:47:15: note: add @available attribute to enclosing generic struct
public struct TabBar<TabItem: Tabbable, Content: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/View/TabBar.swift:69:21: error: 'Binding' is only available in macOS 10.15 or newer
visibility: Binding<TabBarVisibility> = .constant(.visible),
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/View/TabBar.swift:67:12: note: add @available attribute to enclosing initializer
public init(
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/View/TabBar.swift:47:15: note: add @available attribute to enclosing generic struct
public struct TabBar<TabItem: Tabbable, Content: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/View/TabBar.swift:70:10: error: 'ViewBuilder' is only available in macOS 10.15 or newer
@ViewBuilder content: () -> Content
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/View/TabBar.swift:67:12: note: add @available attribute to enclosing initializer
public init(
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/View/TabBar.swift:47:15: note: add @available attribute to enclosing generic struct
public struct TabBar<TabItem: Tabbable, Content: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/View/TabBar.swift:82:32: error: 'View' is only available in macOS 10.15 or newer
private var tabItems: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/View/TabBar.swift:82:17: note: add @available attribute to enclosing property
private var tabItems: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/View/TabBar.swift:47:15: note: add @available attribute to enclosing generic struct
public struct TabBar<TabItem: Tabbable, Content: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/View/TabBar.swift:100:27: error: 'View' is only available in macOS 10.15 or newer
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/View/TabBar.swift:100:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/View/TabBar.swift:47:15: note: add @available attribute to enclosing generic struct
public struct TabBar<TabItem: Tabbable, Content: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/View/TabBar.swift:47:50: error: 'View' is only available in macOS 10.15 or newer
public struct TabBar<TabItem: Tabbable, Content: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/View/TabBar.swift:47:15: note: add @available attribute to enclosing generic struct
public struct TabBar<TabItem: Tabbable, Content: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/View/TabBar.swift:83:9: error: 'HStack' is only available in macOS 10.15 or newer
HStack {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/View/TabBar.swift:83:9: note: add 'if #available' version check
HStack {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/View/TabBar.swift:82:17: note: add @available attribute to enclosing property
private var tabItems: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/View/TabBar.swift:47:15: note: add @available attribute to enclosing generic struct
public struct TabBar<TabItem: Tabbable, Content: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/View/TabBar.swift:84:13: error: 'ForEach' is only available in macOS 10.15 or newer
ForEach(self.items, id: \.self) { item in
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/View/TabBar.swift:84:13: note: add 'if #available' version check
ForEach(self.items, id: \.self) { item in
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/View/TabBar.swift:82:17: note: add @available attribute to enclosing property
private var tabItems: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/View/TabBar.swift:47:15: note: add @available attribute to enclosing generic struct
public struct TabBar<TabItem: Tabbable, Content: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/View/TabBar.swift:84:13: error: 'init(_:id:content:)' is only available in macOS 10.15 or newer
ForEach(self.items, id: \.self) { item in
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/View/TabBar.swift:84:13: note: add 'if #available' version check
ForEach(self.items, id: \.self) { item in
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/View/TabBar.swift:82:17: note: add @available attribute to enclosing property
private var tabItems: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/View/TabBar.swift:47:15: note: add @available attribute to enclosing generic struct
public struct TabBar<TabItem: Tabbable, Content: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/View/TabBar.swift:91:18: error: 'onTapGesture(count:perform:)' is only available in macOS 10.15 or newer
.onTapGesture {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/View/TabBar.swift:91:18: note: add 'if #available' version check
.onTapGesture {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/View/TabBar.swift:82:17: note: add @available attribute to enclosing property
private var tabItems: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/View/TabBar.swift:47:15: note: add @available attribute to enclosing generic struct
public struct TabBar<TabItem: Tabbable, Content: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/View/TabBar.swift:92:21: error: setter for 'selection' is only available in macOS 10.15 or newer
self.selectedItem.selection = item
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/View/TabBar.swift:92:21: note: add 'if #available' version check
self.selectedItem.selection = item
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/View/TabBar.swift:82:17: note: add @available attribute to enclosing property
private var tabItems: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/View/TabBar.swift:47:15: note: add @available attribute to enclosing generic struct
public struct TabBar<TabItem: Tabbable, Content: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/View/TabBar.swift:93:39: error: 'objectWillChange' is only available in macOS 10.15 or newer
self.selectedItem.objectWillChange.send()
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/View/TabBar.swift:93:39: note: add 'if #available' version check
self.selectedItem.objectWillChange.send()
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/View/TabBar.swift:82:17: note: add @available attribute to enclosing property
private var tabItems: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/View/TabBar.swift:47:15: note: add @available attribute to enclosing generic struct
public struct TabBar<TabItem: Tabbable, Content: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/View/TabBar.swift:96:14: error: 'frame(minWidth:idealWidth:maxWidth:minHeight:idealHeight:maxHeight:alignment:)' is only available in macOS 10.15 or newer
.frame(maxWidth: .infinity)
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/View/TabBar.swift:96:14: note: add 'if #available' version check
.frame(maxWidth: .infinity)
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/View/TabBar.swift:82:17: note: add @available attribute to enclosing property
private var tabItems: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/View/TabBar.swift:47:15: note: add @available attribute to enclosing generic struct
public struct TabBar<TabItem: Tabbable, Content: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/View/TabBar.swift:101:9: error: 'ZStack' is only available in macOS 10.15 or newer
ZStack {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/View/TabBar.swift:101:9: note: add 'if #available' version check
ZStack {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/View/TabBar.swift:100:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/View/TabBar.swift:47:15: note: add @available attribute to enclosing generic struct
public struct TabBar<TabItem: Tabbable, Content: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/View/TabBar.swift:103:18: error: 'frame(minWidth:idealWidth:maxWidth:minHeight:idealHeight:maxHeight:alignment:)' is only available in macOS 10.15 or newer
.frame(maxWidth: .infinity, maxHeight: .infinity)
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/View/TabBar.swift:103:18: note: add 'if #available' version check
.frame(maxWidth: .infinity, maxHeight: .infinity)
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/View/TabBar.swift:100:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/View/TabBar.swift:47:15: note: add @available attribute to enclosing generic struct
public struct TabBar<TabItem: Tabbable, Content: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/View/TabBar.swift:104:18: error: 'environmentObject' is only available in macOS 10.15 or newer
.environmentObject(self.selectedItem)
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/View/TabBar.swift:104:18: note: add 'if #available' version check
.environmentObject(self.selectedItem)
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/View/TabBar.swift:100:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/View/TabBar.swift:47:15: note: add @available attribute to enclosing generic struct
public struct TabBar<TabItem: Tabbable, Content: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/View/TabBar.swift:106:13: error: 'GeometryReader' is only available in macOS 10.15 or newer
GeometryReader { geometry in
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/View/TabBar.swift:106:13: note: add 'if #available' version check
GeometryReader { geometry in
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/View/TabBar.swift:100:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/View/TabBar.swift:47:15: note: add @available attribute to enclosing generic struct
public struct TabBar<TabItem: Tabbable, Content: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/View/TabBar.swift:107:17: error: 'VStack' is only available in macOS 10.15 or newer
VStack {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/View/TabBar.swift:107:17: note: add 'if #available' version check
VStack {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/View/TabBar.swift:100:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/View/TabBar.swift:47:15: note: add @available attribute to enclosing generic struct
public struct TabBar<TabItem: Tabbable, Content: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/View/TabBar.swift:108:21: warning: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer
Spacer()
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/View/TabBar.swift:108:21: note: add 'if #available' version check
Spacer()
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/View/TabBar.swift:100:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/View/TabBar.swift:47:15: note: add @available attribute to enclosing generic struct
public struct TabBar<TabItem: Tabbable, Content: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/View/TabBar.swift:108:21: error: 'Spacer' is only available in macOS 10.15 or newer
Spacer()
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/View/TabBar.swift:108:21: note: add 'if #available' version check
Spacer()
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/View/TabBar.swift:100:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/View/TabBar.swift:47:15: note: add @available attribute to enclosing generic struct
public struct TabBar<TabItem: Tabbable, Content: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/View/TabBar.swift:107:24: warning: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer
VStack {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/View/TabBar.swift:107:24: note: add 'if #available' version check
VStack {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/View/TabBar.swift:100:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/View/TabBar.swift:47:15: note: add @available attribute to enclosing generic struct
public struct TabBar<TabItem: Tabbable, Content: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/View/TabBar.swift:114:18: error: 'edgesIgnoringSafeArea' is only available in macOS 10.15 or newer
.edgesIgnoringSafeArea(.bottom)
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/View/TabBar.swift:114:18: note: add 'if #available' version check
.edgesIgnoringSafeArea(.bottom)
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/View/TabBar.swift:100:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/View/TabBar.swift:47:15: note: add @available attribute to enclosing generic struct
public struct TabBar<TabItem: Tabbable, Content: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/View/TabBar.swift:118:10: error: 'onPreferenceChange(_:perform:)' is only available in macOS 10.15 or newer
.onPreferenceChange(TabBarPreferenceKey.self) { value in
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/View/TabBar.swift:118:10: note: add 'if #available' version check
.onPreferenceChange(TabBarPreferenceKey.self) { value in
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/View/TabBar.swift:100:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/View/TabBar.swift:47:15: note: add @available attribute to enclosing generic struct
public struct TabBar<TabItem: Tabbable, Content: View>: View {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/View/TabBar.swift:119:13: error: setter for 'items' is only available in macOS 10.15 or newer
self.items = value
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/View/TabBar.swift:119:13: note: add 'if #available' version check
self.items = value
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/View/TabBar.swift:100:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builder/spi-builder-workspace/Sources/TabBar/View/TabBar.swift:47:15: note: add @available attribute to enclosing generic struct
public struct TabBar<TabItem: Tabbable, Content: View>: View {
^
error: fatalError
BUILD FAILURE 5.10 macosSpm