Build Information
Failed to build Placement, reference main (792ec6
), with Swift 6.0 for macOS (SPM) on 20 Jan 2025 18:46:52 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64
Build Log
| `- note: add @available attribute to enclosing instance method
124 | content
125 | .background(
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/PlacementKeyboardAvoidingModifier.swift:101:9: error: generic parameter 'L' could not be inferred
99 |
100 | func makeCoordinator() -> KeyboardCoordinator {
101 | Coordinator(
| |- error: generic parameter 'L' could not be inferred
| `- note: explicitly specify the generic arguments to fix this issue
102 | shouldAdjust: placementShouldAdjustToKeyboard,
103 | coordinator: coordinator,
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/Coordinator.swift:9:19: note: 'L' declared as parameter to type 'Coordinator'
7 | }
8 |
9 | class Coordinator<L: PlacementLayout>: ObservableObject {
| `- note: 'L' declared as parameter to type 'Coordinator'
10 | var keyboardFrame: CGRect = .zero
11 | var globalFrame: CGRect? = nil
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/PlacementKeyboardAvoidingModifier.swift:101:20: error: argument passed to call that takes no arguments
99 |
100 | func makeCoordinator() -> KeyboardCoordinator {
101 | Coordinator(
| `- error: argument passed to call that takes no arguments
102 | shouldAdjust: placementShouldAdjustToKeyboard,
103 | coordinator: coordinator,
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/PlacementKeyboardAvoidingModifier.swift:101:9: error: cannot convert return expression of type 'Coordinator<L>' to return type 'KeyboardAvoidingView<L>.KeyboardCoordinator'
99 |
100 | func makeCoordinator() -> KeyboardCoordinator {
101 | Coordinator(
| `- error: cannot convert return expression of type 'Coordinator<L>' to return type 'KeyboardAvoidingView<L>.KeyboardCoordinator'
102 | shouldAdjust: placementShouldAdjustToKeyboard,
103 | coordinator: coordinator,
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/PlacementKeyboardAvoidingModifier.swift:127:18: error: value of type 'KeyboardAvoidingView<L>' has no member 'allowsHitTesting'
125 | .background(
126 | KeyboardAvoidingView<L>(keyboardFrame: $keyboardFrame)
127 | .allowsHitTesting(false)
| `- error: value of type 'KeyboardAvoidingView<L>' has no member 'allowsHitTesting'
128 | )
129 | }
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/PlacementModifier.swift:10:25: error: 'AnimatablePair' is only available in macOS 10.15 or newer
2 | import SwiftUI
3 |
4 | struct PlacementEffect: GeometryEffect {
| `- note: add @available attribute to enclosing struct
5 | var positionX: CGFloat
6 | var positionY: CGFloat
:
8 | var anchorY: CGFloat
9 |
10 | var animatableData: AnimatablePair<AnimatablePair<CGFloat, CGFloat>, AnimatablePair<CGFloat, CGFloat>> {
| | `- error: 'AnimatablePair' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
11 | get {
12 | AnimatablePair(AnimatablePair(positionX, positionY), AnimatablePair(anchorX, anchorY))
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/PlacementModifier.swift:23:39: error: 'ProjectionTransform' is only available in macOS 10.15 or newer
2 | import SwiftUI
3 |
4 | struct PlacementEffect: GeometryEffect {
| `- note: add @available attribute to enclosing struct
5 | var positionX: CGFloat
6 | var positionY: CGFloat
:
21 | }
22 |
23 | func effectValue(size: CGSize) -> ProjectionTransform {
| | `- error: 'ProjectionTransform' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing instance method
24 | let anchorPointY = size.height * anchorY
25 | let translationY = positionY - anchorPointY
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/PlacementModifier.swift:4:8: warning: conformance of 'CGFloat' to 'VectorArithmetic' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
2 | import SwiftUI
3 |
4 | struct PlacementEffect: GeometryEffect {
| |- warning: conformance of 'CGFloat' to 'VectorArithmetic' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| |- note: add @available attribute to enclosing struct
| `- note: in associated type 'Self.AnimatableData' (inferred as 'AnimatablePair<AnimatablePair<CGFloat, CGFloat>, AnimatablePair<CGFloat, CGFloat>>')
5 | var positionX: CGFloat
6 | var positionY: CGFloat
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/PlacementModifier.swift:4:8: warning: conformance of 'CGFloat' to 'VectorArithmetic' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
2 | import SwiftUI
3 |
4 | struct PlacementEffect: GeometryEffect {
| |- warning: conformance of 'CGFloat' to 'VectorArithmetic' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| |- note: add @available attribute to enclosing struct
| `- note: in associated type 'Self.AnimatableData' (inferred as 'AnimatablePair<AnimatablePair<CGFloat, CGFloat>, AnimatablePair<CGFloat, CGFloat>>')
5 | var positionX: CGFloat
6 | var positionY: CGFloat
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/PlacementModifier.swift:4:8: warning: conformance of 'CGFloat' to 'VectorArithmetic' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
2 | import SwiftUI
3 |
4 | struct PlacementEffect: GeometryEffect {
| |- warning: conformance of 'CGFloat' to 'VectorArithmetic' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| |- note: add @available attribute to enclosing struct
| `- note: in associated type 'Self.AnimatableData' (inferred as 'AnimatablePair<AnimatablePair<CGFloat, CGFloat>, AnimatablePair<CGFloat, CGFloat>>')
5 | var positionX: CGFloat
6 | var positionY: CGFloat
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/PlacementModifier.swift:4:8: warning: conformance of 'CGFloat' to 'VectorArithmetic' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
2 | import SwiftUI
3 |
4 | struct PlacementEffect: GeometryEffect {
| |- warning: conformance of 'CGFloat' to 'VectorArithmetic' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| |- note: add @available attribute to enclosing struct
| `- note: in associated type 'Self.AnimatableData' (inferred as 'AnimatablePair<AnimatablePair<CGFloat, CGFloat>, AnimatablePair<CGFloat, CGFloat>>')
5 | var positionX: CGFloat
6 | var positionY: CGFloat
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/PlacementModifier.swift:4:8: warning: conformance of 'Never' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
2 | import SwiftUI
3 |
4 | struct PlacementEffect: GeometryEffect {
| |- warning: conformance of 'Never' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| |- note: add @available attribute to enclosing struct
| `- note: in associated type 'Self.Body' (inferred as 'Never')
5 | var positionX: CGFloat
6 | var positionY: CGFloat
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/PlacementModifier.swift:37:6: error: 'EnvironmentObject' is only available in macOS 10.15 or newer
34 | }
35 |
36 | struct PlacementModifier<L: PlacementLayout>: ViewModifier {
| `- note: add @available attribute to enclosing generic struct
37 | @EnvironmentObject var coordinator: Coordinator<L>
| `- error: 'EnvironmentObject' is only available in macOS 10.15 or newer
38 | @EnvironmentObject var placementsCoordinator: PlacementsCoordinator
39 | var id: AnyHashable
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/PlacementModifier.swift:38:6: error: 'EnvironmentObject' is only available in macOS 10.15 or newer
34 | }
35 |
36 | struct PlacementModifier<L: PlacementLayout>: ViewModifier {
| `- note: add @available attribute to enclosing generic struct
37 | @EnvironmentObject var coordinator: Coordinator<L>
38 | @EnvironmentObject var placementsCoordinator: PlacementsCoordinator
| `- error: 'EnvironmentObject' is only available in macOS 10.15 or newer
39 | var id: AnyHashable
40 | var layout: L
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/PlacementModifier.swift:41:19: error: '_VariadicView' is only available in macOS 10.15 or newer
34 | }
35 |
36 | struct PlacementModifier<L: PlacementLayout>: ViewModifier {
| `- note: add @available attribute to enclosing generic struct
37 | @EnvironmentObject var coordinator: Coordinator<L>
38 | @EnvironmentObject var placementsCoordinator: PlacementsCoordinator
39 | var id: AnyHashable
40 | var layout: L
41 | var children: _VariadicView.Children
| `- error: '_VariadicView' is only available in macOS 10.15 or newer
42 |
43 | func body(content: Content) -> some View {
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/PlacementModifier.swift:43:41: error: 'View' is only available in macOS 10.15 or newer
34 | }
35 |
36 | struct PlacementModifier<L: PlacementLayout>: ViewModifier {
| `- note: add @available attribute to enclosing generic struct
37 | @EnvironmentObject var coordinator: Coordinator<L>
38 | @EnvironmentObject var placementsCoordinator: PlacementsCoordinator
:
41 | var children: _VariadicView.Children
42 |
43 | 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
44 | if let placement = placementsCoordinator.placements[id] {
45 | LayoutChildSizingView(
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/PlacementModifier.swift:12:12: error: 'AnimatablePair' is only available in macOS 10.15 or newer
2 | import SwiftUI
3 |
4 | struct PlacementEffect: GeometryEffect {
| `- note: add @available attribute to enclosing struct
5 | var positionX: CGFloat
6 | var positionY: CGFloat
:
8 | var anchorY: CGFloat
9 |
10 | var animatableData: AnimatablePair<AnimatablePair<CGFloat, CGFloat>, AnimatablePair<CGFloat, CGFloat>> {
| `- note: add @available attribute to enclosing property
11 | get {
12 | AnimatablePair(AnimatablePair(positionX, positionY), AnimatablePair(anchorX, anchorY))
| |- error: 'AnimatablePair' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
13 | }
14 |
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/PlacementModifier.swift:12:12: warning: conformance of 'CGFloat' to 'VectorArithmetic' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
2 | import SwiftUI
3 |
4 | struct PlacementEffect: GeometryEffect {
| `- note: add @available attribute to enclosing struct
5 | var positionX: CGFloat
6 | var positionY: CGFloat
:
8 | var anchorY: CGFloat
9 |
10 | var animatableData: AnimatablePair<AnimatablePair<CGFloat, CGFloat>, AnimatablePair<CGFloat, CGFloat>> {
| `- note: add @available attribute to enclosing property
11 | get {
12 | AnimatablePair(AnimatablePair(positionX, positionY), AnimatablePair(anchorX, anchorY))
| |- warning: conformance of 'CGFloat' to 'VectorArithmetic' 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
13 | }
14 |
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/PlacementModifier.swift:12:12: warning: conformance of 'CGFloat' to 'VectorArithmetic' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
2 | import SwiftUI
3 |
4 | struct PlacementEffect: GeometryEffect {
| `- note: add @available attribute to enclosing struct
5 | var positionX: CGFloat
6 | var positionY: CGFloat
:
8 | var anchorY: CGFloat
9 |
10 | var animatableData: AnimatablePair<AnimatablePair<CGFloat, CGFloat>, AnimatablePair<CGFloat, CGFloat>> {
| `- note: add @available attribute to enclosing property
11 | get {
12 | AnimatablePair(AnimatablePair(positionX, positionY), AnimatablePair(anchorX, anchorY))
| |- warning: conformance of 'CGFloat' to 'VectorArithmetic' 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
13 | }
14 |
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/PlacementModifier.swift:12:12: warning: conformance of 'CGFloat' to 'VectorArithmetic' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
2 | import SwiftUI
3 |
4 | struct PlacementEffect: GeometryEffect {
| `- note: add @available attribute to enclosing struct
5 | var positionX: CGFloat
6 | var positionY: CGFloat
:
8 | var anchorY: CGFloat
9 |
10 | var animatableData: AnimatablePair<AnimatablePair<CGFloat, CGFloat>, AnimatablePair<CGFloat, CGFloat>> {
| `- note: add @available attribute to enclosing property
11 | get {
12 | AnimatablePair(AnimatablePair(positionX, positionY), AnimatablePair(anchorX, anchorY))
| |- warning: conformance of 'CGFloat' to 'VectorArithmetic' 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
13 | }
14 |
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/PlacementModifier.swift:12:12: warning: conformance of 'CGFloat' to 'VectorArithmetic' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
2 | import SwiftUI
3 |
4 | struct PlacementEffect: GeometryEffect {
| `- note: add @available attribute to enclosing struct
5 | var positionX: CGFloat
6 | var positionY: CGFloat
:
8 | var anchorY: CGFloat
9 |
10 | var animatableData: AnimatablePair<AnimatablePair<CGFloat, CGFloat>, AnimatablePair<CGFloat, CGFloat>> {
| `- note: add @available attribute to enclosing property
11 | get {
12 | AnimatablePair(AnimatablePair(positionX, positionY), AnimatablePair(anchorX, anchorY))
| |- warning: conformance of 'CGFloat' to 'VectorArithmetic' 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
13 | }
14 |
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/PlacementModifier.swift:12:27: error: 'AnimatablePair' is only available in macOS 10.15 or newer
2 | import SwiftUI
3 |
4 | struct PlacementEffect: GeometryEffect {
| `- note: add @available attribute to enclosing struct
5 | var positionX: CGFloat
6 | var positionY: CGFloat
:
8 | var anchorY: CGFloat
9 |
10 | var animatableData: AnimatablePair<AnimatablePair<CGFloat, CGFloat>, AnimatablePair<CGFloat, CGFloat>> {
| `- note: add @available attribute to enclosing property
11 | get {
12 | AnimatablePair(AnimatablePair(positionX, positionY), AnimatablePair(anchorX, anchorY))
| |- error: 'AnimatablePair' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
13 | }
14 |
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/PlacementModifier.swift:12:27: warning: conformance of 'CGFloat' to 'VectorArithmetic' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
2 | import SwiftUI
3 |
4 | struct PlacementEffect: GeometryEffect {
| `- note: add @available attribute to enclosing struct
5 | var positionX: CGFloat
6 | var positionY: CGFloat
:
8 | var anchorY: CGFloat
9 |
10 | var animatableData: AnimatablePair<AnimatablePair<CGFloat, CGFloat>, AnimatablePair<CGFloat, CGFloat>> {
| `- note: add @available attribute to enclosing property
11 | get {
12 | AnimatablePair(AnimatablePair(positionX, positionY), AnimatablePair(anchorX, anchorY))
| |- warning: conformance of 'CGFloat' to 'VectorArithmetic' 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
13 | }
14 |
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/PlacementModifier.swift:12:27: warning: conformance of 'CGFloat' to 'VectorArithmetic' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
2 | import SwiftUI
3 |
4 | struct PlacementEffect: GeometryEffect {
| `- note: add @available attribute to enclosing struct
5 | var positionX: CGFloat
6 | var positionY: CGFloat
:
8 | var anchorY: CGFloat
9 |
10 | var animatableData: AnimatablePair<AnimatablePair<CGFloat, CGFloat>, AnimatablePair<CGFloat, CGFloat>> {
| `- note: add @available attribute to enclosing property
11 | get {
12 | AnimatablePair(AnimatablePair(positionX, positionY), AnimatablePair(anchorX, anchorY))
| |- warning: conformance of 'CGFloat' to 'VectorArithmetic' 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
13 | }
14 |
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/PlacementModifier.swift:12:65: error: 'AnimatablePair' is only available in macOS 10.15 or newer
2 | import SwiftUI
3 |
4 | struct PlacementEffect: GeometryEffect {
| `- note: add @available attribute to enclosing struct
5 | var positionX: CGFloat
6 | var positionY: CGFloat
:
8 | var anchorY: CGFloat
9 |
10 | var animatableData: AnimatablePair<AnimatablePair<CGFloat, CGFloat>, AnimatablePair<CGFloat, CGFloat>> {
| `- note: add @available attribute to enclosing property
11 | get {
12 | AnimatablePair(AnimatablePair(positionX, positionY), AnimatablePair(anchorX, anchorY))
| |- error: 'AnimatablePair' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
13 | }
14 |
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/PlacementModifier.swift:12:65: warning: conformance of 'CGFloat' to 'VectorArithmetic' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
2 | import SwiftUI
3 |
4 | struct PlacementEffect: GeometryEffect {
| `- note: add @available attribute to enclosing struct
5 | var positionX: CGFloat
6 | var positionY: CGFloat
:
8 | var anchorY: CGFloat
9 |
10 | var animatableData: AnimatablePair<AnimatablePair<CGFloat, CGFloat>, AnimatablePair<CGFloat, CGFloat>> {
| `- note: add @available attribute to enclosing property
11 | get {
12 | AnimatablePair(AnimatablePair(positionX, positionY), AnimatablePair(anchorX, anchorY))
| |- warning: conformance of 'CGFloat' to 'VectorArithmetic' 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
13 | }
14 |
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/PlacementModifier.swift:12:65: warning: conformance of 'CGFloat' to 'VectorArithmetic' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
2 | import SwiftUI
3 |
4 | struct PlacementEffect: GeometryEffect {
| `- note: add @available attribute to enclosing struct
5 | var positionX: CGFloat
6 | var positionY: CGFloat
:
8 | var anchorY: CGFloat
9 |
10 | var animatableData: AnimatablePair<AnimatablePair<CGFloat, CGFloat>, AnimatablePair<CGFloat, CGFloat>> {
| `- note: add @available attribute to enclosing property
11 | get {
12 | AnimatablePair(AnimatablePair(positionX, positionY), AnimatablePair(anchorX, anchorY))
| |- warning: conformance of 'CGFloat' to 'VectorArithmetic' 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
13 | }
14 |
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/PlacementModifier.swift:16:34: warning: conformance of 'CGFloat' to 'VectorArithmetic' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
2 | import SwiftUI
3 |
4 | struct PlacementEffect: GeometryEffect {
| `- note: add @available attribute to enclosing struct
5 | var positionX: CGFloat
6 | var positionY: CGFloat
:
8 | var anchorY: CGFloat
9 |
10 | var animatableData: AnimatablePair<AnimatablePair<CGFloat, CGFloat>, AnimatablePair<CGFloat, CGFloat>> {
| `- note: add @available attribute to enclosing property
11 | get {
12 | AnimatablePair(AnimatablePair(positionX, positionY), AnimatablePair(anchorX, anchorY))
:
14 |
15 | set {
16 | positionX = newValue.first.first
| |- warning: conformance of 'CGFloat' to 'VectorArithmetic' 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
17 | positionY = newValue.first.second
18 | anchorX = newValue.second.first
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/PlacementModifier.swift:16:34: warning: conformance of 'CGFloat' to 'VectorArithmetic' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
2 | import SwiftUI
3 |
4 | struct PlacementEffect: GeometryEffect {
| `- note: add @available attribute to enclosing struct
5 | var positionX: CGFloat
6 | var positionY: CGFloat
:
8 | var anchorY: CGFloat
9 |
10 | var animatableData: AnimatablePair<AnimatablePair<CGFloat, CGFloat>, AnimatablePair<CGFloat, CGFloat>> {
| `- note: add @available attribute to enclosing property
11 | get {
12 | AnimatablePair(AnimatablePair(positionX, positionY), AnimatablePair(anchorX, anchorY))
:
14 |
15 | set {
16 | positionX = newValue.first.first
| |- warning: conformance of 'CGFloat' to 'VectorArithmetic' 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
17 | positionY = newValue.first.second
18 | anchorX = newValue.second.first
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/PlacementModifier.swift:16:34: warning: conformance of 'CGFloat' to 'VectorArithmetic' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
2 | import SwiftUI
3 |
4 | struct PlacementEffect: GeometryEffect {
| `- note: add @available attribute to enclosing struct
5 | var positionX: CGFloat
6 | var positionY: CGFloat
:
8 | var anchorY: CGFloat
9 |
10 | var animatableData: AnimatablePair<AnimatablePair<CGFloat, CGFloat>, AnimatablePair<CGFloat, CGFloat>> {
| `- note: add @available attribute to enclosing property
11 | get {
12 | AnimatablePair(AnimatablePair(positionX, positionY), AnimatablePair(anchorX, anchorY))
:
14 |
15 | set {
16 | positionX = newValue.first.first
| |- warning: conformance of 'CGFloat' to 'VectorArithmetic' 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
17 | positionY = newValue.first.second
18 | anchorX = newValue.second.first
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/PlacementModifier.swift:16:34: warning: conformance of 'CGFloat' to 'VectorArithmetic' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
2 | import SwiftUI
3 |
4 | struct PlacementEffect: GeometryEffect {
| `- note: add @available attribute to enclosing struct
5 | var positionX: CGFloat
6 | var positionY: CGFloat
:
8 | var anchorY: CGFloat
9 |
10 | var animatableData: AnimatablePair<AnimatablePair<CGFloat, CGFloat>, AnimatablePair<CGFloat, CGFloat>> {
| `- note: add @available attribute to enclosing property
11 | get {
12 | AnimatablePair(AnimatablePair(positionX, positionY), AnimatablePair(anchorX, anchorY))
:
14 |
15 | set {
16 | positionX = newValue.first.first
| |- warning: conformance of 'CGFloat' to 'VectorArithmetic' 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
17 | positionY = newValue.first.second
18 | anchorX = newValue.second.first
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/PlacementModifier.swift:16:40: warning: conformance of 'CGFloat' to 'VectorArithmetic' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
2 | import SwiftUI
3 |
4 | struct PlacementEffect: GeometryEffect {
| `- note: add @available attribute to enclosing struct
5 | var positionX: CGFloat
6 | var positionY: CGFloat
:
8 | var anchorY: CGFloat
9 |
10 | var animatableData: AnimatablePair<AnimatablePair<CGFloat, CGFloat>, AnimatablePair<CGFloat, CGFloat>> {
| `- note: add @available attribute to enclosing property
11 | get {
12 | AnimatablePair(AnimatablePair(positionX, positionY), AnimatablePair(anchorX, anchorY))
:
14 |
15 | set {
16 | positionX = newValue.first.first
| |- warning: conformance of 'CGFloat' to 'VectorArithmetic' 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
17 | positionY = newValue.first.second
18 | anchorX = newValue.second.first
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/PlacementModifier.swift:16:40: warning: conformance of 'CGFloat' to 'VectorArithmetic' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
2 | import SwiftUI
3 |
4 | struct PlacementEffect: GeometryEffect {
| `- note: add @available attribute to enclosing struct
5 | var positionX: CGFloat
6 | var positionY: CGFloat
:
8 | var anchorY: CGFloat
9 |
10 | var animatableData: AnimatablePair<AnimatablePair<CGFloat, CGFloat>, AnimatablePair<CGFloat, CGFloat>> {
| `- note: add @available attribute to enclosing property
11 | get {
12 | AnimatablePair(AnimatablePair(positionX, positionY), AnimatablePair(anchorX, anchorY))
:
14 |
15 | set {
16 | positionX = newValue.first.first
| |- warning: conformance of 'CGFloat' to 'VectorArithmetic' 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
17 | positionY = newValue.first.second
18 | anchorX = newValue.second.first
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/PlacementModifier.swift:17:34: warning: conformance of 'CGFloat' to 'VectorArithmetic' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
2 | import SwiftUI
3 |
4 | struct PlacementEffect: GeometryEffect {
| `- note: add @available attribute to enclosing struct
5 | var positionX: CGFloat
6 | var positionY: CGFloat
:
8 | var anchorY: CGFloat
9 |
10 | var animatableData: AnimatablePair<AnimatablePair<CGFloat, CGFloat>, AnimatablePair<CGFloat, CGFloat>> {
| `- note: add @available attribute to enclosing property
11 | get {
12 | AnimatablePair(AnimatablePair(positionX, positionY), AnimatablePair(anchorX, anchorY))
:
15 | set {
16 | positionX = newValue.first.first
17 | positionY = newValue.first.second
| |- warning: conformance of 'CGFloat' to 'VectorArithmetic' 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
18 | anchorX = newValue.second.first
19 | anchorY = newValue.second.second
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/PlacementModifier.swift:17:34: warning: conformance of 'CGFloat' to 'VectorArithmetic' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
2 | import SwiftUI
3 |
4 | struct PlacementEffect: GeometryEffect {
| `- note: add @available attribute to enclosing struct
5 | var positionX: CGFloat
6 | var positionY: CGFloat
:
8 | var anchorY: CGFloat
9 |
10 | var animatableData: AnimatablePair<AnimatablePair<CGFloat, CGFloat>, AnimatablePair<CGFloat, CGFloat>> {
| `- note: add @available attribute to enclosing property
11 | get {
12 | AnimatablePair(AnimatablePair(positionX, positionY), AnimatablePair(anchorX, anchorY))
:
15 | set {
16 | positionX = newValue.first.first
17 | positionY = newValue.first.second
| |- warning: conformance of 'CGFloat' to 'VectorArithmetic' 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
18 | anchorX = newValue.second.first
19 | anchorY = newValue.second.second
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/PlacementModifier.swift:17:34: warning: conformance of 'CGFloat' to 'VectorArithmetic' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
2 | import SwiftUI
3 |
4 | struct PlacementEffect: GeometryEffect {
| `- note: add @available attribute to enclosing struct
5 | var positionX: CGFloat
6 | var positionY: CGFloat
:
8 | var anchorY: CGFloat
9 |
10 | var animatableData: AnimatablePair<AnimatablePair<CGFloat, CGFloat>, AnimatablePair<CGFloat, CGFloat>> {
| `- note: add @available attribute to enclosing property
11 | get {
12 | AnimatablePair(AnimatablePair(positionX, positionY), AnimatablePair(anchorX, anchorY))
:
15 | set {
16 | positionX = newValue.first.first
17 | positionY = newValue.first.second
| |- warning: conformance of 'CGFloat' to 'VectorArithmetic' 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
18 | anchorX = newValue.second.first
19 | anchorY = newValue.second.second
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/PlacementModifier.swift:17:34: warning: conformance of 'CGFloat' to 'VectorArithmetic' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
2 | import SwiftUI
3 |
4 | struct PlacementEffect: GeometryEffect {
| `- note: add @available attribute to enclosing struct
5 | var positionX: CGFloat
6 | var positionY: CGFloat
:
8 | var anchorY: CGFloat
9 |
10 | var animatableData: AnimatablePair<AnimatablePair<CGFloat, CGFloat>, AnimatablePair<CGFloat, CGFloat>> {
| `- note: add @available attribute to enclosing property
11 | get {
12 | AnimatablePair(AnimatablePair(positionX, positionY), AnimatablePair(anchorX, anchorY))
:
15 | set {
16 | positionX = newValue.first.first
17 | positionY = newValue.first.second
| |- warning: conformance of 'CGFloat' to 'VectorArithmetic' 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
18 | anchorX = newValue.second.first
19 | anchorY = newValue.second.second
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/PlacementModifier.swift:17:40: warning: conformance of 'CGFloat' to 'VectorArithmetic' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
2 | import SwiftUI
3 |
4 | struct PlacementEffect: GeometryEffect {
| `- note: add @available attribute to enclosing struct
5 | var positionX: CGFloat
6 | var positionY: CGFloat
:
8 | var anchorY: CGFloat
9 |
10 | var animatableData: AnimatablePair<AnimatablePair<CGFloat, CGFloat>, AnimatablePair<CGFloat, CGFloat>> {
| `- note: add @available attribute to enclosing property
11 | get {
12 | AnimatablePair(AnimatablePair(positionX, positionY), AnimatablePair(anchorX, anchorY))
:
15 | set {
16 | positionX = newValue.first.first
17 | positionY = newValue.first.second
| |- warning: conformance of 'CGFloat' to 'VectorArithmetic' 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
18 | anchorX = newValue.second.first
19 | anchorY = newValue.second.second
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/PlacementModifier.swift:17:40: warning: conformance of 'CGFloat' to 'VectorArithmetic' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
2 | import SwiftUI
3 |
4 | struct PlacementEffect: GeometryEffect {
| `- note: add @available attribute to enclosing struct
5 | var positionX: CGFloat
6 | var positionY: CGFloat
:
8 | var anchorY: CGFloat
9 |
10 | var animatableData: AnimatablePair<AnimatablePair<CGFloat, CGFloat>, AnimatablePair<CGFloat, CGFloat>> {
| `- note: add @available attribute to enclosing property
11 | get {
12 | AnimatablePair(AnimatablePair(positionX, positionY), AnimatablePair(anchorX, anchorY))
:
15 | set {
16 | positionX = newValue.first.first
17 | positionY = newValue.first.second
| |- warning: conformance of 'CGFloat' to 'VectorArithmetic' 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
18 | anchorX = newValue.second.first
19 | anchorY = newValue.second.second
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/PlacementModifier.swift:18:32: warning: conformance of 'CGFloat' to 'VectorArithmetic' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
2 | import SwiftUI
3 |
4 | struct PlacementEffect: GeometryEffect {
| `- note: add @available attribute to enclosing struct
5 | var positionX: CGFloat
6 | var positionY: CGFloat
:
8 | var anchorY: CGFloat
9 |
10 | var animatableData: AnimatablePair<AnimatablePair<CGFloat, CGFloat>, AnimatablePair<CGFloat, CGFloat>> {
| `- note: add @available attribute to enclosing property
11 | get {
12 | AnimatablePair(AnimatablePair(positionX, positionY), AnimatablePair(anchorX, anchorY))
:
16 | positionX = newValue.first.first
17 | positionY = newValue.first.second
18 | anchorX = newValue.second.first
| |- warning: conformance of 'CGFloat' to 'VectorArithmetic' 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
19 | anchorY = newValue.second.second
20 | }
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/PlacementModifier.swift:18:32: warning: conformance of 'CGFloat' to 'VectorArithmetic' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
2 | import SwiftUI
3 |
4 | struct PlacementEffect: GeometryEffect {
| `- note: add @available attribute to enclosing struct
5 | var positionX: CGFloat
6 | var positionY: CGFloat
:
8 | var anchorY: CGFloat
9 |
10 | var animatableData: AnimatablePair<AnimatablePair<CGFloat, CGFloat>, AnimatablePair<CGFloat, CGFloat>> {
| `- note: add @available attribute to enclosing property
11 | get {
12 | AnimatablePair(AnimatablePair(positionX, positionY), AnimatablePair(anchorX, anchorY))
:
16 | positionX = newValue.first.first
17 | positionY = newValue.first.second
18 | anchorX = newValue.second.first
| |- warning: conformance of 'CGFloat' to 'VectorArithmetic' 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
19 | anchorY = newValue.second.second
20 | }
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/PlacementModifier.swift:18:32: warning: conformance of 'CGFloat' to 'VectorArithmetic' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
2 | import SwiftUI
3 |
4 | struct PlacementEffect: GeometryEffect {
| `- note: add @available attribute to enclosing struct
5 | var positionX: CGFloat
6 | var positionY: CGFloat
:
8 | var anchorY: CGFloat
9 |
10 | var animatableData: AnimatablePair<AnimatablePair<CGFloat, CGFloat>, AnimatablePair<CGFloat, CGFloat>> {
| `- note: add @available attribute to enclosing property
11 | get {
12 | AnimatablePair(AnimatablePair(positionX, positionY), AnimatablePair(anchorX, anchorY))
:
16 | positionX = newValue.first.first
17 | positionY = newValue.first.second
18 | anchorX = newValue.second.first
| |- warning: conformance of 'CGFloat' to 'VectorArithmetic' 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
19 | anchorY = newValue.second.second
20 | }
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/PlacementModifier.swift:18:32: warning: conformance of 'CGFloat' to 'VectorArithmetic' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
2 | import SwiftUI
3 |
4 | struct PlacementEffect: GeometryEffect {
| `- note: add @available attribute to enclosing struct
5 | var positionX: CGFloat
6 | var positionY: CGFloat
:
8 | var anchorY: CGFloat
9 |
10 | var animatableData: AnimatablePair<AnimatablePair<CGFloat, CGFloat>, AnimatablePair<CGFloat, CGFloat>> {
| `- note: add @available attribute to enclosing property
11 | get {
12 | AnimatablePair(AnimatablePair(positionX, positionY), AnimatablePair(anchorX, anchorY))
:
16 | positionX = newValue.first.first
17 | positionY = newValue.first.second
18 | anchorX = newValue.second.first
| |- warning: conformance of 'CGFloat' to 'VectorArithmetic' 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
19 | anchorY = newValue.second.second
20 | }
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/PlacementModifier.swift:18:39: warning: conformance of 'CGFloat' to 'VectorArithmetic' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
2 | import SwiftUI
3 |
4 | struct PlacementEffect: GeometryEffect {
| `- note: add @available attribute to enclosing struct
5 | var positionX: CGFloat
6 | var positionY: CGFloat
:
8 | var anchorY: CGFloat
9 |
10 | var animatableData: AnimatablePair<AnimatablePair<CGFloat, CGFloat>, AnimatablePair<CGFloat, CGFloat>> {
| `- note: add @available attribute to enclosing property
11 | get {
12 | AnimatablePair(AnimatablePair(positionX, positionY), AnimatablePair(anchorX, anchorY))
:
16 | positionX = newValue.first.first
17 | positionY = newValue.first.second
18 | anchorX = newValue.second.first
| |- warning: conformance of 'CGFloat' to 'VectorArithmetic' 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
19 | anchorY = newValue.second.second
20 | }
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/PlacementModifier.swift:18:39: warning: conformance of 'CGFloat' to 'VectorArithmetic' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
2 | import SwiftUI
3 |
4 | struct PlacementEffect: GeometryEffect {
| `- note: add @available attribute to enclosing struct
5 | var positionX: CGFloat
6 | var positionY: CGFloat
:
8 | var anchorY: CGFloat
9 |
10 | var animatableData: AnimatablePair<AnimatablePair<CGFloat, CGFloat>, AnimatablePair<CGFloat, CGFloat>> {
| `- note: add @available attribute to enclosing property
11 | get {
12 | AnimatablePair(AnimatablePair(positionX, positionY), AnimatablePair(anchorX, anchorY))
:
16 | positionX = newValue.first.first
17 | positionY = newValue.first.second
18 | anchorX = newValue.second.first
| |- warning: conformance of 'CGFloat' to 'VectorArithmetic' 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
19 | anchorY = newValue.second.second
20 | }
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/PlacementModifier.swift:19:32: warning: conformance of 'CGFloat' to 'VectorArithmetic' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
2 | import SwiftUI
3 |
4 | struct PlacementEffect: GeometryEffect {
| `- note: add @available attribute to enclosing struct
5 | var positionX: CGFloat
6 | var positionY: CGFloat
:
8 | var anchorY: CGFloat
9 |
10 | var animatableData: AnimatablePair<AnimatablePair<CGFloat, CGFloat>, AnimatablePair<CGFloat, CGFloat>> {
| `- note: add @available attribute to enclosing property
11 | get {
12 | AnimatablePair(AnimatablePair(positionX, positionY), AnimatablePair(anchorX, anchorY))
:
17 | positionY = newValue.first.second
18 | anchorX = newValue.second.first
19 | anchorY = newValue.second.second
| |- warning: conformance of 'CGFloat' to 'VectorArithmetic' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
20 | }
21 | }
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/PlacementModifier.swift:19:32: warning: conformance of 'CGFloat' to 'VectorArithmetic' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
2 | import SwiftUI
3 |
4 | struct PlacementEffect: GeometryEffect {
| `- note: add @available attribute to enclosing struct
5 | var positionX: CGFloat
6 | var positionY: CGFloat
:
8 | var anchorY: CGFloat
9 |
10 | var animatableData: AnimatablePair<AnimatablePair<CGFloat, CGFloat>, AnimatablePair<CGFloat, CGFloat>> {
| `- note: add @available attribute to enclosing property
11 | get {
12 | AnimatablePair(AnimatablePair(positionX, positionY), AnimatablePair(anchorX, anchorY))
:
17 | positionY = newValue.first.second
18 | anchorX = newValue.second.first
19 | anchorY = newValue.second.second
| |- warning: conformance of 'CGFloat' to 'VectorArithmetic' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
20 | }
21 | }
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/PlacementModifier.swift:19:32: warning: conformance of 'CGFloat' to 'VectorArithmetic' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
2 | import SwiftUI
3 |
4 | struct PlacementEffect: GeometryEffect {
| `- note: add @available attribute to enclosing struct
5 | var positionX: CGFloat
6 | var positionY: CGFloat
:
8 | var anchorY: CGFloat
9 |
10 | var animatableData: AnimatablePair<AnimatablePair<CGFloat, CGFloat>, AnimatablePair<CGFloat, CGFloat>> {
| `- note: add @available attribute to enclosing property
11 | get {
12 | AnimatablePair(AnimatablePair(positionX, positionY), AnimatablePair(anchorX, anchorY))
:
17 | positionY = newValue.first.second
18 | anchorX = newValue.second.first
19 | anchorY = newValue.second.second
| |- warning: conformance of 'CGFloat' to 'VectorArithmetic' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
20 | }
21 | }
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/PlacementModifier.swift:19:32: warning: conformance of 'CGFloat' to 'VectorArithmetic' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
2 | import SwiftUI
3 |
4 | struct PlacementEffect: GeometryEffect {
| `- note: add @available attribute to enclosing struct
5 | var positionX: CGFloat
6 | var positionY: CGFloat
:
8 | var anchorY: CGFloat
9 |
10 | var animatableData: AnimatablePair<AnimatablePair<CGFloat, CGFloat>, AnimatablePair<CGFloat, CGFloat>> {
| `- note: add @available attribute to enclosing property
11 | get {
12 | AnimatablePair(AnimatablePair(positionX, positionY), AnimatablePair(anchorX, anchorY))
:
17 | positionY = newValue.first.second
18 | anchorX = newValue.second.first
19 | anchorY = newValue.second.second
| |- warning: conformance of 'CGFloat' to 'VectorArithmetic' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
20 | }
21 | }
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/PlacementModifier.swift:19:39: warning: conformance of 'CGFloat' to 'VectorArithmetic' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
2 | import SwiftUI
3 |
4 | struct PlacementEffect: GeometryEffect {
| `- note: add @available attribute to enclosing struct
5 | var positionX: CGFloat
6 | var positionY: CGFloat
:
8 | var anchorY: CGFloat
9 |
10 | var animatableData: AnimatablePair<AnimatablePair<CGFloat, CGFloat>, AnimatablePair<CGFloat, CGFloat>> {
| `- note: add @available attribute to enclosing property
11 | get {
12 | AnimatablePair(AnimatablePair(positionX, positionY), AnimatablePair(anchorX, anchorY))
:
17 | positionY = newValue.first.second
18 | anchorX = newValue.second.first
19 | anchorY = newValue.second.second
| |- warning: conformance of 'CGFloat' to 'VectorArithmetic' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
20 | }
21 | }
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/PlacementModifier.swift:19:39: warning: conformance of 'CGFloat' to 'VectorArithmetic' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
2 | import SwiftUI
3 |
4 | struct PlacementEffect: GeometryEffect {
| `- note: add @available attribute to enclosing struct
5 | var positionX: CGFloat
6 | var positionY: CGFloat
:
8 | var anchorY: CGFloat
9 |
10 | var animatableData: AnimatablePair<AnimatablePair<CGFloat, CGFloat>, AnimatablePair<CGFloat, CGFloat>> {
| `- note: add @available attribute to enclosing property
11 | get {
12 | AnimatablePair(AnimatablePair(positionX, positionY), AnimatablePair(anchorX, anchorY))
:
17 | positionY = newValue.first.second
18 | anchorX = newValue.second.first
19 | anchorY = newValue.second.second
| |- warning: conformance of 'CGFloat' to 'VectorArithmetic' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
20 | }
21 | }
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/PlacementModifier.swift:29:16: error: 'ProjectionTransform' is only available in macOS 10.15 or newer
2 | import SwiftUI
3 |
4 | struct PlacementEffect: GeometryEffect {
| `- note: add @available attribute to enclosing struct
5 | var positionX: CGFloat
6 | var positionY: CGFloat
:
21 | }
22 |
23 | func effectValue(size: CGSize) -> ProjectionTransform {
| `- note: add @available attribute to enclosing instance method
24 | let anchorPointY = size.height * anchorY
25 | let translationY = positionY - anchorPointY
:
27 | let translationX = positionX - anchorPointX
28 |
29 | return ProjectionTransform(CGAffineTransform(
| |- error: 'ProjectionTransform' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
30 | translationX: translationX,
31 | y: translationY
/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/PlacementModifier.swift:50:14: error: value of type 'LayoutChildSizingView<L>' has no member 'allowsHitTesting'
48 | children: children
49 | )
50 | .allowsHitTesting(false)
| `- error: value of type 'LayoutChildSizingView<L>' has no member 'allowsHitTesting'
51 | .overlay(
52 | content
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/PlacementModifier.swift:84:26: error: cannot infer contextual base in reference to member 'opacity'
82 | }
83 | }
84 | .transition(.opacity)
| `- error: cannot infer contextual base in reference to member 'opacity'
85 | }
86 | }
[26/32] Compiling Placement PlacementModifier.swift
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/PlacementIntrinsicSizeReader.swift:29:20: error: 'View' is only available in macOS 10.15 or newer
24 | }
25 |
26 | struct PlacementIntrinsicSizeReader: View {
| `- note: add @available attribute to enclosing struct
27 | var id: AnyHashable
28 |
29 | var body: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
30 | GeometryReader(content: { proxy in
31 | Color.clear.preference(
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/PlacementIntrinsicSizeReader.swift:30:9: error: 'GeometryReader' is only available in macOS 10.15 or newer
24 | }
25 |
26 | struct PlacementIntrinsicSizeReader: View {
| `- note: add @available attribute to enclosing struct
27 | var id: AnyHashable
28 |
29 | var body: some View {
| `- note: add @available attribute to enclosing property
30 | GeometryReader(content: { proxy in
| |- error: 'GeometryReader' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
31 | Color.clear.preference(
32 | key: PlacementIntrinsicSizesPreferenceKey.self,
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/PlacementIntrinsicSizeReader.swift:31:13: error: 'Color' is only available in macOS 10.15 or newer
24 | }
25 |
26 | struct PlacementIntrinsicSizeReader: View {
| `- note: add @available attribute to enclosing struct
27 | var id: AnyHashable
28 |
29 | var body: some View {
| `- note: add @available attribute to enclosing property
30 | GeometryReader(content: { proxy in
31 | Color.clear.preference(
| |- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
32 | key: PlacementIntrinsicSizesPreferenceKey.self,
33 | value: [id: proxy.size]
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/PlacementIntrinsicSizeReader.swift:31:19: error: 'clear' is only available in macOS 10.15 or newer
24 | }
25 |
26 | struct PlacementIntrinsicSizeReader: View {
| `- note: add @available attribute to enclosing struct
27 | var id: AnyHashable
28 |
29 | var body: some View {
| `- note: add @available attribute to enclosing property
30 | GeometryReader(content: { proxy in
31 | Color.clear.preference(
| |- error: 'clear' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
32 | key: PlacementIntrinsicSizesPreferenceKey.self,
33 | value: [id: proxy.size]
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/PlacementIntrinsicSizeReader.swift:31:25: error: 'preference(key:value:)' is only available in macOS 10.15 or newer
24 | }
25 |
26 | struct PlacementIntrinsicSizeReader: View {
| `- note: add @available attribute to enclosing struct
27 | var id: AnyHashable
28 |
29 | var body: some View {
| `- note: add @available attribute to enclosing property
30 | GeometryReader(content: { proxy in
31 | Color.clear.preference(
| |- error: 'preference(key:value:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
32 | key: PlacementIntrinsicSizesPreferenceKey.self,
33 | value: [id: proxy.size]
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/PlacementIntrinsicSizeReader.swift:35:12: error: 'animation' is only available in macOS 10.15 or newer
24 | }
25 |
26 | struct PlacementIntrinsicSizeReader: View {
| `- note: add @available attribute to enclosing struct
27 | var id: AnyHashable
28 |
29 | var body: some View {
| `- note: add @available attribute to enclosing property
30 | GeometryReader(content: { proxy in
31 | Color.clear.preference(
:
33 | value: [id: proxy.size]
34 | )
35 | }).animation(nil)
| |- error: 'animation' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
36 | }
37 | }
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/PlacementKeyboardAvoidingModifier.swift:11:60: error: 'Animation' is only available in macOS 10.15 or newer
9 | import SwiftUI
10 |
11 | func keyboardAnimation(from notification: Notification) -> Animation? {
| | `- error: 'Animation' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing global function
12 | #if os(iOS)
13 | guard
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/PlacementKeyboardAvoidingModifier.swift:31:6: error: 'Environment' is only available in macOS 10.15 or newer
28 | }
29 |
30 | struct KeyboardAvoidingView<L: PlacementLayout>: UIViewRepresentable {
| `- note: add @available attribute to enclosing generic struct
31 | @Environment(\.placementShouldAdjustToKeyboard) var placementShouldAdjustToKeyboard
| `- error: 'Environment' is only available in macOS 10.15 or newer
32 | @EnvironmentObject var coordinator: Coordinator<L>
33 | @Binding var keyboardFrame: CGRect
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/PlacementKeyboardAvoidingModifier.swift:32:6: error: 'EnvironmentObject' is only available in macOS 10.15 or newer
28 | }
29 |
30 | struct KeyboardAvoidingView<L: PlacementLayout>: UIViewRepresentable {
| `- note: add @available attribute to enclosing generic struct
31 | @Environment(\.placementShouldAdjustToKeyboard) var placementShouldAdjustToKeyboard
32 | @EnvironmentObject var coordinator: Coordinator<L>
| `- error: 'EnvironmentObject' is only available in macOS 10.15 or newer
33 | @Binding var keyboardFrame: CGRect
34 |
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/PlacementKeyboardAvoidingModifier.swift:33:6: error: 'Binding' is only available in macOS 10.15 or newer
28 | }
29 |
30 | struct KeyboardAvoidingView<L: PlacementLayout>: UIViewRepresentable {
| `- note: add @available attribute to enclosing generic struct
31 | @Environment(\.placementShouldAdjustToKeyboard) var placementShouldAdjustToKeyboard
32 | @EnvironmentObject var coordinator: Coordinator<L>
33 | @Binding var keyboardFrame: CGRect
| `- error: 'Binding' is only available in macOS 10.15 or newer
34 |
35 | class KeyboardCoordinator {
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/PlacementKeyboardAvoidingModifier.swift:38:10: error: 'Binding' is only available in macOS 10.15 or newer
33 | @Binding var keyboardFrame: CGRect
34 |
35 | class KeyboardCoordinator {
| |- note: add @available attribute to enclosing class
| `- note: add @available attribute to enclosing class
36 | var shouldAdjust: Bool
37 | var coordinator: Coordinator<L>
38 | @Binding var keyboardFrame: CGRect
| `- error: 'Binding' is only available in macOS 10.15 or newer
39 |
40 | init(
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/PlacementKeyboardAvoidingModifier.swift:43:28: error: 'Binding' is only available in macOS 10.15 or newer
33 | @Binding var keyboardFrame: CGRect
34 |
35 | class KeyboardCoordinator {
| `- note: add @available attribute to enclosing class
36 | var shouldAdjust: Bool
37 | var coordinator: Coordinator<L>
38 | @Binding var keyboardFrame: CGRect
39 |
40 | init(
| `- note: add @available attribute to enclosing initializer
41 | shouldAdjust: Bool,
42 | coordinator: Coordinator<L>,
43 | keyboardFrame: Binding<CGRect>
| `- error: 'Binding' is only available in macOS 10.15 or newer
44 | ) {
45 | self.shouldAdjust = shouldAdjust
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/PlacementKeyboardAvoidingModifier.swift:108:47: error: cannot find type 'UIView' in scope
106 | }
107 |
108 | func makeUIView(context: Context) -> some UIView {
| `- error: cannot find type 'UIView' in scope
109 | UIView()
110 | }
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/PlacementKeyboardAvoidingModifier.swift:108:42: error: 'some' types are only permitted in properties, subscripts, and functions
106 | }
107 |
108 | func makeUIView(context: Context) -> some UIView {
| `- error: 'some' types are only permitted in properties, subscripts, and functions
109 | UIView()
110 | }
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/PlacementKeyboardAvoidingModifier.swift:108:30: error: cannot find type 'Context' in scope
106 | }
107 |
108 | func makeUIView(context: Context) -> some UIView {
| `- error: cannot find type 'Context' in scope
109 | UIView()
110 | }
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/PlacementKeyboardAvoidingModifier.swift:112:33: error: cannot find type 'UIViewType' in scope
110 | }
111 |
112 | func updateUIView(_ uiView: UIViewType, context: Context) {
| `- error: cannot find type 'UIViewType' in scope
113 | context.coordinator.shouldAdjust = placementShouldAdjustToKeyboard
114 | context.coordinator.coordinator = coordinator
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/PlacementKeyboardAvoidingModifier.swift:112:54: error: cannot find type 'Context' in scope
110 | }
111 |
112 | func updateUIView(_ uiView: UIViewType, context: Context) {
| `- error: cannot find type 'Context' in scope
113 | context.coordinator.shouldAdjust = placementShouldAdjustToKeyboard
114 | context.coordinator.coordinator = coordinator
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/PlacementKeyboardAvoidingModifier.swift:30:50: error: cannot find type 'UIViewRepresentable' in scope
28 | }
29 |
30 | struct KeyboardAvoidingView<L: PlacementLayout>: UIViewRepresentable {
| `- error: cannot find type 'UIViewRepresentable' in scope
31 | @Environment(\.placementShouldAdjustToKeyboard) var placementShouldAdjustToKeyboard
32 | @EnvironmentObject var coordinator: Coordinator<L>
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/PlacementKeyboardAvoidingModifier.swift:119:6: error: 'Environment' is only available in macOS 10.15 or newer
116 | }
117 |
118 | struct PlacementKeyboardAvoidingModifier<L: PlacementLayout>: ViewModifier {
| `- note: add @available attribute to enclosing generic struct
119 | @Environment(\.placementShouldAdjustToKeyboard) var placementShouldAdjustToKeyboard
| `- error: 'Environment' is only available in macOS 10.15 or newer
120 | @EnvironmentObject var coordinator: Coordinator<L>
121 | @Binding var keyboardFrame: CGRect
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/PlacementKeyboardAvoidingModifier.swift:120:6: error: 'EnvironmentObject' is only available in macOS 10.15 or newer
116 | }
117 |
118 | struct PlacementKeyboardAvoidingModifier<L: PlacementLayout>: ViewModifier {
| `- note: add @available attribute to enclosing generic struct
119 | @Environment(\.placementShouldAdjustToKeyboard) var placementShouldAdjustToKeyboard
120 | @EnvironmentObject var coordinator: Coordinator<L>
| `- error: 'EnvironmentObject' is only available in macOS 10.15 or newer
121 | @Binding var keyboardFrame: CGRect
122 |
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/PlacementKeyboardAvoidingModifier.swift:121:6: error: 'Binding' is only available in macOS 10.15 or newer
116 | }
117 |
118 | struct PlacementKeyboardAvoidingModifier<L: PlacementLayout>: ViewModifier {
| `- note: add @available attribute to enclosing generic struct
119 | @Environment(\.placementShouldAdjustToKeyboard) var placementShouldAdjustToKeyboard
120 | @EnvironmentObject var coordinator: Coordinator<L>
121 | @Binding var keyboardFrame: CGRect
| `- error: 'Binding' is only available in macOS 10.15 or newer
122 |
123 | func body(content: Content) -> some View {
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/PlacementKeyboardAvoidingModifier.swift:123:41: error: 'View' is only available in macOS 10.15 or newer
116 | }
117 |
118 | struct PlacementKeyboardAvoidingModifier<L: PlacementLayout>: ViewModifier {
| `- note: add @available attribute to enclosing generic struct
119 | @Environment(\.placementShouldAdjustToKeyboard) var placementShouldAdjustToKeyboard
120 | @EnvironmentObject var coordinator: Coordinator<L>
121 | @Binding var keyboardFrame: CGRect
122 |
123 | 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
124 | content
125 | .background(
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/PlacementKeyboardAvoidingModifier.swift:101:9: error: generic parameter 'L' could not be inferred
99 |
100 | func makeCoordinator() -> KeyboardCoordinator {
101 | Coordinator(
| |- error: generic parameter 'L' could not be inferred
| `- note: explicitly specify the generic arguments to fix this issue
102 | shouldAdjust: placementShouldAdjustToKeyboard,
103 | coordinator: coordinator,
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/Coordinator.swift:9:19: note: 'L' declared as parameter to type 'Coordinator'
7 | }
8 |
9 | class Coordinator<L: PlacementLayout>: ObservableObject {
| `- note: 'L' declared as parameter to type 'Coordinator'
10 | var keyboardFrame: CGRect = .zero
11 | var globalFrame: CGRect? = nil
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/PlacementKeyboardAvoidingModifier.swift:101:20: error: argument passed to call that takes no arguments
99 |
100 | func makeCoordinator() -> KeyboardCoordinator {
101 | Coordinator(
| `- error: argument passed to call that takes no arguments
102 | shouldAdjust: placementShouldAdjustToKeyboard,
103 | coordinator: coordinator,
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/PlacementKeyboardAvoidingModifier.swift:101:9: error: cannot convert return expression of type 'Coordinator<L>' to return type 'KeyboardAvoidingView<L>.KeyboardCoordinator'
99 |
100 | func makeCoordinator() -> KeyboardCoordinator {
101 | Coordinator(
| `- error: cannot convert return expression of type 'Coordinator<L>' to return type 'KeyboardAvoidingView<L>.KeyboardCoordinator'
102 | shouldAdjust: placementShouldAdjustToKeyboard,
103 | coordinator: coordinator,
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/PlacementKeyboardAvoidingModifier.swift:127:18: error: value of type 'KeyboardAvoidingView<L>' has no member 'allowsHitTesting'
125 | .background(
126 | KeyboardAvoidingView<L>(keyboardFrame: $keyboardFrame)
127 | .allowsHitTesting(false)
| `- error: value of type 'KeyboardAvoidingView<L>' has no member 'allowsHitTesting'
128 | )
129 | }
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/PlacementModifier.swift:10:25: error: 'AnimatablePair' is only available in macOS 10.15 or newer
2 | import SwiftUI
3 |
4 | struct PlacementEffect: GeometryEffect {
| `- note: add @available attribute to enclosing struct
5 | var positionX: CGFloat
6 | var positionY: CGFloat
:
8 | var anchorY: CGFloat
9 |
10 | var animatableData: AnimatablePair<AnimatablePair<CGFloat, CGFloat>, AnimatablePair<CGFloat, CGFloat>> {
| | `- error: 'AnimatablePair' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
11 | get {
12 | AnimatablePair(AnimatablePair(positionX, positionY), AnimatablePair(anchorX, anchorY))
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/PlacementModifier.swift:23:39: error: 'ProjectionTransform' is only available in macOS 10.15 or newer
2 | import SwiftUI
3 |
4 | struct PlacementEffect: GeometryEffect {
| `- note: add @available attribute to enclosing struct
5 | var positionX: CGFloat
6 | var positionY: CGFloat
:
21 | }
22 |
23 | func effectValue(size: CGSize) -> ProjectionTransform {
| | `- error: 'ProjectionTransform' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing instance method
24 | let anchorPointY = size.height * anchorY
25 | let translationY = positionY - anchorPointY
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/PlacementModifier.swift:4:8: warning: conformance of 'CGFloat' to 'VectorArithmetic' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
2 | import SwiftUI
3 |
4 | struct PlacementEffect: GeometryEffect {
| |- warning: conformance of 'CGFloat' to 'VectorArithmetic' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| |- note: add @available attribute to enclosing struct
| `- note: in associated type 'Self.AnimatableData' (inferred as 'AnimatablePair<AnimatablePair<CGFloat, CGFloat>, AnimatablePair<CGFloat, CGFloat>>')
5 | var positionX: CGFloat
6 | var positionY: CGFloat
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/PlacementModifier.swift:4:8: warning: conformance of 'CGFloat' to 'VectorArithmetic' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
2 | import SwiftUI
3 |
4 | struct PlacementEffect: GeometryEffect {
| |- warning: conformance of 'CGFloat' to 'VectorArithmetic' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| |- note: add @available attribute to enclosing struct
| `- note: in associated type 'Self.AnimatableData' (inferred as 'AnimatablePair<AnimatablePair<CGFloat, CGFloat>, AnimatablePair<CGFloat, CGFloat>>')
5 | var positionX: CGFloat
6 | var positionY: CGFloat
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/PlacementModifier.swift:4:8: warning: conformance of 'CGFloat' to 'VectorArithmetic' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
2 | import SwiftUI
3 |
4 | struct PlacementEffect: GeometryEffect {
| |- warning: conformance of 'CGFloat' to 'VectorArithmetic' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| |- note: add @available attribute to enclosing struct
| `- note: in associated type 'Self.AnimatableData' (inferred as 'AnimatablePair<AnimatablePair<CGFloat, CGFloat>, AnimatablePair<CGFloat, CGFloat>>')
5 | var positionX: CGFloat
6 | var positionY: CGFloat
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/PlacementModifier.swift:4:8: warning: conformance of 'CGFloat' to 'VectorArithmetic' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
2 | import SwiftUI
3 |
4 | struct PlacementEffect: GeometryEffect {
| |- warning: conformance of 'CGFloat' to 'VectorArithmetic' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| |- note: add @available attribute to enclosing struct
| `- note: in associated type 'Self.AnimatableData' (inferred as 'AnimatablePair<AnimatablePair<CGFloat, CGFloat>, AnimatablePair<CGFloat, CGFloat>>')
5 | var positionX: CGFloat
6 | var positionY: CGFloat
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/PlacementModifier.swift:4:8: warning: conformance of 'Never' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
2 | import SwiftUI
3 |
4 | struct PlacementEffect: GeometryEffect {
| |- warning: conformance of 'Never' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| |- note: add @available attribute to enclosing struct
| `- note: in associated type 'Self.Body' (inferred as 'Never')
5 | var positionX: CGFloat
6 | var positionY: CGFloat
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/PlacementModifier.swift:37:6: error: 'EnvironmentObject' is only available in macOS 10.15 or newer
34 | }
35 |
36 | struct PlacementModifier<L: PlacementLayout>: ViewModifier {
| `- note: add @available attribute to enclosing generic struct
37 | @EnvironmentObject var coordinator: Coordinator<L>
| `- error: 'EnvironmentObject' is only available in macOS 10.15 or newer
38 | @EnvironmentObject var placementsCoordinator: PlacementsCoordinator
39 | var id: AnyHashable
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/PlacementModifier.swift:38:6: error: 'EnvironmentObject' is only available in macOS 10.15 or newer
34 | }
35 |
36 | struct PlacementModifier<L: PlacementLayout>: ViewModifier {
| `- note: add @available attribute to enclosing generic struct
37 | @EnvironmentObject var coordinator: Coordinator<L>
38 | @EnvironmentObject var placementsCoordinator: PlacementsCoordinator
| `- error: 'EnvironmentObject' is only available in macOS 10.15 or newer
39 | var id: AnyHashable
40 | var layout: L
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/PlacementModifier.swift:41:19: error: '_VariadicView' is only available in macOS 10.15 or newer
34 | }
35 |
36 | struct PlacementModifier<L: PlacementLayout>: ViewModifier {
| `- note: add @available attribute to enclosing generic struct
37 | @EnvironmentObject var coordinator: Coordinator<L>
38 | @EnvironmentObject var placementsCoordinator: PlacementsCoordinator
39 | var id: AnyHashable
40 | var layout: L
41 | var children: _VariadicView.Children
| `- error: '_VariadicView' is only available in macOS 10.15 or newer
42 |
43 | func body(content: Content) -> some View {
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/PlacementModifier.swift:43:41: error: 'View' is only available in macOS 10.15 or newer
34 | }
35 |
36 | struct PlacementModifier<L: PlacementLayout>: ViewModifier {
| `- note: add @available attribute to enclosing generic struct
37 | @EnvironmentObject var coordinator: Coordinator<L>
38 | @EnvironmentObject var placementsCoordinator: PlacementsCoordinator
:
41 | var children: _VariadicView.Children
42 |
43 | 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
44 | if let placement = placementsCoordinator.placements[id] {
45 | LayoutChildSizingView(
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/PlacementModifier.swift:12:12: error: 'AnimatablePair' is only available in macOS 10.15 or newer
2 | import SwiftUI
3 |
4 | struct PlacementEffect: GeometryEffect {
| `- note: add @available attribute to enclosing struct
5 | var positionX: CGFloat
6 | var positionY: CGFloat
:
8 | var anchorY: CGFloat
9 |
10 | var animatableData: AnimatablePair<AnimatablePair<CGFloat, CGFloat>, AnimatablePair<CGFloat, CGFloat>> {
| `- note: add @available attribute to enclosing property
11 | get {
12 | AnimatablePair(AnimatablePair(positionX, positionY), AnimatablePair(anchorX, anchorY))
| |- error: 'AnimatablePair' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
13 | }
14 |
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/PlacementModifier.swift:12:12: warning: conformance of 'CGFloat' to 'VectorArithmetic' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
2 | import SwiftUI
3 |
4 | struct PlacementEffect: GeometryEffect {
| `- note: add @available attribute to enclosing struct
5 | var positionX: CGFloat
6 | var positionY: CGFloat
:
8 | var anchorY: CGFloat
9 |
10 | var animatableData: AnimatablePair<AnimatablePair<CGFloat, CGFloat>, AnimatablePair<CGFloat, CGFloat>> {
| `- note: add @available attribute to enclosing property
11 | get {
12 | AnimatablePair(AnimatablePair(positionX, positionY), AnimatablePair(anchorX, anchorY))
| |- warning: conformance of 'CGFloat' to 'VectorArithmetic' 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
13 | }
14 |
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/PlacementModifier.swift:12:12: warning: conformance of 'CGFloat' to 'VectorArithmetic' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
2 | import SwiftUI
3 |
4 | struct PlacementEffect: GeometryEffect {
| `- note: add @available attribute to enclosing struct
5 | var positionX: CGFloat
6 | var positionY: CGFloat
:
8 | var anchorY: CGFloat
9 |
10 | var animatableData: AnimatablePair<AnimatablePair<CGFloat, CGFloat>, AnimatablePair<CGFloat, CGFloat>> {
| `- note: add @available attribute to enclosing property
11 | get {
12 | AnimatablePair(AnimatablePair(positionX, positionY), AnimatablePair(anchorX, anchorY))
| |- warning: conformance of 'CGFloat' to 'VectorArithmetic' 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
13 | }
14 |
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/PlacementModifier.swift:12:12: warning: conformance of 'CGFloat' to 'VectorArithmetic' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
2 | import SwiftUI
3 |
4 | struct PlacementEffect: GeometryEffect {
| `- note: add @available attribute to enclosing struct
5 | var positionX: CGFloat
6 | var positionY: CGFloat
:
8 | var anchorY: CGFloat
9 |
10 | var animatableData: AnimatablePair<AnimatablePair<CGFloat, CGFloat>, AnimatablePair<CGFloat, CGFloat>> {
| `- note: add @available attribute to enclosing property
11 | get {
12 | AnimatablePair(AnimatablePair(positionX, positionY), AnimatablePair(anchorX, anchorY))
| |- warning: conformance of 'CGFloat' to 'VectorArithmetic' 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
13 | }
14 |
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/PlacementModifier.swift:12:12: warning: conformance of 'CGFloat' to 'VectorArithmetic' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
2 | import SwiftUI
3 |
4 | struct PlacementEffect: GeometryEffect {
| `- note: add @available attribute to enclosing struct
5 | var positionX: CGFloat
6 | var positionY: CGFloat
:
8 | var anchorY: CGFloat
9 |
10 | var animatableData: AnimatablePair<AnimatablePair<CGFloat, CGFloat>, AnimatablePair<CGFloat, CGFloat>> {
| `- note: add @available attribute to enclosing property
11 | get {
12 | AnimatablePair(AnimatablePair(positionX, positionY), AnimatablePair(anchorX, anchorY))
| |- warning: conformance of 'CGFloat' to 'VectorArithmetic' 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
13 | }
14 |
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/PlacementModifier.swift:12:27: error: 'AnimatablePair' is only available in macOS 10.15 or newer
2 | import SwiftUI
3 |
4 | struct PlacementEffect: GeometryEffect {
| `- note: add @available attribute to enclosing struct
5 | var positionX: CGFloat
6 | var positionY: CGFloat
:
8 | var anchorY: CGFloat
9 |
10 | var animatableData: AnimatablePair<AnimatablePair<CGFloat, CGFloat>, AnimatablePair<CGFloat, CGFloat>> {
| `- note: add @available attribute to enclosing property
11 | get {
12 | AnimatablePair(AnimatablePair(positionX, positionY), AnimatablePair(anchorX, anchorY))
| |- error: 'AnimatablePair' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
13 | }
14 |
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/PlacementModifier.swift:12:27: warning: conformance of 'CGFloat' to 'VectorArithmetic' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
2 | import SwiftUI
3 |
4 | struct PlacementEffect: GeometryEffect {
| `- note: add @available attribute to enclosing struct
5 | var positionX: CGFloat
6 | var positionY: CGFloat
:
8 | var anchorY: CGFloat
9 |
10 | var animatableData: AnimatablePair<AnimatablePair<CGFloat, CGFloat>, AnimatablePair<CGFloat, CGFloat>> {
| `- note: add @available attribute to enclosing property
11 | get {
12 | AnimatablePair(AnimatablePair(positionX, positionY), AnimatablePair(anchorX, anchorY))
| |- warning: conformance of 'CGFloat' to 'VectorArithmetic' 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
13 | }
14 |
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/PlacementModifier.swift:12:27: warning: conformance of 'CGFloat' to 'VectorArithmetic' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
2 | import SwiftUI
3 |
4 | struct PlacementEffect: GeometryEffect {
| `- note: add @available attribute to enclosing struct
5 | var positionX: CGFloat
6 | var positionY: CGFloat
:
8 | var anchorY: CGFloat
9 |
10 | var animatableData: AnimatablePair<AnimatablePair<CGFloat, CGFloat>, AnimatablePair<CGFloat, CGFloat>> {
| `- note: add @available attribute to enclosing property
11 | get {
12 | AnimatablePair(AnimatablePair(positionX, positionY), AnimatablePair(anchorX, anchorY))
| |- warning: conformance of 'CGFloat' to 'VectorArithmetic' 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
13 | }
14 |
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/PlacementModifier.swift:12:65: error: 'AnimatablePair' is only available in macOS 10.15 or newer
2 | import SwiftUI
3 |
4 | struct PlacementEffect: GeometryEffect {
| `- note: add @available attribute to enclosing struct
5 | var positionX: CGFloat
6 | var positionY: CGFloat
:
8 | var anchorY: CGFloat
9 |
10 | var animatableData: AnimatablePair<AnimatablePair<CGFloat, CGFloat>, AnimatablePair<CGFloat, CGFloat>> {
| `- note: add @available attribute to enclosing property
11 | get {
12 | AnimatablePair(AnimatablePair(positionX, positionY), AnimatablePair(anchorX, anchorY))
| |- error: 'AnimatablePair' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
13 | }
14 |
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/PlacementModifier.swift:12:65: warning: conformance of 'CGFloat' to 'VectorArithmetic' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
2 | import SwiftUI
3 |
4 | struct PlacementEffect: GeometryEffect {
| `- note: add @available attribute to enclosing struct
5 | var positionX: CGFloat
6 | var positionY: CGFloat
:
8 | var anchorY: CGFloat
9 |
10 | var animatableData: AnimatablePair<AnimatablePair<CGFloat, CGFloat>, AnimatablePair<CGFloat, CGFloat>> {
| `- note: add @available attribute to enclosing property
11 | get {
12 | AnimatablePair(AnimatablePair(positionX, positionY), AnimatablePair(anchorX, anchorY))
| |- warning: conformance of 'CGFloat' to 'VectorArithmetic' 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
13 | }
14 |
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/PlacementModifier.swift:12:65: warning: conformance of 'CGFloat' to 'VectorArithmetic' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
2 | import SwiftUI
3 |
4 | struct PlacementEffect: GeometryEffect {
| `- note: add @available attribute to enclosing struct
5 | var positionX: CGFloat
6 | var positionY: CGFloat
:
8 | var anchorY: CGFloat
9 |
10 | var animatableData: AnimatablePair<AnimatablePair<CGFloat, CGFloat>, AnimatablePair<CGFloat, CGFloat>> {
| `- note: add @available attribute to enclosing property
11 | get {
12 | AnimatablePair(AnimatablePair(positionX, positionY), AnimatablePair(anchorX, anchorY))
| |- warning: conformance of 'CGFloat' to 'VectorArithmetic' 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
13 | }
14 |
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/PlacementModifier.swift:16:34: warning: conformance of 'CGFloat' to 'VectorArithmetic' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
2 | import SwiftUI
3 |
4 | struct PlacementEffect: GeometryEffect {
| `- note: add @available attribute to enclosing struct
5 | var positionX: CGFloat
6 | var positionY: CGFloat
:
8 | var anchorY: CGFloat
9 |
10 | var animatableData: AnimatablePair<AnimatablePair<CGFloat, CGFloat>, AnimatablePair<CGFloat, CGFloat>> {
| `- note: add @available attribute to enclosing property
11 | get {
12 | AnimatablePair(AnimatablePair(positionX, positionY), AnimatablePair(anchorX, anchorY))
:
14 |
15 | set {
16 | positionX = newValue.first.first
| |- warning: conformance of 'CGFloat' to 'VectorArithmetic' 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
17 | positionY = newValue.first.second
18 | anchorX = newValue.second.first
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/PlacementModifier.swift:16:34: warning: conformance of 'CGFloat' to 'VectorArithmetic' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
2 | import SwiftUI
3 |
4 | struct PlacementEffect: GeometryEffect {
| `- note: add @available attribute to enclosing struct
5 | var positionX: CGFloat
6 | var positionY: CGFloat
:
8 | var anchorY: CGFloat
9 |
10 | var animatableData: AnimatablePair<AnimatablePair<CGFloat, CGFloat>, AnimatablePair<CGFloat, CGFloat>> {
| `- note: add @available attribute to enclosing property
11 | get {
12 | AnimatablePair(AnimatablePair(positionX, positionY), AnimatablePair(anchorX, anchorY))
:
14 |
15 | set {
16 | positionX = newValue.first.first
| |- warning: conformance of 'CGFloat' to 'VectorArithmetic' 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
17 | positionY = newValue.first.second
18 | anchorX = newValue.second.first
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/PlacementModifier.swift:16:34: warning: conformance of 'CGFloat' to 'VectorArithmetic' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
2 | import SwiftUI
3 |
4 | struct PlacementEffect: GeometryEffect {
| `- note: add @available attribute to enclosing struct
5 | var positionX: CGFloat
6 | var positionY: CGFloat
:
8 | var anchorY: CGFloat
9 |
10 | var animatableData: AnimatablePair<AnimatablePair<CGFloat, CGFloat>, AnimatablePair<CGFloat, CGFloat>> {
| `- note: add @available attribute to enclosing property
11 | get {
12 | AnimatablePair(AnimatablePair(positionX, positionY), AnimatablePair(anchorX, anchorY))
:
14 |
15 | set {
16 | positionX = newValue.first.first
| |- warning: conformance of 'CGFloat' to 'VectorArithmetic' 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
17 | positionY = newValue.first.second
18 | anchorX = newValue.second.first
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/PlacementModifier.swift:16:34: warning: conformance of 'CGFloat' to 'VectorArithmetic' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
2 | import SwiftUI
3 |
4 | struct PlacementEffect: GeometryEffect {
| `- note: add @available attribute to enclosing struct
5 | var positionX: CGFloat
6 | var positionY: CGFloat
:
8 | var anchorY: CGFloat
9 |
10 | var animatableData: AnimatablePair<AnimatablePair<CGFloat, CGFloat>, AnimatablePair<CGFloat, CGFloat>> {
| `- note: add @available attribute to enclosing property
11 | get {
12 | AnimatablePair(AnimatablePair(positionX, positionY), AnimatablePair(anchorX, anchorY))
:
14 |
15 | set {
16 | positionX = newValue.first.first
| |- warning: conformance of 'CGFloat' to 'VectorArithmetic' 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
17 | positionY = newValue.first.second
18 | anchorX = newValue.second.first
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/PlacementModifier.swift:16:40: warning: conformance of 'CGFloat' to 'VectorArithmetic' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
2 | import SwiftUI
3 |
4 | struct PlacementEffect: GeometryEffect {
| `- note: add @available attribute to enclosing struct
5 | var positionX: CGFloat
6 | var positionY: CGFloat
:
8 | var anchorY: CGFloat
9 |
10 | var animatableData: AnimatablePair<AnimatablePair<CGFloat, CGFloat>, AnimatablePair<CGFloat, CGFloat>> {
| `- note: add @available attribute to enclosing property
11 | get {
12 | AnimatablePair(AnimatablePair(positionX, positionY), AnimatablePair(anchorX, anchorY))
:
14 |
15 | set {
16 | positionX = newValue.first.first
| |- warning: conformance of 'CGFloat' to 'VectorArithmetic' 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
17 | positionY = newValue.first.second
18 | anchorX = newValue.second.first
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/PlacementModifier.swift:16:40: warning: conformance of 'CGFloat' to 'VectorArithmetic' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
2 | import SwiftUI
3 |
4 | struct PlacementEffect: GeometryEffect {
| `- note: add @available attribute to enclosing struct
5 | var positionX: CGFloat
6 | var positionY: CGFloat
:
8 | var anchorY: CGFloat
9 |
10 | var animatableData: AnimatablePair<AnimatablePair<CGFloat, CGFloat>, AnimatablePair<CGFloat, CGFloat>> {
| `- note: add @available attribute to enclosing property
11 | get {
12 | AnimatablePair(AnimatablePair(positionX, positionY), AnimatablePair(anchorX, anchorY))
:
14 |
15 | set {
16 | positionX = newValue.first.first
| |- warning: conformance of 'CGFloat' to 'VectorArithmetic' 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
17 | positionY = newValue.first.second
18 | anchorX = newValue.second.first
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/PlacementModifier.swift:17:34: warning: conformance of 'CGFloat' to 'VectorArithmetic' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
2 | import SwiftUI
3 |
4 | struct PlacementEffect: GeometryEffect {
| `- note: add @available attribute to enclosing struct
5 | var positionX: CGFloat
6 | var positionY: CGFloat
:
8 | var anchorY: CGFloat
9 |
10 | var animatableData: AnimatablePair<AnimatablePair<CGFloat, CGFloat>, AnimatablePair<CGFloat, CGFloat>> {
| `- note: add @available attribute to enclosing property
11 | get {
12 | AnimatablePair(AnimatablePair(positionX, positionY), AnimatablePair(anchorX, anchorY))
:
15 | set {
16 | positionX = newValue.first.first
17 | positionY = newValue.first.second
| |- warning: conformance of 'CGFloat' to 'VectorArithmetic' 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
18 | anchorX = newValue.second.first
19 | anchorY = newValue.second.second
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/PlacementModifier.swift:17:34: warning: conformance of 'CGFloat' to 'VectorArithmetic' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
2 | import SwiftUI
3 |
4 | struct PlacementEffect: GeometryEffect {
| `- note: add @available attribute to enclosing struct
5 | var positionX: CGFloat
6 | var positionY: CGFloat
:
8 | var anchorY: CGFloat
9 |
10 | var animatableData: AnimatablePair<AnimatablePair<CGFloat, CGFloat>, AnimatablePair<CGFloat, CGFloat>> {
| `- note: add @available attribute to enclosing property
11 | get {
12 | AnimatablePair(AnimatablePair(positionX, positionY), AnimatablePair(anchorX, anchorY))
:
15 | set {
16 | positionX = newValue.first.first
17 | positionY = newValue.first.second
| |- warning: conformance of 'CGFloat' to 'VectorArithmetic' 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
18 | anchorX = newValue.second.first
19 | anchorY = newValue.second.second
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/PlacementModifier.swift:17:34: warning: conformance of 'CGFloat' to 'VectorArithmetic' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
2 | import SwiftUI
3 |
4 | struct PlacementEffect: GeometryEffect {
| `- note: add @available attribute to enclosing struct
5 | var positionX: CGFloat
6 | var positionY: CGFloat
:
8 | var anchorY: CGFloat
9 |
10 | var animatableData: AnimatablePair<AnimatablePair<CGFloat, CGFloat>, AnimatablePair<CGFloat, CGFloat>> {
| `- note: add @available attribute to enclosing property
11 | get {
12 | AnimatablePair(AnimatablePair(positionX, positionY), AnimatablePair(anchorX, anchorY))
:
15 | set {
16 | positionX = newValue.first.first
17 | positionY = newValue.first.second
| |- warning: conformance of 'CGFloat' to 'VectorArithmetic' 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
18 | anchorX = newValue.second.first
19 | anchorY = newValue.second.second
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/PlacementModifier.swift:17:34: warning: conformance of 'CGFloat' to 'VectorArithmetic' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
2 | import SwiftUI
3 |
4 | struct PlacementEffect: GeometryEffect {
| `- note: add @available attribute to enclosing struct
5 | var positionX: CGFloat
6 | var positionY: CGFloat
:
8 | var anchorY: CGFloat
9 |
10 | var animatableData: AnimatablePair<AnimatablePair<CGFloat, CGFloat>, AnimatablePair<CGFloat, CGFloat>> {
| `- note: add @available attribute to enclosing property
11 | get {
12 | AnimatablePair(AnimatablePair(positionX, positionY), AnimatablePair(anchorX, anchorY))
:
15 | set {
16 | positionX = newValue.first.first
17 | positionY = newValue.first.second
| |- warning: conformance of 'CGFloat' to 'VectorArithmetic' 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
18 | anchorX = newValue.second.first
19 | anchorY = newValue.second.second
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/PlacementModifier.swift:17:40: warning: conformance of 'CGFloat' to 'VectorArithmetic' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
2 | import SwiftUI
3 |
4 | struct PlacementEffect: GeometryEffect {
| `- note: add @available attribute to enclosing struct
5 | var positionX: CGFloat
6 | var positionY: CGFloat
:
8 | var anchorY: CGFloat
9 |
10 | var animatableData: AnimatablePair<AnimatablePair<CGFloat, CGFloat>, AnimatablePair<CGFloat, CGFloat>> {
| `- note: add @available attribute to enclosing property
11 | get {
12 | AnimatablePair(AnimatablePair(positionX, positionY), AnimatablePair(anchorX, anchorY))
:
15 | set {
16 | positionX = newValue.first.first
17 | positionY = newValue.first.second
| |- warning: conformance of 'CGFloat' to 'VectorArithmetic' 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
18 | anchorX = newValue.second.first
19 | anchorY = newValue.second.second
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/PlacementModifier.swift:17:40: warning: conformance of 'CGFloat' to 'VectorArithmetic' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
2 | import SwiftUI
3 |
4 | struct PlacementEffect: GeometryEffect {
| `- note: add @available attribute to enclosing struct
5 | var positionX: CGFloat
6 | var positionY: CGFloat
:
8 | var anchorY: CGFloat
9 |
10 | var animatableData: AnimatablePair<AnimatablePair<CGFloat, CGFloat>, AnimatablePair<CGFloat, CGFloat>> {
| `- note: add @available attribute to enclosing property
11 | get {
12 | AnimatablePair(AnimatablePair(positionX, positionY), AnimatablePair(anchorX, anchorY))
:
15 | set {
16 | positionX = newValue.first.first
17 | positionY = newValue.first.second
| |- warning: conformance of 'CGFloat' to 'VectorArithmetic' 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
18 | anchorX = newValue.second.first
19 | anchorY = newValue.second.second
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/PlacementModifier.swift:18:32: warning: conformance of 'CGFloat' to 'VectorArithmetic' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
2 | import SwiftUI
3 |
4 | struct PlacementEffect: GeometryEffect {
| `- note: add @available attribute to enclosing struct
5 | var positionX: CGFloat
6 | var positionY: CGFloat
:
8 | var anchorY: CGFloat
9 |
10 | var animatableData: AnimatablePair<AnimatablePair<CGFloat, CGFloat>, AnimatablePair<CGFloat, CGFloat>> {
| `- note: add @available attribute to enclosing property
11 | get {
12 | AnimatablePair(AnimatablePair(positionX, positionY), AnimatablePair(anchorX, anchorY))
:
16 | positionX = newValue.first.first
17 | positionY = newValue.first.second
18 | anchorX = newValue.second.first
| |- warning: conformance of 'CGFloat' to 'VectorArithmetic' 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
19 | anchorY = newValue.second.second
20 | }
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/PlacementModifier.swift:18:32: warning: conformance of 'CGFloat' to 'VectorArithmetic' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
2 | import SwiftUI
3 |
4 | struct PlacementEffect: GeometryEffect {
| `- note: add @available attribute to enclosing struct
5 | var positionX: CGFloat
6 | var positionY: CGFloat
:
8 | var anchorY: CGFloat
9 |
10 | var animatableData: AnimatablePair<AnimatablePair<CGFloat, CGFloat>, AnimatablePair<CGFloat, CGFloat>> {
| `- note: add @available attribute to enclosing property
11 | get {
12 | AnimatablePair(AnimatablePair(positionX, positionY), AnimatablePair(anchorX, anchorY))
:
16 | positionX = newValue.first.first
17 | positionY = newValue.first.second
18 | anchorX = newValue.second.first
| |- warning: conformance of 'CGFloat' to 'VectorArithmetic' 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
19 | anchorY = newValue.second.second
20 | }
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/PlacementModifier.swift:18:32: warning: conformance of 'CGFloat' to 'VectorArithmetic' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
2 | import SwiftUI
3 |
4 | struct PlacementEffect: GeometryEffect {
| `- note: add @available attribute to enclosing struct
5 | var positionX: CGFloat
6 | var positionY: CGFloat
:
8 | var anchorY: CGFloat
9 |
10 | var animatableData: AnimatablePair<AnimatablePair<CGFloat, CGFloat>, AnimatablePair<CGFloat, CGFloat>> {
| `- note: add @available attribute to enclosing property
11 | get {
12 | AnimatablePair(AnimatablePair(positionX, positionY), AnimatablePair(anchorX, anchorY))
:
16 | positionX = newValue.first.first
17 | positionY = newValue.first.second
18 | anchorX = newValue.second.first
| |- warning: conformance of 'CGFloat' to 'VectorArithmetic' 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
19 | anchorY = newValue.second.second
20 | }
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/PlacementModifier.swift:18:32: warning: conformance of 'CGFloat' to 'VectorArithmetic' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
2 | import SwiftUI
3 |
4 | struct PlacementEffect: GeometryEffect {
| `- note: add @available attribute to enclosing struct
5 | var positionX: CGFloat
6 | var positionY: CGFloat
:
8 | var anchorY: CGFloat
9 |
10 | var animatableData: AnimatablePair<AnimatablePair<CGFloat, CGFloat>, AnimatablePair<CGFloat, CGFloat>> {
| `- note: add @available attribute to enclosing property
11 | get {
12 | AnimatablePair(AnimatablePair(positionX, positionY), AnimatablePair(anchorX, anchorY))
:
16 | positionX = newValue.first.first
17 | positionY = newValue.first.second
18 | anchorX = newValue.second.first
| |- warning: conformance of 'CGFloat' to 'VectorArithmetic' 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
19 | anchorY = newValue.second.second
20 | }
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/PlacementModifier.swift:18:39: warning: conformance of 'CGFloat' to 'VectorArithmetic' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
2 | import SwiftUI
3 |
4 | struct PlacementEffect: GeometryEffect {
| `- note: add @available attribute to enclosing struct
5 | var positionX: CGFloat
6 | var positionY: CGFloat
:
8 | var anchorY: CGFloat
9 |
10 | var animatableData: AnimatablePair<AnimatablePair<CGFloat, CGFloat>, AnimatablePair<CGFloat, CGFloat>> {
| `- note: add @available attribute to enclosing property
11 | get {
12 | AnimatablePair(AnimatablePair(positionX, positionY), AnimatablePair(anchorX, anchorY))
:
16 | positionX = newValue.first.first
17 | positionY = newValue.first.second
18 | anchorX = newValue.second.first
| |- warning: conformance of 'CGFloat' to 'VectorArithmetic' 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
19 | anchorY = newValue.second.second
20 | }
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/PlacementModifier.swift:18:39: warning: conformance of 'CGFloat' to 'VectorArithmetic' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
2 | import SwiftUI
3 |
4 | struct PlacementEffect: GeometryEffect {
| `- note: add @available attribute to enclosing struct
5 | var positionX: CGFloat
6 | var positionY: CGFloat
:
8 | var anchorY: CGFloat
9 |
10 | var animatableData: AnimatablePair<AnimatablePair<CGFloat, CGFloat>, AnimatablePair<CGFloat, CGFloat>> {
| `- note: add @available attribute to enclosing property
11 | get {
12 | AnimatablePair(AnimatablePair(positionX, positionY), AnimatablePair(anchorX, anchorY))
:
16 | positionX = newValue.first.first
17 | positionY = newValue.first.second
18 | anchorX = newValue.second.first
| |- warning: conformance of 'CGFloat' to 'VectorArithmetic' 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
19 | anchorY = newValue.second.second
20 | }
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/PlacementModifier.swift:19:32: warning: conformance of 'CGFloat' to 'VectorArithmetic' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
2 | import SwiftUI
3 |
4 | struct PlacementEffect: GeometryEffect {
| `- note: add @available attribute to enclosing struct
5 | var positionX: CGFloat
6 | var positionY: CGFloat
:
8 | var anchorY: CGFloat
9 |
10 | var animatableData: AnimatablePair<AnimatablePair<CGFloat, CGFloat>, AnimatablePair<CGFloat, CGFloat>> {
| `- note: add @available attribute to enclosing property
11 | get {
12 | AnimatablePair(AnimatablePair(positionX, positionY), AnimatablePair(anchorX, anchorY))
:
17 | positionY = newValue.first.second
18 | anchorX = newValue.second.first
19 | anchorY = newValue.second.second
| |- warning: conformance of 'CGFloat' to 'VectorArithmetic' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
20 | }
21 | }
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/PlacementModifier.swift:19:32: warning: conformance of 'CGFloat' to 'VectorArithmetic' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
2 | import SwiftUI
3 |
4 | struct PlacementEffect: GeometryEffect {
| `- note: add @available attribute to enclosing struct
5 | var positionX: CGFloat
6 | var positionY: CGFloat
:
8 | var anchorY: CGFloat
9 |
10 | var animatableData: AnimatablePair<AnimatablePair<CGFloat, CGFloat>, AnimatablePair<CGFloat, CGFloat>> {
| `- note: add @available attribute to enclosing property
11 | get {
12 | AnimatablePair(AnimatablePair(positionX, positionY), AnimatablePair(anchorX, anchorY))
:
17 | positionY = newValue.first.second
18 | anchorX = newValue.second.first
19 | anchorY = newValue.second.second
| |- warning: conformance of 'CGFloat' to 'VectorArithmetic' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
20 | }
21 | }
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/PlacementModifier.swift:19:32: warning: conformance of 'CGFloat' to 'VectorArithmetic' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
2 | import SwiftUI
3 |
4 | struct PlacementEffect: GeometryEffect {
| `- note: add @available attribute to enclosing struct
5 | var positionX: CGFloat
6 | var positionY: CGFloat
:
8 | var anchorY: CGFloat
9 |
10 | var animatableData: AnimatablePair<AnimatablePair<CGFloat, CGFloat>, AnimatablePair<CGFloat, CGFloat>> {
| `- note: add @available attribute to enclosing property
11 | get {
12 | AnimatablePair(AnimatablePair(positionX, positionY), AnimatablePair(anchorX, anchorY))
:
17 | positionY = newValue.first.second
18 | anchorX = newValue.second.first
19 | anchorY = newValue.second.second
| |- warning: conformance of 'CGFloat' to 'VectorArithmetic' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
20 | }
21 | }
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/PlacementModifier.swift:19:32: warning: conformance of 'CGFloat' to 'VectorArithmetic' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
2 | import SwiftUI
3 |
4 | struct PlacementEffect: GeometryEffect {
| `- note: add @available attribute to enclosing struct
5 | var positionX: CGFloat
6 | var positionY: CGFloat
:
8 | var anchorY: CGFloat
9 |
10 | var animatableData: AnimatablePair<AnimatablePair<CGFloat, CGFloat>, AnimatablePair<CGFloat, CGFloat>> {
| `- note: add @available attribute to enclosing property
11 | get {
12 | AnimatablePair(AnimatablePair(positionX, positionY), AnimatablePair(anchorX, anchorY))
:
17 | positionY = newValue.first.second
18 | anchorX = newValue.second.first
19 | anchorY = newValue.second.second
| |- warning: conformance of 'CGFloat' to 'VectorArithmetic' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
20 | }
21 | }
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/PlacementModifier.swift:19:39: warning: conformance of 'CGFloat' to 'VectorArithmetic' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
2 | import SwiftUI
3 |
4 | struct PlacementEffect: GeometryEffect {
| `- note: add @available attribute to enclosing struct
5 | var positionX: CGFloat
6 | var positionY: CGFloat
:
8 | var anchorY: CGFloat
9 |
10 | var animatableData: AnimatablePair<AnimatablePair<CGFloat, CGFloat>, AnimatablePair<CGFloat, CGFloat>> {
| `- note: add @available attribute to enclosing property
11 | get {
12 | AnimatablePair(AnimatablePair(positionX, positionY), AnimatablePair(anchorX, anchorY))
:
17 | positionY = newValue.first.second
18 | anchorX = newValue.second.first
19 | anchorY = newValue.second.second
| |- warning: conformance of 'CGFloat' to 'VectorArithmetic' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
20 | }
21 | }
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/PlacementModifier.swift:19:39: warning: conformance of 'CGFloat' to 'VectorArithmetic' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
2 | import SwiftUI
3 |
4 | struct PlacementEffect: GeometryEffect {
| `- note: add @available attribute to enclosing struct
5 | var positionX: CGFloat
6 | var positionY: CGFloat
:
8 | var anchorY: CGFloat
9 |
10 | var animatableData: AnimatablePair<AnimatablePair<CGFloat, CGFloat>, AnimatablePair<CGFloat, CGFloat>> {
| `- note: add @available attribute to enclosing property
11 | get {
12 | AnimatablePair(AnimatablePair(positionX, positionY), AnimatablePair(anchorX, anchorY))
:
17 | positionY = newValue.first.second
18 | anchorX = newValue.second.first
19 | anchorY = newValue.second.second
| |- warning: conformance of 'CGFloat' to 'VectorArithmetic' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
20 | }
21 | }
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/PlacementModifier.swift:29:16: error: 'ProjectionTransform' is only available in macOS 10.15 or newer
2 | import SwiftUI
3 |
4 | struct PlacementEffect: GeometryEffect {
| `- note: add @available attribute to enclosing struct
5 | var positionX: CGFloat
6 | var positionY: CGFloat
:
21 | }
22 |
23 | func effectValue(size: CGSize) -> ProjectionTransform {
| `- note: add @available attribute to enclosing instance method
24 | let anchorPointY = size.height * anchorY
25 | let translationY = positionY - anchorPointY
:
27 | let translationX = positionX - anchorPointX
28 |
29 | return ProjectionTransform(CGAffineTransform(
| |- error: 'ProjectionTransform' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
30 | translationX: translationX,
31 | y: translationY
/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/PlacementModifier.swift:50:14: error: value of type 'LayoutChildSizingView<L>' has no member 'allowsHitTesting'
48 | children: children
49 | )
50 | .allowsHitTesting(false)
| `- error: value of type 'LayoutChildSizingView<L>' has no member 'allowsHitTesting'
51 | .overlay(
52 | content
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/PlacementModifier.swift:84:26: error: cannot infer contextual base in reference to member 'opacity'
82 | }
83 | }
84 | .transition(.opacity)
| `- error: cannot infer contextual base in reference to member 'opacity'
85 | }
86 | }
[27/32] Compiling Placement PlacementThatFitsCoordinator.swift
/Users/admin/builder/spi-builder-workspace/Sources/Placement/PlacementThatFits/PlacementThatFitsCoordinator.swift:11:37: error: 'ObservableObject' is only available in macOS 10.15 or newer
9 | import SwiftUI
10 |
11 | class PlacementThatFitsCoordinator: ObservableObject {
| | `- error: 'ObservableObject' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing class
12 | var indexToPlace: Int? = nil
13 | }
/Users/admin/builder/spi-builder-workspace/Sources/Placement/PlacementThatFits/PlacementThatFitsLayout.swift:18:22: error: 'Axis' is only available in macOS 10.15 or newer
9 | import SwiftUI
10 |
11 | struct PlacementThatFitsLayout: PlacementLayout {
| `- note: add @available attribute to enclosing struct
12 | var coordinator: PlacementThatFitsCoordinator
13 |
:
16 | }
17 |
18 | public var axes: Axis.Set
| `- error: 'Axis' is only available in macOS 10.15 or newer
19 |
20 | func placeSubviews(in bounds: CGRect, proposal: PlacementProposedViewSize, subviews: PlacementLayoutSubviews, cache: inout Void) {
/Users/admin/builder/spi-builder-workspace/Sources/Placement/PlacementThatFits/PlacementThatFitsVariadicRoot.swift:15:25: error: '_VariadicView' is only available in macOS 10.15 or newer
9 | import SwiftUI
10 |
11 | struct PlacementThatFitsVariadicRoot: _VariadicView_MultiViewRoot {
| `- note: add @available attribute to enclosing struct
12 | var coordinator: PlacementThatFitsCoordinator
13 |
14 | @ViewBuilder
15 | func body(children: _VariadicView.Children) -> some View {
| | `- error: '_VariadicView' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing instance method
16 | ForEach(children) { child in
17 | let index = children.firstIndex { $0.id == child.id }
/Users/admin/builder/spi-builder-workspace/Sources/Placement/PlacementThatFits/PlacementThatFitsVariadicRoot.swift:15:57: error: 'View' is only available in macOS 10.15 or newer
9 | import SwiftUI
10 |
11 | struct PlacementThatFitsVariadicRoot: _VariadicView_MultiViewRoot {
| `- note: add @available attribute to enclosing struct
12 | var coordinator: PlacementThatFitsCoordinator
13 |
14 | @ViewBuilder
15 | func body(children: _VariadicView.Children) -> some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing instance method
16 | ForEach(children) { child in
17 | let index = children.firstIndex { $0.id == child.id }
/Users/admin/builder/spi-builder-workspace/Sources/Placement/PlacementThatFits/PlacementThatFitsVariadicRoot.swift:14:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
9 | import SwiftUI
10 |
11 | struct PlacementThatFitsVariadicRoot: _VariadicView_MultiViewRoot {
| `- note: add @available attribute to enclosing struct
12 | var coordinator: PlacementThatFitsCoordinator
13 |
14 | @ViewBuilder
| `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
15 | func body(children: _VariadicView.Children) -> some View {
| `- note: add @available attribute to enclosing instance method
16 | ForEach(children) { child in
17 | let index = children.firstIndex { $0.id == child.id }
/Users/admin/builder/spi-builder-workspace/Sources/Placement/PlacementThatFits/PlacementThatFitsVariadicRoot.swift:16:9: error: 'buildExpression' is unavailable: this expression does not conform to 'View'
14 | @ViewBuilder
15 | func body(children: _VariadicView.Children) -> some View {
16 | ForEach(children) { child in
| `- error: 'buildExpression' is unavailable: this expression does not conform to 'View'
17 | let index = children.firstIndex { $0.id == child.id }
18 | child
SwiftUICore.ViewBuilder:5:24: note: 'buildExpression' has been explicitly marked unavailable here
3 | public static func buildExpression<Content>(_ content: Content) -> Content where Content : View
4 | @available(*, unavailable, message: "this expression does not conform to 'View'")
5 | public static func buildExpression(_ invalid: Any) -> some View
| `- note: 'buildExpression' has been explicitly marked unavailable here
6 |
7 | public static func buildBlock() -> EmptyView
/Users/admin/builder/spi-builder-workspace/Sources/Placement/PlacementThatFits/PlacementThatFitsVariadicRoot.swift:16:9: error: 'ForEach' is only available in macOS 10.15 or newer
9 | import SwiftUI
10 |
11 | struct PlacementThatFitsVariadicRoot: _VariadicView_MultiViewRoot {
| `- note: add @available attribute to enclosing struct
12 | var coordinator: PlacementThatFitsCoordinator
13 |
14 | @ViewBuilder
15 | func body(children: _VariadicView.Children) -> some View {
| `- note: add @available attribute to enclosing instance method
16 | ForEach(children) { child in
| |- error: 'ForEach' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
17 | let index = children.firstIndex { $0.id == child.id }
18 | child
/Users/admin/builder/spi-builder-workspace/Sources/Placement/PlacementThatFits/PlacementThatFitsVariadicRoot.swift:16:9: error: 'init(_:content:)' is only available in macOS 12.0 or newer
9 | import SwiftUI
10 |
11 | struct PlacementThatFitsVariadicRoot: _VariadicView_MultiViewRoot {
| `- note: add @available attribute to enclosing struct
12 | var coordinator: PlacementThatFitsCoordinator
13 |
14 | @ViewBuilder
15 | func body(children: _VariadicView.Children) -> some View {
| `- note: add @available attribute to enclosing instance method
16 | ForEach(children) { child in
| |- error: 'init(_:content:)' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
17 | let index = children.firstIndex { $0.id == child.id }
18 | child
/Users/admin/builder/spi-builder-workspace/Sources/Placement/PlacementThatFits/PlacementThatFitsVariadicRoot.swift:17:34: 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
9 | import SwiftUI
10 |
11 | struct PlacementThatFitsVariadicRoot: _VariadicView_MultiViewRoot {
| `- note: add @available attribute to enclosing struct
12 | var coordinator: PlacementThatFitsCoordinator
13 |
14 | @ViewBuilder
15 | func body(children: _VariadicView.Children) -> some View {
| `- note: add @available attribute to enclosing instance method
16 | ForEach(children) { child in
17 | let index = children.firstIndex { $0.id == child.id }
| |- 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
18 | child
19 | .fixedSize()
/Users/admin/builder/spi-builder-workspace/Sources/Placement/PlacementThatFits/PlacementThatFitsVariadicRoot.swift:18:13: error: 'buildExpression' is unavailable: this expression does not conform to 'AccessibilityRotorContent'
16 | ForEach(children) { child in
17 | let index = children.firstIndex { $0.id == child.id }
18 | child
| `- error: 'buildExpression' is unavailable: this expression does not conform to 'AccessibilityRotorContent'
19 | .fixedSize()
20 | .modifier(PlacementThatFitsChildModifier(index: index, coordinator: coordinator))
SwiftUI.AccessibilityRotorContentBuilder:5:24: note: 'buildExpression' has been explicitly marked unavailable here
3 | public static func buildExpression<Content>(_ content: Content) -> Content where Content : AccessibilityRotorContent
4 | @available(*, unavailable, message: "this expression does not conform to 'AccessibilityRotorContent'")
5 | public static func buildExpression(_ invalid: Any) -> some AccessibilityRotorContent
| `- note: 'buildExpression' has been explicitly marked unavailable here
6 |
7 | public static func buildBlock<Content>(_ content: Content) -> some AccessibilityRotorContent where Content : AccessibilityRotorContent
/Users/admin/builder/spi-builder-workspace/Sources/Placement/PlacementThatFits/PlacementThatFitsVariadicRoot.swift:19:18: error: 'fixedSize()' is only available in macOS 10.15 or newer
9 | import SwiftUI
10 |
11 | struct PlacementThatFitsVariadicRoot: _VariadicView_MultiViewRoot {
| `- note: add @available attribute to enclosing struct
12 | var coordinator: PlacementThatFitsCoordinator
13 |
14 | @ViewBuilder
15 | func body(children: _VariadicView.Children) -> some View {
| `- note: add @available attribute to enclosing instance method
16 | ForEach(children) { child in
17 | let index = children.firstIndex { $0.id == child.id }
18 | child
19 | .fixedSize()
| |- error: 'fixedSize()' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
20 | .modifier(PlacementThatFitsChildModifier(index: index, coordinator: coordinator))
21 | }
/Users/admin/builder/spi-builder-workspace/Sources/Placement/PlacementThatFits/PlacementThatFitsVariadicRoot.swift:20:18: error: 'modifier' is only available in macOS 10.15 or newer
9 | import SwiftUI
10 |
11 | struct PlacementThatFitsVariadicRoot: _VariadicView_MultiViewRoot {
| `- note: add @available attribute to enclosing struct
12 | var coordinator: PlacementThatFitsCoordinator
13 |
14 | @ViewBuilder
15 | func body(children: _VariadicView.Children) -> some View {
| `- note: add @available attribute to enclosing instance method
16 | ForEach(children) { child in
17 | let index = children.firstIndex { $0.id == child.id }
18 | child
19 | .fixedSize()
20 | .modifier(PlacementThatFitsChildModifier(index: index, coordinator: coordinator))
| |- error: 'modifier' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
21 | }
22 | }
[28/32] Compiling Placement PlacementThatFitsLayout.swift
/Users/admin/builder/spi-builder-workspace/Sources/Placement/PlacementThatFits/PlacementThatFitsCoordinator.swift:11:37: error: 'ObservableObject' is only available in macOS 10.15 or newer
9 | import SwiftUI
10 |
11 | class PlacementThatFitsCoordinator: ObservableObject {
| | `- error: 'ObservableObject' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing class
12 | var indexToPlace: Int? = nil
13 | }
/Users/admin/builder/spi-builder-workspace/Sources/Placement/PlacementThatFits/PlacementThatFitsLayout.swift:18:22: error: 'Axis' is only available in macOS 10.15 or newer
9 | import SwiftUI
10 |
11 | struct PlacementThatFitsLayout: PlacementLayout {
| `- note: add @available attribute to enclosing struct
12 | var coordinator: PlacementThatFitsCoordinator
13 |
:
16 | }
17 |
18 | public var axes: Axis.Set
| `- error: 'Axis' is only available in macOS 10.15 or newer
19 |
20 | func placeSubviews(in bounds: CGRect, proposal: PlacementProposedViewSize, subviews: PlacementLayoutSubviews, cache: inout Void) {
/Users/admin/builder/spi-builder-workspace/Sources/Placement/PlacementThatFits/PlacementThatFitsVariadicRoot.swift:15:25: error: '_VariadicView' is only available in macOS 10.15 or newer
9 | import SwiftUI
10 |
11 | struct PlacementThatFitsVariadicRoot: _VariadicView_MultiViewRoot {
| `- note: add @available attribute to enclosing struct
12 | var coordinator: PlacementThatFitsCoordinator
13 |
14 | @ViewBuilder
15 | func body(children: _VariadicView.Children) -> some View {
| | `- error: '_VariadicView' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing instance method
16 | ForEach(children) { child in
17 | let index = children.firstIndex { $0.id == child.id }
/Users/admin/builder/spi-builder-workspace/Sources/Placement/PlacementThatFits/PlacementThatFitsVariadicRoot.swift:15:57: error: 'View' is only available in macOS 10.15 or newer
9 | import SwiftUI
10 |
11 | struct PlacementThatFitsVariadicRoot: _VariadicView_MultiViewRoot {
| `- note: add @available attribute to enclosing struct
12 | var coordinator: PlacementThatFitsCoordinator
13 |
14 | @ViewBuilder
15 | func body(children: _VariadicView.Children) -> some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing instance method
16 | ForEach(children) { child in
17 | let index = children.firstIndex { $0.id == child.id }
/Users/admin/builder/spi-builder-workspace/Sources/Placement/PlacementThatFits/PlacementThatFitsVariadicRoot.swift:14:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
9 | import SwiftUI
10 |
11 | struct PlacementThatFitsVariadicRoot: _VariadicView_MultiViewRoot {
| `- note: add @available attribute to enclosing struct
12 | var coordinator: PlacementThatFitsCoordinator
13 |
14 | @ViewBuilder
| `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
15 | func body(children: _VariadicView.Children) -> some View {
| `- note: add @available attribute to enclosing instance method
16 | ForEach(children) { child in
17 | let index = children.firstIndex { $0.id == child.id }
/Users/admin/builder/spi-builder-workspace/Sources/Placement/PlacementThatFits/PlacementThatFitsVariadicRoot.swift:16:9: error: 'buildExpression' is unavailable: this expression does not conform to 'View'
14 | @ViewBuilder
15 | func body(children: _VariadicView.Children) -> some View {
16 | ForEach(children) { child in
| `- error: 'buildExpression' is unavailable: this expression does not conform to 'View'
17 | let index = children.firstIndex { $0.id == child.id }
18 | child
SwiftUICore.ViewBuilder:5:24: note: 'buildExpression' has been explicitly marked unavailable here
3 | public static func buildExpression<Content>(_ content: Content) -> Content where Content : View
4 | @available(*, unavailable, message: "this expression does not conform to 'View'")
5 | public static func buildExpression(_ invalid: Any) -> some View
| `- note: 'buildExpression' has been explicitly marked unavailable here
6 |
7 | public static func buildBlock() -> EmptyView
/Users/admin/builder/spi-builder-workspace/Sources/Placement/PlacementThatFits/PlacementThatFitsVariadicRoot.swift:16:9: error: 'ForEach' is only available in macOS 10.15 or newer
9 | import SwiftUI
10 |
11 | struct PlacementThatFitsVariadicRoot: _VariadicView_MultiViewRoot {
| `- note: add @available attribute to enclosing struct
12 | var coordinator: PlacementThatFitsCoordinator
13 |
14 | @ViewBuilder
15 | func body(children: _VariadicView.Children) -> some View {
| `- note: add @available attribute to enclosing instance method
16 | ForEach(children) { child in
| |- error: 'ForEach' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
17 | let index = children.firstIndex { $0.id == child.id }
18 | child
/Users/admin/builder/spi-builder-workspace/Sources/Placement/PlacementThatFits/PlacementThatFitsVariadicRoot.swift:16:9: error: 'init(_:content:)' is only available in macOS 12.0 or newer
9 | import SwiftUI
10 |
11 | struct PlacementThatFitsVariadicRoot: _VariadicView_MultiViewRoot {
| `- note: add @available attribute to enclosing struct
12 | var coordinator: PlacementThatFitsCoordinator
13 |
14 | @ViewBuilder
15 | func body(children: _VariadicView.Children) -> some View {
| `- note: add @available attribute to enclosing instance method
16 | ForEach(children) { child in
| |- error: 'init(_:content:)' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
17 | let index = children.firstIndex { $0.id == child.id }
18 | child
/Users/admin/builder/spi-builder-workspace/Sources/Placement/PlacementThatFits/PlacementThatFitsVariadicRoot.swift:17:34: 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
9 | import SwiftUI
10 |
11 | struct PlacementThatFitsVariadicRoot: _VariadicView_MultiViewRoot {
| `- note: add @available attribute to enclosing struct
12 | var coordinator: PlacementThatFitsCoordinator
13 |
14 | @ViewBuilder
15 | func body(children: _VariadicView.Children) -> some View {
| `- note: add @available attribute to enclosing instance method
16 | ForEach(children) { child in
17 | let index = children.firstIndex { $0.id == child.id }
| |- 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
18 | child
19 | .fixedSize()
/Users/admin/builder/spi-builder-workspace/Sources/Placement/PlacementThatFits/PlacementThatFitsVariadicRoot.swift:18:13: error: 'buildExpression' is unavailable: this expression does not conform to 'AccessibilityRotorContent'
16 | ForEach(children) { child in
17 | let index = children.firstIndex { $0.id == child.id }
18 | child
| `- error: 'buildExpression' is unavailable: this expression does not conform to 'AccessibilityRotorContent'
19 | .fixedSize()
20 | .modifier(PlacementThatFitsChildModifier(index: index, coordinator: coordinator))
SwiftUI.AccessibilityRotorContentBuilder:5:24: note: 'buildExpression' has been explicitly marked unavailable here
3 | public static func buildExpression<Content>(_ content: Content) -> Content where Content : AccessibilityRotorContent
4 | @available(*, unavailable, message: "this expression does not conform to 'AccessibilityRotorContent'")
5 | public static func buildExpression(_ invalid: Any) -> some AccessibilityRotorContent
| `- note: 'buildExpression' has been explicitly marked unavailable here
6 |
7 | public static func buildBlock<Content>(_ content: Content) -> some AccessibilityRotorContent where Content : AccessibilityRotorContent
/Users/admin/builder/spi-builder-workspace/Sources/Placement/PlacementThatFits/PlacementThatFitsVariadicRoot.swift:19:18: error: 'fixedSize()' is only available in macOS 10.15 or newer
9 | import SwiftUI
10 |
11 | struct PlacementThatFitsVariadicRoot: _VariadicView_MultiViewRoot {
| `- note: add @available attribute to enclosing struct
12 | var coordinator: PlacementThatFitsCoordinator
13 |
14 | @ViewBuilder
15 | func body(children: _VariadicView.Children) -> some View {
| `- note: add @available attribute to enclosing instance method
16 | ForEach(children) { child in
17 | let index = children.firstIndex { $0.id == child.id }
18 | child
19 | .fixedSize()
| |- error: 'fixedSize()' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
20 | .modifier(PlacementThatFitsChildModifier(index: index, coordinator: coordinator))
21 | }
/Users/admin/builder/spi-builder-workspace/Sources/Placement/PlacementThatFits/PlacementThatFitsVariadicRoot.swift:20:18: error: 'modifier' is only available in macOS 10.15 or newer
9 | import SwiftUI
10 |
11 | struct PlacementThatFitsVariadicRoot: _VariadicView_MultiViewRoot {
| `- note: add @available attribute to enclosing struct
12 | var coordinator: PlacementThatFitsCoordinator
13 |
14 | @ViewBuilder
15 | func body(children: _VariadicView.Children) -> some View {
| `- note: add @available attribute to enclosing instance method
16 | ForEach(children) { child in
17 | let index = children.firstIndex { $0.id == child.id }
18 | child
19 | .fixedSize()
20 | .modifier(PlacementThatFitsChildModifier(index: index, coordinator: coordinator))
| |- error: 'modifier' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
21 | }
22 | }
[29/32] Compiling Placement PlacementThatFitsVariadicRoot.swift
/Users/admin/builder/spi-builder-workspace/Sources/Placement/PlacementThatFits/PlacementThatFitsCoordinator.swift:11:37: error: 'ObservableObject' is only available in macOS 10.15 or newer
9 | import SwiftUI
10 |
11 | class PlacementThatFitsCoordinator: ObservableObject {
| | `- error: 'ObservableObject' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing class
12 | var indexToPlace: Int? = nil
13 | }
/Users/admin/builder/spi-builder-workspace/Sources/Placement/PlacementThatFits/PlacementThatFitsLayout.swift:18:22: error: 'Axis' is only available in macOS 10.15 or newer
9 | import SwiftUI
10 |
11 | struct PlacementThatFitsLayout: PlacementLayout {
| `- note: add @available attribute to enclosing struct
12 | var coordinator: PlacementThatFitsCoordinator
13 |
:
16 | }
17 |
18 | public var axes: Axis.Set
| `- error: 'Axis' is only available in macOS 10.15 or newer
19 |
20 | func placeSubviews(in bounds: CGRect, proposal: PlacementProposedViewSize, subviews: PlacementLayoutSubviews, cache: inout Void) {
/Users/admin/builder/spi-builder-workspace/Sources/Placement/PlacementThatFits/PlacementThatFitsVariadicRoot.swift:15:25: error: '_VariadicView' is only available in macOS 10.15 or newer
9 | import SwiftUI
10 |
11 | struct PlacementThatFitsVariadicRoot: _VariadicView_MultiViewRoot {
| `- note: add @available attribute to enclosing struct
12 | var coordinator: PlacementThatFitsCoordinator
13 |
14 | @ViewBuilder
15 | func body(children: _VariadicView.Children) -> some View {
| | `- error: '_VariadicView' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing instance method
16 | ForEach(children) { child in
17 | let index = children.firstIndex { $0.id == child.id }
/Users/admin/builder/spi-builder-workspace/Sources/Placement/PlacementThatFits/PlacementThatFitsVariadicRoot.swift:15:57: error: 'View' is only available in macOS 10.15 or newer
9 | import SwiftUI
10 |
11 | struct PlacementThatFitsVariadicRoot: _VariadicView_MultiViewRoot {
| `- note: add @available attribute to enclosing struct
12 | var coordinator: PlacementThatFitsCoordinator
13 |
14 | @ViewBuilder
15 | func body(children: _VariadicView.Children) -> some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing instance method
16 | ForEach(children) { child in
17 | let index = children.firstIndex { $0.id == child.id }
/Users/admin/builder/spi-builder-workspace/Sources/Placement/PlacementThatFits/PlacementThatFitsVariadicRoot.swift:14:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
9 | import SwiftUI
10 |
11 | struct PlacementThatFitsVariadicRoot: _VariadicView_MultiViewRoot {
| `- note: add @available attribute to enclosing struct
12 | var coordinator: PlacementThatFitsCoordinator
13 |
14 | @ViewBuilder
| `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
15 | func body(children: _VariadicView.Children) -> some View {
| `- note: add @available attribute to enclosing instance method
16 | ForEach(children) { child in
17 | let index = children.firstIndex { $0.id == child.id }
/Users/admin/builder/spi-builder-workspace/Sources/Placement/PlacementThatFits/PlacementThatFitsVariadicRoot.swift:16:9: error: 'buildExpression' is unavailable: this expression does not conform to 'View'
14 | @ViewBuilder
15 | func body(children: _VariadicView.Children) -> some View {
16 | ForEach(children) { child in
| `- error: 'buildExpression' is unavailable: this expression does not conform to 'View'
17 | let index = children.firstIndex { $0.id == child.id }
18 | child
SwiftUICore.ViewBuilder:5:24: note: 'buildExpression' has been explicitly marked unavailable here
3 | public static func buildExpression<Content>(_ content: Content) -> Content where Content : View
4 | @available(*, unavailable, message: "this expression does not conform to 'View'")
5 | public static func buildExpression(_ invalid: Any) -> some View
| `- note: 'buildExpression' has been explicitly marked unavailable here
6 |
7 | public static func buildBlock() -> EmptyView
/Users/admin/builder/spi-builder-workspace/Sources/Placement/PlacementThatFits/PlacementThatFitsVariadicRoot.swift:16:9: error: 'ForEach' is only available in macOS 10.15 or newer
9 | import SwiftUI
10 |
11 | struct PlacementThatFitsVariadicRoot: _VariadicView_MultiViewRoot {
| `- note: add @available attribute to enclosing struct
12 | var coordinator: PlacementThatFitsCoordinator
13 |
14 | @ViewBuilder
15 | func body(children: _VariadicView.Children) -> some View {
| `- note: add @available attribute to enclosing instance method
16 | ForEach(children) { child in
| |- error: 'ForEach' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
17 | let index = children.firstIndex { $0.id == child.id }
18 | child
/Users/admin/builder/spi-builder-workspace/Sources/Placement/PlacementThatFits/PlacementThatFitsVariadicRoot.swift:16:9: error: 'init(_:content:)' is only available in macOS 12.0 or newer
9 | import SwiftUI
10 |
11 | struct PlacementThatFitsVariadicRoot: _VariadicView_MultiViewRoot {
| `- note: add @available attribute to enclosing struct
12 | var coordinator: PlacementThatFitsCoordinator
13 |
14 | @ViewBuilder
15 | func body(children: _VariadicView.Children) -> some View {
| `- note: add @available attribute to enclosing instance method
16 | ForEach(children) { child in
| |- error: 'init(_:content:)' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
17 | let index = children.firstIndex { $0.id == child.id }
18 | child
/Users/admin/builder/spi-builder-workspace/Sources/Placement/PlacementThatFits/PlacementThatFitsVariadicRoot.swift:17:34: 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
9 | import SwiftUI
10 |
11 | struct PlacementThatFitsVariadicRoot: _VariadicView_MultiViewRoot {
| `- note: add @available attribute to enclosing struct
12 | var coordinator: PlacementThatFitsCoordinator
13 |
14 | @ViewBuilder
15 | func body(children: _VariadicView.Children) -> some View {
| `- note: add @available attribute to enclosing instance method
16 | ForEach(children) { child in
17 | let index = children.firstIndex { $0.id == child.id }
| |- 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
18 | child
19 | .fixedSize()
/Users/admin/builder/spi-builder-workspace/Sources/Placement/PlacementThatFits/PlacementThatFitsVariadicRoot.swift:18:13: error: 'buildExpression' is unavailable: this expression does not conform to 'AccessibilityRotorContent'
16 | ForEach(children) { child in
17 | let index = children.firstIndex { $0.id == child.id }
18 | child
| `- error: 'buildExpression' is unavailable: this expression does not conform to 'AccessibilityRotorContent'
19 | .fixedSize()
20 | .modifier(PlacementThatFitsChildModifier(index: index, coordinator: coordinator))
SwiftUI.AccessibilityRotorContentBuilder:5:24: note: 'buildExpression' has been explicitly marked unavailable here
3 | public static func buildExpression<Content>(_ content: Content) -> Content where Content : AccessibilityRotorContent
4 | @available(*, unavailable, message: "this expression does not conform to 'AccessibilityRotorContent'")
5 | public static func buildExpression(_ invalid: Any) -> some AccessibilityRotorContent
| `- note: 'buildExpression' has been explicitly marked unavailable here
6 |
7 | public static func buildBlock<Content>(_ content: Content) -> some AccessibilityRotorContent where Content : AccessibilityRotorContent
/Users/admin/builder/spi-builder-workspace/Sources/Placement/PlacementThatFits/PlacementThatFitsVariadicRoot.swift:19:18: error: 'fixedSize()' is only available in macOS 10.15 or newer
9 | import SwiftUI
10 |
11 | struct PlacementThatFitsVariadicRoot: _VariadicView_MultiViewRoot {
| `- note: add @available attribute to enclosing struct
12 | var coordinator: PlacementThatFitsCoordinator
13 |
14 | @ViewBuilder
15 | func body(children: _VariadicView.Children) -> some View {
| `- note: add @available attribute to enclosing instance method
16 | ForEach(children) { child in
17 | let index = children.firstIndex { $0.id == child.id }
18 | child
19 | .fixedSize()
| |- error: 'fixedSize()' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
20 | .modifier(PlacementThatFitsChildModifier(index: index, coordinator: coordinator))
21 | }
/Users/admin/builder/spi-builder-workspace/Sources/Placement/PlacementThatFits/PlacementThatFitsVariadicRoot.swift:20:18: error: 'modifier' is only available in macOS 10.15 or newer
9 | import SwiftUI
10 |
11 | struct PlacementThatFitsVariadicRoot: _VariadicView_MultiViewRoot {
| `- note: add @available attribute to enclosing struct
12 | var coordinator: PlacementThatFitsCoordinator
13 |
14 | @ViewBuilder
15 | func body(children: _VariadicView.Children) -> some View {
| `- note: add @available attribute to enclosing instance method
16 | ForEach(children) { child in
17 | let index = children.firstIndex { $0.id == child.id }
18 | child
19 | .fixedSize()
20 | .modifier(PlacementThatFitsChildModifier(index: index, coordinator: coordinator))
| |- error: 'modifier' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
21 | }
22 | }
[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