Build Information
Failed to build FloatingTabBar, reference master (c53fb2
), with Swift 6.0 for macOS (SPM) on 29 Nov 2024 07:41:06 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Build Log
========================================
RunAll
========================================
Builder version: 4.58.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/claudiaeng/FloatingTabBar.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/claudiaeng/FloatingTabBar
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at c53fb2c Update README.md
Cloned https://github.com/claudiaeng/FloatingTabBar.git
Revision (git rev-parse @):
c53fb2c78f20ee92c8a69423b38e5d2ec583853a
SUCCESS checkout https://github.com/claudiaeng/FloatingTabBar.git at master
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"dependencies": [
{
"identity": "floatingtabbar",
"name": "FloatingTabBar",
"url": "https://github.com/claudiaeng/FloatingTabBar.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/FloatingTabBar",
"dependencies": [
]
}
]
}
Fetching https://github.com/claudiaeng/FloatingTabBar.git
[1/173] Fetching floatingtabbar
Fetched https://github.com/claudiaeng/FloatingTabBar.git from cache (0.89s)
Creating working copy for https://github.com/claudiaeng/FloatingTabBar.git
Working copy of https://github.com/claudiaeng/FloatingTabBar.git resolved at master (c53fb2c)
warning: '.resolve-product-dependencies': dependency 'floatingtabbar' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/claudiaeng/FloatingTabBar.git
{
"dependencies" : [
],
"manifest_display_name" : "FloatingTabBar",
"name" : "FloatingTabBar",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "FloatingTabBar",
"targets" : [
"FloatingTabBar"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "FloatingTabBarTests",
"module_type" : "SwiftTarget",
"name" : "FloatingTabBarTests",
"path" : "Tests/FloatingTabBarTests",
"sources" : [
"FloatingTabBarTests.swift",
"XCTestManifests.swift"
],
"target_dependencies" : [
"FloatingTabBar"
],
"type" : "test"
},
{
"c99name" : "FloatingTabBar",
"module_type" : "SwiftTarget",
"name" : "FloatingTabBar",
"path" : "Sources/FloatingTabBar",
"product_memberships" : [
"FloatingTabBar"
],
"sources" : [
"BlurView.swift",
"Colors.swift",
"ContentView.swift",
"FloatingBar.swift",
"FloatingBarItem.swift",
"FloatingBarItemView.swift",
"ScrollingView.swift"
],
"type" : "library"
}
],
"tools_version" : "5.2"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--7754E27361AE5C74.txt
[3/10] Compiling FloatingTabBar FloatingBarItem.swift
[4/10] Compiling FloatingTabBar FloatingBar.swift
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTabBar/BlurView.swift:7:16: error: cannot find type 'UIBlurEffect' in scope
5 | struct BlurView: UIViewRepresentable {
6 |
7 | let style: UIBlurEffect.Style
| `- error: cannot find type 'UIBlurEffect' in scope
8 |
9 | func makeUIView(context: UIViewRepresentableContext<BlurView>) -> UIView {
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTabBar/FloatingBar.swift:29:30: error: cannot infer contextual base in reference to member 'light'
27 |
28 | ZStack {
29 | BlurView(style: .light).frame(height: 60)
| `- error: cannot infer contextual base in reference to member 'light'
30 |
31 | HStack(alignment: .center) {
[5/10] Compiling FloatingTabBar FloatingBarItemView.swift
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTabBar/FloatingBarItemView.swift:11:13: error: 'init(systemName:)' is only available in macOS 11.0 or newer
7 | public let item: BottomBarItem
8 |
9 | public var body: some View {
| `- note: add @available attribute to enclosing property
10 | HStack {
11 | Image(systemName: item.icon)
| |- error: 'init(systemName:)' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
12 | .imageScale(.large)
13 | .blendMode(.plusDarker)
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTabBar/FloatingBarItemView.swift:12:18: error: 'imageScale' is only available in macOS 11.0 or newer
7 | public let item: BottomBarItem
8 |
9 | public var body: some View {
| `- note: add @available attribute to enclosing property
10 | HStack {
11 | Image(systemName: item.icon)
12 | .imageScale(.large)
| |- error: 'imageScale' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
13 | .blendMode(.plusDarker)
14 | .foregroundColor(isSelected ? item.color : Color.deselectedColor)
[6/10] Compiling FloatingTabBar ScrollingView.swift
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTabBar/ScrollingView.swift:13:20: error: 'View' is only available in macOS 10.15 or newer
3 | //TODO:
4 | @available(iOS 13.0, *)
5 | struct ScrollingView: View {
| `- note: add @available attribute to enclosing struct
6 |
7 | var test: Bool
:
11 | }
12 |
13 | var body: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
14 | ScrollView {
15 | VStack {
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTabBar/ScrollingView.swift:50:31: error: 'View' is only available in macOS 10.15 or newer
47 |
48 | @available(iOS 13.0, *)
49 | struct ScrollingView_Previews: PreviewProvider {
| `- note: add @available attribute to enclosing struct
50 | static var previews: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing static property
51 | ScrollingView(test: true)
52 | }
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTabBar/ScrollingView.swift:19:36: error: cannot find 'UIScreen' in scope
17 | HStack {
18 | Text("")
19 | }.frame(width: UIScreen.main.bounds.width, height: .random(in: 0...500)).background(Color.random)
| `- error: cannot find 'UIScreen' in scope
20 |
21 | HStack {
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTabBar/ScrollingView.swift:23:36: error: cannot find 'UIScreen' in scope
21 | HStack {
22 | Text("")
23 | }.frame(width: UIScreen.main.bounds.width, height: .random(in: 50...500)).background(Color.random)
| `- error: cannot find 'UIScreen' in scope
24 |
25 | HStack {
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTabBar/ScrollingView.swift:27:36: error: cannot find 'UIScreen' in scope
25 | HStack {
26 | Text("")
27 | }.frame(width: UIScreen.main.bounds.width, height: .random(in: 50...500)).background(Color.random)
| `- error: cannot find 'UIScreen' in scope
28 |
29 | HStack {
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTabBar/ScrollingView.swift:31:36: error: cannot find 'UIScreen' in scope
29 | HStack {
30 | Text("")
31 | }.frame(width: UIScreen.main.bounds.width, height: .random(in: 50...500)).background(Color.random)
| `- error: cannot find 'UIScreen' in scope
32 | HStack {
33 | Text("")
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTabBar/ScrollingView.swift:34:36: error: cannot find 'UIScreen' in scope
32 | HStack {
33 | Text("")
34 | }.frame(width: UIScreen.main.bounds.width, height: .random(in: 50...500)).background(Color.random)
| `- error: cannot find 'UIScreen' in scope
35 | HStack {
36 | Text("")
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTabBar/ScrollingView.swift:37:36: error: cannot find 'UIScreen' in scope
35 | HStack {
36 | Text("")
37 | }.frame(width: UIScreen.main.bounds.width, height: .random(in: 50...500)).background(Color.random)
| `- error: cannot find 'UIScreen' in scope
38 | HStack {
39 | Text("")
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTabBar/ScrollingView.swift:40:36: error: cannot find 'UIScreen' in scope
38 | HStack {
39 | Text("")
40 | }.frame(width: UIScreen.main.bounds.width, height: .random(in: 50...500)).background(Color.random)
| `- error: cannot find 'UIScreen' in scope
41 |
42 | Spacer()
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTabBar/ScrollingView.swift:44:33: error: cannot find 'UIColor' in scope
42 | Spacer()
43 | }
44 | }.background(Color.init(UIColor.gray).opacity(0.0)).edgesIgnoringSafeArea([.all])
| `- error: cannot find 'UIColor' in scope
45 | }
46 | }
error: emit-module command failed with exit code 1 (use -v to see invocation)
[7/10] Compiling FloatingTabBar Colors.swift
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTabBar/Colors.swift:5:24: error: 'Color' is only available in macOS 10.15 or newer
2 |
3 | @available(iOS 13.0, *)
4 | public extension Color {
| `- note: add @available attribute to enclosing extension
5 | static var random: Color {
| | `- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing static property
6 | return Color(red: .random(in: 0...1),
7 | green: .random(in: 0...1),
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTabBar/Colors.swift:11:27: error: 'Color' is only available in macOS 10.15 or newer
2 |
3 | @available(iOS 13.0, *)
4 | public extension Color {
| `- note: add @available attribute to enclosing extension
5 | static var random: Color {
6 | return Color(red: .random(in: 0...1),
:
9 | }
10 |
11 | static let iconColor: Color = Color.black.opacity(0.65)
| | `- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing static property
12 | static let deselectedColor: Color = Color.gray.opacity(0.8)
13 | static let backgroundColor: Color = Color.init(red: 228/255,
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTabBar/Colors.swift:11:35: error: 'Color' is only available in macOS 10.15 or newer
2 |
3 | @available(iOS 13.0, *)
4 | public extension Color {
| `- note: add @available attribute to enclosing extension
5 | static var random: Color {
6 | return Color(red: .random(in: 0...1),
:
9 | }
10 |
11 | static let iconColor: Color = Color.black.opacity(0.65)
| | `- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing static property
12 | static let deselectedColor: Color = Color.gray.opacity(0.8)
13 | static let backgroundColor: Color = Color.init(red: 228/255,
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTabBar/Colors.swift:11:41: error: 'black' is only available in macOS 10.15 or newer
2 |
3 | @available(iOS 13.0, *)
4 | public extension Color {
| `- note: add @available attribute to enclosing extension
5 | static var random: Color {
6 | return Color(red: .random(in: 0...1),
:
9 | }
10 |
11 | static let iconColor: Color = Color.black.opacity(0.65)
| | `- error: 'black' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing static property
12 | static let deselectedColor: Color = Color.gray.opacity(0.8)
13 | static let backgroundColor: Color = Color.init(red: 228/255,
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTabBar/Colors.swift:11:47: error: 'opacity' is only available in macOS 10.15 or newer
2 |
3 | @available(iOS 13.0, *)
4 | public extension Color {
| `- note: add @available attribute to enclosing extension
5 | static var random: Color {
6 | return Color(red: .random(in: 0...1),
:
9 | }
10 |
11 | static let iconColor: Color = Color.black.opacity(0.65)
| | `- error: 'opacity' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing static property
12 | static let deselectedColor: Color = Color.gray.opacity(0.8)
13 | static let backgroundColor: Color = Color.init(red: 228/255,
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTabBar/Colors.swift:12:33: error: 'Color' is only available in macOS 10.15 or newer
2 |
3 | @available(iOS 13.0, *)
4 | public extension Color {
| `- note: add @available attribute to enclosing extension
5 | static var random: Color {
6 | return Color(red: .random(in: 0...1),
:
10 |
11 | static let iconColor: Color = Color.black.opacity(0.65)
12 | static let deselectedColor: Color = Color.gray.opacity(0.8)
| | `- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing static property
13 | static let backgroundColor: Color = Color.init(red: 228/255,
14 | green: 228/255,
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTabBar/Colors.swift:12:41: error: 'Color' is only available in macOS 10.15 or newer
2 |
3 | @available(iOS 13.0, *)
4 | public extension Color {
| `- note: add @available attribute to enclosing extension
5 | static var random: Color {
6 | return Color(red: .random(in: 0...1),
:
10 |
11 | static let iconColor: Color = Color.black.opacity(0.65)
12 | static let deselectedColor: Color = Color.gray.opacity(0.8)
| | `- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing static property
13 | static let backgroundColor: Color = Color.init(red: 228/255,
14 | green: 228/255,
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTabBar/Colors.swift:12:47: error: 'gray' is only available in macOS 10.15 or newer
2 |
3 | @available(iOS 13.0, *)
4 | public extension Color {
| `- note: add @available attribute to enclosing extension
5 | static var random: Color {
6 | return Color(red: .random(in: 0...1),
:
10 |
11 | static let iconColor: Color = Color.black.opacity(0.65)
12 | static let deselectedColor: Color = Color.gray.opacity(0.8)
| | `- error: 'gray' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing static property
13 | static let backgroundColor: Color = Color.init(red: 228/255,
14 | green: 228/255,
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTabBar/Colors.swift:12:52: error: 'opacity' is only available in macOS 10.15 or newer
2 |
3 | @available(iOS 13.0, *)
4 | public extension Color {
| `- note: add @available attribute to enclosing extension
5 | static var random: Color {
6 | return Color(red: .random(in: 0...1),
:
10 |
11 | static let iconColor: Color = Color.black.opacity(0.65)
12 | static let deselectedColor: Color = Color.gray.opacity(0.8)
| | `- error: 'opacity' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing static property
13 | static let backgroundColor: Color = Color.init(red: 228/255,
14 | green: 228/255,
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTabBar/Colors.swift:13:33: error: 'Color' is only available in macOS 10.15 or newer
2 |
3 | @available(iOS 13.0, *)
4 | public extension Color {
| `- note: add @available attribute to enclosing extension
5 | static var random: Color {
6 | return Color(red: .random(in: 0...1),
:
11 | static let iconColor: Color = Color.black.opacity(0.65)
12 | static let deselectedColor: Color = Color.gray.opacity(0.8)
13 | static let backgroundColor: Color = Color.init(red: 228/255,
| | `- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing static property
14 | green: 228/255,
15 | blue: 229/255)
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTabBar/Colors.swift:13:41: error: 'Color' is only available in macOS 10.15 or newer
2 |
3 | @available(iOS 13.0, *)
4 | public extension Color {
| `- note: add @available attribute to enclosing extension
5 | static var random: Color {
6 | return Color(red: .random(in: 0...1),
:
11 | static let iconColor: Color = Color.black.opacity(0.65)
12 | static let deselectedColor: Color = Color.gray.opacity(0.8)
13 | static let backgroundColor: Color = Color.init(red: 228/255,
| | `- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing static property
14 | green: 228/255,
15 | blue: 229/255)
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTabBar/Colors.swift:13:47: error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
2 |
3 | @available(iOS 13.0, *)
4 | public extension Color {
| `- note: add @available attribute to enclosing extension
5 | static var random: Color {
6 | return Color(red: .random(in: 0...1),
:
11 | static let iconColor: Color = Color.black.opacity(0.65)
12 | static let deselectedColor: Color = Color.gray.opacity(0.8)
13 | static let backgroundColor: Color = Color.init(red: 228/255,
| | `- error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing static property
14 | green: 228/255,
15 | blue: 229/255)
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTabBar/Colors.swift:16:35: error: 'Color' is only available in macOS 10.15 or newer
2 |
3 | @available(iOS 13.0, *)
4 | public extension Color {
| `- note: add @available attribute to enclosing extension
5 | static var random: Color {
6 | return Color(red: .random(in: 0...1),
:
14 | green: 228/255,
15 | blue: 229/255)
16 | static let darkTextColorMain: Color = Color.init(red: 1/255,
| | `- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing static property
17 | green: 0/255,
18 | blue: 25/255)
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTabBar/Colors.swift:16:43: error: 'Color' is only available in macOS 10.15 or newer
2 |
3 | @available(iOS 13.0, *)
4 | public extension Color {
| `- note: add @available attribute to enclosing extension
5 | static var random: Color {
6 | return Color(red: .random(in: 0...1),
:
14 | green: 228/255,
15 | blue: 229/255)
16 | static let darkTextColorMain: Color = Color.init(red: 1/255,
| | `- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing static property
17 | green: 0/255,
18 | blue: 25/255)
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTabBar/Colors.swift:16:49: error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
2 |
3 | @available(iOS 13.0, *)
4 | public extension Color {
| `- note: add @available attribute to enclosing extension
5 | static var random: Color {
6 | return Color(red: .random(in: 0...1),
:
14 | green: 228/255,
15 | blue: 229/255)
16 | static let darkTextColorMain: Color = Color.init(red: 1/255,
| | `- error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing static property
17 | green: 0/255,
18 | blue: 25/255)
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTabBar/Colors.swift:19:30: error: 'Color' is only available in macOS 10.15 or newer
2 |
3 | @available(iOS 13.0, *)
4 | public extension Color {
| `- note: add @available attribute to enclosing extension
5 | static var random: Color {
6 | return Color(red: .random(in: 0...1),
:
17 | green: 0/255,
18 | blue: 25/255)
19 | static let dividerColor: Color = Color.init(red: 200/255,
| | `- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing static property
20 | green: 200/255,
21 | blue: 200/255).opacity(0.2)
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTabBar/Colors.swift:19:38: error: 'Color' is only available in macOS 10.15 or newer
2 |
3 | @available(iOS 13.0, *)
4 | public extension Color {
| `- note: add @available attribute to enclosing extension
5 | static var random: Color {
6 | return Color(red: .random(in: 0...1),
:
17 | green: 0/255,
18 | blue: 25/255)
19 | static let dividerColor: Color = Color.init(red: 200/255,
| | `- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing static property
20 | green: 200/255,
21 | blue: 200/255).opacity(0.2)
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTabBar/Colors.swift:19:44: error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
2 |
3 | @available(iOS 13.0, *)
4 | public extension Color {
| `- note: add @available attribute to enclosing extension
5 | static var random: Color {
6 | return Color(red: .random(in: 0...1),
:
17 | green: 0/255,
18 | blue: 25/255)
19 | static let dividerColor: Color = Color.init(red: 200/255,
| | `- error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing static property
20 | green: 200/255,
21 | blue: 200/255).opacity(0.2)
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTabBar/Colors.swift:21:57: error: 'opacity' is only available in macOS 10.15 or newer
2 |
3 | @available(iOS 13.0, *)
4 | public extension Color {
| `- note: add @available attribute to enclosing extension
5 | static var random: Color {
6 | return Color(red: .random(in: 0...1),
:
17 | green: 0/255,
18 | blue: 25/255)
19 | static let dividerColor: Color = Color.init(red: 200/255,
| `- note: add @available attribute to enclosing static property
20 | green: 200/255,
21 | blue: 200/255).opacity(0.2)
| `- error: 'opacity' is only available in macOS 10.15 or newer
22 | }
23 |
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTabBar/Colors.swift:4:18: error: 'Color' is only available in macOS 10.15 or newer
2 |
3 | @available(iOS 13.0, *)
4 | public extension Color {
| | `- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing extension
5 | static var random: Color {
6 | return Color(red: .random(in: 0...1),
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTabBar/Colors.swift:6:16: error: 'Color' is only available in macOS 10.15 or newer
2 |
3 | @available(iOS 13.0, *)
4 | public extension Color {
| `- note: add @available attribute to enclosing extension
5 | static var random: Color {
| `- note: add @available attribute to enclosing static property
6 | return Color(red: .random(in: 0...1),
| |- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
7 | green: .random(in: 0...1),
8 | blue: .random(in: 0...1))
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTabBar/Colors.swift:6:16: error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
2 |
3 | @available(iOS 13.0, *)
4 | public extension Color {
| `- note: add @available attribute to enclosing extension
5 | static var random: Color {
| `- note: add @available attribute to enclosing static property
6 | return Color(red: .random(in: 0...1),
| |- error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
7 | green: .random(in: 0...1),
8 | blue: .random(in: 0...1))
[8/10] Emitting module FloatingTabBar
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTabBar/BlurView.swift:7:16: error: cannot find type 'UIBlurEffect' in scope
5 | struct BlurView: UIViewRepresentable {
6 |
7 | let style: UIBlurEffect.Style
| `- error: cannot find type 'UIBlurEffect' in scope
8 |
9 | func makeUIView(context: UIViewRepresentableContext<BlurView>) -> UIView {
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTabBar/BlurView.swift:9:71: error: cannot find type 'UIView' in scope
7 | let style: UIBlurEffect.Style
8 |
9 | func makeUIView(context: UIViewRepresentableContext<BlurView>) -> UIView {
| `- error: cannot find type 'UIView' in scope
10 | let view = UIView(frame: .zero)
11 | view.backgroundColor = .clear
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTabBar/BlurView.swift:9:30: error: cannot find type 'UIViewRepresentableContext' in scope
7 | let style: UIBlurEffect.Style
8 |
9 | func makeUIView(context: UIViewRepresentableContext<BlurView>) -> UIView {
| `- error: cannot find type 'UIViewRepresentableContext' in scope
10 | let view = UIView(frame: .zero)
11 | view.backgroundColor = .clear
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTabBar/BlurView.swift:23:33: error: cannot find type 'UIView' in scope
21 | }
22 |
23 | func updateUIView(_ uiView: UIView,
| `- error: cannot find type 'UIView' in scope
24 | context: UIViewRepresentableContext<BlurView>) {
25 |
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTabBar/BlurView.swift:24:32: error: cannot find type 'UIViewRepresentableContext' in scope
22 |
23 | func updateUIView(_ uiView: UIView,
24 | context: UIViewRepresentableContext<BlurView>) {
| `- error: cannot find type 'UIViewRepresentableContext' in scope
25 |
26 | }
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTabBar/BlurView.swift:5:18: error: cannot find type 'UIViewRepresentable' in scope
3 |
4 | @available(iOS 13.0, *)
5 | struct BlurView: UIViewRepresentable {
| `- error: cannot find type 'UIViewRepresentable' in scope
6 |
7 | let style: UIBlurEffect.Style
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTabBar/Colors.swift:5:24: error: 'Color' is only available in macOS 10.15 or newer
2 |
3 | @available(iOS 13.0, *)
4 | public extension Color {
| `- note: add @available attribute to enclosing extension
5 | static var random: Color {
| | `- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing static property
6 | return Color(red: .random(in: 0...1),
7 | green: .random(in: 0...1),
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTabBar/Colors.swift:11:27: error: 'Color' is only available in macOS 10.15 or newer
2 |
3 | @available(iOS 13.0, *)
4 | public extension Color {
| `- note: add @available attribute to enclosing extension
5 | static var random: Color {
6 | return Color(red: .random(in: 0...1),
:
9 | }
10 |
11 | static let iconColor: Color = Color.black.opacity(0.65)
| | `- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing static property
12 | static let deselectedColor: Color = Color.gray.opacity(0.8)
13 | static let backgroundColor: Color = Color.init(red: 228/255,
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTabBar/Colors.swift:11:35: error: 'Color' is only available in macOS 10.15 or newer
2 |
3 | @available(iOS 13.0, *)
4 | public extension Color {
| `- note: add @available attribute to enclosing extension
5 | static var random: Color {
6 | return Color(red: .random(in: 0...1),
:
9 | }
10 |
11 | static let iconColor: Color = Color.black.opacity(0.65)
| | `- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing static property
12 | static let deselectedColor: Color = Color.gray.opacity(0.8)
13 | static let backgroundColor: Color = Color.init(red: 228/255,
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTabBar/Colors.swift:11:41: error: 'black' is only available in macOS 10.15 or newer
2 |
3 | @available(iOS 13.0, *)
4 | public extension Color {
| `- note: add @available attribute to enclosing extension
5 | static var random: Color {
6 | return Color(red: .random(in: 0...1),
:
9 | }
10 |
11 | static let iconColor: Color = Color.black.opacity(0.65)
| | `- error: 'black' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing static property
12 | static let deselectedColor: Color = Color.gray.opacity(0.8)
13 | static let backgroundColor: Color = Color.init(red: 228/255,
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTabBar/Colors.swift:11:47: error: 'opacity' is only available in macOS 10.15 or newer
2 |
3 | @available(iOS 13.0, *)
4 | public extension Color {
| `- note: add @available attribute to enclosing extension
5 | static var random: Color {
6 | return Color(red: .random(in: 0...1),
:
9 | }
10 |
11 | static let iconColor: Color = Color.black.opacity(0.65)
| | `- error: 'opacity' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing static property
12 | static let deselectedColor: Color = Color.gray.opacity(0.8)
13 | static let backgroundColor: Color = Color.init(red: 228/255,
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTabBar/Colors.swift:12:33: error: 'Color' is only available in macOS 10.15 or newer
2 |
3 | @available(iOS 13.0, *)
4 | public extension Color {
| `- note: add @available attribute to enclosing extension
5 | static var random: Color {
6 | return Color(red: .random(in: 0...1),
:
10 |
11 | static let iconColor: Color = Color.black.opacity(0.65)
12 | static let deselectedColor: Color = Color.gray.opacity(0.8)
| | `- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing static property
13 | static let backgroundColor: Color = Color.init(red: 228/255,
14 | green: 228/255,
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTabBar/Colors.swift:12:41: error: 'Color' is only available in macOS 10.15 or newer
2 |
3 | @available(iOS 13.0, *)
4 | public extension Color {
| `- note: add @available attribute to enclosing extension
5 | static var random: Color {
6 | return Color(red: .random(in: 0...1),
:
10 |
11 | static let iconColor: Color = Color.black.opacity(0.65)
12 | static let deselectedColor: Color = Color.gray.opacity(0.8)
| | `- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing static property
13 | static let backgroundColor: Color = Color.init(red: 228/255,
14 | green: 228/255,
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTabBar/Colors.swift:12:47: error: 'gray' is only available in macOS 10.15 or newer
2 |
3 | @available(iOS 13.0, *)
4 | public extension Color {
| `- note: add @available attribute to enclosing extension
5 | static var random: Color {
6 | return Color(red: .random(in: 0...1),
:
10 |
11 | static let iconColor: Color = Color.black.opacity(0.65)
12 | static let deselectedColor: Color = Color.gray.opacity(0.8)
| | `- error: 'gray' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing static property
13 | static let backgroundColor: Color = Color.init(red: 228/255,
14 | green: 228/255,
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTabBar/Colors.swift:12:52: error: 'opacity' is only available in macOS 10.15 or newer
2 |
3 | @available(iOS 13.0, *)
4 | public extension Color {
| `- note: add @available attribute to enclosing extension
5 | static var random: Color {
6 | return Color(red: .random(in: 0...1),
:
10 |
11 | static let iconColor: Color = Color.black.opacity(0.65)
12 | static let deselectedColor: Color = Color.gray.opacity(0.8)
| | `- error: 'opacity' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing static property
13 | static let backgroundColor: Color = Color.init(red: 228/255,
14 | green: 228/255,
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTabBar/Colors.swift:13:33: error: 'Color' is only available in macOS 10.15 or newer
2 |
3 | @available(iOS 13.0, *)
4 | public extension Color {
| `- note: add @available attribute to enclosing extension
5 | static var random: Color {
6 | return Color(red: .random(in: 0...1),
:
11 | static let iconColor: Color = Color.black.opacity(0.65)
12 | static let deselectedColor: Color = Color.gray.opacity(0.8)
13 | static let backgroundColor: Color = Color.init(red: 228/255,
| | `- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing static property
14 | green: 228/255,
15 | blue: 229/255)
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTabBar/Colors.swift:13:41: error: 'Color' is only available in macOS 10.15 or newer
2 |
3 | @available(iOS 13.0, *)
4 | public extension Color {
| `- note: add @available attribute to enclosing extension
5 | static var random: Color {
6 | return Color(red: .random(in: 0...1),
:
11 | static let iconColor: Color = Color.black.opacity(0.65)
12 | static let deselectedColor: Color = Color.gray.opacity(0.8)
13 | static let backgroundColor: Color = Color.init(red: 228/255,
| | `- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing static property
14 | green: 228/255,
15 | blue: 229/255)
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTabBar/Colors.swift:13:47: error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
2 |
3 | @available(iOS 13.0, *)
4 | public extension Color {
| `- note: add @available attribute to enclosing extension
5 | static var random: Color {
6 | return Color(red: .random(in: 0...1),
:
11 | static let iconColor: Color = Color.black.opacity(0.65)
12 | static let deselectedColor: Color = Color.gray.opacity(0.8)
13 | static let backgroundColor: Color = Color.init(red: 228/255,
| | `- error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing static property
14 | green: 228/255,
15 | blue: 229/255)
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTabBar/Colors.swift:16:35: error: 'Color' is only available in macOS 10.15 or newer
2 |
3 | @available(iOS 13.0, *)
4 | public extension Color {
| `- note: add @available attribute to enclosing extension
5 | static var random: Color {
6 | return Color(red: .random(in: 0...1),
:
14 | green: 228/255,
15 | blue: 229/255)
16 | static let darkTextColorMain: Color = Color.init(red: 1/255,
| | `- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing static property
17 | green: 0/255,
18 | blue: 25/255)
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTabBar/Colors.swift:16:43: error: 'Color' is only available in macOS 10.15 or newer
2 |
3 | @available(iOS 13.0, *)
4 | public extension Color {
| `- note: add @available attribute to enclosing extension
5 | static var random: Color {
6 | return Color(red: .random(in: 0...1),
:
14 | green: 228/255,
15 | blue: 229/255)
16 | static let darkTextColorMain: Color = Color.init(red: 1/255,
| | `- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing static property
17 | green: 0/255,
18 | blue: 25/255)
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTabBar/Colors.swift:16:49: error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
2 |
3 | @available(iOS 13.0, *)
4 | public extension Color {
| `- note: add @available attribute to enclosing extension
5 | static var random: Color {
6 | return Color(red: .random(in: 0...1),
:
14 | green: 228/255,
15 | blue: 229/255)
16 | static let darkTextColorMain: Color = Color.init(red: 1/255,
| | `- error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing static property
17 | green: 0/255,
18 | blue: 25/255)
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTabBar/Colors.swift:19:30: error: 'Color' is only available in macOS 10.15 or newer
2 |
3 | @available(iOS 13.0, *)
4 | public extension Color {
| `- note: add @available attribute to enclosing extension
5 | static var random: Color {
6 | return Color(red: .random(in: 0...1),
:
17 | green: 0/255,
18 | blue: 25/255)
19 | static let dividerColor: Color = Color.init(red: 200/255,
| | `- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing static property
20 | green: 200/255,
21 | blue: 200/255).opacity(0.2)
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTabBar/Colors.swift:19:38: error: 'Color' is only available in macOS 10.15 or newer
2 |
3 | @available(iOS 13.0, *)
4 | public extension Color {
| `- note: add @available attribute to enclosing extension
5 | static var random: Color {
6 | return Color(red: .random(in: 0...1),
:
17 | green: 0/255,
18 | blue: 25/255)
19 | static let dividerColor: Color = Color.init(red: 200/255,
| | `- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing static property
20 | green: 200/255,
21 | blue: 200/255).opacity(0.2)
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTabBar/Colors.swift:19:44: error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
2 |
3 | @available(iOS 13.0, *)
4 | public extension Color {
| `- note: add @available attribute to enclosing extension
5 | static var random: Color {
6 | return Color(red: .random(in: 0...1),
:
17 | green: 0/255,
18 | blue: 25/255)
19 | static let dividerColor: Color = Color.init(red: 200/255,
| | `- error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing static property
20 | green: 200/255,
21 | blue: 200/255).opacity(0.2)
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTabBar/Colors.swift:21:57: error: 'opacity' is only available in macOS 10.15 or newer
2 |
3 | @available(iOS 13.0, *)
4 | public extension Color {
| `- note: add @available attribute to enclosing extension
5 | static var random: Color {
6 | return Color(red: .random(in: 0...1),
:
17 | green: 0/255,
18 | blue: 25/255)
19 | static let dividerColor: Color = Color.init(red: 200/255,
| `- note: add @available attribute to enclosing static property
20 | green: 200/255,
21 | blue: 200/255).opacity(0.2)
| `- error: 'opacity' is only available in macOS 10.15 or newer
22 | }
23 |
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTabBar/Colors.swift:4:18: error: 'Color' is only available in macOS 10.15 or newer
2 |
3 | @available(iOS 13.0, *)
4 | public extension Color {
| | `- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing extension
5 | static var random: Color {
6 | return Color(red: .random(in: 0...1),
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTabBar/ContentView.swift:7:9: error: 'BottomBarItem' is only available in macOS 10.15 or newer
2 |
3 | @available(iOS 13.0, *)
4 | struct ContentView: View {
| `- note: add @available attribute to enclosing struct
5 |
6 | @State var items: [BottomBarItem] = [
7 | BottomBarItem(icon: "cube", color: Color.iconColor),
| `- error: 'BottomBarItem' is only available in macOS 10.15 or newer
8 | BottomBarItem(icon: "bookmark", color: Color.iconColor),
9 | BottomBarItem(icon: "magnifyingglass", color: Color.iconColor),
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTabBar/ContentView.swift:7:44: error: 'Color' is only available in macOS 10.15 or newer
2 |
3 | @available(iOS 13.0, *)
4 | struct ContentView: View {
| `- note: add @available attribute to enclosing struct
5 |
6 | @State var items: [BottomBarItem] = [
7 | BottomBarItem(icon: "cube", color: Color.iconColor),
| `- error: 'Color' is only available in macOS 10.15 or newer
8 | BottomBarItem(icon: "bookmark", color: Color.iconColor),
9 | BottomBarItem(icon: "magnifyingglass", color: Color.iconColor),
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTabBar/ContentView.swift:8:9: error: 'BottomBarItem' is only available in macOS 10.15 or newer
2 |
3 | @available(iOS 13.0, *)
4 | struct ContentView: View {
| `- note: add @available attribute to enclosing struct
5 |
6 | @State var items: [BottomBarItem] = [
7 | BottomBarItem(icon: "cube", color: Color.iconColor),
8 | BottomBarItem(icon: "bookmark", color: Color.iconColor),
| `- error: 'BottomBarItem' is only available in macOS 10.15 or newer
9 | BottomBarItem(icon: "magnifyingglass", color: Color.iconColor),
10 | BottomBarItem(icon: "rectangle.stack", color: Color.iconColor),
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTabBar/ContentView.swift:8:48: error: 'Color' is only available in macOS 10.15 or newer
2 |
3 | @available(iOS 13.0, *)
4 | struct ContentView: View {
| `- note: add @available attribute to enclosing struct
5 |
6 | @State var items: [BottomBarItem] = [
7 | BottomBarItem(icon: "cube", color: Color.iconColor),
8 | BottomBarItem(icon: "bookmark", color: Color.iconColor),
| `- error: 'Color' is only available in macOS 10.15 or newer
9 | BottomBarItem(icon: "magnifyingglass", color: Color.iconColor),
10 | BottomBarItem(icon: "rectangle.stack", color: Color.iconColor),
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTabBar/ContentView.swift:9:9: error: 'BottomBarItem' is only available in macOS 10.15 or newer
2 |
3 | @available(iOS 13.0, *)
4 | struct ContentView: View {
| `- note: add @available attribute to enclosing struct
5 |
6 | @State var items: [BottomBarItem] = [
7 | BottomBarItem(icon: "cube", color: Color.iconColor),
8 | BottomBarItem(icon: "bookmark", color: Color.iconColor),
9 | BottomBarItem(icon: "magnifyingglass", color: Color.iconColor),
| `- error: 'BottomBarItem' is only available in macOS 10.15 or newer
10 | BottomBarItem(icon: "rectangle.stack", color: Color.iconColor),
11 | BottomBarItem(icon: "person", color: Color.iconColor)
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTabBar/ContentView.swift:9:55: error: 'Color' is only available in macOS 10.15 or newer
2 |
3 | @available(iOS 13.0, *)
4 | struct ContentView: View {
| `- note: add @available attribute to enclosing struct
5 |
6 | @State var items: [BottomBarItem] = [
7 | BottomBarItem(icon: "cube", color: Color.iconColor),
8 | BottomBarItem(icon: "bookmark", color: Color.iconColor),
9 | BottomBarItem(icon: "magnifyingglass", color: Color.iconColor),
| `- error: 'Color' is only available in macOS 10.15 or newer
10 | BottomBarItem(icon: "rectangle.stack", color: Color.iconColor),
11 | BottomBarItem(icon: "person", color: Color.iconColor)
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTabBar/ContentView.swift:10:9: error: 'BottomBarItem' is only available in macOS 10.15 or newer
2 |
3 | @available(iOS 13.0, *)
4 | struct ContentView: View {
| `- note: add @available attribute to enclosing struct
5 |
6 | @State var items: [BottomBarItem] = [
:
8 | BottomBarItem(icon: "bookmark", color: Color.iconColor),
9 | BottomBarItem(icon: "magnifyingglass", color: Color.iconColor),
10 | BottomBarItem(icon: "rectangle.stack", color: Color.iconColor),
| `- error: 'BottomBarItem' is only available in macOS 10.15 or newer
11 | BottomBarItem(icon: "person", color: Color.iconColor)
12 | ]
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTabBar/ContentView.swift:10:55: error: 'Color' is only available in macOS 10.15 or newer
2 |
3 | @available(iOS 13.0, *)
4 | struct ContentView: View {
| `- note: add @available attribute to enclosing struct
5 |
6 | @State var items: [BottomBarItem] = [
:
8 | BottomBarItem(icon: "bookmark", color: Color.iconColor),
9 | BottomBarItem(icon: "magnifyingglass", color: Color.iconColor),
10 | BottomBarItem(icon: "rectangle.stack", color: Color.iconColor),
| `- error: 'Color' is only available in macOS 10.15 or newer
11 | BottomBarItem(icon: "person", color: Color.iconColor)
12 | ]
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTabBar/ContentView.swift:11:9: error: 'BottomBarItem' is only available in macOS 10.15 or newer
2 |
3 | @available(iOS 13.0, *)
4 | struct ContentView: View {
| `- note: add @available attribute to enclosing struct
5 |
6 | @State var items: [BottomBarItem] = [
:
9 | BottomBarItem(icon: "magnifyingglass", color: Color.iconColor),
10 | BottomBarItem(icon: "rectangle.stack", color: Color.iconColor),
11 | BottomBarItem(icon: "person", color: Color.iconColor)
| `- error: 'BottomBarItem' is only available in macOS 10.15 or newer
12 | ]
13 |
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTabBar/ContentView.swift:11:46: error: 'Color' is only available in macOS 10.15 or newer
2 |
3 | @available(iOS 13.0, *)
4 | struct ContentView: View {
| `- note: add @available attribute to enclosing struct
5 |
6 | @State var items: [BottomBarItem] = [
:
9 | BottomBarItem(icon: "magnifyingglass", color: Color.iconColor),
10 | BottomBarItem(icon: "rectangle.stack", color: Color.iconColor),
11 | BottomBarItem(icon: "person", color: Color.iconColor)
| `- error: 'Color' is only available in macOS 10.15 or newer
12 | ]
13 |
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTabBar/ContentView.swift:16:21: error: 'AnyView' is only available in macOS 10.15 or newer
2 |
3 | @available(iOS 13.0, *)
4 | struct ContentView: View {
| `- note: add @available attribute to enclosing struct
5 |
6 | @State var items: [BottomBarItem] = [
:
14 | @State public var selectedIndex: Int = 0
15 |
16 | let viewList = [AnyView(ScrollingView(test: false)),
| `- error: 'AnyView' is only available in macOS 10.15 or newer
17 | AnyView(ScrollingView(test: true)),
18 | AnyView(ScrollingView(test: false)),
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTabBar/ContentView.swift:17:21: error: 'AnyView' is only available in macOS 10.15 or newer
2 |
3 | @available(iOS 13.0, *)
4 | struct ContentView: View {
| `- note: add @available attribute to enclosing struct
5 |
6 | @State var items: [BottomBarItem] = [
:
15 |
16 | let viewList = [AnyView(ScrollingView(test: false)),
17 | AnyView(ScrollingView(test: true)),
| `- error: 'AnyView' is only available in macOS 10.15 or newer
18 | AnyView(ScrollingView(test: false)),
19 | AnyView(ScrollingView(test: true)),
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTabBar/ContentView.swift:18:21: error: 'AnyView' is only available in macOS 10.15 or newer
2 |
3 | @available(iOS 13.0, *)
4 | struct ContentView: View {
| `- note: add @available attribute to enclosing struct
5 |
6 | @State var items: [BottomBarItem] = [
:
16 | let viewList = [AnyView(ScrollingView(test: false)),
17 | AnyView(ScrollingView(test: true)),
18 | AnyView(ScrollingView(test: false)),
| `- error: 'AnyView' is only available in macOS 10.15 or newer
19 | AnyView(ScrollingView(test: true)),
20 | AnyView(ScrollingView(test: false)),]
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTabBar/ContentView.swift:19:21: error: 'AnyView' is only available in macOS 10.15 or newer
2 |
3 | @available(iOS 13.0, *)
4 | struct ContentView: View {
| `- note: add @available attribute to enclosing struct
5 |
6 | @State var items: [BottomBarItem] = [
:
17 | AnyView(ScrollingView(test: true)),
18 | AnyView(ScrollingView(test: false)),
19 | AnyView(ScrollingView(test: true)),
| `- error: 'AnyView' is only available in macOS 10.15 or newer
20 | AnyView(ScrollingView(test: false)),]
21 |
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTabBar/ContentView.swift:20:21: error: 'AnyView' is only available in macOS 10.15 or newer
2 |
3 | @available(iOS 13.0, *)
4 | struct ContentView: View {
| `- note: add @available attribute to enclosing struct
5 |
6 | @State var items: [BottomBarItem] = [
:
18 | AnyView(ScrollingView(test: false)),
19 | AnyView(ScrollingView(test: true)),
20 | AnyView(ScrollingView(test: false)),]
| `- error: 'AnyView' is only available in macOS 10.15 or newer
21 |
22 |
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTabBar/ContentView.swift:6:24: error: 'BottomBarItem' is only available in macOS 10.15 or newer
2 |
3 | @available(iOS 13.0, *)
4 | struct ContentView: View {
| `- note: add @available attribute to enclosing struct
5 |
6 | @State var items: [BottomBarItem] = [
| `- error: 'BottomBarItem' is only available in macOS 10.15 or newer
7 | BottomBarItem(icon: "cube", color: Color.iconColor),
8 | BottomBarItem(icon: "bookmark", color: Color.iconColor),
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTabBar/ContentView.swift:6:6: error: 'State' is only available in macOS 10.15 or newer
2 |
3 | @available(iOS 13.0, *)
4 | struct ContentView: View {
| `- note: add @available attribute to enclosing struct
5 |
6 | @State var items: [BottomBarItem] = [
| `- error: 'State' is only available in macOS 10.15 or newer
7 | BottomBarItem(icon: "cube", color: Color.iconColor),
8 | BottomBarItem(icon: "bookmark", color: Color.iconColor),
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTabBar/ContentView.swift:14:6: error: 'State' is only available in macOS 10.15 or newer
2 |
3 | @available(iOS 13.0, *)
4 | struct ContentView: View {
| `- note: add @available attribute to enclosing struct
5 |
6 | @State var items: [BottomBarItem] = [
:
12 | ]
13 |
14 | @State public var selectedIndex: Int = 0
| `- error: 'State' is only available in macOS 10.15 or newer
15 |
16 | let viewList = [AnyView(ScrollingView(test: false)),
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTabBar/ContentView.swift:23:20: error: 'View' is only available in macOS 10.15 or newer
2 |
3 | @available(iOS 13.0, *)
4 | struct ContentView: View {
| `- note: add @available attribute to enclosing struct
5 |
6 | @State var items: [BottomBarItem] = [
:
21 |
22 |
23 | var body: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
24 |
25 |
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTabBar/ContentView.swift:52:31: error: 'View' is only available in macOS 10.15 or newer
49 |
50 | @available(iOS 13.0.0, *)
51 | struct ContentView_Previews: PreviewProvider {
| `- note: add @available attribute to enclosing struct
52 | static var previews: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing static property
53 | ContentView()
54 | }
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTabBar/ScrollingView.swift:13:20: error: 'View' is only available in macOS 10.15 or newer
3 | //TODO:
4 | @available(iOS 13.0, *)
5 | struct ScrollingView: View {
| `- note: add @available attribute to enclosing struct
6 |
7 | var test: Bool
:
11 | }
12 |
13 | var body: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
14 | ScrollView {
15 | VStack {
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTabBar/ScrollingView.swift:50:31: error: 'View' is only available in macOS 10.15 or newer
47 |
48 | @available(iOS 13.0, *)
49 | struct ScrollingView_Previews: PreviewProvider {
| `- note: add @available attribute to enclosing struct
50 | static var previews: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing static property
51 | ScrollingView(test: true)
52 | }
[9/10] Compiling FloatingTabBar ContentView.swift
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTabBar/ContentView.swift:7:9: error: 'BottomBarItem' is only available in macOS 10.15 or newer
2 |
3 | @available(iOS 13.0, *)
4 | struct ContentView: View {
| `- note: add @available attribute to enclosing struct
5 |
6 | @State var items: [BottomBarItem] = [
7 | BottomBarItem(icon: "cube", color: Color.iconColor),
| `- error: 'BottomBarItem' is only available in macOS 10.15 or newer
8 | BottomBarItem(icon: "bookmark", color: Color.iconColor),
9 | BottomBarItem(icon: "magnifyingglass", color: Color.iconColor),
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTabBar/ContentView.swift:7:44: error: 'Color' is only available in macOS 10.15 or newer
2 |
3 | @available(iOS 13.0, *)
4 | struct ContentView: View {
| `- note: add @available attribute to enclosing struct
5 |
6 | @State var items: [BottomBarItem] = [
7 | BottomBarItem(icon: "cube", color: Color.iconColor),
| `- error: 'Color' is only available in macOS 10.15 or newer
8 | BottomBarItem(icon: "bookmark", color: Color.iconColor),
9 | BottomBarItem(icon: "magnifyingglass", color: Color.iconColor),
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTabBar/ContentView.swift:8:9: error: 'BottomBarItem' is only available in macOS 10.15 or newer
2 |
3 | @available(iOS 13.0, *)
4 | struct ContentView: View {
| `- note: add @available attribute to enclosing struct
5 |
6 | @State var items: [BottomBarItem] = [
7 | BottomBarItem(icon: "cube", color: Color.iconColor),
8 | BottomBarItem(icon: "bookmark", color: Color.iconColor),
| `- error: 'BottomBarItem' is only available in macOS 10.15 or newer
9 | BottomBarItem(icon: "magnifyingglass", color: Color.iconColor),
10 | BottomBarItem(icon: "rectangle.stack", color: Color.iconColor),
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTabBar/ContentView.swift:8:48: error: 'Color' is only available in macOS 10.15 or newer
2 |
3 | @available(iOS 13.0, *)
4 | struct ContentView: View {
| `- note: add @available attribute to enclosing struct
5 |
6 | @State var items: [BottomBarItem] = [
7 | BottomBarItem(icon: "cube", color: Color.iconColor),
8 | BottomBarItem(icon: "bookmark", color: Color.iconColor),
| `- error: 'Color' is only available in macOS 10.15 or newer
9 | BottomBarItem(icon: "magnifyingglass", color: Color.iconColor),
10 | BottomBarItem(icon: "rectangle.stack", color: Color.iconColor),
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTabBar/ContentView.swift:9:9: error: 'BottomBarItem' is only available in macOS 10.15 or newer
2 |
3 | @available(iOS 13.0, *)
4 | struct ContentView: View {
| `- note: add @available attribute to enclosing struct
5 |
6 | @State var items: [BottomBarItem] = [
7 | BottomBarItem(icon: "cube", color: Color.iconColor),
8 | BottomBarItem(icon: "bookmark", color: Color.iconColor),
9 | BottomBarItem(icon: "magnifyingglass", color: Color.iconColor),
| `- error: 'BottomBarItem' is only available in macOS 10.15 or newer
10 | BottomBarItem(icon: "rectangle.stack", color: Color.iconColor),
11 | BottomBarItem(icon: "person", color: Color.iconColor)
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTabBar/ContentView.swift:9:55: error: 'Color' is only available in macOS 10.15 or newer
2 |
3 | @available(iOS 13.0, *)
4 | struct ContentView: View {
| `- note: add @available attribute to enclosing struct
5 |
6 | @State var items: [BottomBarItem] = [
7 | BottomBarItem(icon: "cube", color: Color.iconColor),
8 | BottomBarItem(icon: "bookmark", color: Color.iconColor),
9 | BottomBarItem(icon: "magnifyingglass", color: Color.iconColor),
| `- error: 'Color' is only available in macOS 10.15 or newer
10 | BottomBarItem(icon: "rectangle.stack", color: Color.iconColor),
11 | BottomBarItem(icon: "person", color: Color.iconColor)
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTabBar/ContentView.swift:10:9: error: 'BottomBarItem' is only available in macOS 10.15 or newer
2 |
3 | @available(iOS 13.0, *)
4 | struct ContentView: View {
| `- note: add @available attribute to enclosing struct
5 |
6 | @State var items: [BottomBarItem] = [
:
8 | BottomBarItem(icon: "bookmark", color: Color.iconColor),
9 | BottomBarItem(icon: "magnifyingglass", color: Color.iconColor),
10 | BottomBarItem(icon: "rectangle.stack", color: Color.iconColor),
| `- error: 'BottomBarItem' is only available in macOS 10.15 or newer
11 | BottomBarItem(icon: "person", color: Color.iconColor)
12 | ]
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTabBar/ContentView.swift:10:55: error: 'Color' is only available in macOS 10.15 or newer
2 |
3 | @available(iOS 13.0, *)
4 | struct ContentView: View {
| `- note: add @available attribute to enclosing struct
5 |
6 | @State var items: [BottomBarItem] = [
:
8 | BottomBarItem(icon: "bookmark", color: Color.iconColor),
9 | BottomBarItem(icon: "magnifyingglass", color: Color.iconColor),
10 | BottomBarItem(icon: "rectangle.stack", color: Color.iconColor),
| `- error: 'Color' is only available in macOS 10.15 or newer
11 | BottomBarItem(icon: "person", color: Color.iconColor)
12 | ]
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTabBar/ContentView.swift:11:9: error: 'BottomBarItem' is only available in macOS 10.15 or newer
2 |
3 | @available(iOS 13.0, *)
4 | struct ContentView: View {
| `- note: add @available attribute to enclosing struct
5 |
6 | @State var items: [BottomBarItem] = [
:
9 | BottomBarItem(icon: "magnifyingglass", color: Color.iconColor),
10 | BottomBarItem(icon: "rectangle.stack", color: Color.iconColor),
11 | BottomBarItem(icon: "person", color: Color.iconColor)
| `- error: 'BottomBarItem' is only available in macOS 10.15 or newer
12 | ]
13 |
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTabBar/ContentView.swift:11:46: error: 'Color' is only available in macOS 10.15 or newer
2 |
3 | @available(iOS 13.0, *)
4 | struct ContentView: View {
| `- note: add @available attribute to enclosing struct
5 |
6 | @State var items: [BottomBarItem] = [
:
9 | BottomBarItem(icon: "magnifyingglass", color: Color.iconColor),
10 | BottomBarItem(icon: "rectangle.stack", color: Color.iconColor),
11 | BottomBarItem(icon: "person", color: Color.iconColor)
| `- error: 'Color' is only available in macOS 10.15 or newer
12 | ]
13 |
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTabBar/ContentView.swift:16:21: error: 'AnyView' is only available in macOS 10.15 or newer
2 |
3 | @available(iOS 13.0, *)
4 | struct ContentView: View {
| `- note: add @available attribute to enclosing struct
5 |
6 | @State var items: [BottomBarItem] = [
:
14 | @State public var selectedIndex: Int = 0
15 |
16 | let viewList = [AnyView(ScrollingView(test: false)),
| `- error: 'AnyView' is only available in macOS 10.15 or newer
17 | AnyView(ScrollingView(test: true)),
18 | AnyView(ScrollingView(test: false)),
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTabBar/ContentView.swift:17:21: error: 'AnyView' is only available in macOS 10.15 or newer
2 |
3 | @available(iOS 13.0, *)
4 | struct ContentView: View {
| `- note: add @available attribute to enclosing struct
5 |
6 | @State var items: [BottomBarItem] = [
:
15 |
16 | let viewList = [AnyView(ScrollingView(test: false)),
17 | AnyView(ScrollingView(test: true)),
| `- error: 'AnyView' is only available in macOS 10.15 or newer
18 | AnyView(ScrollingView(test: false)),
19 | AnyView(ScrollingView(test: true)),
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTabBar/ContentView.swift:18:21: error: 'AnyView' is only available in macOS 10.15 or newer
2 |
3 | @available(iOS 13.0, *)
4 | struct ContentView: View {
| `- note: add @available attribute to enclosing struct
5 |
6 | @State var items: [BottomBarItem] = [
:
16 | let viewList = [AnyView(ScrollingView(test: false)),
17 | AnyView(ScrollingView(test: true)),
18 | AnyView(ScrollingView(test: false)),
| `- error: 'AnyView' is only available in macOS 10.15 or newer
19 | AnyView(ScrollingView(test: true)),
20 | AnyView(ScrollingView(test: false)),]
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTabBar/ContentView.swift:19:21: error: 'AnyView' is only available in macOS 10.15 or newer
2 |
3 | @available(iOS 13.0, *)
4 | struct ContentView: View {
| `- note: add @available attribute to enclosing struct
5 |
6 | @State var items: [BottomBarItem] = [
:
17 | AnyView(ScrollingView(test: true)),
18 | AnyView(ScrollingView(test: false)),
19 | AnyView(ScrollingView(test: true)),
| `- error: 'AnyView' is only available in macOS 10.15 or newer
20 | AnyView(ScrollingView(test: false)),]
21 |
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTabBar/ContentView.swift:20:21: error: 'AnyView' is only available in macOS 10.15 or newer
2 |
3 | @available(iOS 13.0, *)
4 | struct ContentView: View {
| `- note: add @available attribute to enclosing struct
5 |
6 | @State var items: [BottomBarItem] = [
:
18 | AnyView(ScrollingView(test: false)),
19 | AnyView(ScrollingView(test: true)),
20 | AnyView(ScrollingView(test: false)),]
| `- error: 'AnyView' is only available in macOS 10.15 or newer
21 |
22 |
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTabBar/ContentView.swift:6:24: error: 'BottomBarItem' is only available in macOS 10.15 or newer
2 |
3 | @available(iOS 13.0, *)
4 | struct ContentView: View {
| `- note: add @available attribute to enclosing struct
5 |
6 | @State var items: [BottomBarItem] = [
| `- error: 'BottomBarItem' is only available in macOS 10.15 or newer
7 | BottomBarItem(icon: "cube", color: Color.iconColor),
8 | BottomBarItem(icon: "bookmark", color: Color.iconColor),
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTabBar/ContentView.swift:6:6: error: 'State' is only available in macOS 10.15 or newer
2 |
3 | @available(iOS 13.0, *)
4 | struct ContentView: View {
| `- note: add @available attribute to enclosing struct
5 |
6 | @State var items: [BottomBarItem] = [
| `- error: 'State' is only available in macOS 10.15 or newer
7 | BottomBarItem(icon: "cube", color: Color.iconColor),
8 | BottomBarItem(icon: "bookmark", color: Color.iconColor),
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTabBar/ContentView.swift:14:6: error: 'State' is only available in macOS 10.15 or newer
2 |
3 | @available(iOS 13.0, *)
4 | struct ContentView: View {
| `- note: add @available attribute to enclosing struct
5 |
6 | @State var items: [BottomBarItem] = [
:
12 | ]
13 |
14 | @State public var selectedIndex: Int = 0
| `- error: 'State' is only available in macOS 10.15 or newer
15 |
16 | let viewList = [AnyView(ScrollingView(test: false)),
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTabBar/ContentView.swift:23:20: error: 'View' is only available in macOS 10.15 or newer
2 |
3 | @available(iOS 13.0, *)
4 | struct ContentView: View {
| `- note: add @available attribute to enclosing struct
5 |
6 | @State var items: [BottomBarItem] = [
:
21 |
22 |
23 | var body: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
24 |
25 |
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTabBar/ContentView.swift:52:31: error: 'View' is only available in macOS 10.15 or newer
49 |
50 | @available(iOS 13.0.0, *)
51 | struct ContentView_Previews: PreviewProvider {
| `- note: add @available attribute to enclosing struct
52 | static var previews: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing static property
53 | ContentView()
54 | }
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTabBar/ContentView.swift:26:9: error: 'ZStack' is only available in macOS 10.15 or newer
2 |
3 | @available(iOS 13.0, *)
4 | struct ContentView: View {
| `- note: add @available attribute to enclosing struct
5 |
6 | @State var items: [BottomBarItem] = [
:
21 |
22 |
23 | var body: some View {
| `- note: add @available attribute to enclosing property
24 |
25 |
26 | ZStack {
| |- error: 'ZStack' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
27 |
28 | NavigationView {
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTabBar/ContentView.swift:28:13: error: 'NavigationView' is only available in macOS 10.15 or newer
2 |
3 | @available(iOS 13.0, *)
4 | struct ContentView: View {
| `- note: add @available attribute to enclosing struct
5 |
6 | @State var items: [BottomBarItem] = [
:
21 |
22 |
23 | var body: some View {
| `- note: add @available attribute to enclosing property
24 |
25 |
26 | ZStack {
27 |
28 | NavigationView {
| |- error: 'NavigationView' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
29 | viewList[selectedIndex]
30 | }
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTabBar/ContentView.swift:32:13: error: 'VStack' is only available in macOS 10.15 or newer
2 |
3 | @available(iOS 13.0, *)
4 | struct ContentView: View {
| `- note: add @available attribute to enclosing struct
5 |
6 | @State var items: [BottomBarItem] = [
:
21 |
22 |
23 | var body: some View {
| `- note: add @available attribute to enclosing property
24 |
25 |
:
30 | }
31 |
32 | VStack {
| |- error: 'VStack' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
33 | Spacer()
34 | ZStack {
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTabBar/ContentView.swift:33:17: warning: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
2 |
3 | @available(iOS 13.0, *)
4 | struct ContentView: View {
| `- note: add @available attribute to enclosing struct
5 |
6 | @State var items: [BottomBarItem] = [
:
21 |
22 |
23 | var body: some View {
| `- note: add @available attribute to enclosing property
24 |
25 |
:
31 |
32 | VStack {
33 | Spacer()
| |- warning: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
34 | ZStack {
35 | BottomBar(selectedIndex: $selectedIndex, items: $items)
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTabBar/ContentView.swift:33:17: error: 'Spacer' is only available in macOS 10.15 or newer
2 |
3 | @available(iOS 13.0, *)
4 | struct ContentView: View {
| `- note: add @available attribute to enclosing struct
5 |
6 | @State var items: [BottomBarItem] = [
:
21 |
22 |
23 | var body: some View {
| `- note: add @available attribute to enclosing property
24 |
25 |
:
31 |
32 | VStack {
33 | Spacer()
| |- error: 'Spacer' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
34 | ZStack {
35 | BottomBar(selectedIndex: $selectedIndex, items: $items)
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTabBar/ContentView.swift:34:17: error: 'ZStack' is only available in macOS 10.15 or newer
2 |
3 | @available(iOS 13.0, *)
4 | struct ContentView: View {
| `- note: add @available attribute to enclosing struct
5 |
6 | @State var items: [BottomBarItem] = [
:
21 |
22 |
23 | var body: some View {
| `- note: add @available attribute to enclosing property
24 |
25 |
:
32 | VStack {
33 | Spacer()
34 | ZStack {
| |- error: 'ZStack' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
35 | BottomBar(selectedIndex: $selectedIndex, items: $items)
36 | .cornerRadius(20)
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTabBar/ContentView.swift:35:21: error: 'BottomBar' is only available in macOS 10.15 or newer
2 |
3 | @available(iOS 13.0, *)
4 | struct ContentView: View {
| `- note: add @available attribute to enclosing struct
5 |
6 | @State var items: [BottomBarItem] = [
:
21 |
22 |
23 | var body: some View {
| `- note: add @available attribute to enclosing property
24 |
25 |
:
33 | Spacer()
34 | ZStack {
35 | BottomBar(selectedIndex: $selectedIndex, items: $items)
| |- error: 'BottomBar' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
36 | .cornerRadius(20)
37 | .shadow(color: Color.darkTextColorMain.opacity(0.1), radius: 10,
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTabBar/ContentView.swift:36:26: error: 'cornerRadius(_:antialiased:)' is only available in macOS 10.15 or newer
2 |
3 | @available(iOS 13.0, *)
4 | struct ContentView: View {
| `- note: add @available attribute to enclosing struct
5 |
6 | @State var items: [BottomBarItem] = [
:
21 |
22 |
23 | var body: some View {
| `- note: add @available attribute to enclosing property
24 |
25 |
:
34 | ZStack {
35 | BottomBar(selectedIndex: $selectedIndex, items: $items)
36 | .cornerRadius(20)
| |- error: 'cornerRadius(_:antialiased:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
37 | .shadow(color: Color.darkTextColorMain.opacity(0.1), radius: 10,
38 | x: 10,
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTabBar/ContentView.swift:37:26: error: 'shadow(color:radius:x:y:)' is only available in macOS 10.15 or newer
2 |
3 | @available(iOS 13.0, *)
4 | struct ContentView: View {
| `- note: add @available attribute to enclosing struct
5 |
6 | @State var items: [BottomBarItem] = [
:
21 |
22 |
23 | var body: some View {
| `- note: add @available attribute to enclosing property
24 |
25 |
:
35 | BottomBar(selectedIndex: $selectedIndex, items: $items)
36 | .cornerRadius(20)
37 | .shadow(color: Color.darkTextColorMain.opacity(0.1), radius: 10,
| |- error: 'shadow(color:radius:x:y:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
38 | x: 10,
39 | y: 5)
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTabBar/ContentView.swift:37:40: error: 'Color' is only available in macOS 10.15 or newer
2 |
3 | @available(iOS 13.0, *)
4 | struct ContentView: View {
| `- note: add @available attribute to enclosing struct
5 |
6 | @State var items: [BottomBarItem] = [
:
21 |
22 |
23 | var body: some View {
| `- note: add @available attribute to enclosing property
24 |
25 |
:
35 | BottomBar(selectedIndex: $selectedIndex, items: $items)
36 | .cornerRadius(20)
37 | .shadow(color: Color.darkTextColorMain.opacity(0.1), radius: 10,
| |- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
38 | x: 10,
39 | y: 5)
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTabBar/ContentView.swift:37:64: error: 'opacity' is only available in macOS 10.15 or newer
2 |
3 | @available(iOS 13.0, *)
4 | struct ContentView: View {
| `- note: add @available attribute to enclosing struct
5 |
6 | @State var items: [BottomBarItem] = [
:
21 |
22 |
23 | var body: some View {
| `- note: add @available attribute to enclosing property
24 |
25 |
:
35 | BottomBar(selectedIndex: $selectedIndex, items: $items)
36 | .cornerRadius(20)
37 | .shadow(color: Color.darkTextColorMain.opacity(0.1), radius: 10,
| |- error: 'opacity' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
38 | x: 10,
39 | y: 5)
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTabBar/ContentView.swift:40:19: error: 'padding' is only available in macOS 10.15 or newer
2 |
3 | @available(iOS 13.0, *)
4 | struct ContentView: View {
| `- note: add @available attribute to enclosing struct
5 |
6 | @State var items: [BottomBarItem] = [
:
21 |
22 |
23 | var body: some View {
| `- note: add @available attribute to enclosing property
24 |
25 |
:
38 | x: 10,
39 | y: 5)
40 | }.padding(EdgeInsets(top: 0,
| |- error: 'padding' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
41 | leading: 40,
42 | bottom: -10,
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTabBar/ContentView.swift:40:27: error: 'EdgeInsets' is only available in macOS 10.15 or newer
2 |
3 | @available(iOS 13.0, *)
4 | struct ContentView: View {
| `- note: add @available attribute to enclosing struct
5 |
6 | @State var items: [BottomBarItem] = [
:
21 |
22 |
23 | var body: some View {
| `- note: add @available attribute to enclosing property
24 |
25 |
:
38 | x: 10,
39 | y: 5)
40 | }.padding(EdgeInsets(top: 0,
| |- error: 'EdgeInsets' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
41 | leading: 40,
42 | bottom: -10,
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTabBar/ContentView.swift:32:20: warning: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
2 |
3 | @available(iOS 13.0, *)
4 | struct ContentView: View {
| `- note: add @available attribute to enclosing struct
5 |
6 | @State var items: [BottomBarItem] = [
:
21 |
22 |
23 | var body: some View {
| `- note: add @available attribute to enclosing property
24 |
25 |
:
30 | }
31 |
32 | VStack {
| |- warning: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
33 | Spacer()
34 | ZStack {
[10/10] Compiling FloatingTabBar BlurView.swift
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTabBar/BlurView.swift:7:16: error: cannot find type 'UIBlurEffect' in scope
5 | struct BlurView: UIViewRepresentable {
6 |
7 | let style: UIBlurEffect.Style
| `- error: cannot find type 'UIBlurEffect' in scope
8 |
9 | func makeUIView(context: UIViewRepresentableContext<BlurView>) -> UIView {
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTabBar/BlurView.swift:9:71: error: cannot find type 'UIView' in scope
7 | let style: UIBlurEffect.Style
8 |
9 | func makeUIView(context: UIViewRepresentableContext<BlurView>) -> UIView {
| `- error: cannot find type 'UIView' in scope
10 | let view = UIView(frame: .zero)
11 | view.backgroundColor = .clear
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTabBar/BlurView.swift:9:30: error: cannot find type 'UIViewRepresentableContext' in scope
7 | let style: UIBlurEffect.Style
8 |
9 | func makeUIView(context: UIViewRepresentableContext<BlurView>) -> UIView {
| `- error: cannot find type 'UIViewRepresentableContext' in scope
10 | let view = UIView(frame: .zero)
11 | view.backgroundColor = .clear
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTabBar/BlurView.swift:23:33: error: cannot find type 'UIView' in scope
21 | }
22 |
23 | func updateUIView(_ uiView: UIView,
| `- error: cannot find type 'UIView' in scope
24 | context: UIViewRepresentableContext<BlurView>) {
25 |
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTabBar/BlurView.swift:24:32: error: cannot find type 'UIViewRepresentableContext' in scope
22 |
23 | func updateUIView(_ uiView: UIView,
24 | context: UIViewRepresentableContext<BlurView>) {
| `- error: cannot find type 'UIViewRepresentableContext' in scope
25 |
26 | }
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTabBar/BlurView.swift:5:18: error: cannot find type 'UIViewRepresentable' in scope
3 |
4 | @available(iOS 13.0, *)
5 | struct BlurView: UIViewRepresentable {
| `- error: cannot find type 'UIViewRepresentable' in scope
6 |
7 | let style: UIBlurEffect.Style
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTabBar/BlurView.swift:10:20: error: cannot find 'UIView' in scope
8 |
9 | func makeUIView(context: UIViewRepresentableContext<BlurView>) -> UIView {
10 | let view = UIView(frame: .zero)
| `- error: cannot find 'UIView' in scope
11 | view.backgroundColor = .clear
12 | let blurEffect = UIBlurEffect(style: style)
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTabBar/BlurView.swift:10:35: error: cannot infer contextual base in reference to member 'zero'
8 |
9 | func makeUIView(context: UIViewRepresentableContext<BlurView>) -> UIView {
10 | let view = UIView(frame: .zero)
| `- error: cannot infer contextual base in reference to member 'zero'
11 | view.backgroundColor = .clear
12 | let blurEffect = UIBlurEffect(style: style)
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTabBar/BlurView.swift:11:33: error: cannot infer contextual base in reference to member 'clear'
9 | func makeUIView(context: UIViewRepresentableContext<BlurView>) -> UIView {
10 | let view = UIView(frame: .zero)
11 | view.backgroundColor = .clear
| `- error: cannot infer contextual base in reference to member 'clear'
12 | let blurEffect = UIBlurEffect(style: style)
13 | let blurView = UIVisualEffectView(effect: blurEffect)
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTabBar/BlurView.swift:12:26: error: cannot find 'UIBlurEffect' in scope
10 | let view = UIView(frame: .zero)
11 | view.backgroundColor = .clear
12 | let blurEffect = UIBlurEffect(style: style)
| `- error: cannot find 'UIBlurEffect' in scope
13 | let blurView = UIVisualEffectView(effect: blurEffect)
14 | blurView.translatesAutoresizingMaskIntoConstraints = false
/Users/admin/builder/spi-builder-workspace/Sources/FloatingTabBar/BlurView.swift:13:24: error: cannot find 'UIVisualEffectView' in scope
11 | view.backgroundColor = .clear
12 | let blurEffect = UIBlurEffect(style: style)
13 | let blurView = UIVisualEffectView(effect: blurEffect)
| `- error: cannot find 'UIVisualEffectView' in scope
14 | blurView.translatesAutoresizingMaskIntoConstraints = false
15 | view.insertSubview(blurView, at: 0)
BUILD FAILURE 6.0 macosSpm