Build Information
Failed to build Placement, reference main (792ec6), with Swift 6.3 for macOS (SPM) on 15 Apr 2026 15:45:43 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64Build Log
| `- note: add '@available' attribute to enclosing instance method
42 | content
43 | .alignmentGuide(VerticalAlignment.top) { d in
| |- error: 'alignmentGuide(_:computeValue:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
44 | alignment(in: d, for: VerticalAlignment.top)
45 | }
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/ExplicitAlignmentModifier.swift:43:29: error: 'VerticalAlignment' is only available in macOS 10.15 or newer
2 | import SwiftUI
3 |
4 | struct ExplicitAlignmentModifier<L: PlacementLayout>: ViewModifier {
| `- note: add '@available' attribute to enclosing generic struct
5 | @EnvironmentObject var coordinator: Coordinator<L>
6 | var children: _VariadicView_Children
:
39 | }
40 |
41 | func body(content: Content) -> some View {
| `- note: add '@available' attribute to enclosing instance method
42 | content
43 | .alignmentGuide(VerticalAlignment.top) { d in
| |- error: 'VerticalAlignment' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
44 | alignment(in: d, for: VerticalAlignment.top)
45 | }
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/ExplicitAlignmentModifier.swift:43:47: error: 'top' is only available in macOS 10.15 or newer
2 | import SwiftUI
3 |
4 | struct ExplicitAlignmentModifier<L: PlacementLayout>: ViewModifier {
| `- note: add '@available' attribute to enclosing generic struct
5 | @EnvironmentObject var coordinator: Coordinator<L>
6 | var children: _VariadicView_Children
:
39 | }
40 |
41 | func body(content: Content) -> some View {
| `- note: add '@available' attribute to enclosing instance method
42 | content
43 | .alignmentGuide(VerticalAlignment.top) { d in
| |- error: 'top' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
44 | alignment(in: d, for: VerticalAlignment.top)
45 | }
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/ExplicitAlignmentModifier.swift:44:39: error: 'VerticalAlignment' is only available in macOS 10.15 or newer
2 | import SwiftUI
3 |
4 | struct ExplicitAlignmentModifier<L: PlacementLayout>: ViewModifier {
| `- note: add '@available' attribute to enclosing generic struct
5 | @EnvironmentObject var coordinator: Coordinator<L>
6 | var children: _VariadicView_Children
:
39 | }
40 |
41 | func body(content: Content) -> some View {
| `- note: add '@available' attribute to enclosing instance method
42 | content
43 | .alignmentGuide(VerticalAlignment.top) { d in
44 | alignment(in: d, for: VerticalAlignment.top)
| |- error: 'VerticalAlignment' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
45 | }
46 | .alignmentGuide(VerticalAlignment.center) { d in
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/ExplicitAlignmentModifier.swift:44:57: error: 'top' is only available in macOS 10.15 or newer
2 | import SwiftUI
3 |
4 | struct ExplicitAlignmentModifier<L: PlacementLayout>: ViewModifier {
| `- note: add '@available' attribute to enclosing generic struct
5 | @EnvironmentObject var coordinator: Coordinator<L>
6 | var children: _VariadicView_Children
:
39 | }
40 |
41 | func body(content: Content) -> some View {
| `- note: add '@available' attribute to enclosing instance method
42 | content
43 | .alignmentGuide(VerticalAlignment.top) { d in
44 | alignment(in: d, for: VerticalAlignment.top)
| |- error: 'top' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
45 | }
46 | .alignmentGuide(VerticalAlignment.center) { d in
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/ExplicitAlignmentModifier.swift:46:14: error: 'alignmentGuide(_:computeValue:)' is only available in macOS 10.15 or newer
2 | import SwiftUI
3 |
4 | struct ExplicitAlignmentModifier<L: PlacementLayout>: ViewModifier {
| `- note: add '@available' attribute to enclosing generic struct
5 | @EnvironmentObject var coordinator: Coordinator<L>
6 | var children: _VariadicView_Children
:
39 | }
40 |
41 | func body(content: Content) -> some View {
| `- note: add '@available' attribute to enclosing instance method
42 | content
43 | .alignmentGuide(VerticalAlignment.top) { d in
44 | alignment(in: d, for: VerticalAlignment.top)
45 | }
46 | .alignmentGuide(VerticalAlignment.center) { d in
| |- error: 'alignmentGuide(_:computeValue:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
47 | alignment(in: d, for: VerticalAlignment.center)
48 | }
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/ExplicitAlignmentModifier.swift:46:29: error: 'VerticalAlignment' is only available in macOS 10.15 or newer
2 | import SwiftUI
3 |
4 | struct ExplicitAlignmentModifier<L: PlacementLayout>: ViewModifier {
| `- note: add '@available' attribute to enclosing generic struct
5 | @EnvironmentObject var coordinator: Coordinator<L>
6 | var children: _VariadicView_Children
:
39 | }
40 |
41 | func body(content: Content) -> some View {
| `- note: add '@available' attribute to enclosing instance method
42 | content
43 | .alignmentGuide(VerticalAlignment.top) { d in
44 | alignment(in: d, for: VerticalAlignment.top)
45 | }
46 | .alignmentGuide(VerticalAlignment.center) { d in
| |- error: 'VerticalAlignment' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
47 | alignment(in: d, for: VerticalAlignment.center)
48 | }
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/ExplicitAlignmentModifier.swift:46:47: error: 'center' is only available in macOS 10.15 or newer
2 | import SwiftUI
3 |
4 | struct ExplicitAlignmentModifier<L: PlacementLayout>: ViewModifier {
| `- note: add '@available' attribute to enclosing generic struct
5 | @EnvironmentObject var coordinator: Coordinator<L>
6 | var children: _VariadicView_Children
:
39 | }
40 |
41 | func body(content: Content) -> some View {
| `- note: add '@available' attribute to enclosing instance method
42 | content
43 | .alignmentGuide(VerticalAlignment.top) { d in
44 | alignment(in: d, for: VerticalAlignment.top)
45 | }
46 | .alignmentGuide(VerticalAlignment.center) { d in
| |- error: 'center' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
47 | alignment(in: d, for: VerticalAlignment.center)
48 | }
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/ExplicitAlignmentModifier.swift:47:39: error: 'VerticalAlignment' is only available in macOS 10.15 or newer
2 | import SwiftUI
3 |
4 | struct ExplicitAlignmentModifier<L: PlacementLayout>: ViewModifier {
| `- note: add '@available' attribute to enclosing generic struct
5 | @EnvironmentObject var coordinator: Coordinator<L>
6 | var children: _VariadicView_Children
:
39 | }
40 |
41 | func body(content: Content) -> some View {
| `- note: add '@available' attribute to enclosing instance method
42 | content
43 | .alignmentGuide(VerticalAlignment.top) { d in
:
45 | }
46 | .alignmentGuide(VerticalAlignment.center) { d in
47 | alignment(in: d, for: VerticalAlignment.center)
| |- error: 'VerticalAlignment' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
48 | }
49 | .alignmentGuide(VerticalAlignment.bottom) { d in
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/ExplicitAlignmentModifier.swift:47:57: error: 'center' is only available in macOS 10.15 or newer
2 | import SwiftUI
3 |
4 | struct ExplicitAlignmentModifier<L: PlacementLayout>: ViewModifier {
| `- note: add '@available' attribute to enclosing generic struct
5 | @EnvironmentObject var coordinator: Coordinator<L>
6 | var children: _VariadicView_Children
:
39 | }
40 |
41 | func body(content: Content) -> some View {
| `- note: add '@available' attribute to enclosing instance method
42 | content
43 | .alignmentGuide(VerticalAlignment.top) { d in
:
45 | }
46 | .alignmentGuide(VerticalAlignment.center) { d in
47 | alignment(in: d, for: VerticalAlignment.center)
| |- error: 'center' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
48 | }
49 | .alignmentGuide(VerticalAlignment.bottom) { d in
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/ExplicitAlignmentModifier.swift:49:14: error: 'alignmentGuide(_:computeValue:)' is only available in macOS 10.15 or newer
2 | import SwiftUI
3 |
4 | struct ExplicitAlignmentModifier<L: PlacementLayout>: ViewModifier {
| `- note: add '@available' attribute to enclosing generic struct
5 | @EnvironmentObject var coordinator: Coordinator<L>
6 | var children: _VariadicView_Children
:
39 | }
40 |
41 | func body(content: Content) -> some View {
| `- note: add '@available' attribute to enclosing instance method
42 | content
43 | .alignmentGuide(VerticalAlignment.top) { d in
:
47 | alignment(in: d, for: VerticalAlignment.center)
48 | }
49 | .alignmentGuide(VerticalAlignment.bottom) { d in
| |- error: 'alignmentGuide(_:computeValue:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
50 | alignment(in: d, for: VerticalAlignment.bottom)
51 | }
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/ExplicitAlignmentModifier.swift:49:29: error: 'VerticalAlignment' is only available in macOS 10.15 or newer
2 | import SwiftUI
3 |
4 | struct ExplicitAlignmentModifier<L: PlacementLayout>: ViewModifier {
| `- note: add '@available' attribute to enclosing generic struct
5 | @EnvironmentObject var coordinator: Coordinator<L>
6 | var children: _VariadicView_Children
:
39 | }
40 |
41 | func body(content: Content) -> some View {
| `- note: add '@available' attribute to enclosing instance method
42 | content
43 | .alignmentGuide(VerticalAlignment.top) { d in
:
47 | alignment(in: d, for: VerticalAlignment.center)
48 | }
49 | .alignmentGuide(VerticalAlignment.bottom) { d in
| |- error: 'VerticalAlignment' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
50 | alignment(in: d, for: VerticalAlignment.bottom)
51 | }
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/ExplicitAlignmentModifier.swift:49:47: error: 'bottom' is only available in macOS 10.15 or newer
2 | import SwiftUI
3 |
4 | struct ExplicitAlignmentModifier<L: PlacementLayout>: ViewModifier {
| `- note: add '@available' attribute to enclosing generic struct
5 | @EnvironmentObject var coordinator: Coordinator<L>
6 | var children: _VariadicView_Children
:
39 | }
40 |
41 | func body(content: Content) -> some View {
| `- note: add '@available' attribute to enclosing instance method
42 | content
43 | .alignmentGuide(VerticalAlignment.top) { d in
:
47 | alignment(in: d, for: VerticalAlignment.center)
48 | }
49 | .alignmentGuide(VerticalAlignment.bottom) { d in
| |- error: 'bottom' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
50 | alignment(in: d, for: VerticalAlignment.bottom)
51 | }
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/ExplicitAlignmentModifier.swift:50:39: error: 'VerticalAlignment' is only available in macOS 10.15 or newer
2 | import SwiftUI
3 |
4 | struct ExplicitAlignmentModifier<L: PlacementLayout>: ViewModifier {
| `- note: add '@available' attribute to enclosing generic struct
5 | @EnvironmentObject var coordinator: Coordinator<L>
6 | var children: _VariadicView_Children
:
39 | }
40 |
41 | func body(content: Content) -> some View {
| `- note: add '@available' attribute to enclosing instance method
42 | content
43 | .alignmentGuide(VerticalAlignment.top) { d in
:
48 | }
49 | .alignmentGuide(VerticalAlignment.bottom) { d in
50 | alignment(in: d, for: VerticalAlignment.bottom)
| |- error: 'VerticalAlignment' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
51 | }
52 | .alignmentGuide(VerticalAlignment.firstTextBaseline) { d in
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/ExplicitAlignmentModifier.swift:50:57: error: 'bottom' is only available in macOS 10.15 or newer
2 | import SwiftUI
3 |
4 | struct ExplicitAlignmentModifier<L: PlacementLayout>: ViewModifier {
| `- note: add '@available' attribute to enclosing generic struct
5 | @EnvironmentObject var coordinator: Coordinator<L>
6 | var children: _VariadicView_Children
:
39 | }
40 |
41 | func body(content: Content) -> some View {
| `- note: add '@available' attribute to enclosing instance method
42 | content
43 | .alignmentGuide(VerticalAlignment.top) { d in
:
48 | }
49 | .alignmentGuide(VerticalAlignment.bottom) { d in
50 | alignment(in: d, for: VerticalAlignment.bottom)
| |- error: 'bottom' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
51 | }
52 | .alignmentGuide(VerticalAlignment.firstTextBaseline) { d in
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/ExplicitAlignmentModifier.swift:52:14: error: 'alignmentGuide(_:computeValue:)' is only available in macOS 10.15 or newer
2 | import SwiftUI
3 |
4 | struct ExplicitAlignmentModifier<L: PlacementLayout>: ViewModifier {
| `- note: add '@available' attribute to enclosing generic struct
5 | @EnvironmentObject var coordinator: Coordinator<L>
6 | var children: _VariadicView_Children
:
39 | }
40 |
41 | func body(content: Content) -> some View {
| `- note: add '@available' attribute to enclosing instance method
42 | content
43 | .alignmentGuide(VerticalAlignment.top) { d in
:
50 | alignment(in: d, for: VerticalAlignment.bottom)
51 | }
52 | .alignmentGuide(VerticalAlignment.firstTextBaseline) { d in
| |- error: 'alignmentGuide(_:computeValue:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
53 | alignment(in: d, for: VerticalAlignment.firstTextBaseline)
54 | }
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/ExplicitAlignmentModifier.swift:52:29: error: 'VerticalAlignment' is only available in macOS 10.15 or newer
2 | import SwiftUI
3 |
4 | struct ExplicitAlignmentModifier<L: PlacementLayout>: ViewModifier {
| `- note: add '@available' attribute to enclosing generic struct
5 | @EnvironmentObject var coordinator: Coordinator<L>
6 | var children: _VariadicView_Children
:
39 | }
40 |
41 | func body(content: Content) -> some View {
| `- note: add '@available' attribute to enclosing instance method
42 | content
43 | .alignmentGuide(VerticalAlignment.top) { d in
:
50 | alignment(in: d, for: VerticalAlignment.bottom)
51 | }
52 | .alignmentGuide(VerticalAlignment.firstTextBaseline) { d in
| |- error: 'VerticalAlignment' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
53 | alignment(in: d, for: VerticalAlignment.firstTextBaseline)
54 | }
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/ExplicitAlignmentModifier.swift:52:47: error: 'firstTextBaseline' is only available in macOS 10.15 or newer
2 | import SwiftUI
3 |
4 | struct ExplicitAlignmentModifier<L: PlacementLayout>: ViewModifier {
| `- note: add '@available' attribute to enclosing generic struct
5 | @EnvironmentObject var coordinator: Coordinator<L>
6 | var children: _VariadicView_Children
:
39 | }
40 |
41 | func body(content: Content) -> some View {
| `- note: add '@available' attribute to enclosing instance method
42 | content
43 | .alignmentGuide(VerticalAlignment.top) { d in
:
50 | alignment(in: d, for: VerticalAlignment.bottom)
51 | }
52 | .alignmentGuide(VerticalAlignment.firstTextBaseline) { d in
| |- error: 'firstTextBaseline' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
53 | alignment(in: d, for: VerticalAlignment.firstTextBaseline)
54 | }
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/ExplicitAlignmentModifier.swift:53:39: error: 'VerticalAlignment' is only available in macOS 10.15 or newer
2 | import SwiftUI
3 |
4 | struct ExplicitAlignmentModifier<L: PlacementLayout>: ViewModifier {
| `- note: add '@available' attribute to enclosing generic struct
5 | @EnvironmentObject var coordinator: Coordinator<L>
6 | var children: _VariadicView_Children
:
39 | }
40 |
41 | func body(content: Content) -> some View {
| `- note: add '@available' attribute to enclosing instance method
42 | content
43 | .alignmentGuide(VerticalAlignment.top) { d in
:
51 | }
52 | .alignmentGuide(VerticalAlignment.firstTextBaseline) { d in
53 | alignment(in: d, for: VerticalAlignment.firstTextBaseline)
| |- error: 'VerticalAlignment' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
54 | }
55 | .alignmentGuide(VerticalAlignment.lastTextBaseline) { d in
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/ExplicitAlignmentModifier.swift:53:57: error: 'firstTextBaseline' is only available in macOS 10.15 or newer
2 | import SwiftUI
3 |
4 | struct ExplicitAlignmentModifier<L: PlacementLayout>: ViewModifier {
| `- note: add '@available' attribute to enclosing generic struct
5 | @EnvironmentObject var coordinator: Coordinator<L>
6 | var children: _VariadicView_Children
:
39 | }
40 |
41 | func body(content: Content) -> some View {
| `- note: add '@available' attribute to enclosing instance method
42 | content
43 | .alignmentGuide(VerticalAlignment.top) { d in
:
51 | }
52 | .alignmentGuide(VerticalAlignment.firstTextBaseline) { d in
53 | alignment(in: d, for: VerticalAlignment.firstTextBaseline)
| |- error: 'firstTextBaseline' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
54 | }
55 | .alignmentGuide(VerticalAlignment.lastTextBaseline) { d in
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/ExplicitAlignmentModifier.swift:55:14: error: 'alignmentGuide(_:computeValue:)' is only available in macOS 10.15 or newer
2 | import SwiftUI
3 |
4 | struct ExplicitAlignmentModifier<L: PlacementLayout>: ViewModifier {
| `- note: add '@available' attribute to enclosing generic struct
5 | @EnvironmentObject var coordinator: Coordinator<L>
6 | var children: _VariadicView_Children
:
39 | }
40 |
41 | func body(content: Content) -> some View {
| `- note: add '@available' attribute to enclosing instance method
42 | content
43 | .alignmentGuide(VerticalAlignment.top) { d in
:
53 | alignment(in: d, for: VerticalAlignment.firstTextBaseline)
54 | }
55 | .alignmentGuide(VerticalAlignment.lastTextBaseline) { d in
| |- error: 'alignmentGuide(_:computeValue:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
56 | alignment(in: d, for: VerticalAlignment.lastTextBaseline)
57 | }
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/ExplicitAlignmentModifier.swift:55:29: error: 'VerticalAlignment' is only available in macOS 10.15 or newer
2 | import SwiftUI
3 |
4 | struct ExplicitAlignmentModifier<L: PlacementLayout>: ViewModifier {
| `- note: add '@available' attribute to enclosing generic struct
5 | @EnvironmentObject var coordinator: Coordinator<L>
6 | var children: _VariadicView_Children
:
39 | }
40 |
41 | func body(content: Content) -> some View {
| `- note: add '@available' attribute to enclosing instance method
42 | content
43 | .alignmentGuide(VerticalAlignment.top) { d in
:
53 | alignment(in: d, for: VerticalAlignment.firstTextBaseline)
54 | }
55 | .alignmentGuide(VerticalAlignment.lastTextBaseline) { d in
| |- error: 'VerticalAlignment' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
56 | alignment(in: d, for: VerticalAlignment.lastTextBaseline)
57 | }
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/ExplicitAlignmentModifier.swift:55:47: error: 'lastTextBaseline' is only available in macOS 10.15 or newer
2 | import SwiftUI
3 |
4 | struct ExplicitAlignmentModifier<L: PlacementLayout>: ViewModifier {
| `- note: add '@available' attribute to enclosing generic struct
5 | @EnvironmentObject var coordinator: Coordinator<L>
6 | var children: _VariadicView_Children
:
39 | }
40 |
41 | func body(content: Content) -> some View {
| `- note: add '@available' attribute to enclosing instance method
42 | content
43 | .alignmentGuide(VerticalAlignment.top) { d in
:
53 | alignment(in: d, for: VerticalAlignment.firstTextBaseline)
54 | }
55 | .alignmentGuide(VerticalAlignment.lastTextBaseline) { d in
| |- error: 'lastTextBaseline' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
56 | alignment(in: d, for: VerticalAlignment.lastTextBaseline)
57 | }
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/ExplicitAlignmentModifier.swift:56:39: error: 'VerticalAlignment' is only available in macOS 10.15 or newer
2 | import SwiftUI
3 |
4 | struct ExplicitAlignmentModifier<L: PlacementLayout>: ViewModifier {
| `- note: add '@available' attribute to enclosing generic struct
5 | @EnvironmentObject var coordinator: Coordinator<L>
6 | var children: _VariadicView_Children
:
39 | }
40 |
41 | func body(content: Content) -> some View {
| `- note: add '@available' attribute to enclosing instance method
42 | content
43 | .alignmentGuide(VerticalAlignment.top) { d in
:
54 | }
55 | .alignmentGuide(VerticalAlignment.lastTextBaseline) { d in
56 | alignment(in: d, for: VerticalAlignment.lastTextBaseline)
| |- error: 'VerticalAlignment' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
57 | }
58 | .alignmentGuide(HorizontalAlignment.leading) { d in
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/ExplicitAlignmentModifier.swift:56:57: error: 'lastTextBaseline' is only available in macOS 10.15 or newer
2 | import SwiftUI
3 |
4 | struct ExplicitAlignmentModifier<L: PlacementLayout>: ViewModifier {
| `- note: add '@available' attribute to enclosing generic struct
5 | @EnvironmentObject var coordinator: Coordinator<L>
6 | var children: _VariadicView_Children
:
39 | }
40 |
41 | func body(content: Content) -> some View {
| `- note: add '@available' attribute to enclosing instance method
42 | content
43 | .alignmentGuide(VerticalAlignment.top) { d in
:
54 | }
55 | .alignmentGuide(VerticalAlignment.lastTextBaseline) { d in
56 | alignment(in: d, for: VerticalAlignment.lastTextBaseline)
| |- error: 'lastTextBaseline' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
57 | }
58 | .alignmentGuide(HorizontalAlignment.leading) { d in
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/ExplicitAlignmentModifier.swift:58:14: error: 'alignmentGuide(_:computeValue:)' is only available in macOS 10.15 or newer
2 | import SwiftUI
3 |
4 | struct ExplicitAlignmentModifier<L: PlacementLayout>: ViewModifier {
| `- note: add '@available' attribute to enclosing generic struct
5 | @EnvironmentObject var coordinator: Coordinator<L>
6 | var children: _VariadicView_Children
:
39 | }
40 |
41 | func body(content: Content) -> some View {
| `- note: add '@available' attribute to enclosing instance method
42 | content
43 | .alignmentGuide(VerticalAlignment.top) { d in
:
56 | alignment(in: d, for: VerticalAlignment.lastTextBaseline)
57 | }
58 | .alignmentGuide(HorizontalAlignment.leading) { d in
| |- error: 'alignmentGuide(_:computeValue:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
59 | alignment(in: d, for: HorizontalAlignment.leading)
60 | }
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/ExplicitAlignmentModifier.swift:58:29: error: 'HorizontalAlignment' is only available in macOS 10.15 or newer
2 | import SwiftUI
3 |
4 | struct ExplicitAlignmentModifier<L: PlacementLayout>: ViewModifier {
| `- note: add '@available' attribute to enclosing generic struct
5 | @EnvironmentObject var coordinator: Coordinator<L>
6 | var children: _VariadicView_Children
:
39 | }
40 |
41 | func body(content: Content) -> some View {
| `- note: add '@available' attribute to enclosing instance method
42 | content
43 | .alignmentGuide(VerticalAlignment.top) { d in
:
56 | alignment(in: d, for: VerticalAlignment.lastTextBaseline)
57 | }
58 | .alignmentGuide(HorizontalAlignment.leading) { d in
| |- error: 'HorizontalAlignment' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
59 | alignment(in: d, for: HorizontalAlignment.leading)
60 | }
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/ExplicitAlignmentModifier.swift:58:49: error: 'leading' is only available in macOS 10.15 or newer
2 | import SwiftUI
3 |
4 | struct ExplicitAlignmentModifier<L: PlacementLayout>: ViewModifier {
| `- note: add '@available' attribute to enclosing generic struct
5 | @EnvironmentObject var coordinator: Coordinator<L>
6 | var children: _VariadicView_Children
:
39 | }
40 |
41 | func body(content: Content) -> some View {
| `- note: add '@available' attribute to enclosing instance method
42 | content
43 | .alignmentGuide(VerticalAlignment.top) { d in
:
56 | alignment(in: d, for: VerticalAlignment.lastTextBaseline)
57 | }
58 | .alignmentGuide(HorizontalAlignment.leading) { d in
| |- error: 'leading' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
59 | alignment(in: d, for: HorizontalAlignment.leading)
60 | }
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/ExplicitAlignmentModifier.swift:59:39: error: 'HorizontalAlignment' is only available in macOS 10.15 or newer
2 | import SwiftUI
3 |
4 | struct ExplicitAlignmentModifier<L: PlacementLayout>: ViewModifier {
| `- note: add '@available' attribute to enclosing generic struct
5 | @EnvironmentObject var coordinator: Coordinator<L>
6 | var children: _VariadicView_Children
:
39 | }
40 |
41 | func body(content: Content) -> some View {
| `- note: add '@available' attribute to enclosing instance method
42 | content
43 | .alignmentGuide(VerticalAlignment.top) { d in
:
57 | }
58 | .alignmentGuide(HorizontalAlignment.leading) { d in
59 | alignment(in: d, for: HorizontalAlignment.leading)
| |- error: 'HorizontalAlignment' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
60 | }
61 | .alignmentGuide(HorizontalAlignment.center) { d in
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/ExplicitAlignmentModifier.swift:59:59: error: 'leading' is only available in macOS 10.15 or newer
2 | import SwiftUI
3 |
4 | struct ExplicitAlignmentModifier<L: PlacementLayout>: ViewModifier {
| `- note: add '@available' attribute to enclosing generic struct
5 | @EnvironmentObject var coordinator: Coordinator<L>
6 | var children: _VariadicView_Children
:
39 | }
40 |
41 | func body(content: Content) -> some View {
| `- note: add '@available' attribute to enclosing instance method
42 | content
43 | .alignmentGuide(VerticalAlignment.top) { d in
:
57 | }
58 | .alignmentGuide(HorizontalAlignment.leading) { d in
59 | alignment(in: d, for: HorizontalAlignment.leading)
| |- error: 'leading' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
60 | }
61 | .alignmentGuide(HorizontalAlignment.center) { d in
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/ExplicitAlignmentModifier.swift:61:14: error: 'alignmentGuide(_:computeValue:)' is only available in macOS 10.15 or newer
2 | import SwiftUI
3 |
4 | struct ExplicitAlignmentModifier<L: PlacementLayout>: ViewModifier {
| `- note: add '@available' attribute to enclosing generic struct
5 | @EnvironmentObject var coordinator: Coordinator<L>
6 | var children: _VariadicView_Children
:
39 | }
40 |
41 | func body(content: Content) -> some View {
| `- note: add '@available' attribute to enclosing instance method
42 | content
43 | .alignmentGuide(VerticalAlignment.top) { d in
:
59 | alignment(in: d, for: HorizontalAlignment.leading)
60 | }
61 | .alignmentGuide(HorizontalAlignment.center) { d in
| |- error: 'alignmentGuide(_:computeValue:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
62 | alignment(in: d, for: HorizontalAlignment.center)
63 | }
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/ExplicitAlignmentModifier.swift:61:29: error: 'HorizontalAlignment' is only available in macOS 10.15 or newer
2 | import SwiftUI
3 |
4 | struct ExplicitAlignmentModifier<L: PlacementLayout>: ViewModifier {
| `- note: add '@available' attribute to enclosing generic struct
5 | @EnvironmentObject var coordinator: Coordinator<L>
6 | var children: _VariadicView_Children
:
39 | }
40 |
41 | func body(content: Content) -> some View {
| `- note: add '@available' attribute to enclosing instance method
42 | content
43 | .alignmentGuide(VerticalAlignment.top) { d in
:
59 | alignment(in: d, for: HorizontalAlignment.leading)
60 | }
61 | .alignmentGuide(HorizontalAlignment.center) { d in
| |- error: 'HorizontalAlignment' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
62 | alignment(in: d, for: HorizontalAlignment.center)
63 | }
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/ExplicitAlignmentModifier.swift:61:49: error: 'center' is only available in macOS 10.15 or newer
2 | import SwiftUI
3 |
4 | struct ExplicitAlignmentModifier<L: PlacementLayout>: ViewModifier {
| `- note: add '@available' attribute to enclosing generic struct
5 | @EnvironmentObject var coordinator: Coordinator<L>
6 | var children: _VariadicView_Children
:
39 | }
40 |
41 | func body(content: Content) -> some View {
| `- note: add '@available' attribute to enclosing instance method
42 | content
43 | .alignmentGuide(VerticalAlignment.top) { d in
:
59 | alignment(in: d, for: HorizontalAlignment.leading)
60 | }
61 | .alignmentGuide(HorizontalAlignment.center) { d in
| |- error: 'center' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
62 | alignment(in: d, for: HorizontalAlignment.center)
63 | }
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/ExplicitAlignmentModifier.swift:62:39: error: 'HorizontalAlignment' is only available in macOS 10.15 or newer
2 | import SwiftUI
3 |
4 | struct ExplicitAlignmentModifier<L: PlacementLayout>: ViewModifier {
| `- note: add '@available' attribute to enclosing generic struct
5 | @EnvironmentObject var coordinator: Coordinator<L>
6 | var children: _VariadicView_Children
:
39 | }
40 |
41 | func body(content: Content) -> some View {
| `- note: add '@available' attribute to enclosing instance method
42 | content
43 | .alignmentGuide(VerticalAlignment.top) { d in
:
60 | }
61 | .alignmentGuide(HorizontalAlignment.center) { d in
62 | alignment(in: d, for: HorizontalAlignment.center)
| |- error: 'HorizontalAlignment' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
63 | }
64 | .alignmentGuide(HorizontalAlignment.trailing) { d in
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/ExplicitAlignmentModifier.swift:62:59: error: 'center' is only available in macOS 10.15 or newer
2 | import SwiftUI
3 |
4 | struct ExplicitAlignmentModifier<L: PlacementLayout>: ViewModifier {
| `- note: add '@available' attribute to enclosing generic struct
5 | @EnvironmentObject var coordinator: Coordinator<L>
6 | var children: _VariadicView_Children
:
39 | }
40 |
41 | func body(content: Content) -> some View {
| `- note: add '@available' attribute to enclosing instance method
42 | content
43 | .alignmentGuide(VerticalAlignment.top) { d in
:
60 | }
61 | .alignmentGuide(HorizontalAlignment.center) { d in
62 | alignment(in: d, for: HorizontalAlignment.center)
| |- error: 'center' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
63 | }
64 | .alignmentGuide(HorizontalAlignment.trailing) { d in
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/ExplicitAlignmentModifier.swift:64:14: error: 'alignmentGuide(_:computeValue:)' is only available in macOS 10.15 or newer
2 | import SwiftUI
3 |
4 | struct ExplicitAlignmentModifier<L: PlacementLayout>: ViewModifier {
| `- note: add '@available' attribute to enclosing generic struct
5 | @EnvironmentObject var coordinator: Coordinator<L>
6 | var children: _VariadicView_Children
:
39 | }
40 |
41 | func body(content: Content) -> some View {
| `- note: add '@available' attribute to enclosing instance method
42 | content
43 | .alignmentGuide(VerticalAlignment.top) { d in
:
62 | alignment(in: d, for: HorizontalAlignment.center)
63 | }
64 | .alignmentGuide(HorizontalAlignment.trailing) { d in
| |- error: 'alignmentGuide(_:computeValue:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
65 | alignment(in: d, for: HorizontalAlignment.trailing)
66 | }
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/ExplicitAlignmentModifier.swift:64:29: error: 'HorizontalAlignment' is only available in macOS 10.15 or newer
2 | import SwiftUI
3 |
4 | struct ExplicitAlignmentModifier<L: PlacementLayout>: ViewModifier {
| `- note: add '@available' attribute to enclosing generic struct
5 | @EnvironmentObject var coordinator: Coordinator<L>
6 | var children: _VariadicView_Children
:
39 | }
40 |
41 | func body(content: Content) -> some View {
| `- note: add '@available' attribute to enclosing instance method
42 | content
43 | .alignmentGuide(VerticalAlignment.top) { d in
:
62 | alignment(in: d, for: HorizontalAlignment.center)
63 | }
64 | .alignmentGuide(HorizontalAlignment.trailing) { d in
| |- error: 'HorizontalAlignment' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
65 | alignment(in: d, for: HorizontalAlignment.trailing)
66 | }
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/ExplicitAlignmentModifier.swift:64:49: error: 'trailing' is only available in macOS 10.15 or newer
2 | import SwiftUI
3 |
4 | struct ExplicitAlignmentModifier<L: PlacementLayout>: ViewModifier {
| `- note: add '@available' attribute to enclosing generic struct
5 | @EnvironmentObject var coordinator: Coordinator<L>
6 | var children: _VariadicView_Children
:
39 | }
40 |
41 | func body(content: Content) -> some View {
| `- note: add '@available' attribute to enclosing instance method
42 | content
43 | .alignmentGuide(VerticalAlignment.top) { d in
:
62 | alignment(in: d, for: HorizontalAlignment.center)
63 | }
64 | .alignmentGuide(HorizontalAlignment.trailing) { d in
| |- error: 'trailing' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
65 | alignment(in: d, for: HorizontalAlignment.trailing)
66 | }
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/ExplicitAlignmentModifier.swift:65:39: error: 'HorizontalAlignment' is only available in macOS 10.15 or newer
2 | import SwiftUI
3 |
4 | struct ExplicitAlignmentModifier<L: PlacementLayout>: ViewModifier {
| `- note: add '@available' attribute to enclosing generic struct
5 | @EnvironmentObject var coordinator: Coordinator<L>
6 | var children: _VariadicView_Children
:
39 | }
40 |
41 | func body(content: Content) -> some View {
| `- note: add '@available' attribute to enclosing instance method
42 | content
43 | .alignmentGuide(VerticalAlignment.top) { d in
:
63 | }
64 | .alignmentGuide(HorizontalAlignment.trailing) { d in
65 | alignment(in: d, for: HorizontalAlignment.trailing)
| |- error: 'HorizontalAlignment' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
66 | }
67 | }
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/ExplicitAlignmentModifier.swift:65:59: error: 'trailing' is only available in macOS 10.15 or newer
2 | import SwiftUI
3 |
4 | struct ExplicitAlignmentModifier<L: PlacementLayout>: ViewModifier {
| `- note: add '@available' attribute to enclosing generic struct
5 | @EnvironmentObject var coordinator: Coordinator<L>
6 | var children: _VariadicView_Children
:
39 | }
40 |
41 | func body(content: Content) -> some View {
| `- note: add '@available' attribute to enclosing instance method
42 | content
43 | .alignmentGuide(VerticalAlignment.top) { d in
:
63 | }
64 | .alignmentGuide(HorizontalAlignment.trailing) { d in
65 | alignment(in: d, for: HorizontalAlignment.trailing)
| |- error: 'trailing' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
66 | }
67 | }
[30/33] Compiling Placement ExplicitAlignmentModifier.swift
/Users/admin/builder/spi-builder-workspace/Sources/Placement/LayoutProtocol/PlacementLayoutNative.swift:5:11: error: 'ProposedViewSize' is only available in macOS 13.0 or newer
3 |
4 | @available(iOS 16.0, macCatalyst 16, tvOS 16.0, *)
5 | extension ProposedViewSize {
| | `- error: 'ProposedViewSize' is only available in macOS 13.0 or newer
| `- note: add '@available' attribute to enclosing extension
6 | var placement: PlacementProposedViewSize {
7 | PlacementProposedViewSize(width: width, height: height)
/Users/admin/builder/spi-builder-workspace/Sources/Placement/LayoutProtocol/PlacementLayoutNative.swift:13:27: error: 'ProposedViewSize' is only available in macOS 13.0 or newer
10 |
11 | @available(iOS 16.0, macCatalyst 16, tvOS 16.0, *)
12 | extension PlacementProposedViewSize {
| `- note: add '@available' attribute to enclosing extension
13 | var proposedViewSize: ProposedViewSize {
| | `- error: 'ProposedViewSize' is only available in macOS 13.0 or newer
| `- note: add '@available' attribute to enclosing property
14 | ProposedViewSize(width: width, height: height)
15 | }
/Users/admin/builder/spi-builder-workspace/Sources/Placement/LayoutProtocol/PlacementLayoutNative.swift:35:19: error: 'ProposedViewSize' is only available in macOS 13.0 or newer
17 |
18 | @available(iOS 16.0, macCatalyst 16, tvOS 16.0, *)
19 | struct PlacementLayoutNative<L: PlacementLayout>: Layout {
| `- note: add '@available' attribute to enclosing generic struct
20 | var layoutBP: L
21 |
:
32 | }
33 |
34 | func sizeThatFits(
| `- note: add '@available' attribute to enclosing instance method
35 | proposal: ProposedViewSize,
| `- error: 'ProposedViewSize' is only available in macOS 13.0 or newer
36 | subviews: Subviews,
37 | cache: inout Cache
/Users/admin/builder/spi-builder-workspace/Sources/Placement/LayoutProtocol/PlacementLayoutNative.swift:48:19: error: 'ProposedViewSize' is only available in macOS 13.0 or newer
17 |
18 | @available(iOS 16.0, macCatalyst 16, tvOS 16.0, *)
19 | struct PlacementLayoutNative<L: PlacementLayout>: Layout {
| `- note: add '@available' attribute to enclosing generic struct
20 | var layoutBP: L
21 |
:
44 | }
45 |
46 | func placeSubviews(
| `- note: add '@available' attribute to enclosing instance method
47 | in bounds: CGRect,
48 | proposal: ProposedViewSize,
| `- error: 'ProposedViewSize' is only available in macOS 13.0 or newer
49 | subviews: Subviews,
50 | cache: inout Cache
/Users/admin/builder/spi-builder-workspace/Sources/Placement/LayoutProtocol/PlacementLayoutNative.swift:61:19: error: 'VerticalAlignment' is only available in macOS 10.15 or newer
17 |
18 | @available(iOS 16.0, macCatalyst 16, tvOS 16.0, *)
19 | struct PlacementLayoutNative<L: PlacementLayout>: Layout {
| `- note: add '@available' attribute to enclosing generic struct
20 | var layoutBP: L
21 |
:
58 | }
59 |
60 | func explicitAlignment(
| `- note: add '@available' attribute to enclosing instance method
61 | of guide: VerticalAlignment,
| `- error: 'VerticalAlignment' is only available in macOS 10.15 or newer
62 | in bounds: CGRect,
63 | proposal: ProposedViewSize,
/Users/admin/builder/spi-builder-workspace/Sources/Placement/LayoutProtocol/PlacementLayoutNative.swift:63:19: error: 'ProposedViewSize' is only available in macOS 13.0 or newer
17 |
18 | @available(iOS 16.0, macCatalyst 16, tvOS 16.0, *)
19 | struct PlacementLayoutNative<L: PlacementLayout>: Layout {
| `- note: add '@available' attribute to enclosing generic struct
20 | var layoutBP: L
21 |
:
58 | }
59 |
60 | func explicitAlignment(
| `- note: add '@available' attribute to enclosing instance method
61 | of guide: VerticalAlignment,
62 | in bounds: CGRect,
63 | proposal: ProposedViewSize,
| `- error: 'ProposedViewSize' is only available in macOS 13.0 or newer
64 | subviews: Subviews,
65 | cache: inout L.Cache
/Users/admin/builder/spi-builder-workspace/Sources/Placement/LayoutProtocol/PlacementLayoutNative.swift:77:19: error: 'HorizontalAlignment' is only available in macOS 10.15 or newer
17 |
18 | @available(iOS 16.0, macCatalyst 16, tvOS 16.0, *)
19 | struct PlacementLayoutNative<L: PlacementLayout>: Layout {
| `- note: add '@available' attribute to enclosing generic struct
20 | var layoutBP: L
21 |
:
74 | }
75 |
76 | func explicitAlignment(
| `- note: add '@available' attribute to enclosing instance method
77 | of guide: HorizontalAlignment,
| `- error: 'HorizontalAlignment' is only available in macOS 10.15 or newer
78 | in bounds: CGRect,
79 | proposal: ProposedViewSize,
/Users/admin/builder/spi-builder-workspace/Sources/Placement/LayoutProtocol/PlacementLayoutNative.swift:79:19: error: 'ProposedViewSize' is only available in macOS 13.0 or newer
17 |
18 | @available(iOS 16.0, macCatalyst 16, tvOS 16.0, *)
19 | struct PlacementLayoutNative<L: PlacementLayout>: Layout {
| `- note: add '@available' attribute to enclosing generic struct
20 | var layoutBP: L
21 |
:
74 | }
75 |
76 | func explicitAlignment(
| `- note: add '@available' attribute to enclosing instance method
77 | of guide: HorizontalAlignment,
78 | in bounds: CGRect,
79 | proposal: ProposedViewSize,
| `- error: 'ProposedViewSize' is only available in macOS 13.0 or newer
80 | subviews: Subviews,
81 | cache: inout L.Cache
/Users/admin/builder/spi-builder-workspace/Sources/Placement/LayoutProtocol/PlacementLayoutNative.swift:14:9: error: 'ProposedViewSize' is only available in macOS 13.0 or newer
10 |
11 | @available(iOS 16.0, macCatalyst 16, tvOS 16.0, *)
12 | extension PlacementProposedViewSize {
| `- note: add '@available' attribute to enclosing extension
13 | var proposedViewSize: ProposedViewSize {
| `- note: add '@available' attribute to enclosing property
14 | ProposedViewSize(width: width, height: height)
| |- error: 'ProposedViewSize' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
15 | }
16 | }
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/Coordinator.swift:4:30: error: 'ObservableObject' is only available in macOS 10.15 or newer
2 | import SwiftUI
3 |
4 | class PlacementsCoordinator: ObservableObject {
| | `- error: 'ObservableObject' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing class
5 | var placements: [AnyHashable: LayoutPlacement] = [:]
6 | var unspecifiedSize: [AnyHashable: CGSize] = [:]
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/Coordinator.swift:14:19: error: '_VariadicView' is only available in macOS 10.15 or newer
7 | }
8 |
9 | class Coordinator<L: PlacementLayout>: ObservableObject {
| `- note: add '@available' attribute to enclosing generic class
10 | var keyboardFrame: CGRect = .zero
11 | var globalFrame: CGRect? = nil
12 | var layout: L? = nil
13 | public var subviews: PlacementLayoutSubviews? = nil
14 | var children: _VariadicView.Children? = nil
| `- error: '_VariadicView' is only available in macOS 10.15 or newer
15 |
16 | private var _cache: L.Cache?
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/Coordinator.swift:98:33: error: '_VariadicView' is only available in macOS 10.15 or newer
7 | }
8 |
9 | class Coordinator<L: PlacementLayout>: ObservableObject {
| `- note: add '@available' attribute to enclosing generic class
10 | var keyboardFrame: CGRect = .zero
11 | var globalFrame: CGRect? = nil
:
96 | }
97 |
98 | func makeSubviews(children: _VariadicView.Children) -> PlacementLayoutSubviews {
| | `- error: '_VariadicView' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing instance method
99 | if let subviews = subviews {
100 | let childrenIds = children.map { child in
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/Coordinator.swift:172:52: error: cannot find type 'UIHostingController' in scope
170 | }
171 |
172 | func makeHostingController(id: AnyHashable) -> UIHostingController<AnyView> {
| `- error: cannot find type 'UIHostingController' in scope
173 | if let hostingController = self.hostingControllers[id] {
174 | return hostingController
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/Coordinator.swift:184:30: error: 'Transaction' is only available in macOS 10.15 or newer
7 | }
8 |
9 | class Coordinator<L: PlacementLayout>: ObservableObject {
| `- note: add '@available' attribute to enclosing generic class
10 | var keyboardFrame: CGRect = .zero
11 | var globalFrame: CGRect? = nil
:
182 | }
183 |
184 | public var transaction = Transaction()
| `- error: 'Transaction' is only available in macOS 10.15 or newer
185 | public var placementsCoordinator = PlacementsCoordinator()
186 | public var hostingControllers: [AnyHashable: UIHostingController<AnyView>] = [:]
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/Coordinator.swift:186:50: error: cannot find type 'UIHostingController' in scope
184 | public var transaction = Transaction()
185 | public var placementsCoordinator = PlacementsCoordinator()
186 | public var hostingControllers: [AnyHashable: UIHostingController<AnyView>] = [:]
| `- error: cannot find type 'UIHostingController' in scope
187 | }
188 |
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/Coordinator.swift:9:40: error: 'ObservableObject' is only available in macOS 10.15 or newer
7 | }
8 |
9 | class Coordinator<L: PlacementLayout>: ObservableObject {
| | `- error: 'ObservableObject' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing generic class
10 | var keyboardFrame: CGRect = .zero
11 | var globalFrame: CGRect? = nil
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/Coordinator.swift:100:40: warning: conformance of '_VariadicView_Children' to 'Collection' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
7 | }
8 |
9 | class Coordinator<L: PlacementLayout>: ObservableObject {
| `- note: add '@available' attribute to enclosing generic class
10 | var keyboardFrame: CGRect = .zero
11 | var globalFrame: CGRect? = nil
:
96 | }
97 |
98 | func makeSubviews(children: _VariadicView.Children) -> PlacementLayoutSubviews {
| `- note: add '@available' attribute to enclosing instance method
99 | if let subviews = subviews {
100 | let childrenIds = children.map { child in
| |- warning: conformance of '_VariadicView_Children' to 'Collection' 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
101 | child.id
102 | }
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/Coordinator.swift:137:50: error: cannot find 'UIView' in scope
135 | let sizeThatFits = hostingController.sizeThatFits(
136 | in: CGSize(
137 | width: size.width ?? UIView.layoutFittingCompressedSize.width,
| `- error: cannot find 'UIView' in scope
138 | height: size.height ?? UIView.layoutFittingCompressedSize.height
139 | )
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/Coordinator.swift:138:52: error: cannot find 'UIView' in scope
136 | in: CGSize(
137 | width: size.width ?? UIView.layoutFittingCompressedSize.width,
138 | height: size.height ?? UIView.layoutFittingCompressedSize.height
| `- error: cannot find 'UIView' in scope
139 | )
140 | )
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/Coordinator.swift:177:33: error: cannot find 'UIHostingController' in scope
175 | }
176 |
177 | let hostingController = UIHostingController(rootView: AnyView(EmptyView()))
| `- error: cannot find 'UIHostingController' in scope
178 | hostingController._disableSafeArea = true
179 | self.hostingControllers[id] = hostingController
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/ExplicitAlignmentModifier.swift:5:6: error: 'EnvironmentObject' is only available in macOS 10.15 or newer
2 | import SwiftUI
3 |
4 | struct ExplicitAlignmentModifier<L: PlacementLayout>: ViewModifier {
| `- note: add '@available' attribute to enclosing generic struct
5 | @EnvironmentObject var coordinator: Coordinator<L>
| `- error: 'EnvironmentObject' is only available in macOS 10.15 or newer
6 | var children: _VariadicView_Children
7 | var layout: L
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/ExplicitAlignmentModifier.swift:6:19: error: '_VariadicView_Children' is only available in macOS 10.15 or newer
2 | import SwiftUI
3 |
4 | struct ExplicitAlignmentModifier<L: PlacementLayout>: ViewModifier {
| `- note: add '@available' attribute to enclosing generic struct
5 | @EnvironmentObject var coordinator: Coordinator<L>
6 | var children: _VariadicView_Children
| `- error: '_VariadicView_Children' is only available in macOS 10.15 or newer
7 | var layout: L
8 |
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/ExplicitAlignmentModifier.swift:9:35: error: 'ViewDimensions' is only available in macOS 10.15 or newer
2 | import SwiftUI
3 |
4 | struct ExplicitAlignmentModifier<L: PlacementLayout>: ViewModifier {
| `- note: add '@available' attribute to enclosing generic struct
5 | @EnvironmentObject var coordinator: Coordinator<L>
6 | var children: _VariadicView_Children
7 | var layout: L
8 |
9 | func alignment(in dimensions: ViewDimensions, for guide: VerticalAlignment) -> CGFloat {
| | `- error: 'ViewDimensions' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing instance method
10 | coordinator.layoutContext() { subviews, cache -> CGFloat in
11 | if let explicitAlignment = layout.explicitAlignment(
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/ExplicitAlignmentModifier.swift:9:62: error: 'VerticalAlignment' is only available in macOS 10.15 or newer
2 | import SwiftUI
3 |
4 | struct ExplicitAlignmentModifier<L: PlacementLayout>: ViewModifier {
| `- note: add '@available' attribute to enclosing generic struct
5 | @EnvironmentObject var coordinator: Coordinator<L>
6 | var children: _VariadicView_Children
7 | var layout: L
8 |
9 | func alignment(in dimensions: ViewDimensions, for guide: VerticalAlignment) -> CGFloat {
| | `- error: 'VerticalAlignment' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing instance method
10 | coordinator.layoutContext() { subviews, cache -> CGFloat in
11 | if let explicitAlignment = layout.explicitAlignment(
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/ExplicitAlignmentModifier.swift:25:35: error: 'ViewDimensions' is only available in macOS 10.15 or newer
2 | import SwiftUI
3 |
4 | struct ExplicitAlignmentModifier<L: PlacementLayout>: ViewModifier {
| `- note: add '@available' attribute to enclosing generic struct
5 | @EnvironmentObject var coordinator: Coordinator<L>
6 | var children: _VariadicView_Children
:
23 | }
24 |
25 | func alignment(in dimensions: ViewDimensions, for guide: HorizontalAlignment) -> CGFloat {
| | `- error: 'ViewDimensions' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing instance method
26 | coordinator.layoutContext() { subviews, cache -> CGFloat in
27 | if let explicitAlignment = layout.explicitAlignment(
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/ExplicitAlignmentModifier.swift:25:62: error: 'HorizontalAlignment' is only available in macOS 10.15 or newer
2 | import SwiftUI
3 |
4 | struct ExplicitAlignmentModifier<L: PlacementLayout>: ViewModifier {
| `- note: add '@available' attribute to enclosing generic struct
5 | @EnvironmentObject var coordinator: Coordinator<L>
6 | var children: _VariadicView_Children
:
23 | }
24 |
25 | func alignment(in dimensions: ViewDimensions, for guide: HorizontalAlignment) -> CGFloat {
| | `- error: 'HorizontalAlignment' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing instance method
26 | coordinator.layoutContext() { subviews, cache -> CGFloat in
27 | if let explicitAlignment = layout.explicitAlignment(
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/ExplicitAlignmentModifier.swift:41:41: error: 'View' is only available in macOS 10.15 or newer
2 | import SwiftUI
3 |
4 | struct ExplicitAlignmentModifier<L: PlacementLayout>: ViewModifier {
| `- note: add '@available' attribute to enclosing generic struct
5 | @EnvironmentObject var coordinator: Coordinator<L>
6 | var children: _VariadicView_Children
:
39 | }
40 |
41 | func body(content: Content) -> some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing instance method
42 | content
43 | .alignmentGuide(VerticalAlignment.top) { d in
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/ExplicitAlignmentModifier.swift:43:14: error: 'alignmentGuide(_:computeValue:)' is only available in macOS 10.15 or newer
2 | import SwiftUI
3 |
4 | struct ExplicitAlignmentModifier<L: PlacementLayout>: ViewModifier {
| `- note: add '@available' attribute to enclosing generic struct
5 | @EnvironmentObject var coordinator: Coordinator<L>
6 | var children: _VariadicView_Children
:
39 | }
40 |
41 | func body(content: Content) -> some View {
| `- note: add '@available' attribute to enclosing instance method
42 | content
43 | .alignmentGuide(VerticalAlignment.top) { d in
| |- error: 'alignmentGuide(_:computeValue:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
44 | alignment(in: d, for: VerticalAlignment.top)
45 | }
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/ExplicitAlignmentModifier.swift:43:29: error: 'VerticalAlignment' is only available in macOS 10.15 or newer
2 | import SwiftUI
3 |
4 | struct ExplicitAlignmentModifier<L: PlacementLayout>: ViewModifier {
| `- note: add '@available' attribute to enclosing generic struct
5 | @EnvironmentObject var coordinator: Coordinator<L>
6 | var children: _VariadicView_Children
:
39 | }
40 |
41 | func body(content: Content) -> some View {
| `- note: add '@available' attribute to enclosing instance method
42 | content
43 | .alignmentGuide(VerticalAlignment.top) { d in
| |- error: 'VerticalAlignment' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
44 | alignment(in: d, for: VerticalAlignment.top)
45 | }
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/ExplicitAlignmentModifier.swift:43:47: error: 'top' is only available in macOS 10.15 or newer
2 | import SwiftUI
3 |
4 | struct ExplicitAlignmentModifier<L: PlacementLayout>: ViewModifier {
| `- note: add '@available' attribute to enclosing generic struct
5 | @EnvironmentObject var coordinator: Coordinator<L>
6 | var children: _VariadicView_Children
:
39 | }
40 |
41 | func body(content: Content) -> some View {
| `- note: add '@available' attribute to enclosing instance method
42 | content
43 | .alignmentGuide(VerticalAlignment.top) { d in
| |- error: 'top' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
44 | alignment(in: d, for: VerticalAlignment.top)
45 | }
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/ExplicitAlignmentModifier.swift:44:39: error: 'VerticalAlignment' is only available in macOS 10.15 or newer
2 | import SwiftUI
3 |
4 | struct ExplicitAlignmentModifier<L: PlacementLayout>: ViewModifier {
| `- note: add '@available' attribute to enclosing generic struct
5 | @EnvironmentObject var coordinator: Coordinator<L>
6 | var children: _VariadicView_Children
:
39 | }
40 |
41 | func body(content: Content) -> some View {
| `- note: add '@available' attribute to enclosing instance method
42 | content
43 | .alignmentGuide(VerticalAlignment.top) { d in
44 | alignment(in: d, for: VerticalAlignment.top)
| |- error: 'VerticalAlignment' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
45 | }
46 | .alignmentGuide(VerticalAlignment.center) { d in
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/ExplicitAlignmentModifier.swift:44:57: error: 'top' is only available in macOS 10.15 or newer
2 | import SwiftUI
3 |
4 | struct ExplicitAlignmentModifier<L: PlacementLayout>: ViewModifier {
| `- note: add '@available' attribute to enclosing generic struct
5 | @EnvironmentObject var coordinator: Coordinator<L>
6 | var children: _VariadicView_Children
:
39 | }
40 |
41 | func body(content: Content) -> some View {
| `- note: add '@available' attribute to enclosing instance method
42 | content
43 | .alignmentGuide(VerticalAlignment.top) { d in
44 | alignment(in: d, for: VerticalAlignment.top)
| |- error: 'top' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
45 | }
46 | .alignmentGuide(VerticalAlignment.center) { d in
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/ExplicitAlignmentModifier.swift:46:14: error: 'alignmentGuide(_:computeValue:)' is only available in macOS 10.15 or newer
2 | import SwiftUI
3 |
4 | struct ExplicitAlignmentModifier<L: PlacementLayout>: ViewModifier {
| `- note: add '@available' attribute to enclosing generic struct
5 | @EnvironmentObject var coordinator: Coordinator<L>
6 | var children: _VariadicView_Children
:
39 | }
40 |
41 | func body(content: Content) -> some View {
| `- note: add '@available' attribute to enclosing instance method
42 | content
43 | .alignmentGuide(VerticalAlignment.top) { d in
44 | alignment(in: d, for: VerticalAlignment.top)
45 | }
46 | .alignmentGuide(VerticalAlignment.center) { d in
| |- error: 'alignmentGuide(_:computeValue:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
47 | alignment(in: d, for: VerticalAlignment.center)
48 | }
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/ExplicitAlignmentModifier.swift:46:29: error: 'VerticalAlignment' is only available in macOS 10.15 or newer
2 | import SwiftUI
3 |
4 | struct ExplicitAlignmentModifier<L: PlacementLayout>: ViewModifier {
| `- note: add '@available' attribute to enclosing generic struct
5 | @EnvironmentObject var coordinator: Coordinator<L>
6 | var children: _VariadicView_Children
:
39 | }
40 |
41 | func body(content: Content) -> some View {
| `- note: add '@available' attribute to enclosing instance method
42 | content
43 | .alignmentGuide(VerticalAlignment.top) { d in
44 | alignment(in: d, for: VerticalAlignment.top)
45 | }
46 | .alignmentGuide(VerticalAlignment.center) { d in
| |- error: 'VerticalAlignment' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
47 | alignment(in: d, for: VerticalAlignment.center)
48 | }
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/ExplicitAlignmentModifier.swift:46:47: error: 'center' is only available in macOS 10.15 or newer
2 | import SwiftUI
3 |
4 | struct ExplicitAlignmentModifier<L: PlacementLayout>: ViewModifier {
| `- note: add '@available' attribute to enclosing generic struct
5 | @EnvironmentObject var coordinator: Coordinator<L>
6 | var children: _VariadicView_Children
:
39 | }
40 |
41 | func body(content: Content) -> some View {
| `- note: add '@available' attribute to enclosing instance method
42 | content
43 | .alignmentGuide(VerticalAlignment.top) { d in
44 | alignment(in: d, for: VerticalAlignment.top)
45 | }
46 | .alignmentGuide(VerticalAlignment.center) { d in
| |- error: 'center' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
47 | alignment(in: d, for: VerticalAlignment.center)
48 | }
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/ExplicitAlignmentModifier.swift:47:39: error: 'VerticalAlignment' is only available in macOS 10.15 or newer
2 | import SwiftUI
3 |
4 | struct ExplicitAlignmentModifier<L: PlacementLayout>: ViewModifier {
| `- note: add '@available' attribute to enclosing generic struct
5 | @EnvironmentObject var coordinator: Coordinator<L>
6 | var children: _VariadicView_Children
:
39 | }
40 |
41 | func body(content: Content) -> some View {
| `- note: add '@available' attribute to enclosing instance method
42 | content
43 | .alignmentGuide(VerticalAlignment.top) { d in
:
45 | }
46 | .alignmentGuide(VerticalAlignment.center) { d in
47 | alignment(in: d, for: VerticalAlignment.center)
| |- error: 'VerticalAlignment' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
48 | }
49 | .alignmentGuide(VerticalAlignment.bottom) { d in
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/ExplicitAlignmentModifier.swift:47:57: error: 'center' is only available in macOS 10.15 or newer
2 | import SwiftUI
3 |
4 | struct ExplicitAlignmentModifier<L: PlacementLayout>: ViewModifier {
| `- note: add '@available' attribute to enclosing generic struct
5 | @EnvironmentObject var coordinator: Coordinator<L>
6 | var children: _VariadicView_Children
:
39 | }
40 |
41 | func body(content: Content) -> some View {
| `- note: add '@available' attribute to enclosing instance method
42 | content
43 | .alignmentGuide(VerticalAlignment.top) { d in
:
45 | }
46 | .alignmentGuide(VerticalAlignment.center) { d in
47 | alignment(in: d, for: VerticalAlignment.center)
| |- error: 'center' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
48 | }
49 | .alignmentGuide(VerticalAlignment.bottom) { d in
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/ExplicitAlignmentModifier.swift:49:14: error: 'alignmentGuide(_:computeValue:)' is only available in macOS 10.15 or newer
2 | import SwiftUI
3 |
4 | struct ExplicitAlignmentModifier<L: PlacementLayout>: ViewModifier {
| `- note: add '@available' attribute to enclosing generic struct
5 | @EnvironmentObject var coordinator: Coordinator<L>
6 | var children: _VariadicView_Children
:
39 | }
40 |
41 | func body(content: Content) -> some View {
| `- note: add '@available' attribute to enclosing instance method
42 | content
43 | .alignmentGuide(VerticalAlignment.top) { d in
:
47 | alignment(in: d, for: VerticalAlignment.center)
48 | }
49 | .alignmentGuide(VerticalAlignment.bottom) { d in
| |- error: 'alignmentGuide(_:computeValue:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
50 | alignment(in: d, for: VerticalAlignment.bottom)
51 | }
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/ExplicitAlignmentModifier.swift:49:29: error: 'VerticalAlignment' is only available in macOS 10.15 or newer
2 | import SwiftUI
3 |
4 | struct ExplicitAlignmentModifier<L: PlacementLayout>: ViewModifier {
| `- note: add '@available' attribute to enclosing generic struct
5 | @EnvironmentObject var coordinator: Coordinator<L>
6 | var children: _VariadicView_Children
:
39 | }
40 |
41 | func body(content: Content) -> some View {
| `- note: add '@available' attribute to enclosing instance method
42 | content
43 | .alignmentGuide(VerticalAlignment.top) { d in
:
47 | alignment(in: d, for: VerticalAlignment.center)
48 | }
49 | .alignmentGuide(VerticalAlignment.bottom) { d in
| |- error: 'VerticalAlignment' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
50 | alignment(in: d, for: VerticalAlignment.bottom)
51 | }
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/ExplicitAlignmentModifier.swift:49:47: error: 'bottom' is only available in macOS 10.15 or newer
2 | import SwiftUI
3 |
4 | struct ExplicitAlignmentModifier<L: PlacementLayout>: ViewModifier {
| `- note: add '@available' attribute to enclosing generic struct
5 | @EnvironmentObject var coordinator: Coordinator<L>
6 | var children: _VariadicView_Children
:
39 | }
40 |
41 | func body(content: Content) -> some View {
| `- note: add '@available' attribute to enclosing instance method
42 | content
43 | .alignmentGuide(VerticalAlignment.top) { d in
:
47 | alignment(in: d, for: VerticalAlignment.center)
48 | }
49 | .alignmentGuide(VerticalAlignment.bottom) { d in
| |- error: 'bottom' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
50 | alignment(in: d, for: VerticalAlignment.bottom)
51 | }
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/ExplicitAlignmentModifier.swift:50:39: error: 'VerticalAlignment' is only available in macOS 10.15 or newer
2 | import SwiftUI
3 |
4 | struct ExplicitAlignmentModifier<L: PlacementLayout>: ViewModifier {
| `- note: add '@available' attribute to enclosing generic struct
5 | @EnvironmentObject var coordinator: Coordinator<L>
6 | var children: _VariadicView_Children
:
39 | }
40 |
41 | func body(content: Content) -> some View {
| `- note: add '@available' attribute to enclosing instance method
42 | content
43 | .alignmentGuide(VerticalAlignment.top) { d in
:
48 | }
49 | .alignmentGuide(VerticalAlignment.bottom) { d in
50 | alignment(in: d, for: VerticalAlignment.bottom)
| |- error: 'VerticalAlignment' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
51 | }
52 | .alignmentGuide(VerticalAlignment.firstTextBaseline) { d in
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/ExplicitAlignmentModifier.swift:50:57: error: 'bottom' is only available in macOS 10.15 or newer
2 | import SwiftUI
3 |
4 | struct ExplicitAlignmentModifier<L: PlacementLayout>: ViewModifier {
| `- note: add '@available' attribute to enclosing generic struct
5 | @EnvironmentObject var coordinator: Coordinator<L>
6 | var children: _VariadicView_Children
:
39 | }
40 |
41 | func body(content: Content) -> some View {
| `- note: add '@available' attribute to enclosing instance method
42 | content
43 | .alignmentGuide(VerticalAlignment.top) { d in
:
48 | }
49 | .alignmentGuide(VerticalAlignment.bottom) { d in
50 | alignment(in: d, for: VerticalAlignment.bottom)
| |- error: 'bottom' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
51 | }
52 | .alignmentGuide(VerticalAlignment.firstTextBaseline) { d in
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/ExplicitAlignmentModifier.swift:52:14: error: 'alignmentGuide(_:computeValue:)' is only available in macOS 10.15 or newer
2 | import SwiftUI
3 |
4 | struct ExplicitAlignmentModifier<L: PlacementLayout>: ViewModifier {
| `- note: add '@available' attribute to enclosing generic struct
5 | @EnvironmentObject var coordinator: Coordinator<L>
6 | var children: _VariadicView_Children
:
39 | }
40 |
41 | func body(content: Content) -> some View {
| `- note: add '@available' attribute to enclosing instance method
42 | content
43 | .alignmentGuide(VerticalAlignment.top) { d in
:
50 | alignment(in: d, for: VerticalAlignment.bottom)
51 | }
52 | .alignmentGuide(VerticalAlignment.firstTextBaseline) { d in
| |- error: 'alignmentGuide(_:computeValue:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
53 | alignment(in: d, for: VerticalAlignment.firstTextBaseline)
54 | }
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/ExplicitAlignmentModifier.swift:52:29: error: 'VerticalAlignment' is only available in macOS 10.15 or newer
2 | import SwiftUI
3 |
4 | struct ExplicitAlignmentModifier<L: PlacementLayout>: ViewModifier {
| `- note: add '@available' attribute to enclosing generic struct
5 | @EnvironmentObject var coordinator: Coordinator<L>
6 | var children: _VariadicView_Children
:
39 | }
40 |
41 | func body(content: Content) -> some View {
| `- note: add '@available' attribute to enclosing instance method
42 | content
43 | .alignmentGuide(VerticalAlignment.top) { d in
:
50 | alignment(in: d, for: VerticalAlignment.bottom)
51 | }
52 | .alignmentGuide(VerticalAlignment.firstTextBaseline) { d in
| |- error: 'VerticalAlignment' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
53 | alignment(in: d, for: VerticalAlignment.firstTextBaseline)
54 | }
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/ExplicitAlignmentModifier.swift:52:47: error: 'firstTextBaseline' is only available in macOS 10.15 or newer
2 | import SwiftUI
3 |
4 | struct ExplicitAlignmentModifier<L: PlacementLayout>: ViewModifier {
| `- note: add '@available' attribute to enclosing generic struct
5 | @EnvironmentObject var coordinator: Coordinator<L>
6 | var children: _VariadicView_Children
:
39 | }
40 |
41 | func body(content: Content) -> some View {
| `- note: add '@available' attribute to enclosing instance method
42 | content
43 | .alignmentGuide(VerticalAlignment.top) { d in
:
50 | alignment(in: d, for: VerticalAlignment.bottom)
51 | }
52 | .alignmentGuide(VerticalAlignment.firstTextBaseline) { d in
| |- error: 'firstTextBaseline' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
53 | alignment(in: d, for: VerticalAlignment.firstTextBaseline)
54 | }
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/ExplicitAlignmentModifier.swift:53:39: error: 'VerticalAlignment' is only available in macOS 10.15 or newer
2 | import SwiftUI
3 |
4 | struct ExplicitAlignmentModifier<L: PlacementLayout>: ViewModifier {
| `- note: add '@available' attribute to enclosing generic struct
5 | @EnvironmentObject var coordinator: Coordinator<L>
6 | var children: _VariadicView_Children
:
39 | }
40 |
41 | func body(content: Content) -> some View {
| `- note: add '@available' attribute to enclosing instance method
42 | content
43 | .alignmentGuide(VerticalAlignment.top) { d in
:
51 | }
52 | .alignmentGuide(VerticalAlignment.firstTextBaseline) { d in
53 | alignment(in: d, for: VerticalAlignment.firstTextBaseline)
| |- error: 'VerticalAlignment' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
54 | }
55 | .alignmentGuide(VerticalAlignment.lastTextBaseline) { d in
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/ExplicitAlignmentModifier.swift:53:57: error: 'firstTextBaseline' is only available in macOS 10.15 or newer
2 | import SwiftUI
3 |
4 | struct ExplicitAlignmentModifier<L: PlacementLayout>: ViewModifier {
| `- note: add '@available' attribute to enclosing generic struct
5 | @EnvironmentObject var coordinator: Coordinator<L>
6 | var children: _VariadicView_Children
:
39 | }
40 |
41 | func body(content: Content) -> some View {
| `- note: add '@available' attribute to enclosing instance method
42 | content
43 | .alignmentGuide(VerticalAlignment.top) { d in
:
51 | }
52 | .alignmentGuide(VerticalAlignment.firstTextBaseline) { d in
53 | alignment(in: d, for: VerticalAlignment.firstTextBaseline)
| |- error: 'firstTextBaseline' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
54 | }
55 | .alignmentGuide(VerticalAlignment.lastTextBaseline) { d in
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/ExplicitAlignmentModifier.swift:55:14: error: 'alignmentGuide(_:computeValue:)' is only available in macOS 10.15 or newer
2 | import SwiftUI
3 |
4 | struct ExplicitAlignmentModifier<L: PlacementLayout>: ViewModifier {
| `- note: add '@available' attribute to enclosing generic struct
5 | @EnvironmentObject var coordinator: Coordinator<L>
6 | var children: _VariadicView_Children
:
39 | }
40 |
41 | func body(content: Content) -> some View {
| `- note: add '@available' attribute to enclosing instance method
42 | content
43 | .alignmentGuide(VerticalAlignment.top) { d in
:
53 | alignment(in: d, for: VerticalAlignment.firstTextBaseline)
54 | }
55 | .alignmentGuide(VerticalAlignment.lastTextBaseline) { d in
| |- error: 'alignmentGuide(_:computeValue:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
56 | alignment(in: d, for: VerticalAlignment.lastTextBaseline)
57 | }
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/ExplicitAlignmentModifier.swift:55:29: error: 'VerticalAlignment' is only available in macOS 10.15 or newer
2 | import SwiftUI
3 |
4 | struct ExplicitAlignmentModifier<L: PlacementLayout>: ViewModifier {
| `- note: add '@available' attribute to enclosing generic struct
5 | @EnvironmentObject var coordinator: Coordinator<L>
6 | var children: _VariadicView_Children
:
39 | }
40 |
41 | func body(content: Content) -> some View {
| `- note: add '@available' attribute to enclosing instance method
42 | content
43 | .alignmentGuide(VerticalAlignment.top) { d in
:
53 | alignment(in: d, for: VerticalAlignment.firstTextBaseline)
54 | }
55 | .alignmentGuide(VerticalAlignment.lastTextBaseline) { d in
| |- error: 'VerticalAlignment' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
56 | alignment(in: d, for: VerticalAlignment.lastTextBaseline)
57 | }
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/ExplicitAlignmentModifier.swift:55:47: error: 'lastTextBaseline' is only available in macOS 10.15 or newer
2 | import SwiftUI
3 |
4 | struct ExplicitAlignmentModifier<L: PlacementLayout>: ViewModifier {
| `- note: add '@available' attribute to enclosing generic struct
5 | @EnvironmentObject var coordinator: Coordinator<L>
6 | var children: _VariadicView_Children
:
39 | }
40 |
41 | func body(content: Content) -> some View {
| `- note: add '@available' attribute to enclosing instance method
42 | content
43 | .alignmentGuide(VerticalAlignment.top) { d in
:
53 | alignment(in: d, for: VerticalAlignment.firstTextBaseline)
54 | }
55 | .alignmentGuide(VerticalAlignment.lastTextBaseline) { d in
| |- error: 'lastTextBaseline' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
56 | alignment(in: d, for: VerticalAlignment.lastTextBaseline)
57 | }
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/ExplicitAlignmentModifier.swift:56:39: error: 'VerticalAlignment' is only available in macOS 10.15 or newer
2 | import SwiftUI
3 |
4 | struct ExplicitAlignmentModifier<L: PlacementLayout>: ViewModifier {
| `- note: add '@available' attribute to enclosing generic struct
5 | @EnvironmentObject var coordinator: Coordinator<L>
6 | var children: _VariadicView_Children
:
39 | }
40 |
41 | func body(content: Content) -> some View {
| `- note: add '@available' attribute to enclosing instance method
42 | content
43 | .alignmentGuide(VerticalAlignment.top) { d in
:
54 | }
55 | .alignmentGuide(VerticalAlignment.lastTextBaseline) { d in
56 | alignment(in: d, for: VerticalAlignment.lastTextBaseline)
| |- error: 'VerticalAlignment' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
57 | }
58 | .alignmentGuide(HorizontalAlignment.leading) { d in
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/ExplicitAlignmentModifier.swift:56:57: error: 'lastTextBaseline' is only available in macOS 10.15 or newer
2 | import SwiftUI
3 |
4 | struct ExplicitAlignmentModifier<L: PlacementLayout>: ViewModifier {
| `- note: add '@available' attribute to enclosing generic struct
5 | @EnvironmentObject var coordinator: Coordinator<L>
6 | var children: _VariadicView_Children
:
39 | }
40 |
41 | func body(content: Content) -> some View {
| `- note: add '@available' attribute to enclosing instance method
42 | content
43 | .alignmentGuide(VerticalAlignment.top) { d in
:
54 | }
55 | .alignmentGuide(VerticalAlignment.lastTextBaseline) { d in
56 | alignment(in: d, for: VerticalAlignment.lastTextBaseline)
| |- error: 'lastTextBaseline' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
57 | }
58 | .alignmentGuide(HorizontalAlignment.leading) { d in
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/ExplicitAlignmentModifier.swift:58:14: error: 'alignmentGuide(_:computeValue:)' is only available in macOS 10.15 or newer
2 | import SwiftUI
3 |
4 | struct ExplicitAlignmentModifier<L: PlacementLayout>: ViewModifier {
| `- note: add '@available' attribute to enclosing generic struct
5 | @EnvironmentObject var coordinator: Coordinator<L>
6 | var children: _VariadicView_Children
:
39 | }
40 |
41 | func body(content: Content) -> some View {
| `- note: add '@available' attribute to enclosing instance method
42 | content
43 | .alignmentGuide(VerticalAlignment.top) { d in
:
56 | alignment(in: d, for: VerticalAlignment.lastTextBaseline)
57 | }
58 | .alignmentGuide(HorizontalAlignment.leading) { d in
| |- error: 'alignmentGuide(_:computeValue:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
59 | alignment(in: d, for: HorizontalAlignment.leading)
60 | }
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/ExplicitAlignmentModifier.swift:58:29: error: 'HorizontalAlignment' is only available in macOS 10.15 or newer
2 | import SwiftUI
3 |
4 | struct ExplicitAlignmentModifier<L: PlacementLayout>: ViewModifier {
| `- note: add '@available' attribute to enclosing generic struct
5 | @EnvironmentObject var coordinator: Coordinator<L>
6 | var children: _VariadicView_Children
:
39 | }
40 |
41 | func body(content: Content) -> some View {
| `- note: add '@available' attribute to enclosing instance method
42 | content
43 | .alignmentGuide(VerticalAlignment.top) { d in
:
56 | alignment(in: d, for: VerticalAlignment.lastTextBaseline)
57 | }
58 | .alignmentGuide(HorizontalAlignment.leading) { d in
| |- error: 'HorizontalAlignment' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
59 | alignment(in: d, for: HorizontalAlignment.leading)
60 | }
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/ExplicitAlignmentModifier.swift:58:49: error: 'leading' is only available in macOS 10.15 or newer
2 | import SwiftUI
3 |
4 | struct ExplicitAlignmentModifier<L: PlacementLayout>: ViewModifier {
| `- note: add '@available' attribute to enclosing generic struct
5 | @EnvironmentObject var coordinator: Coordinator<L>
6 | var children: _VariadicView_Children
:
39 | }
40 |
41 | func body(content: Content) -> some View {
| `- note: add '@available' attribute to enclosing instance method
42 | content
43 | .alignmentGuide(VerticalAlignment.top) { d in
:
56 | alignment(in: d, for: VerticalAlignment.lastTextBaseline)
57 | }
58 | .alignmentGuide(HorizontalAlignment.leading) { d in
| |- error: 'leading' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
59 | alignment(in: d, for: HorizontalAlignment.leading)
60 | }
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/ExplicitAlignmentModifier.swift:59:39: error: 'HorizontalAlignment' is only available in macOS 10.15 or newer
2 | import SwiftUI
3 |
4 | struct ExplicitAlignmentModifier<L: PlacementLayout>: ViewModifier {
| `- note: add '@available' attribute to enclosing generic struct
5 | @EnvironmentObject var coordinator: Coordinator<L>
6 | var children: _VariadicView_Children
:
39 | }
40 |
41 | func body(content: Content) -> some View {
| `- note: add '@available' attribute to enclosing instance method
42 | content
43 | .alignmentGuide(VerticalAlignment.top) { d in
:
57 | }
58 | .alignmentGuide(HorizontalAlignment.leading) { d in
59 | alignment(in: d, for: HorizontalAlignment.leading)
| |- error: 'HorizontalAlignment' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
60 | }
61 | .alignmentGuide(HorizontalAlignment.center) { d in
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/ExplicitAlignmentModifier.swift:59:59: error: 'leading' is only available in macOS 10.15 or newer
2 | import SwiftUI
3 |
4 | struct ExplicitAlignmentModifier<L: PlacementLayout>: ViewModifier {
| `- note: add '@available' attribute to enclosing generic struct
5 | @EnvironmentObject var coordinator: Coordinator<L>
6 | var children: _VariadicView_Children
:
39 | }
40 |
41 | func body(content: Content) -> some View {
| `- note: add '@available' attribute to enclosing instance method
42 | content
43 | .alignmentGuide(VerticalAlignment.top) { d in
:
57 | }
58 | .alignmentGuide(HorizontalAlignment.leading) { d in
59 | alignment(in: d, for: HorizontalAlignment.leading)
| |- error: 'leading' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
60 | }
61 | .alignmentGuide(HorizontalAlignment.center) { d in
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/ExplicitAlignmentModifier.swift:61:14: error: 'alignmentGuide(_:computeValue:)' is only available in macOS 10.15 or newer
2 | import SwiftUI
3 |
4 | struct ExplicitAlignmentModifier<L: PlacementLayout>: ViewModifier {
| `- note: add '@available' attribute to enclosing generic struct
5 | @EnvironmentObject var coordinator: Coordinator<L>
6 | var children: _VariadicView_Children
:
39 | }
40 |
41 | func body(content: Content) -> some View {
| `- note: add '@available' attribute to enclosing instance method
42 | content
43 | .alignmentGuide(VerticalAlignment.top) { d in
:
59 | alignment(in: d, for: HorizontalAlignment.leading)
60 | }
61 | .alignmentGuide(HorizontalAlignment.center) { d in
| |- error: 'alignmentGuide(_:computeValue:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
62 | alignment(in: d, for: HorizontalAlignment.center)
63 | }
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/ExplicitAlignmentModifier.swift:61:29: error: 'HorizontalAlignment' is only available in macOS 10.15 or newer
2 | import SwiftUI
3 |
4 | struct ExplicitAlignmentModifier<L: PlacementLayout>: ViewModifier {
| `- note: add '@available' attribute to enclosing generic struct
5 | @EnvironmentObject var coordinator: Coordinator<L>
6 | var children: _VariadicView_Children
:
39 | }
40 |
41 | func body(content: Content) -> some View {
| `- note: add '@available' attribute to enclosing instance method
42 | content
43 | .alignmentGuide(VerticalAlignment.top) { d in
:
59 | alignment(in: d, for: HorizontalAlignment.leading)
60 | }
61 | .alignmentGuide(HorizontalAlignment.center) { d in
| |- error: 'HorizontalAlignment' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
62 | alignment(in: d, for: HorizontalAlignment.center)
63 | }
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/ExplicitAlignmentModifier.swift:61:49: error: 'center' is only available in macOS 10.15 or newer
2 | import SwiftUI
3 |
4 | struct ExplicitAlignmentModifier<L: PlacementLayout>: ViewModifier {
| `- note: add '@available' attribute to enclosing generic struct
5 | @EnvironmentObject var coordinator: Coordinator<L>
6 | var children: _VariadicView_Children
:
39 | }
40 |
41 | func body(content: Content) -> some View {
| `- note: add '@available' attribute to enclosing instance method
42 | content
43 | .alignmentGuide(VerticalAlignment.top) { d in
:
59 | alignment(in: d, for: HorizontalAlignment.leading)
60 | }
61 | .alignmentGuide(HorizontalAlignment.center) { d in
| |- error: 'center' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
62 | alignment(in: d, for: HorizontalAlignment.center)
63 | }
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/ExplicitAlignmentModifier.swift:62:39: error: 'HorizontalAlignment' is only available in macOS 10.15 or newer
2 | import SwiftUI
3 |
4 | struct ExplicitAlignmentModifier<L: PlacementLayout>: ViewModifier {
| `- note: add '@available' attribute to enclosing generic struct
5 | @EnvironmentObject var coordinator: Coordinator<L>
6 | var children: _VariadicView_Children
:
39 | }
40 |
41 | func body(content: Content) -> some View {
| `- note: add '@available' attribute to enclosing instance method
42 | content
43 | .alignmentGuide(VerticalAlignment.top) { d in
:
60 | }
61 | .alignmentGuide(HorizontalAlignment.center) { d in
62 | alignment(in: d, for: HorizontalAlignment.center)
| |- error: 'HorizontalAlignment' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
63 | }
64 | .alignmentGuide(HorizontalAlignment.trailing) { d in
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/ExplicitAlignmentModifier.swift:62:59: error: 'center' is only available in macOS 10.15 or newer
2 | import SwiftUI
3 |
4 | struct ExplicitAlignmentModifier<L: PlacementLayout>: ViewModifier {
| `- note: add '@available' attribute to enclosing generic struct
5 | @EnvironmentObject var coordinator: Coordinator<L>
6 | var children: _VariadicView_Children
:
39 | }
40 |
41 | func body(content: Content) -> some View {
| `- note: add '@available' attribute to enclosing instance method
42 | content
43 | .alignmentGuide(VerticalAlignment.top) { d in
:
60 | }
61 | .alignmentGuide(HorizontalAlignment.center) { d in
62 | alignment(in: d, for: HorizontalAlignment.center)
| |- error: 'center' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
63 | }
64 | .alignmentGuide(HorizontalAlignment.trailing) { d in
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/ExplicitAlignmentModifier.swift:64:14: error: 'alignmentGuide(_:computeValue:)' is only available in macOS 10.15 or newer
2 | import SwiftUI
3 |
4 | struct ExplicitAlignmentModifier<L: PlacementLayout>: ViewModifier {
| `- note: add '@available' attribute to enclosing generic struct
5 | @EnvironmentObject var coordinator: Coordinator<L>
6 | var children: _VariadicView_Children
:
39 | }
40 |
41 | func body(content: Content) -> some View {
| `- note: add '@available' attribute to enclosing instance method
42 | content
43 | .alignmentGuide(VerticalAlignment.top) { d in
:
62 | alignment(in: d, for: HorizontalAlignment.center)
63 | }
64 | .alignmentGuide(HorizontalAlignment.trailing) { d in
| |- error: 'alignmentGuide(_:computeValue:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
65 | alignment(in: d, for: HorizontalAlignment.trailing)
66 | }
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/ExplicitAlignmentModifier.swift:64:29: error: 'HorizontalAlignment' is only available in macOS 10.15 or newer
2 | import SwiftUI
3 |
4 | struct ExplicitAlignmentModifier<L: PlacementLayout>: ViewModifier {
| `- note: add '@available' attribute to enclosing generic struct
5 | @EnvironmentObject var coordinator: Coordinator<L>
6 | var children: _VariadicView_Children
:
39 | }
40 |
41 | func body(content: Content) -> some View {
| `- note: add '@available' attribute to enclosing instance method
42 | content
43 | .alignmentGuide(VerticalAlignment.top) { d in
:
62 | alignment(in: d, for: HorizontalAlignment.center)
63 | }
64 | .alignmentGuide(HorizontalAlignment.trailing) { d in
| |- error: 'HorizontalAlignment' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
65 | alignment(in: d, for: HorizontalAlignment.trailing)
66 | }
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/ExplicitAlignmentModifier.swift:64:49: error: 'trailing' is only available in macOS 10.15 or newer
2 | import SwiftUI
3 |
4 | struct ExplicitAlignmentModifier<L: PlacementLayout>: ViewModifier {
| `- note: add '@available' attribute to enclosing generic struct
5 | @EnvironmentObject var coordinator: Coordinator<L>
6 | var children: _VariadicView_Children
:
39 | }
40 |
41 | func body(content: Content) -> some View {
| `- note: add '@available' attribute to enclosing instance method
42 | content
43 | .alignmentGuide(VerticalAlignment.top) { d in
:
62 | alignment(in: d, for: HorizontalAlignment.center)
63 | }
64 | .alignmentGuide(HorizontalAlignment.trailing) { d in
| |- error: 'trailing' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
65 | alignment(in: d, for: HorizontalAlignment.trailing)
66 | }
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/ExplicitAlignmentModifier.swift:65:39: error: 'HorizontalAlignment' is only available in macOS 10.15 or newer
2 | import SwiftUI
3 |
4 | struct ExplicitAlignmentModifier<L: PlacementLayout>: ViewModifier {
| `- note: add '@available' attribute to enclosing generic struct
5 | @EnvironmentObject var coordinator: Coordinator<L>
6 | var children: _VariadicView_Children
:
39 | }
40 |
41 | func body(content: Content) -> some View {
| `- note: add '@available' attribute to enclosing instance method
42 | content
43 | .alignmentGuide(VerticalAlignment.top) { d in
:
63 | }
64 | .alignmentGuide(HorizontalAlignment.trailing) { d in
65 | alignment(in: d, for: HorizontalAlignment.trailing)
| |- error: 'HorizontalAlignment' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
66 | }
67 | }
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/ExplicitAlignmentModifier.swift:65:59: error: 'trailing' is only available in macOS 10.15 or newer
2 | import SwiftUI
3 |
4 | struct ExplicitAlignmentModifier<L: PlacementLayout>: ViewModifier {
| `- note: add '@available' attribute to enclosing generic struct
5 | @EnvironmentObject var coordinator: Coordinator<L>
6 | var children: _VariadicView_Children
:
39 | }
40 |
41 | func body(content: Content) -> some View {
| `- note: add '@available' attribute to enclosing instance method
42 | content
43 | .alignmentGuide(VerticalAlignment.top) { d in
:
63 | }
64 | .alignmentGuide(HorizontalAlignment.trailing) { d in
65 | alignment(in: d, for: HorizontalAlignment.trailing)
| |- error: 'trailing' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
66 | }
67 | }
[31/33] Compiling Placement LayoutSizeModifier.swift
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/LayoutSizeModifier.swift:7:40: error: 'ViewDimensions' is only available in macOS 10.15 or newer
4 |
5 | extension VerticalAlignment {
6 | struct PlacementTop: AlignmentID {
| `- note: add '@available' attribute to enclosing struct
7 | static func defaultValue(in d: ViewDimensions) -> CGFloat {
| | `- error: 'ViewDimensions' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing static method
8 | d[.top]
9 | }
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/LayoutSizeModifier.swift:12:31: error: 'VerticalAlignment' is only available in macOS 10.15 or newer
3 | import Combine
4 |
5 | extension VerticalAlignment {
| `- note: add '@available' attribute to enclosing extension
6 | struct PlacementTop: AlignmentID {
7 | static func defaultValue(in d: ViewDimensions) -> CGFloat {
:
10 | }
11 |
12 | static let placementTop = VerticalAlignment(PlacementTop.self)
| | `- error: 'VerticalAlignment' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing static property
13 | }
14 |
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/LayoutSizeModifier.swift:5:11: error: 'VerticalAlignment' is only available in macOS 10.15 or newer
3 | import Combine
4 |
5 | extension VerticalAlignment {
| | `- error: 'VerticalAlignment' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing extension
6 | struct PlacementTop: AlignmentID {
7 | static func defaultValue(in d: ViewDimensions) -> CGFloat {
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/LayoutSizeModifier.swift:17:40: error: 'ViewDimensions' is only available in macOS 10.15 or newer
14 |
15 | extension HorizontalAlignment {
16 | struct PlacementLeading: AlignmentID {
| `- note: add '@available' attribute to enclosing struct
17 | static func defaultValue(in d: ViewDimensions) -> CGFloat {
| | `- error: 'ViewDimensions' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing static method
18 | d[.leading]
19 | }
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/LayoutSizeModifier.swift:22:35: error: 'HorizontalAlignment' is only available in macOS 10.15 or newer
13 | }
14 |
15 | extension HorizontalAlignment {
| `- note: add '@available' attribute to enclosing extension
16 | struct PlacementLeading: AlignmentID {
17 | static func defaultValue(in d: ViewDimensions) -> CGFloat {
:
20 | }
21 |
22 | static let placementLeading = HorizontalAlignment(PlacementLeading.self)
| | `- error: 'HorizontalAlignment' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing static property
23 | }
24 |
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/LayoutSizeModifier.swift:15:11: error: 'HorizontalAlignment' is only available in macOS 10.15 or newer
13 | }
14 |
15 | extension HorizontalAlignment {
| | `- error: 'HorizontalAlignment' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing extension
16 | struct PlacementLeading: AlignmentID {
17 | static func defaultValue(in d: ViewDimensions) -> CGFloat {
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/LayoutSizeModifier.swift:26:6: error: 'EnvironmentObject' is only available in macOS 10.15 or newer
23 | }
24 |
25 | struct LayoutSizeModifier<L: PlacementLayout>: ViewModifier {
| `- note: add '@available' attribute to enclosing generic struct
26 | @EnvironmentObject var coordinator: Coordinator<L>
| `- error: 'EnvironmentObject' is only available in macOS 10.15 or newer
27 | @State var keyboardFrame: CGRect = .zero
28 | @State var intrinsicSizes: [AnyHashable: CGSize] = [:]
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/LayoutSizeModifier.swift:27:6: error: 'State' is only available in macOS 10.15 or newer
23 | }
24 |
25 | struct LayoutSizeModifier<L: PlacementLayout>: ViewModifier {
| `- note: add '@available' attribute to enclosing generic struct
26 | @EnvironmentObject var coordinator: Coordinator<L>
27 | @State var keyboardFrame: CGRect = .zero
| `- error: 'State' is only available in macOS 10.15 or newer
28 | @State var intrinsicSizes: [AnyHashable: CGSize] = [:]
29 | var children: _VariadicView.Children
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/LayoutSizeModifier.swift:28:6: error: 'State' is only available in macOS 10.15 or newer
23 | }
24 |
25 | struct LayoutSizeModifier<L: PlacementLayout>: ViewModifier {
| `- note: add '@available' attribute to enclosing generic struct
26 | @EnvironmentObject var coordinator: Coordinator<L>
27 | @State var keyboardFrame: CGRect = .zero
28 | @State var intrinsicSizes: [AnyHashable: CGSize] = [:]
| `- error: 'State' is only available in macOS 10.15 or newer
29 | var children: _VariadicView.Children
30 | var layout: L
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/LayoutSizeModifier.swift:29:19: error: '_VariadicView' is only available in macOS 10.15 or newer
23 | }
24 |
25 | struct LayoutSizeModifier<L: PlacementLayout>: ViewModifier {
| `- note: add '@available' attribute to enclosing generic struct
26 | @EnvironmentObject var coordinator: Coordinator<L>
27 | @State var keyboardFrame: CGRect = .zero
28 | @State var intrinsicSizes: [AnyHashable: CGSize] = [:]
29 | var children: _VariadicView.Children
| `- error: '_VariadicView' is only available in macOS 10.15 or newer
30 | var layout: L
31 |
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/LayoutSizeModifier.swift:32:41: error: 'View' is only available in macOS 10.15 or newer
23 | }
24 |
25 | struct LayoutSizeModifier<L: PlacementLayout>: ViewModifier {
| `- note: add '@available' attribute to enclosing generic struct
26 | @EnvironmentObject var coordinator: Coordinator<L>
27 | @State var keyboardFrame: CGRect = .zero
:
30 | var layout: L
31 |
32 | func body(content: Content) -> some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing instance method
33 | LayoutSizingView(
34 | layout: layout,
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/LayoutSizeModifier.swift:8:16: error: 'top' is only available in macOS 10.15 or newer
4 |
5 | extension VerticalAlignment {
6 | struct PlacementTop: AlignmentID {
| `- note: add '@available' attribute to enclosing struct
7 | static func defaultValue(in d: ViewDimensions) -> CGFloat {
| `- note: add '@available' attribute to enclosing static method
8 | d[.top]
| |- error: 'top' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
9 | }
10 | }
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/LayoutSizeModifier.swift:18:16: error: 'leading' is only available in macOS 10.15 or newer
14 |
15 | extension HorizontalAlignment {
16 | struct PlacementLeading: AlignmentID {
| `- note: add '@available' attribute to enclosing struct
17 | static func defaultValue(in d: ViewDimensions) -> CGFloat {
| `- note: add '@available' attribute to enclosing static method
18 | d[.leading]
| |- error: 'leading' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
19 | }
20 | }
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/Coordinator.swift:184:30: error: 'Transaction' is only available in macOS 10.15 or newer
7 | }
8 |
9 | class Coordinator<L: PlacementLayout>: ObservableObject {
| `- note: add '@available' attribute to enclosing generic class
10 | var keyboardFrame: CGRect = .zero
11 | var globalFrame: CGRect? = nil
:
182 | }
183 |
184 | public var transaction = Transaction()
| `- error: 'Transaction' is only available in macOS 10.15 or newer
185 | public var placementsCoordinator = PlacementsCoordinator()
186 | public var hostingControllers: [AnyHashable: UIHostingController<AnyView>] = [:]
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/LayoutSizeModifier.swift:39:10: error: value of type 'LayoutSizingView<L>' has no member 'transaction'
37 | keyboardFrame: $keyboardFrame
38 | )
39 | .transaction({ transaction in
| `- error: value of type 'LayoutSizingView<L>' has no member 'transaction'
40 | coordinator.transaction = transaction
41 | })
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/LayoutSizeModifier.swift:65:14: error: value of type 'FrameChangePlacer<L>' has no member 'animation'
63 | keyboardFrame: $keyboardFrame
64 | )
65 | .animation(nil)
| `- error: value of type 'FrameChangePlacer<L>' has no member 'animation'
66 | .allowsHitTesting(false)
67 | }
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/LayoutSizeModifier.swift:65:24: error: 'nil' requires a contextual type
63 | keyboardFrame: $keyboardFrame
64 | )
65 | .animation(nil)
| `- error: 'nil' requires a contextual type
66 | .allowsHitTesting(false)
67 | }
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/LayoutSizingView.swift:4:33: error: cannot find type 'UIView' in scope
2 | import SwiftUI
3 |
4 | class PlacementLayoutContainer: UIView {
| `- error: cannot find type 'UIView' in scope
5 | override var intrinsicContentSize: CGSize {
6 | .zero
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/LayoutSizingView.swift:5:18: error: property does not override any property from its superclass
3 |
4 | class PlacementLayoutContainer: UIView {
5 | override var intrinsicContentSize: CGSize {
| `- error: property does not override any property from its superclass
6 | .zero
7 | }
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/LayoutSizingView.swift:11:6: error: 'EnvironmentObject' is only available in macOS 10.15 or newer
8 | }
9 |
10 | struct LayoutSizingView<L: PlacementLayout>: UIViewRepresentable {
| `- note: add '@available' attribute to enclosing generic struct
11 | @EnvironmentObject var coordinator: Coordinator<L>
| `- error: 'EnvironmentObject' is only available in macOS 10.15 or newer
12 | var layout: L
13 | var children: _VariadicView.Children
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/LayoutSizingView.swift:13:19: error: '_VariadicView' is only available in macOS 10.15 or newer
8 | }
9 |
10 | struct LayoutSizingView<L: PlacementLayout>: UIViewRepresentable {
| `- note: add '@available' attribute to enclosing generic struct
11 | @EnvironmentObject var coordinator: Coordinator<L>
12 | var layout: L
13 | var children: _VariadicView.Children
| `- error: '_VariadicView' is only available in macOS 10.15 or newer
14 | @Binding var intrinsicSizes: [AnyHashable: CGSize]
15 | @Binding var keyboardFrame: CGRect
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/LayoutSizingView.swift:14:6: error: 'Binding' is only available in macOS 10.15 or newer
8 | }
9 |
10 | struct LayoutSizingView<L: PlacementLayout>: UIViewRepresentable {
| `- note: add '@available' attribute to enclosing generic struct
11 | @EnvironmentObject var coordinator: Coordinator<L>
12 | var layout: L
13 | var children: _VariadicView.Children
14 | @Binding var intrinsicSizes: [AnyHashable: CGSize]
| `- error: 'Binding' is only available in macOS 10.15 or newer
15 | @Binding var keyboardFrame: CGRect
16 |
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/LayoutSizingView.swift:15:6: error: 'Binding' is only available in macOS 10.15 or newer
8 | }
9 |
10 | struct LayoutSizingView<L: PlacementLayout>: UIViewRepresentable {
| `- note: add '@available' attribute to enclosing generic struct
11 | @EnvironmentObject var coordinator: Coordinator<L>
12 | var layout: L
13 | var children: _VariadicView.Children
14 | @Binding var intrinsicSizes: [AnyHashable: CGSize]
15 | @Binding var keyboardFrame: CGRect
| `- error: 'Binding' is only available in macOS 10.15 or newer
16 |
17 | func makeUIView(context: Context) -> PlacementLayoutContainer {
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/LayoutSizingView.swift:17:30: error: cannot find type 'Context' in scope
15 | @Binding var keyboardFrame: CGRect
16 |
17 | func makeUIView(context: Context) -> PlacementLayoutContainer {
| `- error: cannot find type 'Context' in scope
18 | let view = PlacementLayoutContainer()
19 | return view
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/LayoutSizingView.swift:22:68: error: cannot find type 'Context' in scope
20 | }
21 |
22 | func updateUIView(_ uiView: PlacementLayoutContainer, context: Context) {}
| `- error: cannot find type 'Context' in scope
23 |
24 | func _overrideSizeThatFits(
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/LayoutSizingView.swift:26:34: error: '_ProposedSize' is only available in macOS 10.15 or newer
8 | }
9 |
10 | struct LayoutSizingView<L: PlacementLayout>: UIViewRepresentable {
| `- note: add '@available' attribute to enclosing generic struct
11 | @EnvironmentObject var coordinator: Coordinator<L>
12 | var layout: L
:
22 | func updateUIView(_ uiView: PlacementLayoutContainer, context: Context) {}
23 |
24 | func _overrideSizeThatFits(
| `- note: add '@available' attribute to enclosing instance method
25 | _ size: inout CoreGraphics.CGSize,
26 | in proposedSize: SwiftUI._ProposedSize,
| `- error: '_ProposedSize' is only available in macOS 10.15 or newer
27 | uiView: PlacementLayoutContainer
28 | ) {
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/LayoutSizingView.swift:10:46: error: cannot find type 'UIViewRepresentable' in scope
8 | }
9 |
10 | struct LayoutSizingView<L: PlacementLayout>: UIViewRepresentable {
| `- error: cannot find type 'UIViewRepresentable' in scope
11 | @EnvironmentObject var coordinator: Coordinator<L>
12 | var layout: L
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/Layouter.swift:8:25: error: '_VariadicView' is only available in macOS 10.15 or newer
2 | import SwiftUI
3 |
4 | struct VariadicLayouterContent<L: PlacementLayout>: _VariadicView_MultiViewRoot {
| `- note: add '@available' attribute to enclosing generic struct
5 | var coordinator: Coordinator<L>
6 | var layout: L
7 |
8 | func body(children: _VariadicView.Children) -> some View {
| | `- error: '_VariadicView' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing instance method
9 | coordinator.children = children
10 |
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/Layouter.swift:8:57: error: 'View' is only available in macOS 10.15 or newer
2 | import SwiftUI
3 |
4 | struct VariadicLayouterContent<L: PlacementLayout>: _VariadicView_MultiViewRoot {
| `- note: add '@available' attribute to enclosing generic struct
5 | var coordinator: Coordinator<L>
6 | var layout: L
7 |
8 | func body(children: _VariadicView.Children) -> some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing instance method
9 | coordinator.children = children
10 |
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/Layouter.swift:24:6: error: 'StateObject' is only available in macOS 11.0 or newer
21 | }
22 |
23 | struct Layouter<Content: View, L: PlacementLayout>: View {
| `- note: add '@available' attribute to enclosing generic struct
24 | @StateObject var coordinator = Coordinator<L>()
| `- error: 'StateObject' is only available in macOS 11.0 or newer
25 | var layout: L
26 | var content: () -> Content
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/Layouter.swift:28:20: error: 'View' is only available in macOS 10.15 or newer
21 | }
22 |
23 | struct Layouter<Content: View, L: PlacementLayout>: View {
| `- note: add '@available' attribute to enclosing generic struct
24 | @StateObject var coordinator = Coordinator<L>()
25 | var layout: L
26 | var content: () -> Content
27 |
28 | var body: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing property
29 | coordinator.layout = layout
30 |
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/Layouter.swift:23:26: error: 'View' is only available in macOS 10.15 or newer
21 | }
22 |
23 | struct Layouter<Content: View, L: PlacementLayout>: View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing generic struct
24 | @StateObject var coordinator = Coordinator<L>()
25 | var layout: L
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/Layouter.swift:19:11: warning: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
2 | import SwiftUI
3 |
4 | struct VariadicLayouterContent<L: PlacementLayout>: _VariadicView_MultiViewRoot {
| `- note: add '@available' attribute to enclosing generic struct
5 | var coordinator: Coordinator<L>
6 | var layout: L
7 |
8 | func body(children: _VariadicView.Children) -> some View {
| `- note: add '@available' attribute to enclosing instance method
9 | coordinator.children = children
10 |
:
17 | )
18 | }
19 | }.modifier(LayoutSizeModifier(children: children, layout: layout))
| |- warning: conformance of 'ModifiedContent<Content, Modifier>' 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
20 | }
21 | }
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/Layouter.swift:11:16: error: 'ForEach' is only available in macOS 10.15 or newer
2 | import SwiftUI
3 |
4 | struct VariadicLayouterContent<L: PlacementLayout>: _VariadicView_MultiViewRoot {
| `- note: add '@available' attribute to enclosing generic struct
5 | var coordinator: Coordinator<L>
6 | var layout: L
7 |
8 | func body(children: _VariadicView.Children) -> some View {
| `- note: add '@available' attribute to enclosing instance method
9 | coordinator.children = children
10 |
11 | return ForEach(children) { child in
| |- error: 'ForEach' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
12 | child.modifier(
13 | PlacementModifier(id: child.id, layout: layout, children: children)
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/Layouter.swift:11:16: error: 'init(_:content:)' is only available in macOS 10.15 or newer
2 | import SwiftUI
3 |
4 | struct VariadicLayouterContent<L: PlacementLayout>: _VariadicView_MultiViewRoot {
| `- note: add '@available' attribute to enclosing generic struct
5 | var coordinator: Coordinator<L>
6 | var layout: L
7 |
8 | func body(children: _VariadicView.Children) -> some View {
| `- note: add '@available' attribute to enclosing instance method
9 | coordinator.children = children
10 |
11 | return ForEach(children) { child in
| |- error: 'init(_:content:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
12 | child.modifier(
13 | PlacementModifier(id: child.id, layout: layout, children: children)
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/Layouter.swift:12:19: error: 'modifier' is only available in macOS 10.15 or newer
2 | import SwiftUI
3 |
4 | struct VariadicLayouterContent<L: PlacementLayout>: _VariadicView_MultiViewRoot {
| `- note: add '@available' attribute to enclosing generic struct
5 | var coordinator: Coordinator<L>
6 | var layout: L
7 |
8 | func body(children: _VariadicView.Children) -> some View {
| `- note: add '@available' attribute to enclosing instance method
9 | coordinator.children = children
10 |
11 | return ForEach(children) { child in
12 | child.modifier(
| |- error: 'modifier' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
13 | PlacementModifier(id: child.id, layout: layout, children: children)
14 | ).onDisappear {
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/Layouter.swift:14:15: error: 'onDisappear(perform:)' is only available in macOS 10.15 or newer
2 | import SwiftUI
3 |
4 | struct VariadicLayouterContent<L: PlacementLayout>: _VariadicView_MultiViewRoot {
| `- note: add '@available' attribute to enclosing generic struct
5 | var coordinator: Coordinator<L>
6 | var layout: L
7 |
8 | func body(children: _VariadicView.Children) -> some View {
| `- note: add '@available' attribute to enclosing instance method
9 | coordinator.children = children
10 |
:
12 | child.modifier(
13 | PlacementModifier(id: child.id, layout: layout, children: children)
14 | ).onDisappear {
| |- error: 'onDisappear(perform:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
15 | coordinator.placementsCoordinator.placements.removeValue(
16 | forKey: child.id
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/Layouter.swift:19:11: error: 'modifier' is only available in macOS 10.15 or newer
2 | import SwiftUI
3 |
4 | struct VariadicLayouterContent<L: PlacementLayout>: _VariadicView_MultiViewRoot {
| `- note: add '@available' attribute to enclosing generic struct
5 | var coordinator: Coordinator<L>
6 | var layout: L
7 |
8 | func body(children: _VariadicView.Children) -> some View {
| `- note: add '@available' attribute to enclosing instance method
9 | coordinator.children = children
10 |
:
17 | )
18 | }
19 | }.modifier(LayoutSizeModifier(children: children, layout: layout))
| |- error: 'modifier' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
20 | }
21 | }
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/Layouter.swift:31:16: error: '_VariadicView' is only available in macOS 10.15 or newer
21 | }
22 |
23 | struct Layouter<Content: View, L: PlacementLayout>: View {
| `- note: add '@available' attribute to enclosing generic struct
24 | @StateObject var coordinator = Coordinator<L>()
25 | var layout: L
26 | var content: () -> Content
27 |
28 | var body: some View {
| `- note: add '@available' attribute to enclosing property
29 | coordinator.layout = layout
30 |
31 | return _VariadicView.Tree(
| |- error: '_VariadicView' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
32 | VariadicLayouterContent(
33 | coordinator: coordinator,
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/Layouter.swift:37:23: error: 'environment' is only available in macOS 10.15 or newer
21 | }
22 |
23 | struct Layouter<Content: View, L: PlacementLayout>: View {
| `- note: add '@available' attribute to enclosing generic struct
24 | @StateObject var coordinator = Coordinator<L>()
25 | var layout: L
26 | var content: () -> Content
27 |
28 | var body: some View {
| `- note: add '@available' attribute to enclosing property
29 | coordinator.layout = layout
30 |
:
35 | )
36 | ) {
37 | content().environment(\.placementShouldAdjustToKeyboard, false)
| |- error: 'environment' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
38 | }
39 | .environmentObject(coordinator)
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/Layouter.swift:39:10: error: 'environmentObject' is only available in macOS 10.15 or newer
21 | }
22 |
23 | struct Layouter<Content: View, L: PlacementLayout>: View {
| `- note: add '@available' attribute to enclosing generic struct
24 | @StateObject var coordinator = Coordinator<L>()
25 | var layout: L
26 | var content: () -> Content
27 |
28 | var body: some View {
| `- note: add '@available' attribute to enclosing property
29 | coordinator.layout = layout
30 |
:
37 | content().environment(\.placementShouldAdjustToKeyboard, false)
38 | }
39 | .environmentObject(coordinator)
| |- error: 'environmentObject' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
40 | .environmentObject(coordinator.placementsCoordinator)
41 | .transformPreference(PlacementIntrinsicSizesPreferenceKey.self) { intrinsicSizes in
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/Layouter.swift:40:10: error: 'environmentObject' is only available in macOS 10.15 or newer
21 | }
22 |
23 | struct Layouter<Content: View, L: PlacementLayout>: View {
| `- note: add '@available' attribute to enclosing generic struct
24 | @StateObject var coordinator = Coordinator<L>()
25 | var layout: L
26 | var content: () -> Content
27 |
28 | var body: some View {
| `- note: add '@available' attribute to enclosing property
29 | coordinator.layout = layout
30 |
:
38 | }
39 | .environmentObject(coordinator)
40 | .environmentObject(coordinator.placementsCoordinator)
| |- error: 'environmentObject' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
41 | .transformPreference(PlacementIntrinsicSizesPreferenceKey.self) { intrinsicSizes in
42 | intrinsicSizes = [:]
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/Layouter.swift:41:10: error: 'transformPreference' is only available in macOS 10.15 or newer
21 | }
22 |
23 | struct Layouter<Content: View, L: PlacementLayout>: View {
| `- note: add '@available' attribute to enclosing generic struct
24 | @StateObject var coordinator = Coordinator<L>()
25 | var layout: L
26 | var content: () -> Content
27 |
28 | var body: some View {
| `- note: add '@available' attribute to enclosing property
29 | coordinator.layout = layout
30 |
:
39 | .environmentObject(coordinator)
40 | .environmentObject(coordinator.placementsCoordinator)
41 | .transformPreference(PlacementIntrinsicSizesPreferenceKey.self) { intrinsicSizes in
| |- error: 'transformPreference' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
42 | intrinsicSizes = [:]
43 | }
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/Layouter.swift:44:10: error: 'ignoresSafeArea(_:edges:)' is only available in macOS 11.0 or newer
21 | }
22 |
23 | struct Layouter<Content: View, L: PlacementLayout>: View {
| `- note: add '@available' attribute to enclosing generic struct
24 | @StateObject var coordinator = Coordinator<L>()
25 | var layout: L
26 | var content: () -> Content
27 |
28 | var body: some View {
| `- note: add '@available' attribute to enclosing property
29 | coordinator.layout = layout
30 |
:
42 | intrinsicSizes = [:]
43 | }
44 | .ignoresSafeArea(.keyboard)
| |- error: 'ignoresSafeArea(_:edges:)' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
45 | }
46 | }
[32/33] Compiling Placement LayoutSizingView.swift
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/LayoutSizeModifier.swift:7:40: error: 'ViewDimensions' is only available in macOS 10.15 or newer
4 |
5 | extension VerticalAlignment {
6 | struct PlacementTop: AlignmentID {
| `- note: add '@available' attribute to enclosing struct
7 | static func defaultValue(in d: ViewDimensions) -> CGFloat {
| | `- error: 'ViewDimensions' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing static method
8 | d[.top]
9 | }
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/LayoutSizeModifier.swift:12:31: error: 'VerticalAlignment' is only available in macOS 10.15 or newer
3 | import Combine
4 |
5 | extension VerticalAlignment {
| `- note: add '@available' attribute to enclosing extension
6 | struct PlacementTop: AlignmentID {
7 | static func defaultValue(in d: ViewDimensions) -> CGFloat {
:
10 | }
11 |
12 | static let placementTop = VerticalAlignment(PlacementTop.self)
| | `- error: 'VerticalAlignment' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing static property
13 | }
14 |
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/LayoutSizeModifier.swift:5:11: error: 'VerticalAlignment' is only available in macOS 10.15 or newer
3 | import Combine
4 |
5 | extension VerticalAlignment {
| | `- error: 'VerticalAlignment' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing extension
6 | struct PlacementTop: AlignmentID {
7 | static func defaultValue(in d: ViewDimensions) -> CGFloat {
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/LayoutSizeModifier.swift:17:40: error: 'ViewDimensions' is only available in macOS 10.15 or newer
14 |
15 | extension HorizontalAlignment {
16 | struct PlacementLeading: AlignmentID {
| `- note: add '@available' attribute to enclosing struct
17 | static func defaultValue(in d: ViewDimensions) -> CGFloat {
| | `- error: 'ViewDimensions' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing static method
18 | d[.leading]
19 | }
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/LayoutSizeModifier.swift:22:35: error: 'HorizontalAlignment' is only available in macOS 10.15 or newer
13 | }
14 |
15 | extension HorizontalAlignment {
| `- note: add '@available' attribute to enclosing extension
16 | struct PlacementLeading: AlignmentID {
17 | static func defaultValue(in d: ViewDimensions) -> CGFloat {
:
20 | }
21 |
22 | static let placementLeading = HorizontalAlignment(PlacementLeading.self)
| | `- error: 'HorizontalAlignment' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing static property
23 | }
24 |
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/LayoutSizeModifier.swift:15:11: error: 'HorizontalAlignment' is only available in macOS 10.15 or newer
13 | }
14 |
15 | extension HorizontalAlignment {
| | `- error: 'HorizontalAlignment' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing extension
16 | struct PlacementLeading: AlignmentID {
17 | static func defaultValue(in d: ViewDimensions) -> CGFloat {
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/LayoutSizeModifier.swift:26:6: error: 'EnvironmentObject' is only available in macOS 10.15 or newer
23 | }
24 |
25 | struct LayoutSizeModifier<L: PlacementLayout>: ViewModifier {
| `- note: add '@available' attribute to enclosing generic struct
26 | @EnvironmentObject var coordinator: Coordinator<L>
| `- error: 'EnvironmentObject' is only available in macOS 10.15 or newer
27 | @State var keyboardFrame: CGRect = .zero
28 | @State var intrinsicSizes: [AnyHashable: CGSize] = [:]
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/LayoutSizeModifier.swift:27:6: error: 'State' is only available in macOS 10.15 or newer
23 | }
24 |
25 | struct LayoutSizeModifier<L: PlacementLayout>: ViewModifier {
| `- note: add '@available' attribute to enclosing generic struct
26 | @EnvironmentObject var coordinator: Coordinator<L>
27 | @State var keyboardFrame: CGRect = .zero
| `- error: 'State' is only available in macOS 10.15 or newer
28 | @State var intrinsicSizes: [AnyHashable: CGSize] = [:]
29 | var children: _VariadicView.Children
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/LayoutSizeModifier.swift:28:6: error: 'State' is only available in macOS 10.15 or newer
23 | }
24 |
25 | struct LayoutSizeModifier<L: PlacementLayout>: ViewModifier {
| `- note: add '@available' attribute to enclosing generic struct
26 | @EnvironmentObject var coordinator: Coordinator<L>
27 | @State var keyboardFrame: CGRect = .zero
28 | @State var intrinsicSizes: [AnyHashable: CGSize] = [:]
| `- error: 'State' is only available in macOS 10.15 or newer
29 | var children: _VariadicView.Children
30 | var layout: L
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/LayoutSizeModifier.swift:29:19: error: '_VariadicView' is only available in macOS 10.15 or newer
23 | }
24 |
25 | struct LayoutSizeModifier<L: PlacementLayout>: ViewModifier {
| `- note: add '@available' attribute to enclosing generic struct
26 | @EnvironmentObject var coordinator: Coordinator<L>
27 | @State var keyboardFrame: CGRect = .zero
28 | @State var intrinsicSizes: [AnyHashable: CGSize] = [:]
29 | var children: _VariadicView.Children
| `- error: '_VariadicView' is only available in macOS 10.15 or newer
30 | var layout: L
31 |
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/LayoutSizeModifier.swift:32:41: error: 'View' is only available in macOS 10.15 or newer
23 | }
24 |
25 | struct LayoutSizeModifier<L: PlacementLayout>: ViewModifier {
| `- note: add '@available' attribute to enclosing generic struct
26 | @EnvironmentObject var coordinator: Coordinator<L>
27 | @State var keyboardFrame: CGRect = .zero
:
30 | var layout: L
31 |
32 | func body(content: Content) -> some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing instance method
33 | LayoutSizingView(
34 | layout: layout,
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/LayoutSizeModifier.swift:8:16: error: 'top' is only available in macOS 10.15 or newer
4 |
5 | extension VerticalAlignment {
6 | struct PlacementTop: AlignmentID {
| `- note: add '@available' attribute to enclosing struct
7 | static func defaultValue(in d: ViewDimensions) -> CGFloat {
| `- note: add '@available' attribute to enclosing static method
8 | d[.top]
| |- error: 'top' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
9 | }
10 | }
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/LayoutSizeModifier.swift:18:16: error: 'leading' is only available in macOS 10.15 or newer
14 |
15 | extension HorizontalAlignment {
16 | struct PlacementLeading: AlignmentID {
| `- note: add '@available' attribute to enclosing struct
17 | static func defaultValue(in d: ViewDimensions) -> CGFloat {
| `- note: add '@available' attribute to enclosing static method
18 | d[.leading]
| |- error: 'leading' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
19 | }
20 | }
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/Coordinator.swift:184:30: error: 'Transaction' is only available in macOS 10.15 or newer
7 | }
8 |
9 | class Coordinator<L: PlacementLayout>: ObservableObject {
| `- note: add '@available' attribute to enclosing generic class
10 | var keyboardFrame: CGRect = .zero
11 | var globalFrame: CGRect? = nil
:
182 | }
183 |
184 | public var transaction = Transaction()
| `- error: 'Transaction' is only available in macOS 10.15 or newer
185 | public var placementsCoordinator = PlacementsCoordinator()
186 | public var hostingControllers: [AnyHashable: UIHostingController<AnyView>] = [:]
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/LayoutSizeModifier.swift:39:10: error: value of type 'LayoutSizingView<L>' has no member 'transaction'
37 | keyboardFrame: $keyboardFrame
38 | )
39 | .transaction({ transaction in
| `- error: value of type 'LayoutSizingView<L>' has no member 'transaction'
40 | coordinator.transaction = transaction
41 | })
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/LayoutSizeModifier.swift:65:14: error: value of type 'FrameChangePlacer<L>' has no member 'animation'
63 | keyboardFrame: $keyboardFrame
64 | )
65 | .animation(nil)
| `- error: value of type 'FrameChangePlacer<L>' has no member 'animation'
66 | .allowsHitTesting(false)
67 | }
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/LayoutSizeModifier.swift:65:24: error: 'nil' requires a contextual type
63 | keyboardFrame: $keyboardFrame
64 | )
65 | .animation(nil)
| `- error: 'nil' requires a contextual type
66 | .allowsHitTesting(false)
67 | }
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/LayoutSizingView.swift:4:33: error: cannot find type 'UIView' in scope
2 | import SwiftUI
3 |
4 | class PlacementLayoutContainer: UIView {
| `- error: cannot find type 'UIView' in scope
5 | override var intrinsicContentSize: CGSize {
6 | .zero
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/LayoutSizingView.swift:5:18: error: property does not override any property from its superclass
3 |
4 | class PlacementLayoutContainer: UIView {
5 | override var intrinsicContentSize: CGSize {
| `- error: property does not override any property from its superclass
6 | .zero
7 | }
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/LayoutSizingView.swift:11:6: error: 'EnvironmentObject' is only available in macOS 10.15 or newer
8 | }
9 |
10 | struct LayoutSizingView<L: PlacementLayout>: UIViewRepresentable {
| `- note: add '@available' attribute to enclosing generic struct
11 | @EnvironmentObject var coordinator: Coordinator<L>
| `- error: 'EnvironmentObject' is only available in macOS 10.15 or newer
12 | var layout: L
13 | var children: _VariadicView.Children
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/LayoutSizingView.swift:13:19: error: '_VariadicView' is only available in macOS 10.15 or newer
8 | }
9 |
10 | struct LayoutSizingView<L: PlacementLayout>: UIViewRepresentable {
| `- note: add '@available' attribute to enclosing generic struct
11 | @EnvironmentObject var coordinator: Coordinator<L>
12 | var layout: L
13 | var children: _VariadicView.Children
| `- error: '_VariadicView' is only available in macOS 10.15 or newer
14 | @Binding var intrinsicSizes: [AnyHashable: CGSize]
15 | @Binding var keyboardFrame: CGRect
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/LayoutSizingView.swift:14:6: error: 'Binding' is only available in macOS 10.15 or newer
8 | }
9 |
10 | struct LayoutSizingView<L: PlacementLayout>: UIViewRepresentable {
| `- note: add '@available' attribute to enclosing generic struct
11 | @EnvironmentObject var coordinator: Coordinator<L>
12 | var layout: L
13 | var children: _VariadicView.Children
14 | @Binding var intrinsicSizes: [AnyHashable: CGSize]
| `- error: 'Binding' is only available in macOS 10.15 or newer
15 | @Binding var keyboardFrame: CGRect
16 |
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/LayoutSizingView.swift:15:6: error: 'Binding' is only available in macOS 10.15 or newer
8 | }
9 |
10 | struct LayoutSizingView<L: PlacementLayout>: UIViewRepresentable {
| `- note: add '@available' attribute to enclosing generic struct
11 | @EnvironmentObject var coordinator: Coordinator<L>
12 | var layout: L
13 | var children: _VariadicView.Children
14 | @Binding var intrinsicSizes: [AnyHashable: CGSize]
15 | @Binding var keyboardFrame: CGRect
| `- error: 'Binding' is only available in macOS 10.15 or newer
16 |
17 | func makeUIView(context: Context) -> PlacementLayoutContainer {
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/LayoutSizingView.swift:17:30: error: cannot find type 'Context' in scope
15 | @Binding var keyboardFrame: CGRect
16 |
17 | func makeUIView(context: Context) -> PlacementLayoutContainer {
| `- error: cannot find type 'Context' in scope
18 | let view = PlacementLayoutContainer()
19 | return view
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/LayoutSizingView.swift:22:68: error: cannot find type 'Context' in scope
20 | }
21 |
22 | func updateUIView(_ uiView: PlacementLayoutContainer, context: Context) {}
| `- error: cannot find type 'Context' in scope
23 |
24 | func _overrideSizeThatFits(
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/LayoutSizingView.swift:26:34: error: '_ProposedSize' is only available in macOS 10.15 or newer
8 | }
9 |
10 | struct LayoutSizingView<L: PlacementLayout>: UIViewRepresentable {
| `- note: add '@available' attribute to enclosing generic struct
11 | @EnvironmentObject var coordinator: Coordinator<L>
12 | var layout: L
:
22 | func updateUIView(_ uiView: PlacementLayoutContainer, context: Context) {}
23 |
24 | func _overrideSizeThatFits(
| `- note: add '@available' attribute to enclosing instance method
25 | _ size: inout CoreGraphics.CGSize,
26 | in proposedSize: SwiftUI._ProposedSize,
| `- error: '_ProposedSize' is only available in macOS 10.15 or newer
27 | uiView: PlacementLayoutContainer
28 | ) {
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/LayoutSizingView.swift:10:46: error: cannot find type 'UIViewRepresentable' in scope
8 | }
9 |
10 | struct LayoutSizingView<L: PlacementLayout>: UIViewRepresentable {
| `- error: cannot find type 'UIViewRepresentable' in scope
11 | @EnvironmentObject var coordinator: Coordinator<L>
12 | var layout: L
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/Layouter.swift:8:25: error: '_VariadicView' is only available in macOS 10.15 or newer
2 | import SwiftUI
3 |
4 | struct VariadicLayouterContent<L: PlacementLayout>: _VariadicView_MultiViewRoot {
| `- note: add '@available' attribute to enclosing generic struct
5 | var coordinator: Coordinator<L>
6 | var layout: L
7 |
8 | func body(children: _VariadicView.Children) -> some View {
| | `- error: '_VariadicView' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing instance method
9 | coordinator.children = children
10 |
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/Layouter.swift:8:57: error: 'View' is only available in macOS 10.15 or newer
2 | import SwiftUI
3 |
4 | struct VariadicLayouterContent<L: PlacementLayout>: _VariadicView_MultiViewRoot {
| `- note: add '@available' attribute to enclosing generic struct
5 | var coordinator: Coordinator<L>
6 | var layout: L
7 |
8 | func body(children: _VariadicView.Children) -> some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing instance method
9 | coordinator.children = children
10 |
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/Layouter.swift:24:6: error: 'StateObject' is only available in macOS 11.0 or newer
21 | }
22 |
23 | struct Layouter<Content: View, L: PlacementLayout>: View {
| `- note: add '@available' attribute to enclosing generic struct
24 | @StateObject var coordinator = Coordinator<L>()
| `- error: 'StateObject' is only available in macOS 11.0 or newer
25 | var layout: L
26 | var content: () -> Content
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/Layouter.swift:28:20: error: 'View' is only available in macOS 10.15 or newer
21 | }
22 |
23 | struct Layouter<Content: View, L: PlacementLayout>: View {
| `- note: add '@available' attribute to enclosing generic struct
24 | @StateObject var coordinator = Coordinator<L>()
25 | var layout: L
26 | var content: () -> Content
27 |
28 | var body: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing property
29 | coordinator.layout = layout
30 |
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/Layouter.swift:23:26: error: 'View' is only available in macOS 10.15 or newer
21 | }
22 |
23 | struct Layouter<Content: View, L: PlacementLayout>: View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing generic struct
24 | @StateObject var coordinator = Coordinator<L>()
25 | var layout: L
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/Layouter.swift:19:11: warning: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
2 | import SwiftUI
3 |
4 | struct VariadicLayouterContent<L: PlacementLayout>: _VariadicView_MultiViewRoot {
| `- note: add '@available' attribute to enclosing generic struct
5 | var coordinator: Coordinator<L>
6 | var layout: L
7 |
8 | func body(children: _VariadicView.Children) -> some View {
| `- note: add '@available' attribute to enclosing instance method
9 | coordinator.children = children
10 |
:
17 | )
18 | }
19 | }.modifier(LayoutSizeModifier(children: children, layout: layout))
| |- warning: conformance of 'ModifiedContent<Content, Modifier>' 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
20 | }
21 | }
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/Layouter.swift:11:16: error: 'ForEach' is only available in macOS 10.15 or newer
2 | import SwiftUI
3 |
4 | struct VariadicLayouterContent<L: PlacementLayout>: _VariadicView_MultiViewRoot {
| `- note: add '@available' attribute to enclosing generic struct
5 | var coordinator: Coordinator<L>
6 | var layout: L
7 |
8 | func body(children: _VariadicView.Children) -> some View {
| `- note: add '@available' attribute to enclosing instance method
9 | coordinator.children = children
10 |
11 | return ForEach(children) { child in
| |- error: 'ForEach' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
12 | child.modifier(
13 | PlacementModifier(id: child.id, layout: layout, children: children)
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/Layouter.swift:11:16: error: 'init(_:content:)' is only available in macOS 10.15 or newer
2 | import SwiftUI
3 |
4 | struct VariadicLayouterContent<L: PlacementLayout>: _VariadicView_MultiViewRoot {
| `- note: add '@available' attribute to enclosing generic struct
5 | var coordinator: Coordinator<L>
6 | var layout: L
7 |
8 | func body(children: _VariadicView.Children) -> some View {
| `- note: add '@available' attribute to enclosing instance method
9 | coordinator.children = children
10 |
11 | return ForEach(children) { child in
| |- error: 'init(_:content:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
12 | child.modifier(
13 | PlacementModifier(id: child.id, layout: layout, children: children)
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/Layouter.swift:12:19: error: 'modifier' is only available in macOS 10.15 or newer
2 | import SwiftUI
3 |
4 | struct VariadicLayouterContent<L: PlacementLayout>: _VariadicView_MultiViewRoot {
| `- note: add '@available' attribute to enclosing generic struct
5 | var coordinator: Coordinator<L>
6 | var layout: L
7 |
8 | func body(children: _VariadicView.Children) -> some View {
| `- note: add '@available' attribute to enclosing instance method
9 | coordinator.children = children
10 |
11 | return ForEach(children) { child in
12 | child.modifier(
| |- error: 'modifier' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
13 | PlacementModifier(id: child.id, layout: layout, children: children)
14 | ).onDisappear {
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/Layouter.swift:14:15: error: 'onDisappear(perform:)' is only available in macOS 10.15 or newer
2 | import SwiftUI
3 |
4 | struct VariadicLayouterContent<L: PlacementLayout>: _VariadicView_MultiViewRoot {
| `- note: add '@available' attribute to enclosing generic struct
5 | var coordinator: Coordinator<L>
6 | var layout: L
7 |
8 | func body(children: _VariadicView.Children) -> some View {
| `- note: add '@available' attribute to enclosing instance method
9 | coordinator.children = children
10 |
:
12 | child.modifier(
13 | PlacementModifier(id: child.id, layout: layout, children: children)
14 | ).onDisappear {
| |- error: 'onDisappear(perform:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
15 | coordinator.placementsCoordinator.placements.removeValue(
16 | forKey: child.id
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/Layouter.swift:19:11: error: 'modifier' is only available in macOS 10.15 or newer
2 | import SwiftUI
3 |
4 | struct VariadicLayouterContent<L: PlacementLayout>: _VariadicView_MultiViewRoot {
| `- note: add '@available' attribute to enclosing generic struct
5 | var coordinator: Coordinator<L>
6 | var layout: L
7 |
8 | func body(children: _VariadicView.Children) -> some View {
| `- note: add '@available' attribute to enclosing instance method
9 | coordinator.children = children
10 |
:
17 | )
18 | }
19 | }.modifier(LayoutSizeModifier(children: children, layout: layout))
| |- error: 'modifier' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
20 | }
21 | }
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/Layouter.swift:31:16: error: '_VariadicView' is only available in macOS 10.15 or newer
21 | }
22 |
23 | struct Layouter<Content: View, L: PlacementLayout>: View {
| `- note: add '@available' attribute to enclosing generic struct
24 | @StateObject var coordinator = Coordinator<L>()
25 | var layout: L
26 | var content: () -> Content
27 |
28 | var body: some View {
| `- note: add '@available' attribute to enclosing property
29 | coordinator.layout = layout
30 |
31 | return _VariadicView.Tree(
| |- error: '_VariadicView' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
32 | VariadicLayouterContent(
33 | coordinator: coordinator,
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/Layouter.swift:37:23: error: 'environment' is only available in macOS 10.15 or newer
21 | }
22 |
23 | struct Layouter<Content: View, L: PlacementLayout>: View {
| `- note: add '@available' attribute to enclosing generic struct
24 | @StateObject var coordinator = Coordinator<L>()
25 | var layout: L
26 | var content: () -> Content
27 |
28 | var body: some View {
| `- note: add '@available' attribute to enclosing property
29 | coordinator.layout = layout
30 |
:
35 | )
36 | ) {
37 | content().environment(\.placementShouldAdjustToKeyboard, false)
| |- error: 'environment' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
38 | }
39 | .environmentObject(coordinator)
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/Layouter.swift:39:10: error: 'environmentObject' is only available in macOS 10.15 or newer
21 | }
22 |
23 | struct Layouter<Content: View, L: PlacementLayout>: View {
| `- note: add '@available' attribute to enclosing generic struct
24 | @StateObject var coordinator = Coordinator<L>()
25 | var layout: L
26 | var content: () -> Content
27 |
28 | var body: some View {
| `- note: add '@available' attribute to enclosing property
29 | coordinator.layout = layout
30 |
:
37 | content().environment(\.placementShouldAdjustToKeyboard, false)
38 | }
39 | .environmentObject(coordinator)
| |- error: 'environmentObject' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
40 | .environmentObject(coordinator.placementsCoordinator)
41 | .transformPreference(PlacementIntrinsicSizesPreferenceKey.self) { intrinsicSizes in
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/Layouter.swift:40:10: error: 'environmentObject' is only available in macOS 10.15 or newer
21 | }
22 |
23 | struct Layouter<Content: View, L: PlacementLayout>: View {
| `- note: add '@available' attribute to enclosing generic struct
24 | @StateObject var coordinator = Coordinator<L>()
25 | var layout: L
26 | var content: () -> Content
27 |
28 | var body: some View {
| `- note: add '@available' attribute to enclosing property
29 | coordinator.layout = layout
30 |
:
38 | }
39 | .environmentObject(coordinator)
40 | .environmentObject(coordinator.placementsCoordinator)
| |- error: 'environmentObject' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
41 | .transformPreference(PlacementIntrinsicSizesPreferenceKey.self) { intrinsicSizes in
42 | intrinsicSizes = [:]
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/Layouter.swift:41:10: error: 'transformPreference' is only available in macOS 10.15 or newer
21 | }
22 |
23 | struct Layouter<Content: View, L: PlacementLayout>: View {
| `- note: add '@available' attribute to enclosing generic struct
24 | @StateObject var coordinator = Coordinator<L>()
25 | var layout: L
26 | var content: () -> Content
27 |
28 | var body: some View {
| `- note: add '@available' attribute to enclosing property
29 | coordinator.layout = layout
30 |
:
39 | .environmentObject(coordinator)
40 | .environmentObject(coordinator.placementsCoordinator)
41 | .transformPreference(PlacementIntrinsicSizesPreferenceKey.self) { intrinsicSizes in
| |- error: 'transformPreference' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
42 | intrinsicSizes = [:]
43 | }
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/Layouter.swift:44:10: error: 'ignoresSafeArea(_:edges:)' is only available in macOS 11.0 or newer
21 | }
22 |
23 | struct Layouter<Content: View, L: PlacementLayout>: View {
| `- note: add '@available' attribute to enclosing generic struct
24 | @StateObject var coordinator = Coordinator<L>()
25 | var layout: L
26 | var content: () -> Content
27 |
28 | var body: some View {
| `- note: add '@available' attribute to enclosing property
29 | coordinator.layout = layout
30 |
:
42 | intrinsicSizes = [:]
43 | }
44 | .ignoresSafeArea(.keyboard)
| |- error: 'ignoresSafeArea(_:edges:)' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
45 | }
46 | }
[33/33] Compiling Placement Layouter.swift
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/LayoutSizeModifier.swift:7:40: error: 'ViewDimensions' is only available in macOS 10.15 or newer
4 |
5 | extension VerticalAlignment {
6 | struct PlacementTop: AlignmentID {
| `- note: add '@available' attribute to enclosing struct
7 | static func defaultValue(in d: ViewDimensions) -> CGFloat {
| | `- error: 'ViewDimensions' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing static method
8 | d[.top]
9 | }
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/LayoutSizeModifier.swift:12:31: error: 'VerticalAlignment' is only available in macOS 10.15 or newer
3 | import Combine
4 |
5 | extension VerticalAlignment {
| `- note: add '@available' attribute to enclosing extension
6 | struct PlacementTop: AlignmentID {
7 | static func defaultValue(in d: ViewDimensions) -> CGFloat {
:
10 | }
11 |
12 | static let placementTop = VerticalAlignment(PlacementTop.self)
| | `- error: 'VerticalAlignment' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing static property
13 | }
14 |
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/LayoutSizeModifier.swift:5:11: error: 'VerticalAlignment' is only available in macOS 10.15 or newer
3 | import Combine
4 |
5 | extension VerticalAlignment {
| | `- error: 'VerticalAlignment' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing extension
6 | struct PlacementTop: AlignmentID {
7 | static func defaultValue(in d: ViewDimensions) -> CGFloat {
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/LayoutSizeModifier.swift:17:40: error: 'ViewDimensions' is only available in macOS 10.15 or newer
14 |
15 | extension HorizontalAlignment {
16 | struct PlacementLeading: AlignmentID {
| `- note: add '@available' attribute to enclosing struct
17 | static func defaultValue(in d: ViewDimensions) -> CGFloat {
| | `- error: 'ViewDimensions' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing static method
18 | d[.leading]
19 | }
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/LayoutSizeModifier.swift:22:35: error: 'HorizontalAlignment' is only available in macOS 10.15 or newer
13 | }
14 |
15 | extension HorizontalAlignment {
| `- note: add '@available' attribute to enclosing extension
16 | struct PlacementLeading: AlignmentID {
17 | static func defaultValue(in d: ViewDimensions) -> CGFloat {
:
20 | }
21 |
22 | static let placementLeading = HorizontalAlignment(PlacementLeading.self)
| | `- error: 'HorizontalAlignment' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing static property
23 | }
24 |
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/LayoutSizeModifier.swift:15:11: error: 'HorizontalAlignment' is only available in macOS 10.15 or newer
13 | }
14 |
15 | extension HorizontalAlignment {
| | `- error: 'HorizontalAlignment' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing extension
16 | struct PlacementLeading: AlignmentID {
17 | static func defaultValue(in d: ViewDimensions) -> CGFloat {
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/LayoutSizeModifier.swift:26:6: error: 'EnvironmentObject' is only available in macOS 10.15 or newer
23 | }
24 |
25 | struct LayoutSizeModifier<L: PlacementLayout>: ViewModifier {
| `- note: add '@available' attribute to enclosing generic struct
26 | @EnvironmentObject var coordinator: Coordinator<L>
| `- error: 'EnvironmentObject' is only available in macOS 10.15 or newer
27 | @State var keyboardFrame: CGRect = .zero
28 | @State var intrinsicSizes: [AnyHashable: CGSize] = [:]
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/LayoutSizeModifier.swift:27:6: error: 'State' is only available in macOS 10.15 or newer
23 | }
24 |
25 | struct LayoutSizeModifier<L: PlacementLayout>: ViewModifier {
| `- note: add '@available' attribute to enclosing generic struct
26 | @EnvironmentObject var coordinator: Coordinator<L>
27 | @State var keyboardFrame: CGRect = .zero
| `- error: 'State' is only available in macOS 10.15 or newer
28 | @State var intrinsicSizes: [AnyHashable: CGSize] = [:]
29 | var children: _VariadicView.Children
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/LayoutSizeModifier.swift:28:6: error: 'State' is only available in macOS 10.15 or newer
23 | }
24 |
25 | struct LayoutSizeModifier<L: PlacementLayout>: ViewModifier {
| `- note: add '@available' attribute to enclosing generic struct
26 | @EnvironmentObject var coordinator: Coordinator<L>
27 | @State var keyboardFrame: CGRect = .zero
28 | @State var intrinsicSizes: [AnyHashable: CGSize] = [:]
| `- error: 'State' is only available in macOS 10.15 or newer
29 | var children: _VariadicView.Children
30 | var layout: L
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/LayoutSizeModifier.swift:29:19: error: '_VariadicView' is only available in macOS 10.15 or newer
23 | }
24 |
25 | struct LayoutSizeModifier<L: PlacementLayout>: ViewModifier {
| `- note: add '@available' attribute to enclosing generic struct
26 | @EnvironmentObject var coordinator: Coordinator<L>
27 | @State var keyboardFrame: CGRect = .zero
28 | @State var intrinsicSizes: [AnyHashable: CGSize] = [:]
29 | var children: _VariadicView.Children
| `- error: '_VariadicView' is only available in macOS 10.15 or newer
30 | var layout: L
31 |
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/LayoutSizeModifier.swift:32:41: error: 'View' is only available in macOS 10.15 or newer
23 | }
24 |
25 | struct LayoutSizeModifier<L: PlacementLayout>: ViewModifier {
| `- note: add '@available' attribute to enclosing generic struct
26 | @EnvironmentObject var coordinator: Coordinator<L>
27 | @State var keyboardFrame: CGRect = .zero
:
30 | var layout: L
31 |
32 | func body(content: Content) -> some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing instance method
33 | LayoutSizingView(
34 | layout: layout,
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/LayoutSizeModifier.swift:8:16: error: 'top' is only available in macOS 10.15 or newer
4 |
5 | extension VerticalAlignment {
6 | struct PlacementTop: AlignmentID {
| `- note: add '@available' attribute to enclosing struct
7 | static func defaultValue(in d: ViewDimensions) -> CGFloat {
| `- note: add '@available' attribute to enclosing static method
8 | d[.top]
| |- error: 'top' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
9 | }
10 | }
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/LayoutSizeModifier.swift:18:16: error: 'leading' is only available in macOS 10.15 or newer
14 |
15 | extension HorizontalAlignment {
16 | struct PlacementLeading: AlignmentID {
| `- note: add '@available' attribute to enclosing struct
17 | static func defaultValue(in d: ViewDimensions) -> CGFloat {
| `- note: add '@available' attribute to enclosing static method
18 | d[.leading]
| |- error: 'leading' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
19 | }
20 | }
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/Coordinator.swift:184:30: error: 'Transaction' is only available in macOS 10.15 or newer
7 | }
8 |
9 | class Coordinator<L: PlacementLayout>: ObservableObject {
| `- note: add '@available' attribute to enclosing generic class
10 | var keyboardFrame: CGRect = .zero
11 | var globalFrame: CGRect? = nil
:
182 | }
183 |
184 | public var transaction = Transaction()
| `- error: 'Transaction' is only available in macOS 10.15 or newer
185 | public var placementsCoordinator = PlacementsCoordinator()
186 | public var hostingControllers: [AnyHashable: UIHostingController<AnyView>] = [:]
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/LayoutSizeModifier.swift:39:10: error: value of type 'LayoutSizingView<L>' has no member 'transaction'
37 | keyboardFrame: $keyboardFrame
38 | )
39 | .transaction({ transaction in
| `- error: value of type 'LayoutSizingView<L>' has no member 'transaction'
40 | coordinator.transaction = transaction
41 | })
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/LayoutSizeModifier.swift:65:14: error: value of type 'FrameChangePlacer<L>' has no member 'animation'
63 | keyboardFrame: $keyboardFrame
64 | )
65 | .animation(nil)
| `- error: value of type 'FrameChangePlacer<L>' has no member 'animation'
66 | .allowsHitTesting(false)
67 | }
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/LayoutSizeModifier.swift:65:24: error: 'nil' requires a contextual type
63 | keyboardFrame: $keyboardFrame
64 | )
65 | .animation(nil)
| `- error: 'nil' requires a contextual type
66 | .allowsHitTesting(false)
67 | }
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/LayoutSizingView.swift:4:33: error: cannot find type 'UIView' in scope
2 | import SwiftUI
3 |
4 | class PlacementLayoutContainer: UIView {
| `- error: cannot find type 'UIView' in scope
5 | override var intrinsicContentSize: CGSize {
6 | .zero
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/LayoutSizingView.swift:5:18: error: property does not override any property from its superclass
3 |
4 | class PlacementLayoutContainer: UIView {
5 | override var intrinsicContentSize: CGSize {
| `- error: property does not override any property from its superclass
6 | .zero
7 | }
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/LayoutSizingView.swift:11:6: error: 'EnvironmentObject' is only available in macOS 10.15 or newer
8 | }
9 |
10 | struct LayoutSizingView<L: PlacementLayout>: UIViewRepresentable {
| `- note: add '@available' attribute to enclosing generic struct
11 | @EnvironmentObject var coordinator: Coordinator<L>
| `- error: 'EnvironmentObject' is only available in macOS 10.15 or newer
12 | var layout: L
13 | var children: _VariadicView.Children
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/LayoutSizingView.swift:13:19: error: '_VariadicView' is only available in macOS 10.15 or newer
8 | }
9 |
10 | struct LayoutSizingView<L: PlacementLayout>: UIViewRepresentable {
| `- note: add '@available' attribute to enclosing generic struct
11 | @EnvironmentObject var coordinator: Coordinator<L>
12 | var layout: L
13 | var children: _VariadicView.Children
| `- error: '_VariadicView' is only available in macOS 10.15 or newer
14 | @Binding var intrinsicSizes: [AnyHashable: CGSize]
15 | @Binding var keyboardFrame: CGRect
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/LayoutSizingView.swift:14:6: error: 'Binding' is only available in macOS 10.15 or newer
8 | }
9 |
10 | struct LayoutSizingView<L: PlacementLayout>: UIViewRepresentable {
| `- note: add '@available' attribute to enclosing generic struct
11 | @EnvironmentObject var coordinator: Coordinator<L>
12 | var layout: L
13 | var children: _VariadicView.Children
14 | @Binding var intrinsicSizes: [AnyHashable: CGSize]
| `- error: 'Binding' is only available in macOS 10.15 or newer
15 | @Binding var keyboardFrame: CGRect
16 |
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/LayoutSizingView.swift:15:6: error: 'Binding' is only available in macOS 10.15 or newer
8 | }
9 |
10 | struct LayoutSizingView<L: PlacementLayout>: UIViewRepresentable {
| `- note: add '@available' attribute to enclosing generic struct
11 | @EnvironmentObject var coordinator: Coordinator<L>
12 | var layout: L
13 | var children: _VariadicView.Children
14 | @Binding var intrinsicSizes: [AnyHashable: CGSize]
15 | @Binding var keyboardFrame: CGRect
| `- error: 'Binding' is only available in macOS 10.15 or newer
16 |
17 | func makeUIView(context: Context) -> PlacementLayoutContainer {
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/LayoutSizingView.swift:17:30: error: cannot find type 'Context' in scope
15 | @Binding var keyboardFrame: CGRect
16 |
17 | func makeUIView(context: Context) -> PlacementLayoutContainer {
| `- error: cannot find type 'Context' in scope
18 | let view = PlacementLayoutContainer()
19 | return view
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/LayoutSizingView.swift:22:68: error: cannot find type 'Context' in scope
20 | }
21 |
22 | func updateUIView(_ uiView: PlacementLayoutContainer, context: Context) {}
| `- error: cannot find type 'Context' in scope
23 |
24 | func _overrideSizeThatFits(
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/LayoutSizingView.swift:26:34: error: '_ProposedSize' is only available in macOS 10.15 or newer
8 | }
9 |
10 | struct LayoutSizingView<L: PlacementLayout>: UIViewRepresentable {
| `- note: add '@available' attribute to enclosing generic struct
11 | @EnvironmentObject var coordinator: Coordinator<L>
12 | var layout: L
:
22 | func updateUIView(_ uiView: PlacementLayoutContainer, context: Context) {}
23 |
24 | func _overrideSizeThatFits(
| `- note: add '@available' attribute to enclosing instance method
25 | _ size: inout CoreGraphics.CGSize,
26 | in proposedSize: SwiftUI._ProposedSize,
| `- error: '_ProposedSize' is only available in macOS 10.15 or newer
27 | uiView: PlacementLayoutContainer
28 | ) {
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/LayoutSizingView.swift:10:46: error: cannot find type 'UIViewRepresentable' in scope
8 | }
9 |
10 | struct LayoutSizingView<L: PlacementLayout>: UIViewRepresentable {
| `- error: cannot find type 'UIViewRepresentable' in scope
11 | @EnvironmentObject var coordinator: Coordinator<L>
12 | var layout: L
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/Layouter.swift:8:25: error: '_VariadicView' is only available in macOS 10.15 or newer
2 | import SwiftUI
3 |
4 | struct VariadicLayouterContent<L: PlacementLayout>: _VariadicView_MultiViewRoot {
| `- note: add '@available' attribute to enclosing generic struct
5 | var coordinator: Coordinator<L>
6 | var layout: L
7 |
8 | func body(children: _VariadicView.Children) -> some View {
| | `- error: '_VariadicView' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing instance method
9 | coordinator.children = children
10 |
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/Layouter.swift:8:57: error: 'View' is only available in macOS 10.15 or newer
2 | import SwiftUI
3 |
4 | struct VariadicLayouterContent<L: PlacementLayout>: _VariadicView_MultiViewRoot {
| `- note: add '@available' attribute to enclosing generic struct
5 | var coordinator: Coordinator<L>
6 | var layout: L
7 |
8 | func body(children: _VariadicView.Children) -> some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing instance method
9 | coordinator.children = children
10 |
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/Layouter.swift:24:6: error: 'StateObject' is only available in macOS 11.0 or newer
21 | }
22 |
23 | struct Layouter<Content: View, L: PlacementLayout>: View {
| `- note: add '@available' attribute to enclosing generic struct
24 | @StateObject var coordinator = Coordinator<L>()
| `- error: 'StateObject' is only available in macOS 11.0 or newer
25 | var layout: L
26 | var content: () -> Content
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/Layouter.swift:28:20: error: 'View' is only available in macOS 10.15 or newer
21 | }
22 |
23 | struct Layouter<Content: View, L: PlacementLayout>: View {
| `- note: add '@available' attribute to enclosing generic struct
24 | @StateObject var coordinator = Coordinator<L>()
25 | var layout: L
26 | var content: () -> Content
27 |
28 | var body: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing property
29 | coordinator.layout = layout
30 |
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/Layouter.swift:23:26: error: 'View' is only available in macOS 10.15 or newer
21 | }
22 |
23 | struct Layouter<Content: View, L: PlacementLayout>: View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing generic struct
24 | @StateObject var coordinator = Coordinator<L>()
25 | var layout: L
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/Layouter.swift:19:11: warning: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
2 | import SwiftUI
3 |
4 | struct VariadicLayouterContent<L: PlacementLayout>: _VariadicView_MultiViewRoot {
| `- note: add '@available' attribute to enclosing generic struct
5 | var coordinator: Coordinator<L>
6 | var layout: L
7 |
8 | func body(children: _VariadicView.Children) -> some View {
| `- note: add '@available' attribute to enclosing instance method
9 | coordinator.children = children
10 |
:
17 | )
18 | }
19 | }.modifier(LayoutSizeModifier(children: children, layout: layout))
| |- warning: conformance of 'ModifiedContent<Content, Modifier>' 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
20 | }
21 | }
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/Layouter.swift:11:16: error: 'ForEach' is only available in macOS 10.15 or newer
2 | import SwiftUI
3 |
4 | struct VariadicLayouterContent<L: PlacementLayout>: _VariadicView_MultiViewRoot {
| `- note: add '@available' attribute to enclosing generic struct
5 | var coordinator: Coordinator<L>
6 | var layout: L
7 |
8 | func body(children: _VariadicView.Children) -> some View {
| `- note: add '@available' attribute to enclosing instance method
9 | coordinator.children = children
10 |
11 | return ForEach(children) { child in
| |- error: 'ForEach' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
12 | child.modifier(
13 | PlacementModifier(id: child.id, layout: layout, children: children)
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/Layouter.swift:11:16: error: 'init(_:content:)' is only available in macOS 10.15 or newer
2 | import SwiftUI
3 |
4 | struct VariadicLayouterContent<L: PlacementLayout>: _VariadicView_MultiViewRoot {
| `- note: add '@available' attribute to enclosing generic struct
5 | var coordinator: Coordinator<L>
6 | var layout: L
7 |
8 | func body(children: _VariadicView.Children) -> some View {
| `- note: add '@available' attribute to enclosing instance method
9 | coordinator.children = children
10 |
11 | return ForEach(children) { child in
| |- error: 'init(_:content:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
12 | child.modifier(
13 | PlacementModifier(id: child.id, layout: layout, children: children)
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/Layouter.swift:12:19: error: 'modifier' is only available in macOS 10.15 or newer
2 | import SwiftUI
3 |
4 | struct VariadicLayouterContent<L: PlacementLayout>: _VariadicView_MultiViewRoot {
| `- note: add '@available' attribute to enclosing generic struct
5 | var coordinator: Coordinator<L>
6 | var layout: L
7 |
8 | func body(children: _VariadicView.Children) -> some View {
| `- note: add '@available' attribute to enclosing instance method
9 | coordinator.children = children
10 |
11 | return ForEach(children) { child in
12 | child.modifier(
| |- error: 'modifier' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
13 | PlacementModifier(id: child.id, layout: layout, children: children)
14 | ).onDisappear {
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/Layouter.swift:14:15: error: 'onDisappear(perform:)' is only available in macOS 10.15 or newer
2 | import SwiftUI
3 |
4 | struct VariadicLayouterContent<L: PlacementLayout>: _VariadicView_MultiViewRoot {
| `- note: add '@available' attribute to enclosing generic struct
5 | var coordinator: Coordinator<L>
6 | var layout: L
7 |
8 | func body(children: _VariadicView.Children) -> some View {
| `- note: add '@available' attribute to enclosing instance method
9 | coordinator.children = children
10 |
:
12 | child.modifier(
13 | PlacementModifier(id: child.id, layout: layout, children: children)
14 | ).onDisappear {
| |- error: 'onDisappear(perform:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
15 | coordinator.placementsCoordinator.placements.removeValue(
16 | forKey: child.id
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/Layouter.swift:19:11: error: 'modifier' is only available in macOS 10.15 or newer
2 | import SwiftUI
3 |
4 | struct VariadicLayouterContent<L: PlacementLayout>: _VariadicView_MultiViewRoot {
| `- note: add '@available' attribute to enclosing generic struct
5 | var coordinator: Coordinator<L>
6 | var layout: L
7 |
8 | func body(children: _VariadicView.Children) -> some View {
| `- note: add '@available' attribute to enclosing instance method
9 | coordinator.children = children
10 |
:
17 | )
18 | }
19 | }.modifier(LayoutSizeModifier(children: children, layout: layout))
| |- error: 'modifier' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
20 | }
21 | }
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/Layouter.swift:31:16: error: '_VariadicView' is only available in macOS 10.15 or newer
21 | }
22 |
23 | struct Layouter<Content: View, L: PlacementLayout>: View {
| `- note: add '@available' attribute to enclosing generic struct
24 | @StateObject var coordinator = Coordinator<L>()
25 | var layout: L
26 | var content: () -> Content
27 |
28 | var body: some View {
| `- note: add '@available' attribute to enclosing property
29 | coordinator.layout = layout
30 |
31 | return _VariadicView.Tree(
| |- error: '_VariadicView' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
32 | VariadicLayouterContent(
33 | coordinator: coordinator,
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/Layouter.swift:37:23: error: 'environment' is only available in macOS 10.15 or newer
21 | }
22 |
23 | struct Layouter<Content: View, L: PlacementLayout>: View {
| `- note: add '@available' attribute to enclosing generic struct
24 | @StateObject var coordinator = Coordinator<L>()
25 | var layout: L
26 | var content: () -> Content
27 |
28 | var body: some View {
| `- note: add '@available' attribute to enclosing property
29 | coordinator.layout = layout
30 |
:
35 | )
36 | ) {
37 | content().environment(\.placementShouldAdjustToKeyboard, false)
| |- error: 'environment' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
38 | }
39 | .environmentObject(coordinator)
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/Layouter.swift:39:10: error: 'environmentObject' is only available in macOS 10.15 or newer
21 | }
22 |
23 | struct Layouter<Content: View, L: PlacementLayout>: View {
| `- note: add '@available' attribute to enclosing generic struct
24 | @StateObject var coordinator = Coordinator<L>()
25 | var layout: L
26 | var content: () -> Content
27 |
28 | var body: some View {
| `- note: add '@available' attribute to enclosing property
29 | coordinator.layout = layout
30 |
:
37 | content().environment(\.placementShouldAdjustToKeyboard, false)
38 | }
39 | .environmentObject(coordinator)
| |- error: 'environmentObject' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
40 | .environmentObject(coordinator.placementsCoordinator)
41 | .transformPreference(PlacementIntrinsicSizesPreferenceKey.self) { intrinsicSizes in
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/Layouter.swift:40:10: error: 'environmentObject' is only available in macOS 10.15 or newer
21 | }
22 |
23 | struct Layouter<Content: View, L: PlacementLayout>: View {
| `- note: add '@available' attribute to enclosing generic struct
24 | @StateObject var coordinator = Coordinator<L>()
25 | var layout: L
26 | var content: () -> Content
27 |
28 | var body: some View {
| `- note: add '@available' attribute to enclosing property
29 | coordinator.layout = layout
30 |
:
38 | }
39 | .environmentObject(coordinator)
40 | .environmentObject(coordinator.placementsCoordinator)
| |- error: 'environmentObject' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
41 | .transformPreference(PlacementIntrinsicSizesPreferenceKey.self) { intrinsicSizes in
42 | intrinsicSizes = [:]
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/Layouter.swift:41:10: error: 'transformPreference' is only available in macOS 10.15 or newer
21 | }
22 |
23 | struct Layouter<Content: View, L: PlacementLayout>: View {
| `- note: add '@available' attribute to enclosing generic struct
24 | @StateObject var coordinator = Coordinator<L>()
25 | var layout: L
26 | var content: () -> Content
27 |
28 | var body: some View {
| `- note: add '@available' attribute to enclosing property
29 | coordinator.layout = layout
30 |
:
39 | .environmentObject(coordinator)
40 | .environmentObject(coordinator.placementsCoordinator)
41 | .transformPreference(PlacementIntrinsicSizesPreferenceKey.self) { intrinsicSizes in
| |- error: 'transformPreference' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
42 | intrinsicSizes = [:]
43 | }
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/Layouter.swift:44:10: error: 'ignoresSafeArea(_:edges:)' is only available in macOS 11.0 or newer
21 | }
22 |
23 | struct Layouter<Content: View, L: PlacementLayout>: View {
| `- note: add '@available' attribute to enclosing generic struct
24 | @StateObject var coordinator = Coordinator<L>()
25 | var layout: L
26 | var content: () -> Content
27 |
28 | var body: some View {
| `- note: add '@available' attribute to enclosing property
29 | coordinator.layout = layout
30 |
:
42 | intrinsicSizes = [:]
43 | }
44 | .ignoresSafeArea(.keyboard)
| |- error: 'ignoresSafeArea(_:edges:)' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
45 | }
46 | }
BUILD FAILURE 6.3 macosSpm