Build Information
Failed to build Placement, reference 1.8.0 (792ec6
), with Swift 6.0 for macOS (SPM) on 22 Jan 2025 13:46:29 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64
Build Log
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 | }
[26/32] 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 | }
[27/32] Compiling Placement FrameChangePlacer.swift
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/FrameChangePlacer.swift:11:50: error: cannot find type 'UIView' in scope
9 | import SwiftUI
10 |
11 | class FrameChangePlacerView<L: PlacementLayout>: UIView {
| `- error: cannot find type 'UIView' in scope
12 | var coordinator: Coordinator<L>
13 | var children: _VariadicView.Children
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/FrameChangePlacer.swift:13:19: error: '_VariadicView' is only available in macOS 10.15 or newer
9 | import SwiftUI
10 |
11 | class FrameChangePlacerView<L: PlacementLayout>: UIView {
| `- note: add @available attribute to enclosing generic class
12 | var coordinator: Coordinator<L>
13 | var children: _VariadicView.Children
| `- error: '_VariadicView' is only available in macOS 10.15 or newer
14 |
15 | init(coordinator: Coordinator<L>, children: _VariadicView.Children) {
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/FrameChangePlacer.swift:15:49: error: '_VariadicView' is only available in macOS 10.15 or newer
9 | import SwiftUI
10 |
11 | class FrameChangePlacerView<L: PlacementLayout>: UIView {
| `- note: add @available attribute to enclosing generic class
12 | var coordinator: Coordinator<L>
13 | var children: _VariadicView.Children
14 |
15 | init(coordinator: Coordinator<L>, children: _VariadicView.Children) {
| | `- error: '_VariadicView' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing initializer
16 | self.coordinator = coordinator
17 | self.children = children
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/FrameChangePlacer.swift:25:36: error: cannot find type 'UIViewController' in scope
23 | }
24 |
25 | var containedInViewController: UIViewController? = nil
| `- error: cannot find type 'UIViewController' in scope
26 |
27 | override func didMoveToSuperview() {
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/FrameChangePlacer.swift:27:19: error: method does not override any method from its superclass
25 | var containedInViewController: UIViewController? = nil
26 |
27 | override func didMoveToSuperview() {
| `- error: method does not override any method from its superclass
28 | containedInViewController = self.superview?.parentViewController
29 | }
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/FrameChangePlacer.swift:31:19: error: method does not override any method from its superclass
29 | }
30 |
31 | override func layoutSubviews() {
| `- error: method does not override any method from its superclass
32 | super.layoutSubviews()
33 |
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/FrameChangePlacer.swift:48:11: error: cannot find type 'UIResponder' in scope
46 | }
47 |
48 | extension UIResponder {
| `- error: cannot find type 'UIResponder' in scope
49 | public var parentViewController: UIViewController? {
50 | return next as? UIViewController ?? next?.parentViewController
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/FrameChangePlacer.swift:55:6: error: 'EnvironmentObject' is only available in macOS 10.15 or newer
52 | }
53 |
54 | struct FrameChangePlacer<L: PlacementLayout>: UIViewRepresentable {
| `- note: add @available attribute to enclosing generic struct
55 | @EnvironmentObject var coordinator: Coordinator<L>
| `- error: 'EnvironmentObject' is only available in macOS 10.15 or newer
56 | var children: _VariadicView.Children
57 | var intrinsicSizes: [AnyHashable: CGSize]
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/FrameChangePlacer.swift:56:19: error: '_VariadicView' is only available in macOS 10.15 or newer
52 | }
53 |
54 | struct FrameChangePlacer<L: PlacementLayout>: UIViewRepresentable {
| `- note: add @available attribute to enclosing generic struct
55 | @EnvironmentObject var coordinator: Coordinator<L>
56 | var children: _VariadicView.Children
| `- error: '_VariadicView' is only available in macOS 10.15 or newer
57 | var intrinsicSizes: [AnyHashable: CGSize]
58 | @Binding var keyboardFrame: CGRect
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/FrameChangePlacer.swift:58:6: error: 'Binding' is only available in macOS 10.15 or newer
52 | }
53 |
54 | struct FrameChangePlacer<L: PlacementLayout>: UIViewRepresentable {
| `- note: add @available attribute to enclosing generic struct
55 | @EnvironmentObject var coordinator: Coordinator<L>
56 | var children: _VariadicView.Children
57 | var intrinsicSizes: [AnyHashable: CGSize]
58 | @Binding var keyboardFrame: CGRect
| `- error: 'Binding' is only available in macOS 10.15 or newer
59 |
60 | func makeUIView(context: Context) -> FrameChangePlacerView<L> {
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/FrameChangePlacer.swift:60:30: error: cannot find type 'Context' in scope
58 | @Binding var keyboardFrame: CGRect
59 |
60 | func makeUIView(context: Context) -> FrameChangePlacerView<L> {
| `- error: cannot find type 'Context' in scope
61 | FrameChangePlacerView(coordinator: coordinator, children: children)
62 | }
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/FrameChangePlacer.swift:64:68: error: cannot find type 'Context' in scope
62 | }
63 |
64 | func updateUIView(_ uiView: FrameChangePlacerView<L>, context: Context) {
| `- error: cannot find type 'Context' in scope
65 | }
66 |
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/FrameChangePlacer.swift:69:34: error: '_ProposedSize' is only available in macOS 10.15 or newer
52 | }
53 |
54 | struct FrameChangePlacer<L: PlacementLayout>: UIViewRepresentable {
| `- note: add @available attribute to enclosing generic struct
55 | @EnvironmentObject var coordinator: Coordinator<L>
56 | var children: _VariadicView.Children
:
65 | }
66 |
67 | func _overrideSizeThatFits(
| `- note: add @available attribute to enclosing instance method
68 | _ size: inout CoreGraphics.CGSize,
69 | in proposedSize: SwiftUI._ProposedSize,
| `- error: '_ProposedSize' is only available in macOS 10.15 or newer
70 | uiView: FrameChangePlacerView<L>
71 | ) {
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/FrameChangePlacer.swift:54:47: error: cannot find type 'UIViewRepresentable' in scope
52 | }
53 |
54 | struct FrameChangePlacer<L: PlacementLayout>: UIViewRepresentable {
| `- error: cannot find type 'UIViewRepresentable' in scope
55 | @EnvironmentObject var coordinator: Coordinator<L>
56 | var children: _VariadicView.Children
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/FrameChangePlacer.swift:18:9: error: 'super' members cannot be referenced in a root class
16 | self.coordinator = coordinator
17 | self.children = children
18 | super.init(frame: .zero)
| `- error: 'super' members cannot be referenced in a root class
19 | }
20 |
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/FrameChangePlacer.swift:28:42: error: value of type 'FrameChangePlacerView<L>' has no member 'superview'
26 |
27 | override func didMoveToSuperview() {
28 | containedInViewController = self.superview?.parentViewController
| `- error: value of type 'FrameChangePlacerView<L>' has no member 'superview'
29 | }
30 |
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/FrameChangePlacer.swift:32:9: error: 'super' members cannot be referenced in a root class
30 |
31 | override func layoutSubviews() {
32 | super.layoutSubviews()
| `- error: 'super' members cannot be referenced in a root class
33 |
34 | if let viewController = containedInViewController
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/FrameChangePlacer.swift:35:22: error: value of type 'FrameChangePlacerView<L>' has no member 'superview'
33 |
34 | if let viewController = containedInViewController
35 | ?? self.superview?.parentViewController,
| `- error: value of type 'FrameChangePlacerView<L>' has no member 'superview'
36 | let globalFrame = self.superview?.convert(
37 | self.frame,
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/FrameChangePlacer.swift:36:35: error: value of type 'FrameChangePlacerView<L>' has no member 'superview'
34 | if let viewController = containedInViewController
35 | ?? self.superview?.parentViewController,
36 | let globalFrame = self.superview?.convert(
| `- error: value of type 'FrameChangePlacerView<L>' has no member 'superview'
37 | self.frame,
38 | to: viewController.view
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/FrameChangePlacer.swift:37:22: error: value of type 'FrameChangePlacerView<L>' has no member 'frame'
35 | ?? self.superview?.parentViewController,
36 | let globalFrame = self.superview?.convert(
37 | self.frame,
| `- error: value of type 'FrameChangePlacerView<L>' has no member 'frame'
38 | to: viewController.view
39 | )
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/FrameChangePlacer.swift:79:16: error: value of type 'FrameChangePlacerView<L>' has no member 'setNeedsLayout'
77 | )
78 |
79 | uiView.setNeedsLayout()
| `- error: value of type 'FrameChangePlacerView<L>' has no member 'setNeedsLayout'
80 | }
81 | }
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/LayoutChildSizingView.swift:4:61: error: cannot find type 'UIView' in scope
2 | import SwiftUI
3 |
4 | class PlacementLayoutChildSizingUIView<L: PlacementLayout>: UIView {
| `- error: cannot find type 'UIView' in scope
5 | override var intrinsicContentSize: CGSize {
6 | .zero
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/LayoutChildSizingView.swift:5:18: error: property does not override any property from its superclass
3 |
4 | class PlacementLayoutChildSizingUIView<L: PlacementLayout>: 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/LayoutChildSizingView.swift:11:6: error: 'EnvironmentObject' is only available in macOS 10.15 or newer
8 | }
9 |
10 | struct LayoutChildSizingView<L: PlacementLayout>: UIViewRepresentable {
| `- note: add @available attribute to enclosing generic struct
11 | @EnvironmentObject var placementsCoordinator: PlacementsCoordinator
| `- error: 'EnvironmentObject' is only available in macOS 10.15 or newer
12 | @EnvironmentObject var coordinator: Coordinator<L>
13 |
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/LayoutChildSizingView.swift:12:6: error: 'EnvironmentObject' is only available in macOS 10.15 or newer
8 | }
9 |
10 | struct LayoutChildSizingView<L: PlacementLayout>: UIViewRepresentable {
| `- note: add @available attribute to enclosing generic struct
11 | @EnvironmentObject var placementsCoordinator: PlacementsCoordinator
12 | @EnvironmentObject var coordinator: Coordinator<L>
| `- error: 'EnvironmentObject' is only available in macOS 10.15 or newer
13 |
14 | var layout: L
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/LayoutChildSizingView.swift:16:19: error: '_VariadicView' is only available in macOS 10.15 or newer
8 | }
9 |
10 | struct LayoutChildSizingView<L: PlacementLayout>: UIViewRepresentable {
| `- note: add @available attribute to enclosing generic struct
11 | @EnvironmentObject var placementsCoordinator: PlacementsCoordinator
12 | @EnvironmentObject var coordinator: Coordinator<L>
:
14 | var layout: L
15 | var id: AnyHashable
16 | var children: _VariadicView.Children
| `- error: '_VariadicView' is only available in macOS 10.15 or newer
17 |
18 | func makeUIView(context: Context) -> PlacementLayoutChildSizingUIView<L> {
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/LayoutChildSizingView.swift:18:30: error: cannot find type 'Context' in scope
16 | var children: _VariadicView.Children
17 |
18 | func makeUIView(context: Context) -> PlacementLayoutChildSizingUIView<L> {
| `- error: cannot find type 'Context' in scope
19 | let view = PlacementLayoutChildSizingUIView<L>(frame: .zero)
20 | return view
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/LayoutChildSizingView.swift:23:79: error: cannot find type 'Context' in scope
21 | }
22 |
23 | func updateUIView(_ uiView: PlacementLayoutChildSizingUIView<L>, context: Context) {
| `- error: cannot find type 'Context' in scope
24 | }
25 |
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/LayoutChildSizingView.swift:28:34: error: '_ProposedSize' is only available in macOS 10.15 or newer
8 | }
9 |
10 | struct LayoutChildSizingView<L: PlacementLayout>: UIViewRepresentable {
| `- note: add @available attribute to enclosing generic struct
11 | @EnvironmentObject var placementsCoordinator: PlacementsCoordinator
12 | @EnvironmentObject var coordinator: Coordinator<L>
:
24 | }
25 |
26 | func _overrideSizeThatFits(
| `- note: add @available attribute to enclosing instance method
27 | _ size: inout CoreGraphics.CGSize,
28 | in proposedSize: SwiftUI._ProposedSize,
| `- error: '_ProposedSize' is only available in macOS 10.15 or newer
29 | uiView: PlacementLayoutChildSizingUIView<L>
30 | ) {
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/LayoutChildSizingView.swift:10:51: error: cannot find type 'UIViewRepresentable' in scope
8 | }
9 |
10 | struct LayoutChildSizingView<L: PlacementLayout>: UIViewRepresentable {
| `- error: cannot find type 'UIViewRepresentable' in scope
11 | @EnvironmentObject var placementsCoordinator: PlacementsCoordinator
12 | @EnvironmentObject var coordinator: Coordinator<L>
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/LayoutChildSizingView.swift:19:64: error: argument passed to call that takes no arguments
17 |
18 | func makeUIView(context: Context) -> PlacementLayoutChildSizingUIView<L> {
19 | let view = PlacementLayoutChildSizingUIView<L>(frame: .zero)
| `- error: argument passed to call that takes no arguments
20 | return view
21 | }
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/LayoutChildSizingView.swift:19:64: error: cannot infer contextual base in reference to member 'zero'
17 |
18 | func makeUIView(context: Context) -> PlacementLayoutChildSizingUIView<L> {
19 | let view = PlacementLayoutChildSizingUIView<L>(frame: .zero)
| `- error: cannot infer contextual base in reference to member 'zero'
20 | return view
21 | }
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/LayoutPlacement.swift:30:17: error: 'UnitPoint' is only available in macOS 10.15 or newer
2 | import SwiftUI
3 |
4 | struct LayoutPlacement: Equatable {
| `- note: add @available attribute to enclosing struct
5 | static func == (lhs: LayoutPlacement, rhs: LayoutPlacement) -> Bool {
6 | if let lhsSubview = lhs.subview as? LayoutSubviewPolyfill,
:
28 | var subview: any PlacementLayoutSubview
29 | var position: CGPoint
30 | var anchor: UnitPoint
| `- error: 'UnitPoint' is only available in macOS 10.15 or newer
31 | var proposal: PlacementProposedViewSize
32 | }
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/FrameChangePlacer.swift:49:38: error: cannot find type 'UIViewController' in scope
47 |
48 | extension UIResponder {
49 | public var parentViewController: UIViewController? {
| `- error: cannot find type 'UIViewController' in scope
50 | return next as? UIViewController ?? next?.parentViewController
51 | }
[28/32] Compiling Placement LayoutChildSizingView.swift
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/FrameChangePlacer.swift:11:50: error: cannot find type 'UIView' in scope
9 | import SwiftUI
10 |
11 | class FrameChangePlacerView<L: PlacementLayout>: UIView {
| `- error: cannot find type 'UIView' in scope
12 | var coordinator: Coordinator<L>
13 | var children: _VariadicView.Children
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/FrameChangePlacer.swift:13:19: error: '_VariadicView' is only available in macOS 10.15 or newer
9 | import SwiftUI
10 |
11 | class FrameChangePlacerView<L: PlacementLayout>: UIView {
| `- note: add @available attribute to enclosing generic class
12 | var coordinator: Coordinator<L>
13 | var children: _VariadicView.Children
| `- error: '_VariadicView' is only available in macOS 10.15 or newer
14 |
15 | init(coordinator: Coordinator<L>, children: _VariadicView.Children) {
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/FrameChangePlacer.swift:15:49: error: '_VariadicView' is only available in macOS 10.15 or newer
9 | import SwiftUI
10 |
11 | class FrameChangePlacerView<L: PlacementLayout>: UIView {
| `- note: add @available attribute to enclosing generic class
12 | var coordinator: Coordinator<L>
13 | var children: _VariadicView.Children
14 |
15 | init(coordinator: Coordinator<L>, children: _VariadicView.Children) {
| | `- error: '_VariadicView' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing initializer
16 | self.coordinator = coordinator
17 | self.children = children
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/FrameChangePlacer.swift:25:36: error: cannot find type 'UIViewController' in scope
23 | }
24 |
25 | var containedInViewController: UIViewController? = nil
| `- error: cannot find type 'UIViewController' in scope
26 |
27 | override func didMoveToSuperview() {
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/FrameChangePlacer.swift:27:19: error: method does not override any method from its superclass
25 | var containedInViewController: UIViewController? = nil
26 |
27 | override func didMoveToSuperview() {
| `- error: method does not override any method from its superclass
28 | containedInViewController = self.superview?.parentViewController
29 | }
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/FrameChangePlacer.swift:31:19: error: method does not override any method from its superclass
29 | }
30 |
31 | override func layoutSubviews() {
| `- error: method does not override any method from its superclass
32 | super.layoutSubviews()
33 |
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/FrameChangePlacer.swift:48:11: error: cannot find type 'UIResponder' in scope
46 | }
47 |
48 | extension UIResponder {
| `- error: cannot find type 'UIResponder' in scope
49 | public var parentViewController: UIViewController? {
50 | return next as? UIViewController ?? next?.parentViewController
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/FrameChangePlacer.swift:55:6: error: 'EnvironmentObject' is only available in macOS 10.15 or newer
52 | }
53 |
54 | struct FrameChangePlacer<L: PlacementLayout>: UIViewRepresentable {
| `- note: add @available attribute to enclosing generic struct
55 | @EnvironmentObject var coordinator: Coordinator<L>
| `- error: 'EnvironmentObject' is only available in macOS 10.15 or newer
56 | var children: _VariadicView.Children
57 | var intrinsicSizes: [AnyHashable: CGSize]
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/FrameChangePlacer.swift:56:19: error: '_VariadicView' is only available in macOS 10.15 or newer
52 | }
53 |
54 | struct FrameChangePlacer<L: PlacementLayout>: UIViewRepresentable {
| `- note: add @available attribute to enclosing generic struct
55 | @EnvironmentObject var coordinator: Coordinator<L>
56 | var children: _VariadicView.Children
| `- error: '_VariadicView' is only available in macOS 10.15 or newer
57 | var intrinsicSizes: [AnyHashable: CGSize]
58 | @Binding var keyboardFrame: CGRect
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/FrameChangePlacer.swift:58:6: error: 'Binding' is only available in macOS 10.15 or newer
52 | }
53 |
54 | struct FrameChangePlacer<L: PlacementLayout>: UIViewRepresentable {
| `- note: add @available attribute to enclosing generic struct
55 | @EnvironmentObject var coordinator: Coordinator<L>
56 | var children: _VariadicView.Children
57 | var intrinsicSizes: [AnyHashable: CGSize]
58 | @Binding var keyboardFrame: CGRect
| `- error: 'Binding' is only available in macOS 10.15 or newer
59 |
60 | func makeUIView(context: Context) -> FrameChangePlacerView<L> {
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/FrameChangePlacer.swift:60:30: error: cannot find type 'Context' in scope
58 | @Binding var keyboardFrame: CGRect
59 |
60 | func makeUIView(context: Context) -> FrameChangePlacerView<L> {
| `- error: cannot find type 'Context' in scope
61 | FrameChangePlacerView(coordinator: coordinator, children: children)
62 | }
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/FrameChangePlacer.swift:64:68: error: cannot find type 'Context' in scope
62 | }
63 |
64 | func updateUIView(_ uiView: FrameChangePlacerView<L>, context: Context) {
| `- error: cannot find type 'Context' in scope
65 | }
66 |
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/FrameChangePlacer.swift:69:34: error: '_ProposedSize' is only available in macOS 10.15 or newer
52 | }
53 |
54 | struct FrameChangePlacer<L: PlacementLayout>: UIViewRepresentable {
| `- note: add @available attribute to enclosing generic struct
55 | @EnvironmentObject var coordinator: Coordinator<L>
56 | var children: _VariadicView.Children
:
65 | }
66 |
67 | func _overrideSizeThatFits(
| `- note: add @available attribute to enclosing instance method
68 | _ size: inout CoreGraphics.CGSize,
69 | in proposedSize: SwiftUI._ProposedSize,
| `- error: '_ProposedSize' is only available in macOS 10.15 or newer
70 | uiView: FrameChangePlacerView<L>
71 | ) {
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/FrameChangePlacer.swift:54:47: error: cannot find type 'UIViewRepresentable' in scope
52 | }
53 |
54 | struct FrameChangePlacer<L: PlacementLayout>: UIViewRepresentable {
| `- error: cannot find type 'UIViewRepresentable' in scope
55 | @EnvironmentObject var coordinator: Coordinator<L>
56 | var children: _VariadicView.Children
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/FrameChangePlacer.swift:18:9: error: 'super' members cannot be referenced in a root class
16 | self.coordinator = coordinator
17 | self.children = children
18 | super.init(frame: .zero)
| `- error: 'super' members cannot be referenced in a root class
19 | }
20 |
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/FrameChangePlacer.swift:28:42: error: value of type 'FrameChangePlacerView<L>' has no member 'superview'
26 |
27 | override func didMoveToSuperview() {
28 | containedInViewController = self.superview?.parentViewController
| `- error: value of type 'FrameChangePlacerView<L>' has no member 'superview'
29 | }
30 |
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/FrameChangePlacer.swift:32:9: error: 'super' members cannot be referenced in a root class
30 |
31 | override func layoutSubviews() {
32 | super.layoutSubviews()
| `- error: 'super' members cannot be referenced in a root class
33 |
34 | if let viewController = containedInViewController
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/FrameChangePlacer.swift:35:22: error: value of type 'FrameChangePlacerView<L>' has no member 'superview'
33 |
34 | if let viewController = containedInViewController
35 | ?? self.superview?.parentViewController,
| `- error: value of type 'FrameChangePlacerView<L>' has no member 'superview'
36 | let globalFrame = self.superview?.convert(
37 | self.frame,
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/FrameChangePlacer.swift:36:35: error: value of type 'FrameChangePlacerView<L>' has no member 'superview'
34 | if let viewController = containedInViewController
35 | ?? self.superview?.parentViewController,
36 | let globalFrame = self.superview?.convert(
| `- error: value of type 'FrameChangePlacerView<L>' has no member 'superview'
37 | self.frame,
38 | to: viewController.view
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/FrameChangePlacer.swift:37:22: error: value of type 'FrameChangePlacerView<L>' has no member 'frame'
35 | ?? self.superview?.parentViewController,
36 | let globalFrame = self.superview?.convert(
37 | self.frame,
| `- error: value of type 'FrameChangePlacerView<L>' has no member 'frame'
38 | to: viewController.view
39 | )
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/FrameChangePlacer.swift:79:16: error: value of type 'FrameChangePlacerView<L>' has no member 'setNeedsLayout'
77 | )
78 |
79 | uiView.setNeedsLayout()
| `- error: value of type 'FrameChangePlacerView<L>' has no member 'setNeedsLayout'
80 | }
81 | }
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/LayoutChildSizingView.swift:4:61: error: cannot find type 'UIView' in scope
2 | import SwiftUI
3 |
4 | class PlacementLayoutChildSizingUIView<L: PlacementLayout>: UIView {
| `- error: cannot find type 'UIView' in scope
5 | override var intrinsicContentSize: CGSize {
6 | .zero
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/LayoutChildSizingView.swift:5:18: error: property does not override any property from its superclass
3 |
4 | class PlacementLayoutChildSizingUIView<L: PlacementLayout>: 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/LayoutChildSizingView.swift:11:6: error: 'EnvironmentObject' is only available in macOS 10.15 or newer
8 | }
9 |
10 | struct LayoutChildSizingView<L: PlacementLayout>: UIViewRepresentable {
| `- note: add @available attribute to enclosing generic struct
11 | @EnvironmentObject var placementsCoordinator: PlacementsCoordinator
| `- error: 'EnvironmentObject' is only available in macOS 10.15 or newer
12 | @EnvironmentObject var coordinator: Coordinator<L>
13 |
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/LayoutChildSizingView.swift:12:6: error: 'EnvironmentObject' is only available in macOS 10.15 or newer
8 | }
9 |
10 | struct LayoutChildSizingView<L: PlacementLayout>: UIViewRepresentable {
| `- note: add @available attribute to enclosing generic struct
11 | @EnvironmentObject var placementsCoordinator: PlacementsCoordinator
12 | @EnvironmentObject var coordinator: Coordinator<L>
| `- error: 'EnvironmentObject' is only available in macOS 10.15 or newer
13 |
14 | var layout: L
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/LayoutChildSizingView.swift:16:19: error: '_VariadicView' is only available in macOS 10.15 or newer
8 | }
9 |
10 | struct LayoutChildSizingView<L: PlacementLayout>: UIViewRepresentable {
| `- note: add @available attribute to enclosing generic struct
11 | @EnvironmentObject var placementsCoordinator: PlacementsCoordinator
12 | @EnvironmentObject var coordinator: Coordinator<L>
:
14 | var layout: L
15 | var id: AnyHashable
16 | var children: _VariadicView.Children
| `- error: '_VariadicView' is only available in macOS 10.15 or newer
17 |
18 | func makeUIView(context: Context) -> PlacementLayoutChildSizingUIView<L> {
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/LayoutChildSizingView.swift:18:30: error: cannot find type 'Context' in scope
16 | var children: _VariadicView.Children
17 |
18 | func makeUIView(context: Context) -> PlacementLayoutChildSizingUIView<L> {
| `- error: cannot find type 'Context' in scope
19 | let view = PlacementLayoutChildSizingUIView<L>(frame: .zero)
20 | return view
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/LayoutChildSizingView.swift:23:79: error: cannot find type 'Context' in scope
21 | }
22 |
23 | func updateUIView(_ uiView: PlacementLayoutChildSizingUIView<L>, context: Context) {
| `- error: cannot find type 'Context' in scope
24 | }
25 |
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/LayoutChildSizingView.swift:28:34: error: '_ProposedSize' is only available in macOS 10.15 or newer
8 | }
9 |
10 | struct LayoutChildSizingView<L: PlacementLayout>: UIViewRepresentable {
| `- note: add @available attribute to enclosing generic struct
11 | @EnvironmentObject var placementsCoordinator: PlacementsCoordinator
12 | @EnvironmentObject var coordinator: Coordinator<L>
:
24 | }
25 |
26 | func _overrideSizeThatFits(
| `- note: add @available attribute to enclosing instance method
27 | _ size: inout CoreGraphics.CGSize,
28 | in proposedSize: SwiftUI._ProposedSize,
| `- error: '_ProposedSize' is only available in macOS 10.15 or newer
29 | uiView: PlacementLayoutChildSizingUIView<L>
30 | ) {
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/LayoutChildSizingView.swift:10:51: error: cannot find type 'UIViewRepresentable' in scope
8 | }
9 |
10 | struct LayoutChildSizingView<L: PlacementLayout>: UIViewRepresentable {
| `- error: cannot find type 'UIViewRepresentable' in scope
11 | @EnvironmentObject var placementsCoordinator: PlacementsCoordinator
12 | @EnvironmentObject var coordinator: Coordinator<L>
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/LayoutChildSizingView.swift:19:64: error: argument passed to call that takes no arguments
17 |
18 | func makeUIView(context: Context) -> PlacementLayoutChildSizingUIView<L> {
19 | let view = PlacementLayoutChildSizingUIView<L>(frame: .zero)
| `- error: argument passed to call that takes no arguments
20 | return view
21 | }
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/LayoutChildSizingView.swift:19:64: error: cannot infer contextual base in reference to member 'zero'
17 |
18 | func makeUIView(context: Context) -> PlacementLayoutChildSizingUIView<L> {
19 | let view = PlacementLayoutChildSizingUIView<L>(frame: .zero)
| `- error: cannot infer contextual base in reference to member 'zero'
20 | return view
21 | }
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/LayoutPlacement.swift:30:17: error: 'UnitPoint' is only available in macOS 10.15 or newer
2 | import SwiftUI
3 |
4 | struct LayoutPlacement: Equatable {
| `- note: add @available attribute to enclosing struct
5 | static func == (lhs: LayoutPlacement, rhs: LayoutPlacement) -> Bool {
6 | if let lhsSubview = lhs.subview as? LayoutSubviewPolyfill,
:
28 | var subview: any PlacementLayoutSubview
29 | var position: CGPoint
30 | var anchor: UnitPoint
| `- error: 'UnitPoint' is only available in macOS 10.15 or newer
31 | var proposal: PlacementProposedViewSize
32 | }
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/FrameChangePlacer.swift:49:38: error: cannot find type 'UIViewController' in scope
47 |
48 | extension UIResponder {
49 | public var parentViewController: UIViewController? {
| `- error: cannot find type 'UIViewController' in scope
50 | return next as? UIViewController ?? next?.parentViewController
51 | }
[29/32] Compiling Placement LayoutPlacement.swift
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/FrameChangePlacer.swift:11:50: error: cannot find type 'UIView' in scope
9 | import SwiftUI
10 |
11 | class FrameChangePlacerView<L: PlacementLayout>: UIView {
| `- error: cannot find type 'UIView' in scope
12 | var coordinator: Coordinator<L>
13 | var children: _VariadicView.Children
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/FrameChangePlacer.swift:13:19: error: '_VariadicView' is only available in macOS 10.15 or newer
9 | import SwiftUI
10 |
11 | class FrameChangePlacerView<L: PlacementLayout>: UIView {
| `- note: add @available attribute to enclosing generic class
12 | var coordinator: Coordinator<L>
13 | var children: _VariadicView.Children
| `- error: '_VariadicView' is only available in macOS 10.15 or newer
14 |
15 | init(coordinator: Coordinator<L>, children: _VariadicView.Children) {
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/FrameChangePlacer.swift:15:49: error: '_VariadicView' is only available in macOS 10.15 or newer
9 | import SwiftUI
10 |
11 | class FrameChangePlacerView<L: PlacementLayout>: UIView {
| `- note: add @available attribute to enclosing generic class
12 | var coordinator: Coordinator<L>
13 | var children: _VariadicView.Children
14 |
15 | init(coordinator: Coordinator<L>, children: _VariadicView.Children) {
| | `- error: '_VariadicView' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing initializer
16 | self.coordinator = coordinator
17 | self.children = children
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/FrameChangePlacer.swift:25:36: error: cannot find type 'UIViewController' in scope
23 | }
24 |
25 | var containedInViewController: UIViewController? = nil
| `- error: cannot find type 'UIViewController' in scope
26 |
27 | override func didMoveToSuperview() {
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/FrameChangePlacer.swift:27:19: error: method does not override any method from its superclass
25 | var containedInViewController: UIViewController? = nil
26 |
27 | override func didMoveToSuperview() {
| `- error: method does not override any method from its superclass
28 | containedInViewController = self.superview?.parentViewController
29 | }
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/FrameChangePlacer.swift:31:19: error: method does not override any method from its superclass
29 | }
30 |
31 | override func layoutSubviews() {
| `- error: method does not override any method from its superclass
32 | super.layoutSubviews()
33 |
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/FrameChangePlacer.swift:48:11: error: cannot find type 'UIResponder' in scope
46 | }
47 |
48 | extension UIResponder {
| `- error: cannot find type 'UIResponder' in scope
49 | public var parentViewController: UIViewController? {
50 | return next as? UIViewController ?? next?.parentViewController
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/FrameChangePlacer.swift:55:6: error: 'EnvironmentObject' is only available in macOS 10.15 or newer
52 | }
53 |
54 | struct FrameChangePlacer<L: PlacementLayout>: UIViewRepresentable {
| `- note: add @available attribute to enclosing generic struct
55 | @EnvironmentObject var coordinator: Coordinator<L>
| `- error: 'EnvironmentObject' is only available in macOS 10.15 or newer
56 | var children: _VariadicView.Children
57 | var intrinsicSizes: [AnyHashable: CGSize]
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/FrameChangePlacer.swift:56:19: error: '_VariadicView' is only available in macOS 10.15 or newer
52 | }
53 |
54 | struct FrameChangePlacer<L: PlacementLayout>: UIViewRepresentable {
| `- note: add @available attribute to enclosing generic struct
55 | @EnvironmentObject var coordinator: Coordinator<L>
56 | var children: _VariadicView.Children
| `- error: '_VariadicView' is only available in macOS 10.15 or newer
57 | var intrinsicSizes: [AnyHashable: CGSize]
58 | @Binding var keyboardFrame: CGRect
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/FrameChangePlacer.swift:58:6: error: 'Binding' is only available in macOS 10.15 or newer
52 | }
53 |
54 | struct FrameChangePlacer<L: PlacementLayout>: UIViewRepresentable {
| `- note: add @available attribute to enclosing generic struct
55 | @EnvironmentObject var coordinator: Coordinator<L>
56 | var children: _VariadicView.Children
57 | var intrinsicSizes: [AnyHashable: CGSize]
58 | @Binding var keyboardFrame: CGRect
| `- error: 'Binding' is only available in macOS 10.15 or newer
59 |
60 | func makeUIView(context: Context) -> FrameChangePlacerView<L> {
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/FrameChangePlacer.swift:60:30: error: cannot find type 'Context' in scope
58 | @Binding var keyboardFrame: CGRect
59 |
60 | func makeUIView(context: Context) -> FrameChangePlacerView<L> {
| `- error: cannot find type 'Context' in scope
61 | FrameChangePlacerView(coordinator: coordinator, children: children)
62 | }
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/FrameChangePlacer.swift:64:68: error: cannot find type 'Context' in scope
62 | }
63 |
64 | func updateUIView(_ uiView: FrameChangePlacerView<L>, context: Context) {
| `- error: cannot find type 'Context' in scope
65 | }
66 |
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/FrameChangePlacer.swift:69:34: error: '_ProposedSize' is only available in macOS 10.15 or newer
52 | }
53 |
54 | struct FrameChangePlacer<L: PlacementLayout>: UIViewRepresentable {
| `- note: add @available attribute to enclosing generic struct
55 | @EnvironmentObject var coordinator: Coordinator<L>
56 | var children: _VariadicView.Children
:
65 | }
66 |
67 | func _overrideSizeThatFits(
| `- note: add @available attribute to enclosing instance method
68 | _ size: inout CoreGraphics.CGSize,
69 | in proposedSize: SwiftUI._ProposedSize,
| `- error: '_ProposedSize' is only available in macOS 10.15 or newer
70 | uiView: FrameChangePlacerView<L>
71 | ) {
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/FrameChangePlacer.swift:54:47: error: cannot find type 'UIViewRepresentable' in scope
52 | }
53 |
54 | struct FrameChangePlacer<L: PlacementLayout>: UIViewRepresentable {
| `- error: cannot find type 'UIViewRepresentable' in scope
55 | @EnvironmentObject var coordinator: Coordinator<L>
56 | var children: _VariadicView.Children
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/FrameChangePlacer.swift:18:9: error: 'super' members cannot be referenced in a root class
16 | self.coordinator = coordinator
17 | self.children = children
18 | super.init(frame: .zero)
| `- error: 'super' members cannot be referenced in a root class
19 | }
20 |
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/FrameChangePlacer.swift:28:42: error: value of type 'FrameChangePlacerView<L>' has no member 'superview'
26 |
27 | override func didMoveToSuperview() {
28 | containedInViewController = self.superview?.parentViewController
| `- error: value of type 'FrameChangePlacerView<L>' has no member 'superview'
29 | }
30 |
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/FrameChangePlacer.swift:32:9: error: 'super' members cannot be referenced in a root class
30 |
31 | override func layoutSubviews() {
32 | super.layoutSubviews()
| `- error: 'super' members cannot be referenced in a root class
33 |
34 | if let viewController = containedInViewController
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/FrameChangePlacer.swift:35:22: error: value of type 'FrameChangePlacerView<L>' has no member 'superview'
33 |
34 | if let viewController = containedInViewController
35 | ?? self.superview?.parentViewController,
| `- error: value of type 'FrameChangePlacerView<L>' has no member 'superview'
36 | let globalFrame = self.superview?.convert(
37 | self.frame,
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/FrameChangePlacer.swift:36:35: error: value of type 'FrameChangePlacerView<L>' has no member 'superview'
34 | if let viewController = containedInViewController
35 | ?? self.superview?.parentViewController,
36 | let globalFrame = self.superview?.convert(
| `- error: value of type 'FrameChangePlacerView<L>' has no member 'superview'
37 | self.frame,
38 | to: viewController.view
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/FrameChangePlacer.swift:37:22: error: value of type 'FrameChangePlacerView<L>' has no member 'frame'
35 | ?? self.superview?.parentViewController,
36 | let globalFrame = self.superview?.convert(
37 | self.frame,
| `- error: value of type 'FrameChangePlacerView<L>' has no member 'frame'
38 | to: viewController.view
39 | )
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/FrameChangePlacer.swift:79:16: error: value of type 'FrameChangePlacerView<L>' has no member 'setNeedsLayout'
77 | )
78 |
79 | uiView.setNeedsLayout()
| `- error: value of type 'FrameChangePlacerView<L>' has no member 'setNeedsLayout'
80 | }
81 | }
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/LayoutChildSizingView.swift:4:61: error: cannot find type 'UIView' in scope
2 | import SwiftUI
3 |
4 | class PlacementLayoutChildSizingUIView<L: PlacementLayout>: UIView {
| `- error: cannot find type 'UIView' in scope
5 | override var intrinsicContentSize: CGSize {
6 | .zero
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/LayoutChildSizingView.swift:5:18: error: property does not override any property from its superclass
3 |
4 | class PlacementLayoutChildSizingUIView<L: PlacementLayout>: 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/LayoutChildSizingView.swift:11:6: error: 'EnvironmentObject' is only available in macOS 10.15 or newer
8 | }
9 |
10 | struct LayoutChildSizingView<L: PlacementLayout>: UIViewRepresentable {
| `- note: add @available attribute to enclosing generic struct
11 | @EnvironmentObject var placementsCoordinator: PlacementsCoordinator
| `- error: 'EnvironmentObject' is only available in macOS 10.15 or newer
12 | @EnvironmentObject var coordinator: Coordinator<L>
13 |
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/LayoutChildSizingView.swift:12:6: error: 'EnvironmentObject' is only available in macOS 10.15 or newer
8 | }
9 |
10 | struct LayoutChildSizingView<L: PlacementLayout>: UIViewRepresentable {
| `- note: add @available attribute to enclosing generic struct
11 | @EnvironmentObject var placementsCoordinator: PlacementsCoordinator
12 | @EnvironmentObject var coordinator: Coordinator<L>
| `- error: 'EnvironmentObject' is only available in macOS 10.15 or newer
13 |
14 | var layout: L
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/LayoutChildSizingView.swift:16:19: error: '_VariadicView' is only available in macOS 10.15 or newer
8 | }
9 |
10 | struct LayoutChildSizingView<L: PlacementLayout>: UIViewRepresentable {
| `- note: add @available attribute to enclosing generic struct
11 | @EnvironmentObject var placementsCoordinator: PlacementsCoordinator
12 | @EnvironmentObject var coordinator: Coordinator<L>
:
14 | var layout: L
15 | var id: AnyHashable
16 | var children: _VariadicView.Children
| `- error: '_VariadicView' is only available in macOS 10.15 or newer
17 |
18 | func makeUIView(context: Context) -> PlacementLayoutChildSizingUIView<L> {
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/LayoutChildSizingView.swift:18:30: error: cannot find type 'Context' in scope
16 | var children: _VariadicView.Children
17 |
18 | func makeUIView(context: Context) -> PlacementLayoutChildSizingUIView<L> {
| `- error: cannot find type 'Context' in scope
19 | let view = PlacementLayoutChildSizingUIView<L>(frame: .zero)
20 | return view
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/LayoutChildSizingView.swift:23:79: error: cannot find type 'Context' in scope
21 | }
22 |
23 | func updateUIView(_ uiView: PlacementLayoutChildSizingUIView<L>, context: Context) {
| `- error: cannot find type 'Context' in scope
24 | }
25 |
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/LayoutChildSizingView.swift:28:34: error: '_ProposedSize' is only available in macOS 10.15 or newer
8 | }
9 |
10 | struct LayoutChildSizingView<L: PlacementLayout>: UIViewRepresentable {
| `- note: add @available attribute to enclosing generic struct
11 | @EnvironmentObject var placementsCoordinator: PlacementsCoordinator
12 | @EnvironmentObject var coordinator: Coordinator<L>
:
24 | }
25 |
26 | func _overrideSizeThatFits(
| `- note: add @available attribute to enclosing instance method
27 | _ size: inout CoreGraphics.CGSize,
28 | in proposedSize: SwiftUI._ProposedSize,
| `- error: '_ProposedSize' is only available in macOS 10.15 or newer
29 | uiView: PlacementLayoutChildSizingUIView<L>
30 | ) {
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/LayoutChildSizingView.swift:10:51: error: cannot find type 'UIViewRepresentable' in scope
8 | }
9 |
10 | struct LayoutChildSizingView<L: PlacementLayout>: UIViewRepresentable {
| `- error: cannot find type 'UIViewRepresentable' in scope
11 | @EnvironmentObject var placementsCoordinator: PlacementsCoordinator
12 | @EnvironmentObject var coordinator: Coordinator<L>
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/LayoutChildSizingView.swift:19:64: error: argument passed to call that takes no arguments
17 |
18 | func makeUIView(context: Context) -> PlacementLayoutChildSizingUIView<L> {
19 | let view = PlacementLayoutChildSizingUIView<L>(frame: .zero)
| `- error: argument passed to call that takes no arguments
20 | return view
21 | }
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/LayoutChildSizingView.swift:19:64: error: cannot infer contextual base in reference to member 'zero'
17 |
18 | func makeUIView(context: Context) -> PlacementLayoutChildSizingUIView<L> {
19 | let view = PlacementLayoutChildSizingUIView<L>(frame: .zero)
| `- error: cannot infer contextual base in reference to member 'zero'
20 | return view
21 | }
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/LayoutPlacement.swift:30:17: error: 'UnitPoint' is only available in macOS 10.15 or newer
2 | import SwiftUI
3 |
4 | struct LayoutPlacement: Equatable {
| `- note: add @available attribute to enclosing struct
5 | static func == (lhs: LayoutPlacement, rhs: LayoutPlacement) -> Bool {
6 | if let lhsSubview = lhs.subview as? LayoutSubviewPolyfill,
:
28 | var subview: any PlacementLayoutSubview
29 | var position: CGPoint
30 | var anchor: UnitPoint
| `- error: 'UnitPoint' is only available in macOS 10.15 or newer
31 | var proposal: PlacementProposedViewSize
32 | }
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/FrameChangePlacer.swift:49:38: error: cannot find type 'UIViewController' in scope
47 |
48 | extension UIResponder {
49 | public var parentViewController: UIViewController? {
| `- error: cannot find type 'UIViewController' in scope
50 | return next as? UIViewController ?? next?.parentViewController
51 | }
[30/32] Compiling Placement PlacementViewSpacing.swift
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Spacing/PlacementViewSpacing.swift:5:11: error: 'ViewSpacing' is only available in macOS 13.0 or newer
3 |
4 | @available(iOS 16.0, macCatalyst 16, tvOS 16.0, *)
5 | extension ViewSpacing {
| | `- error: 'ViewSpacing' is only available in macOS 13.0 or newer
| `- note: add @available attribute to enclosing extension
6 | var placement: PlacementViewSpacing {
7 | PlacementViewSpacing(underlyingViewSpacing: self)
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Spacing/PlacementViewSpacing.swift:16:32: error: 'ViewSpacing' is only available in macOS 13.0 or newer
10 |
11 | /// A collection of the geometric spacing preferences of a view.
12 | public struct PlacementViewSpacing {
| `- note: add @available attribute to enclosing struct
13 | private var _underlyingViewSpacing: Any? = nil
14 |
15 | @available(iOS 16.0, macCatalyst 16, tvOS 16.0, *)
16 | var underlyingViewSpacing: ViewSpacing {
| | `- error: 'ViewSpacing' is only available in macOS 13.0 or newer
| `- note: add @available attribute to enclosing property
17 | get {
18 | _underlyingViewSpacing as! ViewSpacing
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Spacing/PlacementViewSpacing.swift:33:33: error: 'ViewSpacing' is only available in macOS 13.0 or newer
10 |
11 | /// A collection of the geometric spacing preferences of a view.
12 | public struct PlacementViewSpacing {
| `- note: add @available attribute to enclosing struct
13 | private var _underlyingViewSpacing: Any? = nil
14 |
:
31 |
32 | @available(iOS 16.0, macCatalyst 16, tvOS 16.0, *)
33 | init(underlyingViewSpacing: ViewSpacing) {
| | `- error: 'ViewSpacing' is only available in macOS 13.0 or newer
| `- note: add @available attribute to enclosing initializer
34 | _underlyingViewSpacing = underlyingViewSpacing.placement
35 | }
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Spacing/PlacementViewSpacing.swift:41:69: error: 'Axis' is only available in macOS 10.15 or newer
10 |
11 | /// A collection of the geometric spacing preferences of a view.
12 | public struct PlacementViewSpacing {
| `- note: add @available attribute to enclosing struct
13 | private var _underlyingViewSpacing: Any? = nil
14 |
:
39 |
40 | /// Gets the preferred spacing distance along the specified axis to the view that returns a specified spacing preference.
41 | public func distance(to next: PlacementViewSpacing, along axis: Axis) -> CGFloat {
| | `- error: 'Axis' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing instance method
42 | if #available(iOS 16.0, macCatalyst 16, tvOS 16.0, *) {
43 | return underlyingViewSpacing.distance(
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Spacing/PlacementViewSpacing.swift:53:74: error: 'Edge' is only available in macOS 10.15 or newer
10 |
11 | /// A collection of the geometric spacing preferences of a view.
12 | public struct PlacementViewSpacing {
| `- note: add @available attribute to enclosing struct
13 | private var _underlyingViewSpacing: Any? = nil
14 |
:
51 |
52 | /// Merges the spacing preferences of another spacing instance with this instance for a specified set of edges.
53 | public mutating func formUnion(_ other: PlacementViewSpacing, edges: Edge.Set = .all) {
| | `- error: 'Edge' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing instance method
54 | if #available(iOS 16.0, macCatalyst 16, tvOS 16.0, *) {
55 | underlyingViewSpacing.formUnion(other.underlyingViewSpacing, edges: edges)
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Spacing/PlacementViewSpacing.swift:60:61: error: 'Edge' is only available in macOS 10.15 or newer
10 |
11 | /// A collection of the geometric spacing preferences of a view.
12 | public struct PlacementViewSpacing {
| `- note: add @available attribute to enclosing struct
13 | private var _underlyingViewSpacing: Any? = nil
14 |
:
58 |
59 | /// Gets a new value that merges the spacing preferences of another spacing instance with this instance for a specified set of edges.
60 | public func union(_ other: PlacementViewSpacing, edges: Edge.Set = .all) -> PlacementViewSpacing {
| | `- error: 'Edge' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing instance method
61 | if #available(iOS 16.0, macCatalyst 16, tvOS 16.0, *) {
62 | return underlyingViewSpacing.union(other.underlyingViewSpacing, edges: edges).placement
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Spacing/PlacementViewSpacing.swift:18:40: error: 'ViewSpacing' is only available in macOS 13.0 or newer
10 |
11 | /// A collection of the geometric spacing preferences of a view.
12 | public struct PlacementViewSpacing {
| `- note: add @available attribute to enclosing struct
13 | private var _underlyingViewSpacing: Any? = nil
14 |
15 | @available(iOS 16.0, macCatalyst 16, tvOS 16.0, *)
16 | var underlyingViewSpacing: ViewSpacing {
| `- note: add @available attribute to enclosing property
17 | get {
18 | _underlyingViewSpacing as! ViewSpacing
| |- error: 'ViewSpacing' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
19 | }
20 | set {
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Spacing/PlacementViewSpacing.swift:28:38: error: 'ViewSpacing' is only available in macOS 13.0 or newer
10 |
11 | /// A collection of the geometric spacing preferences of a view.
12 | public struct PlacementViewSpacing {
| `- note: add @available attribute to enclosing struct
13 | private var _underlyingViewSpacing: Any? = nil
14 |
:
24 |
25 | /// Initializes an instance with default spacing values.
26 | public init() {
| `- note: add @available attribute to enclosing initializer
27 | if #available(iOS 16.0, macCatalyst 16, tvOS 16.0, *) {
28 | _underlyingViewSpacing = ViewSpacing()
| |- error: 'ViewSpacing' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
29 | }
30 | }
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Subview/PlacementLayoutSubview.swift:6:37: error: 'UnitPoint' is only available in macOS 10.15 or newer
2 | import SwiftUI
3 |
4 | public protocol PlacementLayoutSubview: Equatable {
| `- note: add @available attribute to enclosing protocol
5 | func dimensions(in proposal: PlacementProposedViewSize) -> PlacementViewDimensions
6 | func place(at: CGPoint, anchor: UnitPoint, proposal: PlacementProposedViewSize)
| | `- error: 'UnitPoint' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing instance method
7 | func sizeThatFits(_ size: PlacementProposedViewSize) -> CGSize
8 | var priority: Double { get }
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Subview/PlacementLayoutSubview.swift:27:44: error: 'UnitPoint' is only available in macOS 10.15 or newer
12 | }
13 |
14 | struct LayoutSubviewPolyfill: PlacementLayoutSubview {
| `- note: add @available attribute to enclosing struct
15 | var id: AnyHashable
16 | var onPlacement: (_ placement: LayoutPlacement) -> Void
:
25 | }
26 |
27 | public func place(at: CGPoint, anchor: UnitPoint, proposal: PlacementProposedViewSize) {
| | `- error: 'UnitPoint' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing instance method
28 | onPlacement(LayoutPlacement(
29 | subview: self,
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Subview/PlacementLayoutSubview.swift:50:16: error: '_VariadicView_Children' is only available in macOS 10.15 or newer
12 | }
13 |
14 | struct LayoutSubviewPolyfill: PlacementLayoutSubview {
| `- note: add @available attribute to enclosing struct
15 | var id: AnyHashable
16 | var onPlacement: (_ placement: LayoutPlacement) -> Void
:
48 | }
49 |
50 | var child: _VariadicView_Children.Element
| `- error: '_VariadicView_Children' is only available in macOS 10.15 or newer
51 | }
52 |
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Subview/PlacementLayoutSubview.swift:60:44: error: 'UnitPoint' is only available in macOS 10.15 or newer
52 |
53 | @available(iOS 16.0, macCatalyst 16, tvOS 16.0, *)
54 | extension LayoutSubview: PlacementLayoutSubview {
| `- note: add @available attribute to enclosing extension
55 | public func dimensions(in proposal: PlacementProposedViewSize) -> PlacementViewDimensions {
56 | let dimension = dimensions(in: proposal.proposedViewSize)
:
58 | }
59 |
60 | public func place(at: CGPoint, anchor: UnitPoint, proposal: PlacementProposedViewSize) {
| | `- error: 'UnitPoint' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing instance method
61 | place(at: at, anchor: anchor, proposal: proposal.proposedViewSize)
62 | }
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Subview/PlacementLayoutSubview.swift:54:11: error: 'LayoutSubview' is only available in macOS 13.0 or newer
52 |
53 | @available(iOS 16.0, macCatalyst 16, tvOS 16.0, *)
54 | extension LayoutSubview: PlacementLayoutSubview {
| | `- error: 'LayoutSubview' is only available in macOS 13.0 or newer
| `- note: add @available attribute to enclosing extension
55 | public func dimensions(in proposal: PlacementProposedViewSize) -> PlacementViewDimensions {
56 | let dimension = dimensions(in: proposal.proposedViewSize)
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Subview/PlacementLayoutSubview.swift:73:21: error: 'LayoutValueKeyMapper' is only available in macOS 13 or newer
52 |
53 | @available(iOS 16.0, macCatalyst 16, tvOS 16.0, *)
54 | extension LayoutSubview: PlacementLayoutSubview {
| `- note: add @available attribute to enclosing extension
55 | public func dimensions(in proposal: PlacementProposedViewSize) -> PlacementViewDimensions {
56 | let dimension = dimensions(in: proposal.proposedViewSize)
:
70 | }
71 |
72 | public subscript<K>(key: K.Type) -> K.Value where K : PlacementLayoutValueKey {
| `- note: add @available attribute to enclosing subscript
73 | return self[LayoutValueKeyMapper<K>.Key.self]
| |- error: 'LayoutValueKeyMapper' is only available in macOS 13 or newer
| `- note: add 'if #available' version check
74 | }
75 | }
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Subview/PlacementLayoutSubviews.swift:46:26: error: 'LayoutDirection' is only available in macOS 10.15 or newer
2 | import SwiftUI
3 |
4 | public struct PlacementLayoutSubviews: BidirectionalCollection, Collection, Comparable {
| `- note: add @available attribute to enclosing struct
5 | public subscript(position: Int) -> any PlacementLayoutSubview {
6 | subviews[position]
:
44 | public typealias Element = any PlacementLayoutSubview
45 |
46 | var layoutDirection: LayoutDirection
| `- error: 'LayoutDirection' is only available in macOS 10.15 or newer
47 |
48 | public var count: Int {
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Subview/PlacementLayoutSubviews.swift:31:47: error: 'LayoutSubview' is only available in macOS 13.0 or newer
2 | import SwiftUI
3 |
4 | public struct PlacementLayoutSubviews: BidirectionalCollection, Collection, Comparable {
| `- note: add @available attribute to enclosing struct
5 | public subscript(position: Int) -> any PlacementLayoutSubview {
6 | subviews[position]
:
27 | }
28 |
29 | public static func == (lhs: PlacementLayoutSubviews, rhs: PlacementLayoutSubviews) -> Bool {
| `- note: add @available attribute to enclosing operator function
30 | if #available(iOS 16.0, macCatalyst 16, tvOS 16.0, *) {
31 | let castedLhs = lhs.subviews as? [LayoutSubview]
| |- error: 'LayoutSubview' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
32 | let castedRhs = rhs.subviews as? [LayoutSubview]
33 | return castedLhs == castedRhs
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Subview/PlacementLayoutSubviews.swift:32:47: error: 'LayoutSubview' is only available in macOS 13.0 or newer
2 | import SwiftUI
3 |
4 | public struct PlacementLayoutSubviews: BidirectionalCollection, Collection, Comparable {
| `- note: add @available attribute to enclosing struct
5 | public subscript(position: Int) -> any PlacementLayoutSubview {
6 | subviews[position]
:
27 | }
28 |
29 | public static func == (lhs: PlacementLayoutSubviews, rhs: PlacementLayoutSubviews) -> Bool {
| `- note: add @available attribute to enclosing operator function
30 | if #available(iOS 16.0, macCatalyst 16, tvOS 16.0, *) {
31 | let castedLhs = lhs.subviews as? [LayoutSubview]
32 | let castedRhs = rhs.subviews as? [LayoutSubview]
| |- error: 'LayoutSubview' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
33 | return castedLhs == castedRhs
34 | } else {
[31/32] Compiling Placement PlacementLayoutSubview.swift
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Spacing/PlacementViewSpacing.swift:5:11: error: 'ViewSpacing' is only available in macOS 13.0 or newer
3 |
4 | @available(iOS 16.0, macCatalyst 16, tvOS 16.0, *)
5 | extension ViewSpacing {
| | `- error: 'ViewSpacing' is only available in macOS 13.0 or newer
| `- note: add @available attribute to enclosing extension
6 | var placement: PlacementViewSpacing {
7 | PlacementViewSpacing(underlyingViewSpacing: self)
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Spacing/PlacementViewSpacing.swift:16:32: error: 'ViewSpacing' is only available in macOS 13.0 or newer
10 |
11 | /// A collection of the geometric spacing preferences of a view.
12 | public struct PlacementViewSpacing {
| `- note: add @available attribute to enclosing struct
13 | private var _underlyingViewSpacing: Any? = nil
14 |
15 | @available(iOS 16.0, macCatalyst 16, tvOS 16.0, *)
16 | var underlyingViewSpacing: ViewSpacing {
| | `- error: 'ViewSpacing' is only available in macOS 13.0 or newer
| `- note: add @available attribute to enclosing property
17 | get {
18 | _underlyingViewSpacing as! ViewSpacing
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Spacing/PlacementViewSpacing.swift:33:33: error: 'ViewSpacing' is only available in macOS 13.0 or newer
10 |
11 | /// A collection of the geometric spacing preferences of a view.
12 | public struct PlacementViewSpacing {
| `- note: add @available attribute to enclosing struct
13 | private var _underlyingViewSpacing: Any? = nil
14 |
:
31 |
32 | @available(iOS 16.0, macCatalyst 16, tvOS 16.0, *)
33 | init(underlyingViewSpacing: ViewSpacing) {
| | `- error: 'ViewSpacing' is only available in macOS 13.0 or newer
| `- note: add @available attribute to enclosing initializer
34 | _underlyingViewSpacing = underlyingViewSpacing.placement
35 | }
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Spacing/PlacementViewSpacing.swift:41:69: error: 'Axis' is only available in macOS 10.15 or newer
10 |
11 | /// A collection of the geometric spacing preferences of a view.
12 | public struct PlacementViewSpacing {
| `- note: add @available attribute to enclosing struct
13 | private var _underlyingViewSpacing: Any? = nil
14 |
:
39 |
40 | /// Gets the preferred spacing distance along the specified axis to the view that returns a specified spacing preference.
41 | public func distance(to next: PlacementViewSpacing, along axis: Axis) -> CGFloat {
| | `- error: 'Axis' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing instance method
42 | if #available(iOS 16.0, macCatalyst 16, tvOS 16.0, *) {
43 | return underlyingViewSpacing.distance(
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Spacing/PlacementViewSpacing.swift:53:74: error: 'Edge' is only available in macOS 10.15 or newer
10 |
11 | /// A collection of the geometric spacing preferences of a view.
12 | public struct PlacementViewSpacing {
| `- note: add @available attribute to enclosing struct
13 | private var _underlyingViewSpacing: Any? = nil
14 |
:
51 |
52 | /// Merges the spacing preferences of another spacing instance with this instance for a specified set of edges.
53 | public mutating func formUnion(_ other: PlacementViewSpacing, edges: Edge.Set = .all) {
| | `- error: 'Edge' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing instance method
54 | if #available(iOS 16.0, macCatalyst 16, tvOS 16.0, *) {
55 | underlyingViewSpacing.formUnion(other.underlyingViewSpacing, edges: edges)
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Spacing/PlacementViewSpacing.swift:60:61: error: 'Edge' is only available in macOS 10.15 or newer
10 |
11 | /// A collection of the geometric spacing preferences of a view.
12 | public struct PlacementViewSpacing {
| `- note: add @available attribute to enclosing struct
13 | private var _underlyingViewSpacing: Any? = nil
14 |
:
58 |
59 | /// Gets a new value that merges the spacing preferences of another spacing instance with this instance for a specified set of edges.
60 | public func union(_ other: PlacementViewSpacing, edges: Edge.Set = .all) -> PlacementViewSpacing {
| | `- error: 'Edge' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing instance method
61 | if #available(iOS 16.0, macCatalyst 16, tvOS 16.0, *) {
62 | return underlyingViewSpacing.union(other.underlyingViewSpacing, edges: edges).placement
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Spacing/PlacementViewSpacing.swift:18:40: error: 'ViewSpacing' is only available in macOS 13.0 or newer
10 |
11 | /// A collection of the geometric spacing preferences of a view.
12 | public struct PlacementViewSpacing {
| `- note: add @available attribute to enclosing struct
13 | private var _underlyingViewSpacing: Any? = nil
14 |
15 | @available(iOS 16.0, macCatalyst 16, tvOS 16.0, *)
16 | var underlyingViewSpacing: ViewSpacing {
| `- note: add @available attribute to enclosing property
17 | get {
18 | _underlyingViewSpacing as! ViewSpacing
| |- error: 'ViewSpacing' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
19 | }
20 | set {
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Spacing/PlacementViewSpacing.swift:28:38: error: 'ViewSpacing' is only available in macOS 13.0 or newer
10 |
11 | /// A collection of the geometric spacing preferences of a view.
12 | public struct PlacementViewSpacing {
| `- note: add @available attribute to enclosing struct
13 | private var _underlyingViewSpacing: Any? = nil
14 |
:
24 |
25 | /// Initializes an instance with default spacing values.
26 | public init() {
| `- note: add @available attribute to enclosing initializer
27 | if #available(iOS 16.0, macCatalyst 16, tvOS 16.0, *) {
28 | _underlyingViewSpacing = ViewSpacing()
| |- error: 'ViewSpacing' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
29 | }
30 | }
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Subview/PlacementLayoutSubview.swift:6:37: error: 'UnitPoint' is only available in macOS 10.15 or newer
2 | import SwiftUI
3 |
4 | public protocol PlacementLayoutSubview: Equatable {
| `- note: add @available attribute to enclosing protocol
5 | func dimensions(in proposal: PlacementProposedViewSize) -> PlacementViewDimensions
6 | func place(at: CGPoint, anchor: UnitPoint, proposal: PlacementProposedViewSize)
| | `- error: 'UnitPoint' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing instance method
7 | func sizeThatFits(_ size: PlacementProposedViewSize) -> CGSize
8 | var priority: Double { get }
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Subview/PlacementLayoutSubview.swift:27:44: error: 'UnitPoint' is only available in macOS 10.15 or newer
12 | }
13 |
14 | struct LayoutSubviewPolyfill: PlacementLayoutSubview {
| `- note: add @available attribute to enclosing struct
15 | var id: AnyHashable
16 | var onPlacement: (_ placement: LayoutPlacement) -> Void
:
25 | }
26 |
27 | public func place(at: CGPoint, anchor: UnitPoint, proposal: PlacementProposedViewSize) {
| | `- error: 'UnitPoint' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing instance method
28 | onPlacement(LayoutPlacement(
29 | subview: self,
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Subview/PlacementLayoutSubview.swift:50:16: error: '_VariadicView_Children' is only available in macOS 10.15 or newer
12 | }
13 |
14 | struct LayoutSubviewPolyfill: PlacementLayoutSubview {
| `- note: add @available attribute to enclosing struct
15 | var id: AnyHashable
16 | var onPlacement: (_ placement: LayoutPlacement) -> Void
:
48 | }
49 |
50 | var child: _VariadicView_Children.Element
| `- error: '_VariadicView_Children' is only available in macOS 10.15 or newer
51 | }
52 |
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Subview/PlacementLayoutSubview.swift:60:44: error: 'UnitPoint' is only available in macOS 10.15 or newer
52 |
53 | @available(iOS 16.0, macCatalyst 16, tvOS 16.0, *)
54 | extension LayoutSubview: PlacementLayoutSubview {
| `- note: add @available attribute to enclosing extension
55 | public func dimensions(in proposal: PlacementProposedViewSize) -> PlacementViewDimensions {
56 | let dimension = dimensions(in: proposal.proposedViewSize)
:
58 | }
59 |
60 | public func place(at: CGPoint, anchor: UnitPoint, proposal: PlacementProposedViewSize) {
| | `- error: 'UnitPoint' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing instance method
61 | place(at: at, anchor: anchor, proposal: proposal.proposedViewSize)
62 | }
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Subview/PlacementLayoutSubview.swift:54:11: error: 'LayoutSubview' is only available in macOS 13.0 or newer
52 |
53 | @available(iOS 16.0, macCatalyst 16, tvOS 16.0, *)
54 | extension LayoutSubview: PlacementLayoutSubview {
| | `- error: 'LayoutSubview' is only available in macOS 13.0 or newer
| `- note: add @available attribute to enclosing extension
55 | public func dimensions(in proposal: PlacementProposedViewSize) -> PlacementViewDimensions {
56 | let dimension = dimensions(in: proposal.proposedViewSize)
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Subview/PlacementLayoutSubview.swift:73:21: error: 'LayoutValueKeyMapper' is only available in macOS 13 or newer
52 |
53 | @available(iOS 16.0, macCatalyst 16, tvOS 16.0, *)
54 | extension LayoutSubview: PlacementLayoutSubview {
| `- note: add @available attribute to enclosing extension
55 | public func dimensions(in proposal: PlacementProposedViewSize) -> PlacementViewDimensions {
56 | let dimension = dimensions(in: proposal.proposedViewSize)
:
70 | }
71 |
72 | public subscript<K>(key: K.Type) -> K.Value where K : PlacementLayoutValueKey {
| `- note: add @available attribute to enclosing subscript
73 | return self[LayoutValueKeyMapper<K>.Key.self]
| |- error: 'LayoutValueKeyMapper' is only available in macOS 13 or newer
| `- note: add 'if #available' version check
74 | }
75 | }
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Subview/PlacementLayoutSubviews.swift:46:26: error: 'LayoutDirection' is only available in macOS 10.15 or newer
2 | import SwiftUI
3 |
4 | public struct PlacementLayoutSubviews: BidirectionalCollection, Collection, Comparable {
| `- note: add @available attribute to enclosing struct
5 | public subscript(position: Int) -> any PlacementLayoutSubview {
6 | subviews[position]
:
44 | public typealias Element = any PlacementLayoutSubview
45 |
46 | var layoutDirection: LayoutDirection
| `- error: 'LayoutDirection' is only available in macOS 10.15 or newer
47 |
48 | public var count: Int {
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Subview/PlacementLayoutSubviews.swift:31:47: error: 'LayoutSubview' is only available in macOS 13.0 or newer
2 | import SwiftUI
3 |
4 | public struct PlacementLayoutSubviews: BidirectionalCollection, Collection, Comparable {
| `- note: add @available attribute to enclosing struct
5 | public subscript(position: Int) -> any PlacementLayoutSubview {
6 | subviews[position]
:
27 | }
28 |
29 | public static func == (lhs: PlacementLayoutSubviews, rhs: PlacementLayoutSubviews) -> Bool {
| `- note: add @available attribute to enclosing operator function
30 | if #available(iOS 16.0, macCatalyst 16, tvOS 16.0, *) {
31 | let castedLhs = lhs.subviews as? [LayoutSubview]
| |- error: 'LayoutSubview' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
32 | let castedRhs = rhs.subviews as? [LayoutSubview]
33 | return castedLhs == castedRhs
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Subview/PlacementLayoutSubviews.swift:32:47: error: 'LayoutSubview' is only available in macOS 13.0 or newer
2 | import SwiftUI
3 |
4 | public struct PlacementLayoutSubviews: BidirectionalCollection, Collection, Comparable {
| `- note: add @available attribute to enclosing struct
5 | public subscript(position: Int) -> any PlacementLayoutSubview {
6 | subviews[position]
:
27 | }
28 |
29 | public static func == (lhs: PlacementLayoutSubviews, rhs: PlacementLayoutSubviews) -> Bool {
| `- note: add @available attribute to enclosing operator function
30 | if #available(iOS 16.0, macCatalyst 16, tvOS 16.0, *) {
31 | let castedLhs = lhs.subviews as? [LayoutSubview]
32 | let castedRhs = rhs.subviews as? [LayoutSubview]
| |- error: 'LayoutSubview' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
33 | return castedLhs == castedRhs
34 | } else {
[32/32] Compiling Placement PlacementLayoutSubviews.swift
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Spacing/PlacementViewSpacing.swift:5:11: error: 'ViewSpacing' is only available in macOS 13.0 or newer
3 |
4 | @available(iOS 16.0, macCatalyst 16, tvOS 16.0, *)
5 | extension ViewSpacing {
| | `- error: 'ViewSpacing' is only available in macOS 13.0 or newer
| `- note: add @available attribute to enclosing extension
6 | var placement: PlacementViewSpacing {
7 | PlacementViewSpacing(underlyingViewSpacing: self)
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Spacing/PlacementViewSpacing.swift:16:32: error: 'ViewSpacing' is only available in macOS 13.0 or newer
10 |
11 | /// A collection of the geometric spacing preferences of a view.
12 | public struct PlacementViewSpacing {
| `- note: add @available attribute to enclosing struct
13 | private var _underlyingViewSpacing: Any? = nil
14 |
15 | @available(iOS 16.0, macCatalyst 16, tvOS 16.0, *)
16 | var underlyingViewSpacing: ViewSpacing {
| | `- error: 'ViewSpacing' is only available in macOS 13.0 or newer
| `- note: add @available attribute to enclosing property
17 | get {
18 | _underlyingViewSpacing as! ViewSpacing
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Spacing/PlacementViewSpacing.swift:33:33: error: 'ViewSpacing' is only available in macOS 13.0 or newer
10 |
11 | /// A collection of the geometric spacing preferences of a view.
12 | public struct PlacementViewSpacing {
| `- note: add @available attribute to enclosing struct
13 | private var _underlyingViewSpacing: Any? = nil
14 |
:
31 |
32 | @available(iOS 16.0, macCatalyst 16, tvOS 16.0, *)
33 | init(underlyingViewSpacing: ViewSpacing) {
| | `- error: 'ViewSpacing' is only available in macOS 13.0 or newer
| `- note: add @available attribute to enclosing initializer
34 | _underlyingViewSpacing = underlyingViewSpacing.placement
35 | }
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Spacing/PlacementViewSpacing.swift:41:69: error: 'Axis' is only available in macOS 10.15 or newer
10 |
11 | /// A collection of the geometric spacing preferences of a view.
12 | public struct PlacementViewSpacing {
| `- note: add @available attribute to enclosing struct
13 | private var _underlyingViewSpacing: Any? = nil
14 |
:
39 |
40 | /// Gets the preferred spacing distance along the specified axis to the view that returns a specified spacing preference.
41 | public func distance(to next: PlacementViewSpacing, along axis: Axis) -> CGFloat {
| | `- error: 'Axis' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing instance method
42 | if #available(iOS 16.0, macCatalyst 16, tvOS 16.0, *) {
43 | return underlyingViewSpacing.distance(
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Spacing/PlacementViewSpacing.swift:53:74: error: 'Edge' is only available in macOS 10.15 or newer
10 |
11 | /// A collection of the geometric spacing preferences of a view.
12 | public struct PlacementViewSpacing {
| `- note: add @available attribute to enclosing struct
13 | private var _underlyingViewSpacing: Any? = nil
14 |
:
51 |
52 | /// Merges the spacing preferences of another spacing instance with this instance for a specified set of edges.
53 | public mutating func formUnion(_ other: PlacementViewSpacing, edges: Edge.Set = .all) {
| | `- error: 'Edge' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing instance method
54 | if #available(iOS 16.0, macCatalyst 16, tvOS 16.0, *) {
55 | underlyingViewSpacing.formUnion(other.underlyingViewSpacing, edges: edges)
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Spacing/PlacementViewSpacing.swift:60:61: error: 'Edge' is only available in macOS 10.15 or newer
10 |
11 | /// A collection of the geometric spacing preferences of a view.
12 | public struct PlacementViewSpacing {
| `- note: add @available attribute to enclosing struct
13 | private var _underlyingViewSpacing: Any? = nil
14 |
:
58 |
59 | /// Gets a new value that merges the spacing preferences of another spacing instance with this instance for a specified set of edges.
60 | public func union(_ other: PlacementViewSpacing, edges: Edge.Set = .all) -> PlacementViewSpacing {
| | `- error: 'Edge' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing instance method
61 | if #available(iOS 16.0, macCatalyst 16, tvOS 16.0, *) {
62 | return underlyingViewSpacing.union(other.underlyingViewSpacing, edges: edges).placement
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Spacing/PlacementViewSpacing.swift:18:40: error: 'ViewSpacing' is only available in macOS 13.0 or newer
10 |
11 | /// A collection of the geometric spacing preferences of a view.
12 | public struct PlacementViewSpacing {
| `- note: add @available attribute to enclosing struct
13 | private var _underlyingViewSpacing: Any? = nil
14 |
15 | @available(iOS 16.0, macCatalyst 16, tvOS 16.0, *)
16 | var underlyingViewSpacing: ViewSpacing {
| `- note: add @available attribute to enclosing property
17 | get {
18 | _underlyingViewSpacing as! ViewSpacing
| |- error: 'ViewSpacing' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
19 | }
20 | set {
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Spacing/PlacementViewSpacing.swift:28:38: error: 'ViewSpacing' is only available in macOS 13.0 or newer
10 |
11 | /// A collection of the geometric spacing preferences of a view.
12 | public struct PlacementViewSpacing {
| `- note: add @available attribute to enclosing struct
13 | private var _underlyingViewSpacing: Any? = nil
14 |
:
24 |
25 | /// Initializes an instance with default spacing values.
26 | public init() {
| `- note: add @available attribute to enclosing initializer
27 | if #available(iOS 16.0, macCatalyst 16, tvOS 16.0, *) {
28 | _underlyingViewSpacing = ViewSpacing()
| |- error: 'ViewSpacing' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
29 | }
30 | }
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Subview/PlacementLayoutSubview.swift:6:37: error: 'UnitPoint' is only available in macOS 10.15 or newer
2 | import SwiftUI
3 |
4 | public protocol PlacementLayoutSubview: Equatable {
| `- note: add @available attribute to enclosing protocol
5 | func dimensions(in proposal: PlacementProposedViewSize) -> PlacementViewDimensions
6 | func place(at: CGPoint, anchor: UnitPoint, proposal: PlacementProposedViewSize)
| | `- error: 'UnitPoint' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing instance method
7 | func sizeThatFits(_ size: PlacementProposedViewSize) -> CGSize
8 | var priority: Double { get }
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Subview/PlacementLayoutSubview.swift:27:44: error: 'UnitPoint' is only available in macOS 10.15 or newer
12 | }
13 |
14 | struct LayoutSubviewPolyfill: PlacementLayoutSubview {
| `- note: add @available attribute to enclosing struct
15 | var id: AnyHashable
16 | var onPlacement: (_ placement: LayoutPlacement) -> Void
:
25 | }
26 |
27 | public func place(at: CGPoint, anchor: UnitPoint, proposal: PlacementProposedViewSize) {
| | `- error: 'UnitPoint' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing instance method
28 | onPlacement(LayoutPlacement(
29 | subview: self,
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Subview/PlacementLayoutSubview.swift:50:16: error: '_VariadicView_Children' is only available in macOS 10.15 or newer
12 | }
13 |
14 | struct LayoutSubviewPolyfill: PlacementLayoutSubview {
| `- note: add @available attribute to enclosing struct
15 | var id: AnyHashable
16 | var onPlacement: (_ placement: LayoutPlacement) -> Void
:
48 | }
49 |
50 | var child: _VariadicView_Children.Element
| `- error: '_VariadicView_Children' is only available in macOS 10.15 or newer
51 | }
52 |
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Subview/PlacementLayoutSubview.swift:60:44: error: 'UnitPoint' is only available in macOS 10.15 or newer
52 |
53 | @available(iOS 16.0, macCatalyst 16, tvOS 16.0, *)
54 | extension LayoutSubview: PlacementLayoutSubview {
| `- note: add @available attribute to enclosing extension
55 | public func dimensions(in proposal: PlacementProposedViewSize) -> PlacementViewDimensions {
56 | let dimension = dimensions(in: proposal.proposedViewSize)
:
58 | }
59 |
60 | public func place(at: CGPoint, anchor: UnitPoint, proposal: PlacementProposedViewSize) {
| | `- error: 'UnitPoint' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing instance method
61 | place(at: at, anchor: anchor, proposal: proposal.proposedViewSize)
62 | }
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Subview/PlacementLayoutSubview.swift:54:11: error: 'LayoutSubview' is only available in macOS 13.0 or newer
52 |
53 | @available(iOS 16.0, macCatalyst 16, tvOS 16.0, *)
54 | extension LayoutSubview: PlacementLayoutSubview {
| | `- error: 'LayoutSubview' is only available in macOS 13.0 or newer
| `- note: add @available attribute to enclosing extension
55 | public func dimensions(in proposal: PlacementProposedViewSize) -> PlacementViewDimensions {
56 | let dimension = dimensions(in: proposal.proposedViewSize)
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Subview/PlacementLayoutSubview.swift:73:21: error: 'LayoutValueKeyMapper' is only available in macOS 13 or newer
52 |
53 | @available(iOS 16.0, macCatalyst 16, tvOS 16.0, *)
54 | extension LayoutSubview: PlacementLayoutSubview {
| `- note: add @available attribute to enclosing extension
55 | public func dimensions(in proposal: PlacementProposedViewSize) -> PlacementViewDimensions {
56 | let dimension = dimensions(in: proposal.proposedViewSize)
:
70 | }
71 |
72 | public subscript<K>(key: K.Type) -> K.Value where K : PlacementLayoutValueKey {
| `- note: add @available attribute to enclosing subscript
73 | return self[LayoutValueKeyMapper<K>.Key.self]
| |- error: 'LayoutValueKeyMapper' is only available in macOS 13 or newer
| `- note: add 'if #available' version check
74 | }
75 | }
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Subview/PlacementLayoutSubviews.swift:46:26: error: 'LayoutDirection' is only available in macOS 10.15 or newer
2 | import SwiftUI
3 |
4 | public struct PlacementLayoutSubviews: BidirectionalCollection, Collection, Comparable {
| `- note: add @available attribute to enclosing struct
5 | public subscript(position: Int) -> any PlacementLayoutSubview {
6 | subviews[position]
:
44 | public typealias Element = any PlacementLayoutSubview
45 |
46 | var layoutDirection: LayoutDirection
| `- error: 'LayoutDirection' is only available in macOS 10.15 or newer
47 |
48 | public var count: Int {
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Subview/PlacementLayoutSubviews.swift:31:47: error: 'LayoutSubview' is only available in macOS 13.0 or newer
2 | import SwiftUI
3 |
4 | public struct PlacementLayoutSubviews: BidirectionalCollection, Collection, Comparable {
| `- note: add @available attribute to enclosing struct
5 | public subscript(position: Int) -> any PlacementLayoutSubview {
6 | subviews[position]
:
27 | }
28 |
29 | public static func == (lhs: PlacementLayoutSubviews, rhs: PlacementLayoutSubviews) -> Bool {
| `- note: add @available attribute to enclosing operator function
30 | if #available(iOS 16.0, macCatalyst 16, tvOS 16.0, *) {
31 | let castedLhs = lhs.subviews as? [LayoutSubview]
| |- error: 'LayoutSubview' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
32 | let castedRhs = rhs.subviews as? [LayoutSubview]
33 | return castedLhs == castedRhs
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Subview/PlacementLayoutSubviews.swift:32:47: error: 'LayoutSubview' is only available in macOS 13.0 or newer
2 | import SwiftUI
3 |
4 | public struct PlacementLayoutSubviews: BidirectionalCollection, Collection, Comparable {
| `- note: add @available attribute to enclosing struct
5 | public subscript(position: Int) -> any PlacementLayoutSubview {
6 | subviews[position]
:
27 | }
28 |
29 | public static func == (lhs: PlacementLayoutSubviews, rhs: PlacementLayoutSubviews) -> Bool {
| `- note: add @available attribute to enclosing operator function
30 | if #available(iOS 16.0, macCatalyst 16, tvOS 16.0, *) {
31 | let castedLhs = lhs.subviews as? [LayoutSubview]
32 | let castedRhs = rhs.subviews as? [LayoutSubview]
| |- error: 'LayoutSubview' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
33 | return castedLhs == castedRhs
34 | } else {
BUILD FAILURE 6.0 macosSpm