Build Information
Failed to build EquallySpacedStack with Swift 6.0 for macOS (SPM).
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
========================================
RunAll
========================================
Builder version: 4.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/alexito4/equallyspacedstack.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/alexito4/equallyspacedstack
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 4de61d9 Merge pull request #2 from Julioacarrettoni/master
Cloned https://github.com/alexito4/equallyspacedstack.git
Revision (git rev-parse @):
4de61d935c784e549425c79341915ee2eda78107
SUCCESS checkout https://github.com/alexito4/equallyspacedstack.git at master
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $workDir
https://github.com/alexito4/equallyspacedstack.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-6F35C1178C84523A.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/4] Emitting module EquallySpacedStack
/Users/admin/builder/spi-builder-workspace/Sources/EquallySpacedStack/EquallySpacedStack.swift:4:17: error: 'AnyView' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public struct EquallySpacedHStack: View {
| `- note: add @available attribute to enclosing struct
4 | let items: [AnyView]
| `- error: 'AnyView' is only available in macOS 10.15 or newer
5 |
6 | public init<A: View>(@ViewBuilder content: () -> A) { // this init will be used for any non-supported number of TupleView
/Users/admin/builder/spi-builder-workspace/Sources/EquallySpacedStack/EquallySpacedStack.swift:6:20: error: 'View' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public struct EquallySpacedHStack: View {
| `- note: add @available attribute to enclosing struct
4 | let items: [AnyView]
5 |
6 | public init<A: View>(@ViewBuilder content: () -> A) { // this init will be used for any non-supported number of TupleView
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing initializer
7 | let views = content()
8 | self.items = [AnyView(views)]
/Users/admin/builder/spi-builder-workspace/Sources/EquallySpacedStack/EquallySpacedStack.swift:6:27: error: 'ViewBuilder' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public struct EquallySpacedHStack: View {
| `- note: add @available attribute to enclosing struct
4 | let items: [AnyView]
5 |
6 | public init<A: View>(@ViewBuilder content: () -> A) { // this init will be used for any non-supported number of TupleView
| | `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing initializer
7 | let views = content()
8 | self.items = [AnyView(views)]
/Users/admin/builder/spi-builder-workspace/Sources/EquallySpacedStack/EquallySpacedStack.swift:13:20: error: 'View' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public struct EquallySpacedHStack: View {
| `- note: add @available attribute to enclosing struct
4 | let items: [AnyView]
5 |
:
11 | // MARK: TupleView support
12 |
13 | public init<A: View, B: View>(@ViewBuilder content: () -> TupleView<(A, B)>) {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing initializer
14 | let views = content().value
15 | self.items = [AnyView(views.0), AnyView(views.1)]
/Users/admin/builder/spi-builder-workspace/Sources/EquallySpacedStack/EquallySpacedStack.swift:13:29: error: 'View' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public struct EquallySpacedHStack: View {
| `- note: add @available attribute to enclosing struct
4 | let items: [AnyView]
5 |
:
11 | // MARK: TupleView support
12 |
13 | public init<A: View, B: View>(@ViewBuilder content: () -> TupleView<(A, B)>) {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing initializer
14 | let views = content().value
15 | self.items = [AnyView(views.0), AnyView(views.1)]
/Users/admin/builder/spi-builder-workspace/Sources/EquallySpacedStack/EquallySpacedStack.swift:13:36: error: 'ViewBuilder' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public struct EquallySpacedHStack: View {
| `- note: add @available attribute to enclosing struct
4 | let items: [AnyView]
5 |
:
11 | // MARK: TupleView support
12 |
13 | public init<A: View, B: View>(@ViewBuilder content: () -> TupleView<(A, B)>) {
| | `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing initializer
14 | let views = content().value
15 | self.items = [AnyView(views.0), AnyView(views.1)]
/Users/admin/builder/spi-builder-workspace/Sources/EquallySpacedStack/EquallySpacedStack.swift:13:63: error: 'TupleView' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public struct EquallySpacedHStack: View {
| `- note: add @available attribute to enclosing struct
4 | let items: [AnyView]
5 |
:
11 | // MARK: TupleView support
12 |
13 | public init<A: View, B: View>(@ViewBuilder content: () -> TupleView<(A, B)>) {
| | `- error: 'TupleView' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing initializer
14 | let views = content().value
15 | self.items = [AnyView(views.0), AnyView(views.1)]
/Users/admin/builder/spi-builder-workspace/Sources/EquallySpacedStack/EquallySpacedStack.swift:18:20: error: 'View' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public struct EquallySpacedHStack: View {
| `- note: add @available attribute to enclosing struct
4 | let items: [AnyView]
5 |
:
16 | }
17 |
18 | public init<A: View, B: View, C: View>(@ViewBuilder content: () -> TupleView<(A, B, C)>) {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing initializer
19 | let views = content().value
20 | self.items = [AnyView(views.0), AnyView(views.1), AnyView(views.2)]
/Users/admin/builder/spi-builder-workspace/Sources/EquallySpacedStack/EquallySpacedStack.swift:18:29: error: 'View' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public struct EquallySpacedHStack: View {
| `- note: add @available attribute to enclosing struct
4 | let items: [AnyView]
5 |
:
16 | }
17 |
18 | public init<A: View, B: View, C: View>(@ViewBuilder content: () -> TupleView<(A, B, C)>) {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing initializer
19 | let views = content().value
20 | self.items = [AnyView(views.0), AnyView(views.1), AnyView(views.2)]
/Users/admin/builder/spi-builder-workspace/Sources/EquallySpacedStack/EquallySpacedStack.swift:18:38: error: 'View' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public struct EquallySpacedHStack: View {
| `- note: add @available attribute to enclosing struct
4 | let items: [AnyView]
5 |
:
16 | }
17 |
18 | public init<A: View, B: View, C: View>(@ViewBuilder content: () -> TupleView<(A, B, C)>) {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing initializer
19 | let views = content().value
20 | self.items = [AnyView(views.0), AnyView(views.1), AnyView(views.2)]
/Users/admin/builder/spi-builder-workspace/Sources/EquallySpacedStack/EquallySpacedStack.swift:18:45: error: 'ViewBuilder' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public struct EquallySpacedHStack: View {
| `- note: add @available attribute to enclosing struct
4 | let items: [AnyView]
5 |
:
16 | }
17 |
18 | public init<A: View, B: View, C: View>(@ViewBuilder content: () -> TupleView<(A, B, C)>) {
| | `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing initializer
19 | let views = content().value
20 | self.items = [AnyView(views.0), AnyView(views.1), AnyView(views.2)]
/Users/admin/builder/spi-builder-workspace/Sources/EquallySpacedStack/EquallySpacedStack.swift:18:72: error: 'TupleView' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public struct EquallySpacedHStack: View {
| `- note: add @available attribute to enclosing struct
4 | let items: [AnyView]
5 |
:
16 | }
17 |
18 | public init<A: View, B: View, C: View>(@ViewBuilder content: () -> TupleView<(A, B, C)>) {
| | `- error: 'TupleView' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing initializer
19 | let views = content().value
20 | self.items = [AnyView(views.0), AnyView(views.1), AnyView(views.2)]
/Users/admin/builder/spi-builder-workspace/Sources/EquallySpacedStack/EquallySpacedStack.swift:23:20: error: 'View' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public struct EquallySpacedHStack: View {
| `- note: add @available attribute to enclosing struct
4 | let items: [AnyView]
5 |
:
21 | }
22 |
23 | public init<A: View, B: View, C: View, D: View>(@ViewBuilder content: () -> TupleView<(A, B, C, D)>) {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing initializer
24 | let views = content().value
25 | self.items = [AnyView(views.0), AnyView(views.1), AnyView(views.2), AnyView(views.3)]
/Users/admin/builder/spi-builder-workspace/Sources/EquallySpacedStack/EquallySpacedStack.swift:23:29: error: 'View' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public struct EquallySpacedHStack: View {
| `- note: add @available attribute to enclosing struct
4 | let items: [AnyView]
5 |
:
21 | }
22 |
23 | public init<A: View, B: View, C: View, D: View>(@ViewBuilder content: () -> TupleView<(A, B, C, D)>) {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing initializer
24 | let views = content().value
25 | self.items = [AnyView(views.0), AnyView(views.1), AnyView(views.2), AnyView(views.3)]
/Users/admin/builder/spi-builder-workspace/Sources/EquallySpacedStack/EquallySpacedStack.swift:23:38: error: 'View' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public struct EquallySpacedHStack: View {
| `- note: add @available attribute to enclosing struct
4 | let items: [AnyView]
5 |
:
21 | }
22 |
23 | public init<A: View, B: View, C: View, D: View>(@ViewBuilder content: () -> TupleView<(A, B, C, D)>) {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing initializer
24 | let views = content().value
25 | self.items = [AnyView(views.0), AnyView(views.1), AnyView(views.2), AnyView(views.3)]
/Users/admin/builder/spi-builder-workspace/Sources/EquallySpacedStack/EquallySpacedStack.swift:23:47: error: 'View' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public struct EquallySpacedHStack: View {
| `- note: add @available attribute to enclosing struct
4 | let items: [AnyView]
5 |
:
21 | }
22 |
23 | public init<A: View, B: View, C: View, D: View>(@ViewBuilder content: () -> TupleView<(A, B, C, D)>) {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing initializer
24 | let views = content().value
25 | self.items = [AnyView(views.0), AnyView(views.1), AnyView(views.2), AnyView(views.3)]
/Users/admin/builder/spi-builder-workspace/Sources/EquallySpacedStack/EquallySpacedStack.swift:23:54: error: 'ViewBuilder' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public struct EquallySpacedHStack: View {
| `- note: add @available attribute to enclosing struct
4 | let items: [AnyView]
5 |
:
21 | }
22 |
23 | public init<A: View, B: View, C: View, D: View>(@ViewBuilder content: () -> TupleView<(A, B, C, D)>) {
| | `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing initializer
24 | let views = content().value
25 | self.items = [AnyView(views.0), AnyView(views.1), AnyView(views.2), AnyView(views.3)]
/Users/admin/builder/spi-builder-workspace/Sources/EquallySpacedStack/EquallySpacedStack.swift:23:81: error: 'TupleView' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public struct EquallySpacedHStack: View {
| `- note: add @available attribute to enclosing struct
4 | let items: [AnyView]
5 |
:
21 | }
22 |
23 | public init<A: View, B: View, C: View, D: View>(@ViewBuilder content: () -> TupleView<(A, B, C, D)>) {
| | `- error: 'TupleView' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing initializer
24 | let views = content().value
25 | self.items = [AnyView(views.0), AnyView(views.1), AnyView(views.2), AnyView(views.3)]
/Users/admin/builder/spi-builder-workspace/Sources/EquallySpacedStack/EquallySpacedStack.swift:30:32: error: 'View' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public struct EquallySpacedHStack: View {
| `- note: add @available attribute to enclosing struct
4 | let items: [AnyView]
5 |
:
28 | // MARK: ForEach support
29 |
30 | public init<Data, Content: View, ID : Hashable>(@ViewBuilder content: () -> ForEach<Data, ID, Content>) {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing initializer
31 | let views = content()
32 | self.items = views.data.map({ AnyView(views.content($0)) })
/Users/admin/builder/spi-builder-workspace/Sources/EquallySpacedStack/EquallySpacedStack.swift:30:54: error: 'ViewBuilder' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public struct EquallySpacedHStack: View {
| `- note: add @available attribute to enclosing struct
4 | let items: [AnyView]
5 |
:
28 | // MARK: ForEach support
29 |
30 | public init<Data, Content: View, ID : Hashable>(@ViewBuilder content: () -> ForEach<Data, ID, Content>) {
| | `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing initializer
31 | let views = content()
32 | self.items = views.data.map({ AnyView(views.content($0)) })
/Users/admin/builder/spi-builder-workspace/Sources/EquallySpacedStack/EquallySpacedStack.swift:30:81: error: 'ForEach' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public struct EquallySpacedHStack: View {
| `- note: add @available attribute to enclosing struct
4 | let items: [AnyView]
5 |
:
28 | // MARK: ForEach support
29 |
30 | public init<Data, Content: View, ID : Hashable>(@ViewBuilder content: () -> ForEach<Data, ID, Content>) {
| | `- error: 'ForEach' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing initializer
31 | let views = content()
32 | self.items = views.data.map({ AnyView(views.content($0)) })
/Users/admin/builder/spi-builder-workspace/Sources/EquallySpacedStack/EquallySpacedStack.swift:35:27: error: 'View' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public struct EquallySpacedHStack: View {
| `- note: add @available attribute to enclosing struct
4 | let items: [AnyView]
5 |
:
33 | }
34 |
35 | public var body: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
36 | HStack {
37 | Spacer()
/Users/admin/builder/spi-builder-workspace/Sources/EquallySpacedStack/EquallySpacedStack.swift:47:17: error: 'AnyView' is only available in macOS 10.15 or newer
44 | }
45 |
46 | public struct EquallySpacedVStack: View {
| `- note: add @available attribute to enclosing struct
47 | let items: [AnyView]
| `- error: 'AnyView' is only available in macOS 10.15 or newer
48 |
49 | public init<A: View>(@ViewBuilder content: () -> A) { // this init will be used for any non-supported number of TupleView
/Users/admin/builder/spi-builder-workspace/Sources/EquallySpacedStack/EquallySpacedStack.swift:49:20: error: 'View' is only available in macOS 10.15 or newer
44 | }
45 |
46 | public struct EquallySpacedVStack: View {
| `- note: add @available attribute to enclosing struct
47 | let items: [AnyView]
48 |
49 | public init<A: View>(@ViewBuilder content: () -> A) { // this init will be used for any non-supported number of TupleView
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing initializer
50 | self.items = [AnyView(content())]
51 | }
/Users/admin/builder/spi-builder-workspace/Sources/EquallySpacedStack/EquallySpacedStack.swift:49:27: error: 'ViewBuilder' is only available in macOS 10.15 or newer
44 | }
45 |
46 | public struct EquallySpacedVStack: View {
| `- note: add @available attribute to enclosing struct
47 | let items: [AnyView]
48 |
49 | public init<A: View>(@ViewBuilder content: () -> A) { // this init will be used for any non-supported number of TupleView
| | `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing initializer
50 | self.items = [AnyView(content())]
51 | }
/Users/admin/builder/spi-builder-workspace/Sources/EquallySpacedStack/EquallySpacedStack.swift:55:20: error: 'View' is only available in macOS 10.15 or newer
44 | }
45 |
46 | public struct EquallySpacedVStack: View {
| `- note: add @available attribute to enclosing struct
47 | let items: [AnyView]
48 |
:
53 | // MARK: TupleView support
54 |
55 | public init<A: View, B: View>(@ViewBuilder content: () -> TupleView<(A, B)>) {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing initializer
56 | let views = content().value
57 | self.items = [AnyView(views.0), AnyView(views.1)]
/Users/admin/builder/spi-builder-workspace/Sources/EquallySpacedStack/EquallySpacedStack.swift:55:29: error: 'View' is only available in macOS 10.15 or newer
44 | }
45 |
46 | public struct EquallySpacedVStack: View {
| `- note: add @available attribute to enclosing struct
47 | let items: [AnyView]
48 |
:
53 | // MARK: TupleView support
54 |
55 | public init<A: View, B: View>(@ViewBuilder content: () -> TupleView<(A, B)>) {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing initializer
56 | let views = content().value
57 | self.items = [AnyView(views.0), AnyView(views.1)]
/Users/admin/builder/spi-builder-workspace/Sources/EquallySpacedStack/EquallySpacedStack.swift:55:36: error: 'ViewBuilder' is only available in macOS 10.15 or newer
44 | }
45 |
46 | public struct EquallySpacedVStack: View {
| `- note: add @available attribute to enclosing struct
47 | let items: [AnyView]
48 |
:
53 | // MARK: TupleView support
54 |
55 | public init<A: View, B: View>(@ViewBuilder content: () -> TupleView<(A, B)>) {
| | `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing initializer
56 | let views = content().value
57 | self.items = [AnyView(views.0), AnyView(views.1)]
/Users/admin/builder/spi-builder-workspace/Sources/EquallySpacedStack/EquallySpacedStack.swift:55:63: error: 'TupleView' is only available in macOS 10.15 or newer
44 | }
45 |
46 | public struct EquallySpacedVStack: View {
| `- note: add @available attribute to enclosing struct
47 | let items: [AnyView]
48 |
:
53 | // MARK: TupleView support
54 |
55 | public init<A: View, B: View>(@ViewBuilder content: () -> TupleView<(A, B)>) {
| | `- error: 'TupleView' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing initializer
56 | let views = content().value
57 | self.items = [AnyView(views.0), AnyView(views.1)]
/Users/admin/builder/spi-builder-workspace/Sources/EquallySpacedStack/EquallySpacedStack.swift:60:20: error: 'View' is only available in macOS 10.15 or newer
44 | }
45 |
46 | public struct EquallySpacedVStack: View {
| `- note: add @available attribute to enclosing struct
47 | let items: [AnyView]
48 |
:
58 | }
59 |
60 | public init<A: View, B: View, C: View>(@ViewBuilder content: () -> TupleView<(A, B, C)>) {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing initializer
61 | let views = content().value
62 | self.items = [AnyView(views.0), AnyView(views.1), AnyView(views.2)]
/Users/admin/builder/spi-builder-workspace/Sources/EquallySpacedStack/EquallySpacedStack.swift:60:29: error: 'View' is only available in macOS 10.15 or newer
44 | }
45 |
46 | public struct EquallySpacedVStack: View {
| `- note: add @available attribute to enclosing struct
47 | let items: [AnyView]
48 |
:
58 | }
59 |
60 | public init<A: View, B: View, C: View>(@ViewBuilder content: () -> TupleView<(A, B, C)>) {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing initializer
61 | let views = content().value
62 | self.items = [AnyView(views.0), AnyView(views.1), AnyView(views.2)]
/Users/admin/builder/spi-builder-workspace/Sources/EquallySpacedStack/EquallySpacedStack.swift:60:38: error: 'View' is only available in macOS 10.15 or newer
44 | }
45 |
46 | public struct EquallySpacedVStack: View {
| `- note: add @available attribute to enclosing struct
47 | let items: [AnyView]
48 |
:
58 | }
59 |
60 | public init<A: View, B: View, C: View>(@ViewBuilder content: () -> TupleView<(A, B, C)>) {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing initializer
61 | let views = content().value
62 | self.items = [AnyView(views.0), AnyView(views.1), AnyView(views.2)]
/Users/admin/builder/spi-builder-workspace/Sources/EquallySpacedStack/EquallySpacedStack.swift:60:45: error: 'ViewBuilder' is only available in macOS 10.15 or newer
44 | }
45 |
46 | public struct EquallySpacedVStack: View {
| `- note: add @available attribute to enclosing struct
47 | let items: [AnyView]
48 |
:
58 | }
59 |
60 | public init<A: View, B: View, C: View>(@ViewBuilder content: () -> TupleView<(A, B, C)>) {
| | `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing initializer
61 | let views = content().value
62 | self.items = [AnyView(views.0), AnyView(views.1), AnyView(views.2)]
/Users/admin/builder/spi-builder-workspace/Sources/EquallySpacedStack/EquallySpacedStack.swift:60:72: error: 'TupleView' is only available in macOS 10.15 or newer
44 | }
45 |
46 | public struct EquallySpacedVStack: View {
| `- note: add @available attribute to enclosing struct
47 | let items: [AnyView]
48 |
:
58 | }
59 |
60 | public init<A: View, B: View, C: View>(@ViewBuilder content: () -> TupleView<(A, B, C)>) {
| | `- error: 'TupleView' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing initializer
61 | let views = content().value
62 | self.items = [AnyView(views.0), AnyView(views.1), AnyView(views.2)]
/Users/admin/builder/spi-builder-workspace/Sources/EquallySpacedStack/EquallySpacedStack.swift:65:20: error: 'View' is only available in macOS 10.15 or newer
44 | }
45 |
46 | public struct EquallySpacedVStack: View {
| `- note: add @available attribute to enclosing struct
47 | let items: [AnyView]
48 |
:
63 | }
64 |
65 | public init<A: View, B: View, C: View, D: View>(@ViewBuilder content: () -> TupleView<(A, B, C, D)>) {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing initializer
66 | let views = content().value
67 | self.items = [AnyView(views.0), AnyView(views.1), AnyView(views.2), AnyView(views.3)]
/Users/admin/builder/spi-builder-workspace/Sources/EquallySpacedStack/EquallySpacedStack.swift:65:29: error: 'View' is only available in macOS 10.15 or newer
44 | }
45 |
46 | public struct EquallySpacedVStack: View {
| `- note: add @available attribute to enclosing struct
47 | let items: [AnyView]
48 |
:
63 | }
64 |
65 | public init<A: View, B: View, C: View, D: View>(@ViewBuilder content: () -> TupleView<(A, B, C, D)>) {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing initializer
66 | let views = content().value
67 | self.items = [AnyView(views.0), AnyView(views.1), AnyView(views.2), AnyView(views.3)]
/Users/admin/builder/spi-builder-workspace/Sources/EquallySpacedStack/EquallySpacedStack.swift:65:38: error: 'View' is only available in macOS 10.15 or newer
44 | }
45 |
46 | public struct EquallySpacedVStack: View {
| `- note: add @available attribute to enclosing struct
47 | let items: [AnyView]
48 |
:
63 | }
64 |
65 | public init<A: View, B: View, C: View, D: View>(@ViewBuilder content: () -> TupleView<(A, B, C, D)>) {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing initializer
66 | let views = content().value
67 | self.items = [AnyView(views.0), AnyView(views.1), AnyView(views.2), AnyView(views.3)]
/Users/admin/builder/spi-builder-workspace/Sources/EquallySpacedStack/EquallySpacedStack.swift:65:47: error: 'View' is only available in macOS 10.15 or newer
44 | }
45 |
46 | public struct EquallySpacedVStack: View {
| `- note: add @available attribute to enclosing struct
47 | let items: [AnyView]
48 |
:
63 | }
64 |
65 | public init<A: View, B: View, C: View, D: View>(@ViewBuilder content: () -> TupleView<(A, B, C, D)>) {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing initializer
66 | let views = content().value
67 | self.items = [AnyView(views.0), AnyView(views.1), AnyView(views.2), AnyView(views.3)]
/Users/admin/builder/spi-builder-workspace/Sources/EquallySpacedStack/EquallySpacedStack.swift:65:54: error: 'ViewBuilder' is only available in macOS 10.15 or newer
44 | }
45 |
46 | public struct EquallySpacedVStack: View {
| `- note: add @available attribute to enclosing struct
47 | let items: [AnyView]
48 |
:
63 | }
64 |
65 | public init<A: View, B: View, C: View, D: View>(@ViewBuilder content: () -> TupleView<(A, B, C, D)>) {
| | `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing initializer
66 | let views = content().value
67 | self.items = [AnyView(views.0), AnyView(views.1), AnyView(views.2), AnyView(views.3)]
/Users/admin/builder/spi-builder-workspace/Sources/EquallySpacedStack/EquallySpacedStack.swift:65:81: error: 'TupleView' is only available in macOS 10.15 or newer
44 | }
45 |
46 | public struct EquallySpacedVStack: View {
| `- note: add @available attribute to enclosing struct
47 | let items: [AnyView]
48 |
:
63 | }
64 |
65 | public init<A: View, B: View, C: View, D: View>(@ViewBuilder content: () -> TupleView<(A, B, C, D)>) {
| | `- error: 'TupleView' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing initializer
66 | let views = content().value
67 | self.items = [AnyView(views.0), AnyView(views.1), AnyView(views.2), AnyView(views.3)]
/Users/admin/builder/spi-builder-workspace/Sources/EquallySpacedStack/EquallySpacedStack.swift:72:32: error: 'View' is only available in macOS 10.15 or newer
44 | }
45 |
46 | public struct EquallySpacedVStack: View {
| `- note: add @available attribute to enclosing struct
47 | let items: [AnyView]
48 |
:
70 | // MARK: ForEach support
71 |
72 | public init<Data, Content: View, ID : Hashable>(@ViewBuilder content: () -> ForEach<Data, ID, Content>) {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing initializer
73 | let views = content()
74 | self.items = views.data.map({ AnyView(views.content($0)) })
/Users/admin/builder/spi-builder-workspace/Sources/EquallySpacedStack/EquallySpacedStack.swift:72:54: error: 'ViewBuilder' is only available in macOS 10.15 or newer
44 | }
45 |
46 | public struct EquallySpacedVStack: View {
| `- note: add @available attribute to enclosing struct
47 | let items: [AnyView]
48 |
:
70 | // MARK: ForEach support
71 |
72 | public init<Data, Content: View, ID : Hashable>(@ViewBuilder content: () -> ForEach<Data, ID, Content>) {
| | `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing initializer
73 | let views = content()
74 | self.items = views.data.map({ AnyView(views.content($0)) })
/Users/admin/builder/spi-builder-workspace/Sources/EquallySpacedStack/EquallySpacedStack.swift:72:81: error: 'ForEach' is only available in macOS 10.15 or newer
44 | }
45 |
46 | public struct EquallySpacedVStack: View {
| `- note: add @available attribute to enclosing struct
47 | let items: [AnyView]
48 |
:
70 | // MARK: ForEach support
71 |
72 | public init<Data, Content: View, ID : Hashable>(@ViewBuilder content: () -> ForEach<Data, ID, Content>) {
| | `- error: 'ForEach' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing initializer
73 | let views = content()
74 | self.items = views.data.map({ AnyView(views.content($0)) })
/Users/admin/builder/spi-builder-workspace/Sources/EquallySpacedStack/EquallySpacedStack.swift:77:27: error: 'View' is only available in macOS 10.15 or newer
44 | }
45 |
46 | public struct EquallySpacedVStack: View {
| `- note: add @available attribute to enclosing struct
47 | let items: [AnyView]
48 |
:
75 | }
76 |
77 | public var body: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
78 | VStack {
79 | Spacer()
[4/4] Compiling EquallySpacedStack EquallySpacedStack.swift
/Users/admin/builder/spi-builder-workspace/Sources/EquallySpacedStack/EquallySpacedStack.swift:4:17: error: 'AnyView' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public struct EquallySpacedHStack: View {
| `- note: add @available attribute to enclosing struct
4 | let items: [AnyView]
| `- error: 'AnyView' is only available in macOS 10.15 or newer
5 |
6 | public init<A: View>(@ViewBuilder content: () -> A) { // this init will be used for any non-supported number of TupleView
/Users/admin/builder/spi-builder-workspace/Sources/EquallySpacedStack/EquallySpacedStack.swift:6:20: error: 'View' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public struct EquallySpacedHStack: View {
| `- note: add @available attribute to enclosing struct
4 | let items: [AnyView]
5 |
6 | public init<A: View>(@ViewBuilder content: () -> A) { // this init will be used for any non-supported number of TupleView
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing initializer
7 | let views = content()
8 | self.items = [AnyView(views)]
/Users/admin/builder/spi-builder-workspace/Sources/EquallySpacedStack/EquallySpacedStack.swift:6:27: error: 'ViewBuilder' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public struct EquallySpacedHStack: View {
| `- note: add @available attribute to enclosing struct
4 | let items: [AnyView]
5 |
6 | public init<A: View>(@ViewBuilder content: () -> A) { // this init will be used for any non-supported number of TupleView
| | `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing initializer
7 | let views = content()
8 | self.items = [AnyView(views)]
/Users/admin/builder/spi-builder-workspace/Sources/EquallySpacedStack/EquallySpacedStack.swift:13:20: error: 'View' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public struct EquallySpacedHStack: View {
| `- note: add @available attribute to enclosing struct
4 | let items: [AnyView]
5 |
:
11 | // MARK: TupleView support
12 |
13 | public init<A: View, B: View>(@ViewBuilder content: () -> TupleView<(A, B)>) {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing initializer
14 | let views = content().value
15 | self.items = [AnyView(views.0), AnyView(views.1)]
/Users/admin/builder/spi-builder-workspace/Sources/EquallySpacedStack/EquallySpacedStack.swift:13:29: error: 'View' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public struct EquallySpacedHStack: View {
| `- note: add @available attribute to enclosing struct
4 | let items: [AnyView]
5 |
:
11 | // MARK: TupleView support
12 |
13 | public init<A: View, B: View>(@ViewBuilder content: () -> TupleView<(A, B)>) {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing initializer
14 | let views = content().value
15 | self.items = [AnyView(views.0), AnyView(views.1)]
/Users/admin/builder/spi-builder-workspace/Sources/EquallySpacedStack/EquallySpacedStack.swift:13:36: error: 'ViewBuilder' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public struct EquallySpacedHStack: View {
| `- note: add @available attribute to enclosing struct
4 | let items: [AnyView]
5 |
:
11 | // MARK: TupleView support
12 |
13 | public init<A: View, B: View>(@ViewBuilder content: () -> TupleView<(A, B)>) {
| | `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing initializer
14 | let views = content().value
15 | self.items = [AnyView(views.0), AnyView(views.1)]
/Users/admin/builder/spi-builder-workspace/Sources/EquallySpacedStack/EquallySpacedStack.swift:13:63: error: 'TupleView' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public struct EquallySpacedHStack: View {
| `- note: add @available attribute to enclosing struct
4 | let items: [AnyView]
5 |
:
11 | // MARK: TupleView support
12 |
13 | public init<A: View, B: View>(@ViewBuilder content: () -> TupleView<(A, B)>) {
| | `- error: 'TupleView' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing initializer
14 | let views = content().value
15 | self.items = [AnyView(views.0), AnyView(views.1)]
/Users/admin/builder/spi-builder-workspace/Sources/EquallySpacedStack/EquallySpacedStack.swift:18:20: error: 'View' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public struct EquallySpacedHStack: View {
| `- note: add @available attribute to enclosing struct
4 | let items: [AnyView]
5 |
:
16 | }
17 |
18 | public init<A: View, B: View, C: View>(@ViewBuilder content: () -> TupleView<(A, B, C)>) {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing initializer
19 | let views = content().value
20 | self.items = [AnyView(views.0), AnyView(views.1), AnyView(views.2)]
/Users/admin/builder/spi-builder-workspace/Sources/EquallySpacedStack/EquallySpacedStack.swift:18:29: error: 'View' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public struct EquallySpacedHStack: View {
| `- note: add @available attribute to enclosing struct
4 | let items: [AnyView]
5 |
:
16 | }
17 |
18 | public init<A: View, B: View, C: View>(@ViewBuilder content: () -> TupleView<(A, B, C)>) {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing initializer
19 | let views = content().value
20 | self.items = [AnyView(views.0), AnyView(views.1), AnyView(views.2)]
/Users/admin/builder/spi-builder-workspace/Sources/EquallySpacedStack/EquallySpacedStack.swift:18:38: error: 'View' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public struct EquallySpacedHStack: View {
| `- note: add @available attribute to enclosing struct
4 | let items: [AnyView]
5 |
:
16 | }
17 |
18 | public init<A: View, B: View, C: View>(@ViewBuilder content: () -> TupleView<(A, B, C)>) {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing initializer
19 | let views = content().value
20 | self.items = [AnyView(views.0), AnyView(views.1), AnyView(views.2)]
/Users/admin/builder/spi-builder-workspace/Sources/EquallySpacedStack/EquallySpacedStack.swift:18:45: error: 'ViewBuilder' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public struct EquallySpacedHStack: View {
| `- note: add @available attribute to enclosing struct
4 | let items: [AnyView]
5 |
:
16 | }
17 |
18 | public init<A: View, B: View, C: View>(@ViewBuilder content: () -> TupleView<(A, B, C)>) {
| | `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing initializer
19 | let views = content().value
20 | self.items = [AnyView(views.0), AnyView(views.1), AnyView(views.2)]
/Users/admin/builder/spi-builder-workspace/Sources/EquallySpacedStack/EquallySpacedStack.swift:18:72: error: 'TupleView' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public struct EquallySpacedHStack: View {
| `- note: add @available attribute to enclosing struct
4 | let items: [AnyView]
5 |
:
16 | }
17 |
18 | public init<A: View, B: View, C: View>(@ViewBuilder content: () -> TupleView<(A, B, C)>) {
| | `- error: 'TupleView' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing initializer
19 | let views = content().value
20 | self.items = [AnyView(views.0), AnyView(views.1), AnyView(views.2)]
/Users/admin/builder/spi-builder-workspace/Sources/EquallySpacedStack/EquallySpacedStack.swift:23:20: error: 'View' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public struct EquallySpacedHStack: View {
| `- note: add @available attribute to enclosing struct
4 | let items: [AnyView]
5 |
:
21 | }
22 |
23 | public init<A: View, B: View, C: View, D: View>(@ViewBuilder content: () -> TupleView<(A, B, C, D)>) {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing initializer
24 | let views = content().value
25 | self.items = [AnyView(views.0), AnyView(views.1), AnyView(views.2), AnyView(views.3)]
/Users/admin/builder/spi-builder-workspace/Sources/EquallySpacedStack/EquallySpacedStack.swift:23:29: error: 'View' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public struct EquallySpacedHStack: View {
| `- note: add @available attribute to enclosing struct
4 | let items: [AnyView]
5 |
:
21 | }
22 |
23 | public init<A: View, B: View, C: View, D: View>(@ViewBuilder content: () -> TupleView<(A, B, C, D)>) {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing initializer
24 | let views = content().value
25 | self.items = [AnyView(views.0), AnyView(views.1), AnyView(views.2), AnyView(views.3)]
/Users/admin/builder/spi-builder-workspace/Sources/EquallySpacedStack/EquallySpacedStack.swift:23:38: error: 'View' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public struct EquallySpacedHStack: View {
| `- note: add @available attribute to enclosing struct
4 | let items: [AnyView]
5 |
:
21 | }
22 |
23 | public init<A: View, B: View, C: View, D: View>(@ViewBuilder content: () -> TupleView<(A, B, C, D)>) {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing initializer
24 | let views = content().value
25 | self.items = [AnyView(views.0), AnyView(views.1), AnyView(views.2), AnyView(views.3)]
/Users/admin/builder/spi-builder-workspace/Sources/EquallySpacedStack/EquallySpacedStack.swift:23:47: error: 'View' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public struct EquallySpacedHStack: View {
| `- note: add @available attribute to enclosing struct
4 | let items: [AnyView]
5 |
:
21 | }
22 |
23 | public init<A: View, B: View, C: View, D: View>(@ViewBuilder content: () -> TupleView<(A, B, C, D)>) {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing initializer
24 | let views = content().value
25 | self.items = [AnyView(views.0), AnyView(views.1), AnyView(views.2), AnyView(views.3)]
/Users/admin/builder/spi-builder-workspace/Sources/EquallySpacedStack/EquallySpacedStack.swift:23:54: error: 'ViewBuilder' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public struct EquallySpacedHStack: View {
| `- note: add @available attribute to enclosing struct
4 | let items: [AnyView]
5 |
:
21 | }
22 |
23 | public init<A: View, B: View, C: View, D: View>(@ViewBuilder content: () -> TupleView<(A, B, C, D)>) {
| | `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing initializer
24 | let views = content().value
25 | self.items = [AnyView(views.0), AnyView(views.1), AnyView(views.2), AnyView(views.3)]
/Users/admin/builder/spi-builder-workspace/Sources/EquallySpacedStack/EquallySpacedStack.swift:23:81: error: 'TupleView' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public struct EquallySpacedHStack: View {
| `- note: add @available attribute to enclosing struct
4 | let items: [AnyView]
5 |
:
21 | }
22 |
23 | public init<A: View, B: View, C: View, D: View>(@ViewBuilder content: () -> TupleView<(A, B, C, D)>) {
| | `- error: 'TupleView' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing initializer
24 | let views = content().value
25 | self.items = [AnyView(views.0), AnyView(views.1), AnyView(views.2), AnyView(views.3)]
/Users/admin/builder/spi-builder-workspace/Sources/EquallySpacedStack/EquallySpacedStack.swift:30:32: error: 'View' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public struct EquallySpacedHStack: View {
| `- note: add @available attribute to enclosing struct
4 | let items: [AnyView]
5 |
:
28 | // MARK: ForEach support
29 |
30 | public init<Data, Content: View, ID : Hashable>(@ViewBuilder content: () -> ForEach<Data, ID, Content>) {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing initializer
31 | let views = content()
32 | self.items = views.data.map({ AnyView(views.content($0)) })
/Users/admin/builder/spi-builder-workspace/Sources/EquallySpacedStack/EquallySpacedStack.swift:30:54: error: 'ViewBuilder' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public struct EquallySpacedHStack: View {
| `- note: add @available attribute to enclosing struct
4 | let items: [AnyView]
5 |
:
28 | // MARK: ForEach support
29 |
30 | public init<Data, Content: View, ID : Hashable>(@ViewBuilder content: () -> ForEach<Data, ID, Content>) {
| | `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing initializer
31 | let views = content()
32 | self.items = views.data.map({ AnyView(views.content($0)) })
/Users/admin/builder/spi-builder-workspace/Sources/EquallySpacedStack/EquallySpacedStack.swift:30:81: error: 'ForEach' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public struct EquallySpacedHStack: View {
| `- note: add @available attribute to enclosing struct
4 | let items: [AnyView]
5 |
:
28 | // MARK: ForEach support
29 |
30 | public init<Data, Content: View, ID : Hashable>(@ViewBuilder content: () -> ForEach<Data, ID, Content>) {
| | `- error: 'ForEach' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing initializer
31 | let views = content()
32 | self.items = views.data.map({ AnyView(views.content($0)) })
/Users/admin/builder/spi-builder-workspace/Sources/EquallySpacedStack/EquallySpacedStack.swift:35:27: error: 'View' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public struct EquallySpacedHStack: View {
| `- note: add @available attribute to enclosing struct
4 | let items: [AnyView]
5 |
:
33 | }
34 |
35 | public var body: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
36 | HStack {
37 | Spacer()
/Users/admin/builder/spi-builder-workspace/Sources/EquallySpacedStack/EquallySpacedStack.swift:47:17: error: 'AnyView' is only available in macOS 10.15 or newer
44 | }
45 |
46 | public struct EquallySpacedVStack: View {
| `- note: add @available attribute to enclosing struct
47 | let items: [AnyView]
| `- error: 'AnyView' is only available in macOS 10.15 or newer
48 |
49 | public init<A: View>(@ViewBuilder content: () -> A) { // this init will be used for any non-supported number of TupleView
/Users/admin/builder/spi-builder-workspace/Sources/EquallySpacedStack/EquallySpacedStack.swift:49:20: error: 'View' is only available in macOS 10.15 or newer
44 | }
45 |
46 | public struct EquallySpacedVStack: View {
| `- note: add @available attribute to enclosing struct
47 | let items: [AnyView]
48 |
49 | public init<A: View>(@ViewBuilder content: () -> A) { // this init will be used for any non-supported number of TupleView
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing initializer
50 | self.items = [AnyView(content())]
51 | }
/Users/admin/builder/spi-builder-workspace/Sources/EquallySpacedStack/EquallySpacedStack.swift:49:27: error: 'ViewBuilder' is only available in macOS 10.15 or newer
44 | }
45 |
46 | public struct EquallySpacedVStack: View {
| `- note: add @available attribute to enclosing struct
47 | let items: [AnyView]
48 |
49 | public init<A: View>(@ViewBuilder content: () -> A) { // this init will be used for any non-supported number of TupleView
| | `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing initializer
50 | self.items = [AnyView(content())]
51 | }
/Users/admin/builder/spi-builder-workspace/Sources/EquallySpacedStack/EquallySpacedStack.swift:55:20: error: 'View' is only available in macOS 10.15 or newer
44 | }
45 |
46 | public struct EquallySpacedVStack: View {
| `- note: add @available attribute to enclosing struct
47 | let items: [AnyView]
48 |
:
53 | // MARK: TupleView support
54 |
55 | public init<A: View, B: View>(@ViewBuilder content: () -> TupleView<(A, B)>) {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing initializer
56 | let views = content().value
57 | self.items = [AnyView(views.0), AnyView(views.1)]
/Users/admin/builder/spi-builder-workspace/Sources/EquallySpacedStack/EquallySpacedStack.swift:55:29: error: 'View' is only available in macOS 10.15 or newer
44 | }
45 |
46 | public struct EquallySpacedVStack: View {
| `- note: add @available attribute to enclosing struct
47 | let items: [AnyView]
48 |
:
53 | // MARK: TupleView support
54 |
55 | public init<A: View, B: View>(@ViewBuilder content: () -> TupleView<(A, B)>) {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing initializer
56 | let views = content().value
57 | self.items = [AnyView(views.0), AnyView(views.1)]
/Users/admin/builder/spi-builder-workspace/Sources/EquallySpacedStack/EquallySpacedStack.swift:55:36: error: 'ViewBuilder' is only available in macOS 10.15 or newer
44 | }
45 |
46 | public struct EquallySpacedVStack: View {
| `- note: add @available attribute to enclosing struct
47 | let items: [AnyView]
48 |
:
53 | // MARK: TupleView support
54 |
55 | public init<A: View, B: View>(@ViewBuilder content: () -> TupleView<(A, B)>) {
| | `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing initializer
56 | let views = content().value
57 | self.items = [AnyView(views.0), AnyView(views.1)]
/Users/admin/builder/spi-builder-workspace/Sources/EquallySpacedStack/EquallySpacedStack.swift:55:63: error: 'TupleView' is only available in macOS 10.15 or newer
44 | }
45 |
46 | public struct EquallySpacedVStack: View {
| `- note: add @available attribute to enclosing struct
47 | let items: [AnyView]
48 |
:
53 | // MARK: TupleView support
54 |
55 | public init<A: View, B: View>(@ViewBuilder content: () -> TupleView<(A, B)>) {
| | `- error: 'TupleView' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing initializer
56 | let views = content().value
57 | self.items = [AnyView(views.0), AnyView(views.1)]
/Users/admin/builder/spi-builder-workspace/Sources/EquallySpacedStack/EquallySpacedStack.swift:60:20: error: 'View' is only available in macOS 10.15 or newer
44 | }
45 |
46 | public struct EquallySpacedVStack: View {
| `- note: add @available attribute to enclosing struct
47 | let items: [AnyView]
48 |
:
58 | }
59 |
60 | public init<A: View, B: View, C: View>(@ViewBuilder content: () -> TupleView<(A, B, C)>) {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing initializer
61 | let views = content().value
62 | self.items = [AnyView(views.0), AnyView(views.1), AnyView(views.2)]
/Users/admin/builder/spi-builder-workspace/Sources/EquallySpacedStack/EquallySpacedStack.swift:60:29: error: 'View' is only available in macOS 10.15 or newer
44 | }
45 |
46 | public struct EquallySpacedVStack: View {
| `- note: add @available attribute to enclosing struct
47 | let items: [AnyView]
48 |
:
58 | }
59 |
60 | public init<A: View, B: View, C: View>(@ViewBuilder content: () -> TupleView<(A, B, C)>) {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing initializer
61 | let views = content().value
62 | self.items = [AnyView(views.0), AnyView(views.1), AnyView(views.2)]
/Users/admin/builder/spi-builder-workspace/Sources/EquallySpacedStack/EquallySpacedStack.swift:60:38: error: 'View' is only available in macOS 10.15 or newer
44 | }
45 |
46 | public struct EquallySpacedVStack: View {
| `- note: add @available attribute to enclosing struct
47 | let items: [AnyView]
48 |
:
58 | }
59 |
60 | public init<A: View, B: View, C: View>(@ViewBuilder content: () -> TupleView<(A, B, C)>) {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing initializer
61 | let views = content().value
62 | self.items = [AnyView(views.0), AnyView(views.1), AnyView(views.2)]
/Users/admin/builder/spi-builder-workspace/Sources/EquallySpacedStack/EquallySpacedStack.swift:60:45: error: 'ViewBuilder' is only available in macOS 10.15 or newer
44 | }
45 |
46 | public struct EquallySpacedVStack: View {
| `- note: add @available attribute to enclosing struct
47 | let items: [AnyView]
48 |
:
58 | }
59 |
60 | public init<A: View, B: View, C: View>(@ViewBuilder content: () -> TupleView<(A, B, C)>) {
| | `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing initializer
61 | let views = content().value
62 | self.items = [AnyView(views.0), AnyView(views.1), AnyView(views.2)]
/Users/admin/builder/spi-builder-workspace/Sources/EquallySpacedStack/EquallySpacedStack.swift:60:72: error: 'TupleView' is only available in macOS 10.15 or newer
44 | }
45 |
46 | public struct EquallySpacedVStack: View {
| `- note: add @available attribute to enclosing struct
47 | let items: [AnyView]
48 |
:
58 | }
59 |
60 | public init<A: View, B: View, C: View>(@ViewBuilder content: () -> TupleView<(A, B, C)>) {
| | `- error: 'TupleView' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing initializer
61 | let views = content().value
62 | self.items = [AnyView(views.0), AnyView(views.1), AnyView(views.2)]
/Users/admin/builder/spi-builder-workspace/Sources/EquallySpacedStack/EquallySpacedStack.swift:65:20: error: 'View' is only available in macOS 10.15 or newer
44 | }
45 |
46 | public struct EquallySpacedVStack: View {
| `- note: add @available attribute to enclosing struct
47 | let items: [AnyView]
48 |
:
63 | }
64 |
65 | public init<A: View, B: View, C: View, D: View>(@ViewBuilder content: () -> TupleView<(A, B, C, D)>) {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing initializer
66 | let views = content().value
67 | self.items = [AnyView(views.0), AnyView(views.1), AnyView(views.2), AnyView(views.3)]
/Users/admin/builder/spi-builder-workspace/Sources/EquallySpacedStack/EquallySpacedStack.swift:65:29: error: 'View' is only available in macOS 10.15 or newer
44 | }
45 |
46 | public struct EquallySpacedVStack: View {
| `- note: add @available attribute to enclosing struct
47 | let items: [AnyView]
48 |
:
63 | }
64 |
65 | public init<A: View, B: View, C: View, D: View>(@ViewBuilder content: () -> TupleView<(A, B, C, D)>) {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing initializer
66 | let views = content().value
67 | self.items = [AnyView(views.0), AnyView(views.1), AnyView(views.2), AnyView(views.3)]
/Users/admin/builder/spi-builder-workspace/Sources/EquallySpacedStack/EquallySpacedStack.swift:65:38: error: 'View' is only available in macOS 10.15 or newer
44 | }
45 |
46 | public struct EquallySpacedVStack: View {
| `- note: add @available attribute to enclosing struct
47 | let items: [AnyView]
48 |
:
63 | }
64 |
65 | public init<A: View, B: View, C: View, D: View>(@ViewBuilder content: () -> TupleView<(A, B, C, D)>) {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing initializer
66 | let views = content().value
67 | self.items = [AnyView(views.0), AnyView(views.1), AnyView(views.2), AnyView(views.3)]
/Users/admin/builder/spi-builder-workspace/Sources/EquallySpacedStack/EquallySpacedStack.swift:65:47: error: 'View' is only available in macOS 10.15 or newer
44 | }
45 |
46 | public struct EquallySpacedVStack: View {
| `- note: add @available attribute to enclosing struct
47 | let items: [AnyView]
48 |
:
63 | }
64 |
65 | public init<A: View, B: View, C: View, D: View>(@ViewBuilder content: () -> TupleView<(A, B, C, D)>) {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing initializer
66 | let views = content().value
67 | self.items = [AnyView(views.0), AnyView(views.1), AnyView(views.2), AnyView(views.3)]
/Users/admin/builder/spi-builder-workspace/Sources/EquallySpacedStack/EquallySpacedStack.swift:65:54: error: 'ViewBuilder' is only available in macOS 10.15 or newer
44 | }
45 |
46 | public struct EquallySpacedVStack: View {
| `- note: add @available attribute to enclosing struct
47 | let items: [AnyView]
48 |
:
63 | }
64 |
65 | public init<A: View, B: View, C: View, D: View>(@ViewBuilder content: () -> TupleView<(A, B, C, D)>) {
| | `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing initializer
66 | let views = content().value
67 | self.items = [AnyView(views.0), AnyView(views.1), AnyView(views.2), AnyView(views.3)]
/Users/admin/builder/spi-builder-workspace/Sources/EquallySpacedStack/EquallySpacedStack.swift:65:81: error: 'TupleView' is only available in macOS 10.15 or newer
44 | }
45 |
46 | public struct EquallySpacedVStack: View {
| `- note: add @available attribute to enclosing struct
47 | let items: [AnyView]
48 |
:
63 | }
64 |
65 | public init<A: View, B: View, C: View, D: View>(@ViewBuilder content: () -> TupleView<(A, B, C, D)>) {
| | `- error: 'TupleView' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing initializer
66 | let views = content().value
67 | self.items = [AnyView(views.0), AnyView(views.1), AnyView(views.2), AnyView(views.3)]
/Users/admin/builder/spi-builder-workspace/Sources/EquallySpacedStack/EquallySpacedStack.swift:72:32: error: 'View' is only available in macOS 10.15 or newer
44 | }
45 |
46 | public struct EquallySpacedVStack: View {
| `- note: add @available attribute to enclosing struct
47 | let items: [AnyView]
48 |
:
70 | // MARK: ForEach support
71 |
72 | public init<Data, Content: View, ID : Hashable>(@ViewBuilder content: () -> ForEach<Data, ID, Content>) {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing initializer
73 | let views = content()
74 | self.items = views.data.map({ AnyView(views.content($0)) })
/Users/admin/builder/spi-builder-workspace/Sources/EquallySpacedStack/EquallySpacedStack.swift:72:54: error: 'ViewBuilder' is only available in macOS 10.15 or newer
44 | }
45 |
46 | public struct EquallySpacedVStack: View {
| `- note: add @available attribute to enclosing struct
47 | let items: [AnyView]
48 |
:
70 | // MARK: ForEach support
71 |
72 | public init<Data, Content: View, ID : Hashable>(@ViewBuilder content: () -> ForEach<Data, ID, Content>) {
| | `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing initializer
73 | let views = content()
74 | self.items = views.data.map({ AnyView(views.content($0)) })
/Users/admin/builder/spi-builder-workspace/Sources/EquallySpacedStack/EquallySpacedStack.swift:72:81: error: 'ForEach' is only available in macOS 10.15 or newer
44 | }
45 |
46 | public struct EquallySpacedVStack: View {
| `- note: add @available attribute to enclosing struct
47 | let items: [AnyView]
48 |
:
70 | // MARK: ForEach support
71 |
72 | public init<Data, Content: View, ID : Hashable>(@ViewBuilder content: () -> ForEach<Data, ID, Content>) {
| | `- error: 'ForEach' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing initializer
73 | let views = content()
74 | self.items = views.data.map({ AnyView(views.content($0)) })
/Users/admin/builder/spi-builder-workspace/Sources/EquallySpacedStack/EquallySpacedStack.swift:77:27: error: 'View' is only available in macOS 10.15 or newer
44 | }
45 |
46 | public struct EquallySpacedVStack: View {
| `- note: add @available attribute to enclosing struct
47 | let items: [AnyView]
48 |
:
75 | }
76 |
77 | public var body: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
78 | VStack {
79 | Spacer()
/Users/admin/builder/spi-builder-workspace/Sources/EquallySpacedStack/EquallySpacedStack.swift:8:23: error: 'AnyView' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public struct EquallySpacedHStack: View {
| `- note: add @available attribute to enclosing struct
4 | let items: [AnyView]
5 |
6 | public init<A: View>(@ViewBuilder content: () -> A) { // this init will be used for any non-supported number of TupleView
| `- note: add @available attribute to enclosing initializer
7 | let views = content()
8 | self.items = [AnyView(views)]
| |- error: 'AnyView' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
9 | }
10 |
/Users/admin/builder/spi-builder-workspace/Sources/EquallySpacedStack/EquallySpacedStack.swift:15:23: error: 'AnyView' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public struct EquallySpacedHStack: View {
| `- note: add @available attribute to enclosing struct
4 | let items: [AnyView]
5 |
:
11 | // MARK: TupleView support
12 |
13 | public init<A: View, B: View>(@ViewBuilder content: () -> TupleView<(A, B)>) {
| `- note: add @available attribute to enclosing initializer
14 | let views = content().value
15 | self.items = [AnyView(views.0), AnyView(views.1)]
| |- error: 'AnyView' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
16 | }
17 |
/Users/admin/builder/spi-builder-workspace/Sources/EquallySpacedStack/EquallySpacedStack.swift:15:41: error: 'AnyView' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public struct EquallySpacedHStack: View {
| `- note: add @available attribute to enclosing struct
4 | let items: [AnyView]
5 |
:
11 | // MARK: TupleView support
12 |
13 | public init<A: View, B: View>(@ViewBuilder content: () -> TupleView<(A, B)>) {
| `- note: add @available attribute to enclosing initializer
14 | let views = content().value
15 | self.items = [AnyView(views.0), AnyView(views.1)]
| |- error: 'AnyView' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
16 | }
17 |
/Users/admin/builder/spi-builder-workspace/Sources/EquallySpacedStack/EquallySpacedStack.swift:20:23: error: 'AnyView' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public struct EquallySpacedHStack: View {
| `- note: add @available attribute to enclosing struct
4 | let items: [AnyView]
5 |
:
16 | }
17 |
18 | public init<A: View, B: View, C: View>(@ViewBuilder content: () -> TupleView<(A, B, C)>) {
| `- note: add @available attribute to enclosing initializer
19 | let views = content().value
20 | self.items = [AnyView(views.0), AnyView(views.1), AnyView(views.2)]
| |- error: 'AnyView' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
21 | }
22 |
/Users/admin/builder/spi-builder-workspace/Sources/EquallySpacedStack/EquallySpacedStack.swift:20:41: error: 'AnyView' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public struct EquallySpacedHStack: View {
| `- note: add @available attribute to enclosing struct
4 | let items: [AnyView]
5 |
:
16 | }
17 |
18 | public init<A: View, B: View, C: View>(@ViewBuilder content: () -> TupleView<(A, B, C)>) {
| `- note: add @available attribute to enclosing initializer
19 | let views = content().value
20 | self.items = [AnyView(views.0), AnyView(views.1), AnyView(views.2)]
| |- error: 'AnyView' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
21 | }
22 |
/Users/admin/builder/spi-builder-workspace/Sources/EquallySpacedStack/EquallySpacedStack.swift:20:59: error: 'AnyView' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public struct EquallySpacedHStack: View {
| `- note: add @available attribute to enclosing struct
4 | let items: [AnyView]
5 |
:
16 | }
17 |
18 | public init<A: View, B: View, C: View>(@ViewBuilder content: () -> TupleView<(A, B, C)>) {
| `- note: add @available attribute to enclosing initializer
19 | let views = content().value
20 | self.items = [AnyView(views.0), AnyView(views.1), AnyView(views.2)]
| |- error: 'AnyView' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
21 | }
22 |
/Users/admin/builder/spi-builder-workspace/Sources/EquallySpacedStack/EquallySpacedStack.swift:25:23: error: 'AnyView' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public struct EquallySpacedHStack: View {
| `- note: add @available attribute to enclosing struct
4 | let items: [AnyView]
5 |
:
21 | }
22 |
23 | public init<A: View, B: View, C: View, D: View>(@ViewBuilder content: () -> TupleView<(A, B, C, D)>) {
| `- note: add @available attribute to enclosing initializer
24 | let views = content().value
25 | self.items = [AnyView(views.0), AnyView(views.1), AnyView(views.2), AnyView(views.3)]
| |- error: 'AnyView' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
26 | }
27 |
/Users/admin/builder/spi-builder-workspace/Sources/EquallySpacedStack/EquallySpacedStack.swift:25:41: error: 'AnyView' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public struct EquallySpacedHStack: View {
| `- note: add @available attribute to enclosing struct
4 | let items: [AnyView]
5 |
:
21 | }
22 |
23 | public init<A: View, B: View, C: View, D: View>(@ViewBuilder content: () -> TupleView<(A, B, C, D)>) {
| `- note: add @available attribute to enclosing initializer
24 | let views = content().value
25 | self.items = [AnyView(views.0), AnyView(views.1), AnyView(views.2), AnyView(views.3)]
| |- error: 'AnyView' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
26 | }
27 |
/Users/admin/builder/spi-builder-workspace/Sources/EquallySpacedStack/EquallySpacedStack.swift:25:59: error: 'AnyView' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public struct EquallySpacedHStack: View {
| `- note: add @available attribute to enclosing struct
4 | let items: [AnyView]
5 |
:
21 | }
22 |
23 | public init<A: View, B: View, C: View, D: View>(@ViewBuilder content: () -> TupleView<(A, B, C, D)>) {
| `- note: add @available attribute to enclosing initializer
24 | let views = content().value
25 | self.items = [AnyView(views.0), AnyView(views.1), AnyView(views.2), AnyView(views.3)]
| |- error: 'AnyView' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
26 | }
27 |
/Users/admin/builder/spi-builder-workspace/Sources/EquallySpacedStack/EquallySpacedStack.swift:25:77: error: 'AnyView' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public struct EquallySpacedHStack: View {
| `- note: add @available attribute to enclosing struct
4 | let items: [AnyView]
5 |
:
21 | }
22 |
23 | public init<A: View, B: View, C: View, D: View>(@ViewBuilder content: () -> TupleView<(A, B, C, D)>) {
| `- note: add @available attribute to enclosing initializer
24 | let views = content().value
25 | self.items = [AnyView(views.0), AnyView(views.1), AnyView(views.2), AnyView(views.3)]
| |- error: 'AnyView' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
26 | }
27 |
/Users/admin/builder/spi-builder-workspace/Sources/EquallySpacedStack/EquallySpacedStack.swift:32:39: error: 'AnyView' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public struct EquallySpacedHStack: View {
| `- note: add @available attribute to enclosing struct
4 | let items: [AnyView]
5 |
:
28 | // MARK: ForEach support
29 |
30 | public init<Data, Content: View, ID : Hashable>(@ViewBuilder content: () -> ForEach<Data, ID, Content>) {
| `- note: add @available attribute to enclosing initializer
31 | let views = content()
32 | self.items = views.data.map({ AnyView(views.content($0)) })
| |- error: 'AnyView' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
33 | }
34 |
/Users/admin/builder/spi-builder-workspace/Sources/EquallySpacedStack/EquallySpacedStack.swift:36:9: error: 'HStack' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public struct EquallySpacedHStack: View {
| `- note: add @available attribute to enclosing struct
4 | let items: [AnyView]
5 |
:
33 | }
34 |
35 | public var body: some View {
| `- note: add @available attribute to enclosing property
36 | HStack {
| |- error: 'HStack' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
37 | Spacer()
38 | ForEach(0..<items.count) { index in
/Users/admin/builder/spi-builder-workspace/Sources/EquallySpacedStack/EquallySpacedStack.swift:37:13: 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
1 | import SwiftUI
2 |
3 | public struct EquallySpacedHStack: View {
| `- note: add @available attribute to enclosing struct
4 | let items: [AnyView]
5 |
:
33 | }
34 |
35 | public var body: some View {
| `- note: add @available attribute to enclosing property
36 | HStack {
37 | 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
38 | ForEach(0..<items.count) { index in
39 | self.items[index]
/Users/admin/builder/spi-builder-workspace/Sources/EquallySpacedStack/EquallySpacedStack.swift:37:13: error: 'Spacer' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public struct EquallySpacedHStack: View {
| `- note: add @available attribute to enclosing struct
4 | let items: [AnyView]
5 |
:
33 | }
34 |
35 | public var body: some View {
| `- note: add @available attribute to enclosing property
36 | HStack {
37 | Spacer()
| |- error: 'Spacer' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
38 | ForEach(0..<items.count) { index in
39 | self.items[index]
/Users/admin/builder/spi-builder-workspace/Sources/EquallySpacedStack/EquallySpacedStack.swift:38:13: warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
1 | import SwiftUI
2 |
3 | public struct EquallySpacedHStack: View {
| `- note: add @available attribute to enclosing struct
4 | let items: [AnyView]
5 |
:
33 | }
34 |
35 | public var body: some View {
| `- note: add @available attribute to enclosing property
36 | HStack {
37 | Spacer()
38 | ForEach(0..<items.count) { index in
| |- warning: conformance of 'ForEach<Data, ID, Content>' 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
39 | self.items[index]
40 | Spacer()
/Users/admin/builder/spi-builder-workspace/Sources/EquallySpacedStack/EquallySpacedStack.swift:38:13: error: 'ForEach' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public struct EquallySpacedHStack: View {
| `- note: add @available attribute to enclosing struct
4 | let items: [AnyView]
5 |
:
33 | }
34 |
35 | public var body: some View {
| `- note: add @available attribute to enclosing property
36 | HStack {
37 | Spacer()
38 | ForEach(0..<items.count) { index in
| |- error: 'ForEach' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
39 | self.items[index]
40 | Spacer()
/Users/admin/builder/spi-builder-workspace/Sources/EquallySpacedStack/EquallySpacedStack.swift:38:13: error: 'init(_:content:)' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public struct EquallySpacedHStack: View {
| `- note: add @available attribute to enclosing struct
4 | let items: [AnyView]
5 |
:
33 | }
34 |
35 | public var body: some View {
| `- note: add @available attribute to enclosing property
36 | HStack {
37 | Spacer()
38 | ForEach(0..<items.count) { index in
| |- error: 'init(_:content:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
39 | self.items[index]
40 | Spacer()
/Users/admin/builder/spi-builder-workspace/Sources/EquallySpacedStack/EquallySpacedStack.swift:40: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
1 | import SwiftUI
2 |
3 | public struct EquallySpacedHStack: View {
| `- note: add @available attribute to enclosing struct
4 | let items: [AnyView]
5 |
:
33 | }
34 |
35 | public var body: some View {
| `- note: add @available attribute to enclosing property
36 | HStack {
37 | Spacer()
38 | ForEach(0..<items.count) { index in
39 | self.items[index]
40 | 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
41 | }
42 | }
/Users/admin/builder/spi-builder-workspace/Sources/EquallySpacedStack/EquallySpacedStack.swift:40:17: error: 'Spacer' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public struct EquallySpacedHStack: View {
| `- note: add @available attribute to enclosing struct
4 | let items: [AnyView]
5 |
:
33 | }
34 |
35 | public var body: some View {
| `- note: add @available attribute to enclosing property
36 | HStack {
37 | Spacer()
38 | ForEach(0..<items.count) { index in
39 | self.items[index]
40 | Spacer()
| |- error: 'Spacer' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
41 | }
42 | }
/Users/admin/builder/spi-builder-workspace/Sources/EquallySpacedStack/EquallySpacedStack.swift:38:38: 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
1 | import SwiftUI
2 |
3 | public struct EquallySpacedHStack: View {
| `- note: add @available attribute to enclosing struct
4 | let items: [AnyView]
5 |
:
33 | }
34 |
35 | public var body: some View {
| `- note: add @available attribute to enclosing property
36 | HStack {
37 | Spacer()
38 | ForEach(0..<items.count) { index in
| |- 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
39 | self.items[index]
40 | Spacer()
/Users/admin/builder/spi-builder-workspace/Sources/EquallySpacedStack/EquallySpacedStack.swift:36:16: 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
1 | import SwiftUI
2 |
3 | public struct EquallySpacedHStack: View {
| `- note: add @available attribute to enclosing struct
4 | let items: [AnyView]
5 |
:
33 | }
34 |
35 | public var body: some View {
| `- note: add @available attribute to enclosing property
36 | HStack {
| |- 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
37 | Spacer()
38 | ForEach(0..<items.count) { index in
/Users/admin/builder/spi-builder-workspace/Sources/EquallySpacedStack/EquallySpacedStack.swift:36:16: warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
1 | import SwiftUI
2 |
3 | public struct EquallySpacedHStack: View {
| `- note: add @available attribute to enclosing struct
4 | let items: [AnyView]
5 |
:
33 | }
34 |
35 | public var body: some View {
| `- note: add @available attribute to enclosing property
36 | HStack {
| |- warning: conformance of 'ForEach<Data, ID, Content>' 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
37 | Spacer()
38 | ForEach(0..<items.count) { index in
/Users/admin/builder/spi-builder-workspace/Sources/EquallySpacedStack/EquallySpacedStack.swift:50:23: error: 'AnyView' is only available in macOS 10.15 or newer
44 | }
45 |
46 | public struct EquallySpacedVStack: View {
| `- note: add @available attribute to enclosing struct
47 | let items: [AnyView]
48 |
49 | public init<A: View>(@ViewBuilder content: () -> A) { // this init will be used for any non-supported number of TupleView
| `- note: add @available attribute to enclosing initializer
50 | self.items = [AnyView(content())]
| |- error: 'AnyView' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
51 | }
52 |
/Users/admin/builder/spi-builder-workspace/Sources/EquallySpacedStack/EquallySpacedStack.swift:57:23: error: 'AnyView' is only available in macOS 10.15 or newer
44 | }
45 |
46 | public struct EquallySpacedVStack: View {
| `- note: add @available attribute to enclosing struct
47 | let items: [AnyView]
48 |
:
53 | // MARK: TupleView support
54 |
55 | public init<A: View, B: View>(@ViewBuilder content: () -> TupleView<(A, B)>) {
| `- note: add @available attribute to enclosing initializer
56 | let views = content().value
57 | self.items = [AnyView(views.0), AnyView(views.1)]
| |- error: 'AnyView' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
58 | }
59 |
/Users/admin/builder/spi-builder-workspace/Sources/EquallySpacedStack/EquallySpacedStack.swift:57:41: error: 'AnyView' is only available in macOS 10.15 or newer
44 | }
45 |
46 | public struct EquallySpacedVStack: View {
| `- note: add @available attribute to enclosing struct
47 | let items: [AnyView]
48 |
:
53 | // MARK: TupleView support
54 |
55 | public init<A: View, B: View>(@ViewBuilder content: () -> TupleView<(A, B)>) {
| `- note: add @available attribute to enclosing initializer
56 | let views = content().value
57 | self.items = [AnyView(views.0), AnyView(views.1)]
| |- error: 'AnyView' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
58 | }
59 |
/Users/admin/builder/spi-builder-workspace/Sources/EquallySpacedStack/EquallySpacedStack.swift:62:23: error: 'AnyView' is only available in macOS 10.15 or newer
44 | }
45 |
46 | public struct EquallySpacedVStack: View {
| `- note: add @available attribute to enclosing struct
47 | let items: [AnyView]
48 |
:
58 | }
59 |
60 | public init<A: View, B: View, C: View>(@ViewBuilder content: () -> TupleView<(A, B, C)>) {
| `- note: add @available attribute to enclosing initializer
61 | let views = content().value
62 | self.items = [AnyView(views.0), AnyView(views.1), AnyView(views.2)]
| |- error: 'AnyView' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
63 | }
64 |
/Users/admin/builder/spi-builder-workspace/Sources/EquallySpacedStack/EquallySpacedStack.swift:62:41: error: 'AnyView' is only available in macOS 10.15 or newer
44 | }
45 |
46 | public struct EquallySpacedVStack: View {
| `- note: add @available attribute to enclosing struct
47 | let items: [AnyView]
48 |
:
58 | }
59 |
60 | public init<A: View, B: View, C: View>(@ViewBuilder content: () -> TupleView<(A, B, C)>) {
| `- note: add @available attribute to enclosing initializer
61 | let views = content().value
62 | self.items = [AnyView(views.0), AnyView(views.1), AnyView(views.2)]
| |- error: 'AnyView' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
63 | }
64 |
/Users/admin/builder/spi-builder-workspace/Sources/EquallySpacedStack/EquallySpacedStack.swift:62:59: error: 'AnyView' is only available in macOS 10.15 or newer
44 | }
45 |
46 | public struct EquallySpacedVStack: View {
| `- note: add @available attribute to enclosing struct
47 | let items: [AnyView]
48 |
:
58 | }
59 |
60 | public init<A: View, B: View, C: View>(@ViewBuilder content: () -> TupleView<(A, B, C)>) {
| `- note: add @available attribute to enclosing initializer
61 | let views = content().value
62 | self.items = [AnyView(views.0), AnyView(views.1), AnyView(views.2)]
| |- error: 'AnyView' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
63 | }
64 |
/Users/admin/builder/spi-builder-workspace/Sources/EquallySpacedStack/EquallySpacedStack.swift:67:23: error: 'AnyView' is only available in macOS 10.15 or newer
44 | }
45 |
46 | public struct EquallySpacedVStack: View {
| `- note: add @available attribute to enclosing struct
47 | let items: [AnyView]
48 |
:
63 | }
64 |
65 | public init<A: View, B: View, C: View, D: View>(@ViewBuilder content: () -> TupleView<(A, B, C, D)>) {
| `- note: add @available attribute to enclosing initializer
66 | let views = content().value
67 | self.items = [AnyView(views.0), AnyView(views.1), AnyView(views.2), AnyView(views.3)]
| |- error: 'AnyView' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
68 | }
69 |
/Users/admin/builder/spi-builder-workspace/Sources/EquallySpacedStack/EquallySpacedStack.swift:67:41: error: 'AnyView' is only available in macOS 10.15 or newer
44 | }
45 |
46 | public struct EquallySpacedVStack: View {
| `- note: add @available attribute to enclosing struct
47 | let items: [AnyView]
48 |
:
63 | }
64 |
65 | public init<A: View, B: View, C: View, D: View>(@ViewBuilder content: () -> TupleView<(A, B, C, D)>) {
| `- note: add @available attribute to enclosing initializer
66 | let views = content().value
67 | self.items = [AnyView(views.0), AnyView(views.1), AnyView(views.2), AnyView(views.3)]
| |- error: 'AnyView' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
68 | }
69 |
/Users/admin/builder/spi-builder-workspace/Sources/EquallySpacedStack/EquallySpacedStack.swift:67:59: error: 'AnyView' is only available in macOS 10.15 or newer
44 | }
45 |
46 | public struct EquallySpacedVStack: View {
| `- note: add @available attribute to enclosing struct
47 | let items: [AnyView]
48 |
:
63 | }
64 |
65 | public init<A: View, B: View, C: View, D: View>(@ViewBuilder content: () -> TupleView<(A, B, C, D)>) {
| `- note: add @available attribute to enclosing initializer
66 | let views = content().value
67 | self.items = [AnyView(views.0), AnyView(views.1), AnyView(views.2), AnyView(views.3)]
| |- error: 'AnyView' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
68 | }
69 |
/Users/admin/builder/spi-builder-workspace/Sources/EquallySpacedStack/EquallySpacedStack.swift:67:77: error: 'AnyView' is only available in macOS 10.15 or newer
44 | }
45 |
46 | public struct EquallySpacedVStack: View {
| `- note: add @available attribute to enclosing struct
47 | let items: [AnyView]
48 |
:
63 | }
64 |
65 | public init<A: View, B: View, C: View, D: View>(@ViewBuilder content: () -> TupleView<(A, B, C, D)>) {
| `- note: add @available attribute to enclosing initializer
66 | let views = content().value
67 | self.items = [AnyView(views.0), AnyView(views.1), AnyView(views.2), AnyView(views.3)]
| |- error: 'AnyView' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
68 | }
69 |
/Users/admin/builder/spi-builder-workspace/Sources/EquallySpacedStack/EquallySpacedStack.swift:74:39: error: 'AnyView' is only available in macOS 10.15 or newer
44 | }
45 |
46 | public struct EquallySpacedVStack: View {
| `- note: add @available attribute to enclosing struct
47 | let items: [AnyView]
48 |
:
70 | // MARK: ForEach support
71 |
72 | public init<Data, Content: View, ID : Hashable>(@ViewBuilder content: () -> ForEach<Data, ID, Content>) {
| `- note: add @available attribute to enclosing initializer
73 | let views = content()
74 | self.items = views.data.map({ AnyView(views.content($0)) })
| |- error: 'AnyView' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
75 | }
76 |
/Users/admin/builder/spi-builder-workspace/Sources/EquallySpacedStack/EquallySpacedStack.swift:78:9: error: 'VStack' is only available in macOS 10.15 or newer
44 | }
45 |
46 | public struct EquallySpacedVStack: View {
| `- note: add @available attribute to enclosing struct
47 | let items: [AnyView]
48 |
:
75 | }
76 |
77 | public var body: some View {
| `- note: add @available attribute to enclosing property
78 | VStack {
| |- error: 'VStack' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
79 | Spacer()
80 | ForEach(0..<items.count) { index in
/Users/admin/builder/spi-builder-workspace/Sources/EquallySpacedStack/EquallySpacedStack.swift:79:13: 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
44 | }
45 |
46 | public struct EquallySpacedVStack: View {
| `- note: add @available attribute to enclosing struct
47 | let items: [AnyView]
48 |
:
75 | }
76 |
77 | public var body: some View {
| `- note: add @available attribute to enclosing property
78 | VStack {
79 | 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
80 | ForEach(0..<items.count) { index in
81 | self.items[index]
/Users/admin/builder/spi-builder-workspace/Sources/EquallySpacedStack/EquallySpacedStack.swift:79:13: error: 'Spacer' is only available in macOS 10.15 or newer
44 | }
45 |
46 | public struct EquallySpacedVStack: View {
| `- note: add @available attribute to enclosing struct
47 | let items: [AnyView]
48 |
:
75 | }
76 |
77 | public var body: some View {
| `- note: add @available attribute to enclosing property
78 | VStack {
79 | Spacer()
| |- error: 'Spacer' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
80 | ForEach(0..<items.count) { index in
81 | self.items[index]
/Users/admin/builder/spi-builder-workspace/Sources/EquallySpacedStack/EquallySpacedStack.swift:80:13: warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
44 | }
45 |
46 | public struct EquallySpacedVStack: View {
| `- note: add @available attribute to enclosing struct
47 | let items: [AnyView]
48 |
:
75 | }
76 |
77 | public var body: some View {
| `- note: add @available attribute to enclosing property
78 | VStack {
79 | Spacer()
80 | ForEach(0..<items.count) { index in
| |- warning: conformance of 'ForEach<Data, ID, Content>' 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
81 | self.items[index]
82 | Spacer()
/Users/admin/builder/spi-builder-workspace/Sources/EquallySpacedStack/EquallySpacedStack.swift:80:13: error: 'ForEach' is only available in macOS 10.15 or newer
44 | }
45 |
46 | public struct EquallySpacedVStack: View {
| `- note: add @available attribute to enclosing struct
47 | let items: [AnyView]
48 |
:
75 | }
76 |
77 | public var body: some View {
| `- note: add @available attribute to enclosing property
78 | VStack {
79 | Spacer()
80 | ForEach(0..<items.count) { index in
| |- error: 'ForEach' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
81 | self.items[index]
82 | Spacer()
/Users/admin/builder/spi-builder-workspace/Sources/EquallySpacedStack/EquallySpacedStack.swift:80:13: error: 'init(_:content:)' is only available in macOS 10.15 or newer
44 | }
45 |
46 | public struct EquallySpacedVStack: View {
| `- note: add @available attribute to enclosing struct
47 | let items: [AnyView]
48 |
:
75 | }
76 |
77 | public var body: some View {
| `- note: add @available attribute to enclosing property
78 | VStack {
79 | Spacer()
80 | ForEach(0..<items.count) { index in
| |- error: 'init(_:content:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
81 | self.items[index]
82 | Spacer()
/Users/admin/builder/spi-builder-workspace/Sources/EquallySpacedStack/EquallySpacedStack.swift:82: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
44 | }
45 |
46 | public struct EquallySpacedVStack: View {
| `- note: add @available attribute to enclosing struct
47 | let items: [AnyView]
48 |
:
75 | }
76 |
77 | public var body: some View {
| `- note: add @available attribute to enclosing property
78 | VStack {
79 | Spacer()
80 | ForEach(0..<items.count) { index in
81 | self.items[index]
82 | 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
83 | }
84 | }
/Users/admin/builder/spi-builder-workspace/Sources/EquallySpacedStack/EquallySpacedStack.swift:82:17: error: 'Spacer' is only available in macOS 10.15 or newer
44 | }
45 |
46 | public struct EquallySpacedVStack: View {
| `- note: add @available attribute to enclosing struct
47 | let items: [AnyView]
48 |
:
75 | }
76 |
77 | public var body: some View {
| `- note: add @available attribute to enclosing property
78 | VStack {
79 | Spacer()
80 | ForEach(0..<items.count) { index in
81 | self.items[index]
82 | Spacer()
| |- error: 'Spacer' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
83 | }
84 | }
/Users/admin/builder/spi-builder-workspace/Sources/EquallySpacedStack/EquallySpacedStack.swift:80:38: 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
44 | }
45 |
46 | public struct EquallySpacedVStack: View {
| `- note: add @available attribute to enclosing struct
47 | let items: [AnyView]
48 |
:
75 | }
76 |
77 | public var body: some View {
| `- note: add @available attribute to enclosing property
78 | VStack {
79 | Spacer()
80 | ForEach(0..<items.count) { index in
| |- 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
81 | self.items[index]
82 | Spacer()
/Users/admin/builder/spi-builder-workspace/Sources/EquallySpacedStack/EquallySpacedStack.swift:78:16: 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
44 | }
45 |
46 | public struct EquallySpacedVStack: View {
| `- note: add @available attribute to enclosing struct
47 | let items: [AnyView]
48 |
:
75 | }
76 |
77 | public var body: some View {
| `- note: add @available attribute to enclosing property
78 | 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
79 | Spacer()
80 | ForEach(0..<items.count) { index in
/Users/admin/builder/spi-builder-workspace/Sources/EquallySpacedStack/EquallySpacedStack.swift:78:16: warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
44 | }
45 |
46 | public struct EquallySpacedVStack: View {
| `- note: add @available attribute to enclosing struct
47 | let items: [AnyView]
48 |
:
75 | }
76 |
77 | public var body: some View {
| `- note: add @available attribute to enclosing property
78 | VStack {
| |- warning: conformance of 'ForEach<Data, ID, Content>' 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
79 | Spacer()
80 | ForEach(0..<items.count) { index in
BUILD FAILURE 6.0 macosSpm