Build Information
Failed to build Placement, reference 1.8.0 (792ec6
), with Swift 6.2 (beta) for macOS (SPM) on 22 Jun 2025 22:44:11 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Build Log
| `- 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/33] Compiling Placement PlacementKeyboardAvoidingModifier.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: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: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: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: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/33] 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: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: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: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: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 | }
[28/33] Compiling Placement AnyAnimatableData.swift
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Animatable/AnyAnimatableData.swift:40:21: error: 'VectorArithmetic' is only available in macOS 10.15 or newer
9 | import SwiftUI
10 |
11 | public struct AnyAnimatableData: VectorArithmetic {
| `- note: add @available attribute to enclosing struct
12 | var _equals: (_ self: Self, _ other: AnyAnimatableData) -> Bool
13 | var _plusEquals: (_ self: Self, _ other: AnyAnimatableData) -> AnyAnimatableData
:
38 | }
39 |
40 | var vector: any VectorArithmetic
| `- error: 'VectorArithmetic' is only available in macOS 10.15 or newer
41 |
42 | public mutating func scale(by rhs: Double) {
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Animatable/AnyAnimatableData.swift:54:13: error: 'VectorArithmetic' is only available in macOS 10.15 or newer
9 | import SwiftUI
10 |
11 | public struct AnyAnimatableData: VectorArithmetic {
| `- note: add @available attribute to enclosing struct
12 | var _equals: (_ self: Self, _ other: AnyAnimatableData) -> Bool
13 | var _plusEquals: (_ self: Self, _ other: AnyAnimatableData) -> AnyAnimatableData
:
52 | }
53 |
54 | init<V: VectorArithmetic>(
| | `- error: 'VectorArithmetic' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing initializer
55 | _ vector: V
56 | ) {
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Animatable/AnyAnimatableData.swift:51:27: error: 'EmptyAnimatableData' is only available in macOS 10.15 or newer
9 | import SwiftUI
10 |
11 | public struct AnyAnimatableData: VectorArithmetic {
| `- note: add @available attribute to enclosing struct
12 | var _equals: (_ self: Self, _ other: AnyAnimatableData) -> Bool
13 | var _plusEquals: (_ self: Self, _ other: AnyAnimatableData) -> AnyAnimatableData
:
48 | }
49 |
50 | public static var zero: AnyAnimatableData {
| `- note: add @available attribute to enclosing static property
51 | AnyAnimatableData(EmptyAnimatableData.zero)
| |- error: 'EmptyAnimatableData' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
52 | }
53 |
/Users/admin/builder/spi-builder-workspace/Sources/Placement/LayoutProperties/PlacementLayoutProperties.swift:7:27: error: 'Axis' is only available in macOS 10.15 or newer
3 |
4 | /// Layout-specific properties of a layout container.
5 | public struct PlacementLayoutProperties {
| `- note: add @available attribute to enclosing struct
6 | /// The orientation of the containing stack-like container.
7 | var stackOrientation: Axis?
| `- error: 'Axis' is only available in macOS 10.15 or newer
8 |
9 | /// Creates a default set of properties.
/Users/admin/builder/spi-builder-workspace/Sources/Placement/LayoutProperties/PlacementLayoutValueKey.swift:4:33: error: '_ViewTraitKey' is only available in macOS 10.15 or newer
2 | import SwiftUI
3 |
4 | public typealias ViewTraitKey = _ViewTraitKey
| | `- error: '_ViewTraitKey' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing type alias
5 |
6 | /// A key for accessing a layout value of a layout container’s subviews.
/Users/admin/builder/spi-builder-workspace/Sources/Placement/LayoutProperties/PlacementLayoutValueKey.swift:36:41: error: 'View' is only available in macOS 10.15 or newer
30 | }
31 |
32 | struct LayoutKeyValueModifier<K>: ViewModifier where K : PlacementLayoutValueKey {
| `- note: add @available attribute to enclosing generic struct
33 | var key: K.Type
34 | var value: K.Value
35 |
36 | 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
37 | if #available(iOS 16.0, macCatalyst 16, tvOS 16.0, *) {
38 | content.layoutValue(key: LayoutValueKeyMapper<K>.Key.self, value: value)
/Users/admin/builder/spi-builder-workspace/Sources/Placement/LayoutProperties/PlacementLayoutValueKey.swift:49:41: error: 'View' is only available in macOS 10.15 or newer
43 | }
44 |
45 | struct PlacementLayoutKeyValueModifier<K>: ViewModifier where K : PlacementLayoutValueKey {
| `- note: add @available attribute to enclosing generic struct
46 | var key: K.Type
47 | var value: K.Value
48 |
49 | 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
50 | content._trait(key, value)
51 | }
/Users/admin/builder/spi-builder-workspace/Sources/Placement/LayoutProperties/PlacementLayoutValueKey.swift:62:15: error: 'View' is only available in macOS 10.15 or newer
52 | }
53 |
54 | extension View {
| `- note: add @available attribute to enclosing extension
55 | /// Associates a value with a custom layout property for PlacementLayout
56 | ///
57 | /// - parameter key: The type of the key that you want to set a value for. Create the key as a type that conforms to the PlacementLayoutValueKey protocol.
58 | /// - parameter value: The value to assign to the key for this view. The value must be of the type that you establish for the key’s associated value when you implement the key’s defaultValue property.
59 | public func placementLayoutValue<K>(
| `- note: add @available attribute to enclosing instance method
60 | key: K.Type,
61 | value: K.Value
62 | ) -> some View where K : PlacementLayoutValueKey {
| `- error: 'View' is only available in macOS 10.15 or newer
63 | self
64 | .modifier(PlacementLayoutKeyValueModifier(key: key, value: value))
/Users/admin/builder/spi-builder-workspace/Sources/Placement/LayoutProperties/PlacementLayoutValueKey.swift:71:66: error: 'View' is only available in macOS 10.15 or newer
52 | }
53 |
54 | extension View {
| `- note: add @available attribute to enclosing extension
55 | /// Associates a value with a custom layout property for PlacementLayout
56 | ///
:
69 | ///
70 | /// - parameter value: The layoutPriority to use
71 | public func placementLayoutPriority(_ value: Double) -> some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing instance method
72 | self._trait(LayoutPriorityValueKey.self, value).layoutPriority(value)
73 | }
/Users/admin/builder/spi-builder-workspace/Sources/Placement/LayoutProperties/PlacementLayoutValueKey.swift:54:11: error: 'View' is only available in macOS 10.15 or newer
52 | }
53 |
54 | extension View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing extension
55 | /// Associates a value with a custom layout property for PlacementLayout
56 | ///
/Users/admin/builder/spi-builder-workspace/Sources/Placement/LayoutProperties/PlacementLayoutValueKey.swift:37:11: warning: result builder 'ViewBuilder' does not implement 'buildLimitedAvailability'; this code may crash on earlier versions of the OS [#ResultBuilderMethods]
35 |
36 | func body(content: Content) -> some View {
37 | if #available(iOS 16.0, macCatalyst 16, tvOS 16.0, *) {
| `- warning: result builder 'ViewBuilder' does not implement 'buildLimitedAvailability'; this code may crash on earlier versions of the OS [#ResultBuilderMethods]
38 | content.layoutValue(key: LayoutValueKeyMapper<K>.Key.self, value: value)
39 | } else {
/Users/admin/builder/spi-builder-workspace/Sources/Placement/LayoutProperties/PlacementLayoutValueKey.swift:38:20: error: 'layoutValue(key:value:)' is only available in macOS 13.0 or newer
30 | }
31 |
32 | struct LayoutKeyValueModifier<K>: ViewModifier where K : PlacementLayoutValueKey {
| `- note: add @available attribute to enclosing generic struct
33 | var key: K.Type
34 | var value: K.Value
35 |
36 | func body(content: Content) -> some View {
| `- note: add @available attribute to enclosing instance method
37 | if #available(iOS 16.0, macCatalyst 16, tvOS 16.0, *) {
38 | content.layoutValue(key: LayoutValueKeyMapper<K>.Key.self, value: value)
| |- error: 'layoutValue(key:value:)' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
39 | } else {
40 | content
/Users/admin/builder/spi-builder-workspace/Sources/Placement/LayoutProperties/PlacementLayoutValueKey.swift:38:37: error: 'LayoutValueKeyMapper' is only available in macOS 13 or newer
30 | }
31 |
32 | struct LayoutKeyValueModifier<K>: ViewModifier where K : PlacementLayoutValueKey {
| `- note: add @available attribute to enclosing generic struct
33 | var key: K.Type
34 | var value: K.Value
35 |
36 | func body(content: Content) -> some View {
| `- note: add @available attribute to enclosing instance method
37 | if #available(iOS 16.0, macCatalyst 16, tvOS 16.0, *) {
38 | content.layoutValue(key: LayoutValueKeyMapper<K>.Key.self, value: value)
| |- error: 'LayoutValueKeyMapper' is only available in macOS 13 or newer
| `- note: add 'if #available' version check
39 | } else {
40 | content
/Users/admin/builder/spi-builder-workspace/Sources/Placement/LayoutProperties/PlacementLayoutValueKey.swift:37:62: error: 'buildLimitedAvailability' is only available in macOS 11.0 or newer
30 | }
31 |
32 | struct LayoutKeyValueModifier<K>: ViewModifier where K : PlacementLayoutValueKey {
| `- note: add @available attribute to enclosing generic struct
33 | var key: K.Type
34 | var value: K.Value
35 |
36 | func body(content: Content) -> some View {
| `- note: add @available attribute to enclosing instance method
37 | if #available(iOS 16.0, macCatalyst 16, tvOS 16.0, *) {
| |- error: 'buildLimitedAvailability' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
38 | content.layoutValue(key: LayoutValueKeyMapper<K>.Key.self, value: value)
39 | } else {
/Users/admin/builder/spi-builder-workspace/Sources/Placement/LayoutProperties/PlacementLayoutValueKey.swift:37:62: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
30 | }
31 |
32 | struct LayoutKeyValueModifier<K>: ViewModifier where K : PlacementLayoutValueKey {
| `- note: add @available attribute to enclosing generic struct
33 | var key: K.Type
34 | var value: K.Value
35 |
36 | func body(content: Content) -> some View {
| `- note: add @available attribute to enclosing instance method
37 | if #available(iOS 16.0, macCatalyst 16, tvOS 16.0, *) {
| |- error: 'buildEither(first:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
38 | content.layoutValue(key: LayoutValueKeyMapper<K>.Key.self, value: value)
39 | } else {
/Users/admin/builder/spi-builder-workspace/Sources/Placement/LayoutProperties/PlacementLayoutValueKey.swift:39:15: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
30 | }
31 |
32 | struct LayoutKeyValueModifier<K>: ViewModifier where K : PlacementLayoutValueKey {
| `- note: add @available attribute to enclosing generic struct
33 | var key: K.Type
34 | var value: K.Value
35 |
36 | func body(content: Content) -> some View {
| `- note: add @available attribute to enclosing instance method
37 | if #available(iOS 16.0, macCatalyst 16, tvOS 16.0, *) {
38 | content.layoutValue(key: LayoutValueKeyMapper<K>.Key.self, value: value)
39 | } else {
| |- error: 'buildEither(second:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
40 | content
41 | }
/Users/admin/builder/spi-builder-workspace/Sources/Placement/LayoutProperties/PlacementLayoutValueKey.swift:36:46: warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
30 | }
31 |
32 | struct LayoutKeyValueModifier<K>: ViewModifier where K : PlacementLayoutValueKey {
| `- note: add @available attribute to enclosing generic struct
33 | var key: K.Type
34 | var value: K.Value
35 |
36 | func body(content: Content) -> some View {
| | |- warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| | `- note: add 'if #available' version check
| `- note: add @available attribute to enclosing instance method
37 | if #available(iOS 16.0, macCatalyst 16, tvOS 16.0, *) {
38 | content.layoutValue(key: LayoutValueKeyMapper<K>.Key.self, value: value)
/Users/admin/builder/spi-builder-workspace/Sources/Placement/LayoutProperties/PlacementLayoutValueKey.swift:50:17: error: '_trait' is only available in macOS 10.15 or newer
43 | }
44 |
45 | struct PlacementLayoutKeyValueModifier<K>: ViewModifier where K : PlacementLayoutValueKey {
| `- note: add @available attribute to enclosing generic struct
46 | var key: K.Type
47 | var value: K.Value
48 |
49 | func body(content: Content) -> some View {
| `- note: add @available attribute to enclosing instance method
50 | content._trait(key, value)
| |- error: '_trait' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
51 | }
52 | }
/Users/admin/builder/spi-builder-workspace/Sources/Placement/LayoutProperties/PlacementLayoutValueKey.swift:65:14: warning: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
52 | }
53 |
54 | extension View {
| `- note: add @available attribute to enclosing extension
55 | /// Associates a value with a custom layout property for PlacementLayout
56 | ///
57 | /// - parameter key: The type of the key that you want to set a value for. Create the key as a type that conforms to the PlacementLayoutValueKey protocol.
58 | /// - parameter value: The value to assign to the key for this view. The value must be of the type that you establish for the key’s associated value when you implement the key’s defaultValue property.
59 | public func placementLayoutValue<K>(
| `- note: add @available attribute to enclosing instance method
60 | key: K.Type,
61 | value: K.Value
:
63 | self
64 | .modifier(PlacementLayoutKeyValueModifier(key: key, value: value))
65 | .modifier(LayoutKeyValueModifier(key: key, value: value))
| |- warning: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
66 | }
67 |
/Users/admin/builder/spi-builder-workspace/Sources/Placement/LayoutProperties/PlacementLayoutValueKey.swift:64:14: error: 'modifier' is only available in macOS 10.15 or newer
52 | }
53 |
54 | extension View {
| `- note: add @available attribute to enclosing extension
55 | /// Associates a value with a custom layout property for PlacementLayout
56 | ///
57 | /// - parameter key: The type of the key that you want to set a value for. Create the key as a type that conforms to the PlacementLayoutValueKey protocol.
58 | /// - parameter value: The value to assign to the key for this view. The value must be of the type that you establish for the key’s associated value when you implement the key’s defaultValue property.
59 | public func placementLayoutValue<K>(
| `- note: add @available attribute to enclosing instance method
60 | key: K.Type,
61 | value: K.Value
62 | ) -> some View where K : PlacementLayoutValueKey {
63 | self
64 | .modifier(PlacementLayoutKeyValueModifier(key: key, value: value))
| |- error: 'modifier' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
65 | .modifier(LayoutKeyValueModifier(key: key, value: value))
66 | }
/Users/admin/builder/spi-builder-workspace/Sources/Placement/LayoutProperties/PlacementLayoutValueKey.swift:65:14: error: 'modifier' is only available in macOS 10.15 or newer
52 | }
53 |
54 | extension View {
| `- note: add @available attribute to enclosing extension
55 | /// Associates a value with a custom layout property for PlacementLayout
56 | ///
57 | /// - parameter key: The type of the key that you want to set a value for. Create the key as a type that conforms to the PlacementLayoutValueKey protocol.
58 | /// - parameter value: The value to assign to the key for this view. The value must be of the type that you establish for the key’s associated value when you implement the key’s defaultValue property.
59 | public func placementLayoutValue<K>(
| `- note: add @available attribute to enclosing instance method
60 | key: K.Type,
61 | value: K.Value
:
63 | self
64 | .modifier(PlacementLayoutKeyValueModifier(key: key, value: value))
65 | .modifier(LayoutKeyValueModifier(key: key, value: value))
| |- error: 'modifier' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
66 | }
67 |
/Users/admin/builder/spi-builder-workspace/Sources/Placement/LayoutProperties/PlacementLayoutValueKey.swift:72:14: error: '_trait' is only available in macOS 10.15 or newer
52 | }
53 |
54 | extension View {
| `- note: add @available attribute to enclosing extension
55 | /// Associates a value with a custom layout property for PlacementLayout
56 | ///
:
69 | ///
70 | /// - parameter value: The layoutPriority to use
71 | public func placementLayoutPriority(_ value: Double) -> some View {
| `- note: add @available attribute to enclosing instance method
72 | self._trait(LayoutPriorityValueKey.self, value).layoutPriority(value)
| |- error: '_trait' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
73 | }
74 | }
/Users/admin/builder/spi-builder-workspace/Sources/Placement/LayoutProperties/PlacementLayoutValueKey.swift:72:57: error: 'layoutPriority' is only available in macOS 10.15 or newer
52 | }
53 |
54 | extension View {
| `- note: add @available attribute to enclosing extension
55 | /// Associates a value with a custom layout property for PlacementLayout
56 | ///
:
69 | ///
70 | /// - parameter value: The layoutPriority to use
71 | public func placementLayoutPriority(_ value: Double) -> some View {
| `- note: add @available attribute to enclosing instance method
72 | self._trait(LayoutPriorityValueKey.self, value).layoutPriority(value)
| |- error: 'layoutPriority' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
73 | }
74 | }
[#ResultBuilderMethods]: <https://docs.swift.org/compiler/documentation/diagnostics/result-builder-methods>
[29/33] Compiling Placement PlacementLayoutProperties.swift
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Animatable/AnyAnimatableData.swift:40:21: error: 'VectorArithmetic' is only available in macOS 10.15 or newer
9 | import SwiftUI
10 |
11 | public struct AnyAnimatableData: VectorArithmetic {
| `- note: add @available attribute to enclosing struct
12 | var _equals: (_ self: Self, _ other: AnyAnimatableData) -> Bool
13 | var _plusEquals: (_ self: Self, _ other: AnyAnimatableData) -> AnyAnimatableData
:
38 | }
39 |
40 | var vector: any VectorArithmetic
| `- error: 'VectorArithmetic' is only available in macOS 10.15 or newer
41 |
42 | public mutating func scale(by rhs: Double) {
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Animatable/AnyAnimatableData.swift:54:13: error: 'VectorArithmetic' is only available in macOS 10.15 or newer
9 | import SwiftUI
10 |
11 | public struct AnyAnimatableData: VectorArithmetic {
| `- note: add @available attribute to enclosing struct
12 | var _equals: (_ self: Self, _ other: AnyAnimatableData) -> Bool
13 | var _plusEquals: (_ self: Self, _ other: AnyAnimatableData) -> AnyAnimatableData
:
52 | }
53 |
54 | init<V: VectorArithmetic>(
| | `- error: 'VectorArithmetic' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing initializer
55 | _ vector: V
56 | ) {
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Animatable/AnyAnimatableData.swift:51:27: error: 'EmptyAnimatableData' is only available in macOS 10.15 or newer
9 | import SwiftUI
10 |
11 | public struct AnyAnimatableData: VectorArithmetic {
| `- note: add @available attribute to enclosing struct
12 | var _equals: (_ self: Self, _ other: AnyAnimatableData) -> Bool
13 | var _plusEquals: (_ self: Self, _ other: AnyAnimatableData) -> AnyAnimatableData
:
48 | }
49 |
50 | public static var zero: AnyAnimatableData {
| `- note: add @available attribute to enclosing static property
51 | AnyAnimatableData(EmptyAnimatableData.zero)
| |- error: 'EmptyAnimatableData' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
52 | }
53 |
/Users/admin/builder/spi-builder-workspace/Sources/Placement/LayoutProperties/PlacementLayoutProperties.swift:7:27: error: 'Axis' is only available in macOS 10.15 or newer
3 |
4 | /// Layout-specific properties of a layout container.
5 | public struct PlacementLayoutProperties {
| `- note: add @available attribute to enclosing struct
6 | /// The orientation of the containing stack-like container.
7 | var stackOrientation: Axis?
| `- error: 'Axis' is only available in macOS 10.15 or newer
8 |
9 | /// Creates a default set of properties.
/Users/admin/builder/spi-builder-workspace/Sources/Placement/LayoutProperties/PlacementLayoutValueKey.swift:4:33: error: '_ViewTraitKey' is only available in macOS 10.15 or newer
2 | import SwiftUI
3 |
4 | public typealias ViewTraitKey = _ViewTraitKey
| | `- error: '_ViewTraitKey' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing type alias
5 |
6 | /// A key for accessing a layout value of a layout container’s subviews.
/Users/admin/builder/spi-builder-workspace/Sources/Placement/LayoutProperties/PlacementLayoutValueKey.swift:36:41: error: 'View' is only available in macOS 10.15 or newer
30 | }
31 |
32 | struct LayoutKeyValueModifier<K>: ViewModifier where K : PlacementLayoutValueKey {
| `- note: add @available attribute to enclosing generic struct
33 | var key: K.Type
34 | var value: K.Value
35 |
36 | 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
37 | if #available(iOS 16.0, macCatalyst 16, tvOS 16.0, *) {
38 | content.layoutValue(key: LayoutValueKeyMapper<K>.Key.self, value: value)
/Users/admin/builder/spi-builder-workspace/Sources/Placement/LayoutProperties/PlacementLayoutValueKey.swift:49:41: error: 'View' is only available in macOS 10.15 or newer
43 | }
44 |
45 | struct PlacementLayoutKeyValueModifier<K>: ViewModifier where K : PlacementLayoutValueKey {
| `- note: add @available attribute to enclosing generic struct
46 | var key: K.Type
47 | var value: K.Value
48 |
49 | 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
50 | content._trait(key, value)
51 | }
/Users/admin/builder/spi-builder-workspace/Sources/Placement/LayoutProperties/PlacementLayoutValueKey.swift:62:15: error: 'View' is only available in macOS 10.15 or newer
52 | }
53 |
54 | extension View {
| `- note: add @available attribute to enclosing extension
55 | /// Associates a value with a custom layout property for PlacementLayout
56 | ///
57 | /// - parameter key: The type of the key that you want to set a value for. Create the key as a type that conforms to the PlacementLayoutValueKey protocol.
58 | /// - parameter value: The value to assign to the key for this view. The value must be of the type that you establish for the key’s associated value when you implement the key’s defaultValue property.
59 | public func placementLayoutValue<K>(
| `- note: add @available attribute to enclosing instance method
60 | key: K.Type,
61 | value: K.Value
62 | ) -> some View where K : PlacementLayoutValueKey {
| `- error: 'View' is only available in macOS 10.15 or newer
63 | self
64 | .modifier(PlacementLayoutKeyValueModifier(key: key, value: value))
/Users/admin/builder/spi-builder-workspace/Sources/Placement/LayoutProperties/PlacementLayoutValueKey.swift:71:66: error: 'View' is only available in macOS 10.15 or newer
52 | }
53 |
54 | extension View {
| `- note: add @available attribute to enclosing extension
55 | /// Associates a value with a custom layout property for PlacementLayout
56 | ///
:
69 | ///
70 | /// - parameter value: The layoutPriority to use
71 | public func placementLayoutPriority(_ value: Double) -> some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing instance method
72 | self._trait(LayoutPriorityValueKey.self, value).layoutPriority(value)
73 | }
/Users/admin/builder/spi-builder-workspace/Sources/Placement/LayoutProperties/PlacementLayoutValueKey.swift:54:11: error: 'View' is only available in macOS 10.15 or newer
52 | }
53 |
54 | extension View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing extension
55 | /// Associates a value with a custom layout property for PlacementLayout
56 | ///
/Users/admin/builder/spi-builder-workspace/Sources/Placement/LayoutProperties/PlacementLayoutValueKey.swift:37:11: warning: result builder 'ViewBuilder' does not implement 'buildLimitedAvailability'; this code may crash on earlier versions of the OS [#ResultBuilderMethods]
35 |
36 | func body(content: Content) -> some View {
37 | if #available(iOS 16.0, macCatalyst 16, tvOS 16.0, *) {
| `- warning: result builder 'ViewBuilder' does not implement 'buildLimitedAvailability'; this code may crash on earlier versions of the OS [#ResultBuilderMethods]
38 | content.layoutValue(key: LayoutValueKeyMapper<K>.Key.self, value: value)
39 | } else {
/Users/admin/builder/spi-builder-workspace/Sources/Placement/LayoutProperties/PlacementLayoutValueKey.swift:38:20: error: 'layoutValue(key:value:)' is only available in macOS 13.0 or newer
30 | }
31 |
32 | struct LayoutKeyValueModifier<K>: ViewModifier where K : PlacementLayoutValueKey {
| `- note: add @available attribute to enclosing generic struct
33 | var key: K.Type
34 | var value: K.Value
35 |
36 | func body(content: Content) -> some View {
| `- note: add @available attribute to enclosing instance method
37 | if #available(iOS 16.0, macCatalyst 16, tvOS 16.0, *) {
38 | content.layoutValue(key: LayoutValueKeyMapper<K>.Key.self, value: value)
| |- error: 'layoutValue(key:value:)' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
39 | } else {
40 | content
/Users/admin/builder/spi-builder-workspace/Sources/Placement/LayoutProperties/PlacementLayoutValueKey.swift:38:37: error: 'LayoutValueKeyMapper' is only available in macOS 13 or newer
30 | }
31 |
32 | struct LayoutKeyValueModifier<K>: ViewModifier where K : PlacementLayoutValueKey {
| `- note: add @available attribute to enclosing generic struct
33 | var key: K.Type
34 | var value: K.Value
35 |
36 | func body(content: Content) -> some View {
| `- note: add @available attribute to enclosing instance method
37 | if #available(iOS 16.0, macCatalyst 16, tvOS 16.0, *) {
38 | content.layoutValue(key: LayoutValueKeyMapper<K>.Key.self, value: value)
| |- error: 'LayoutValueKeyMapper' is only available in macOS 13 or newer
| `- note: add 'if #available' version check
39 | } else {
40 | content
/Users/admin/builder/spi-builder-workspace/Sources/Placement/LayoutProperties/PlacementLayoutValueKey.swift:37:62: error: 'buildLimitedAvailability' is only available in macOS 11.0 or newer
30 | }
31 |
32 | struct LayoutKeyValueModifier<K>: ViewModifier where K : PlacementLayoutValueKey {
| `- note: add @available attribute to enclosing generic struct
33 | var key: K.Type
34 | var value: K.Value
35 |
36 | func body(content: Content) -> some View {
| `- note: add @available attribute to enclosing instance method
37 | if #available(iOS 16.0, macCatalyst 16, tvOS 16.0, *) {
| |- error: 'buildLimitedAvailability' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
38 | content.layoutValue(key: LayoutValueKeyMapper<K>.Key.self, value: value)
39 | } else {
/Users/admin/builder/spi-builder-workspace/Sources/Placement/LayoutProperties/PlacementLayoutValueKey.swift:37:62: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
30 | }
31 |
32 | struct LayoutKeyValueModifier<K>: ViewModifier where K : PlacementLayoutValueKey {
| `- note: add @available attribute to enclosing generic struct
33 | var key: K.Type
34 | var value: K.Value
35 |
36 | func body(content: Content) -> some View {
| `- note: add @available attribute to enclosing instance method
37 | if #available(iOS 16.0, macCatalyst 16, tvOS 16.0, *) {
| |- error: 'buildEither(first:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
38 | content.layoutValue(key: LayoutValueKeyMapper<K>.Key.self, value: value)
39 | } else {
/Users/admin/builder/spi-builder-workspace/Sources/Placement/LayoutProperties/PlacementLayoutValueKey.swift:39:15: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
30 | }
31 |
32 | struct LayoutKeyValueModifier<K>: ViewModifier where K : PlacementLayoutValueKey {
| `- note: add @available attribute to enclosing generic struct
33 | var key: K.Type
34 | var value: K.Value
35 |
36 | func body(content: Content) -> some View {
| `- note: add @available attribute to enclosing instance method
37 | if #available(iOS 16.0, macCatalyst 16, tvOS 16.0, *) {
38 | content.layoutValue(key: LayoutValueKeyMapper<K>.Key.self, value: value)
39 | } else {
| |- error: 'buildEither(second:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
40 | content
41 | }
/Users/admin/builder/spi-builder-workspace/Sources/Placement/LayoutProperties/PlacementLayoutValueKey.swift:36:46: warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
30 | }
31 |
32 | struct LayoutKeyValueModifier<K>: ViewModifier where K : PlacementLayoutValueKey {
| `- note: add @available attribute to enclosing generic struct
33 | var key: K.Type
34 | var value: K.Value
35 |
36 | func body(content: Content) -> some View {
| | |- warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| | `- note: add 'if #available' version check
| `- note: add @available attribute to enclosing instance method
37 | if #available(iOS 16.0, macCatalyst 16, tvOS 16.0, *) {
38 | content.layoutValue(key: LayoutValueKeyMapper<K>.Key.self, value: value)
/Users/admin/builder/spi-builder-workspace/Sources/Placement/LayoutProperties/PlacementLayoutValueKey.swift:50:17: error: '_trait' is only available in macOS 10.15 or newer
43 | }
44 |
45 | struct PlacementLayoutKeyValueModifier<K>: ViewModifier where K : PlacementLayoutValueKey {
| `- note: add @available attribute to enclosing generic struct
46 | var key: K.Type
47 | var value: K.Value
48 |
49 | func body(content: Content) -> some View {
| `- note: add @available attribute to enclosing instance method
50 | content._trait(key, value)
| |- error: '_trait' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
51 | }
52 | }
/Users/admin/builder/spi-builder-workspace/Sources/Placement/LayoutProperties/PlacementLayoutValueKey.swift:65:14: warning: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
52 | }
53 |
54 | extension View {
| `- note: add @available attribute to enclosing extension
55 | /// Associates a value with a custom layout property for PlacementLayout
56 | ///
57 | /// - parameter key: The type of the key that you want to set a value for. Create the key as a type that conforms to the PlacementLayoutValueKey protocol.
58 | /// - parameter value: The value to assign to the key for this view. The value must be of the type that you establish for the key’s associated value when you implement the key’s defaultValue property.
59 | public func placementLayoutValue<K>(
| `- note: add @available attribute to enclosing instance method
60 | key: K.Type,
61 | value: K.Value
:
63 | self
64 | .modifier(PlacementLayoutKeyValueModifier(key: key, value: value))
65 | .modifier(LayoutKeyValueModifier(key: key, value: value))
| |- warning: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
66 | }
67 |
/Users/admin/builder/spi-builder-workspace/Sources/Placement/LayoutProperties/PlacementLayoutValueKey.swift:64:14: error: 'modifier' is only available in macOS 10.15 or newer
52 | }
53 |
54 | extension View {
| `- note: add @available attribute to enclosing extension
55 | /// Associates a value with a custom layout property for PlacementLayout
56 | ///
57 | /// - parameter key: The type of the key that you want to set a value for. Create the key as a type that conforms to the PlacementLayoutValueKey protocol.
58 | /// - parameter value: The value to assign to the key for this view. The value must be of the type that you establish for the key’s associated value when you implement the key’s defaultValue property.
59 | public func placementLayoutValue<K>(
| `- note: add @available attribute to enclosing instance method
60 | key: K.Type,
61 | value: K.Value
62 | ) -> some View where K : PlacementLayoutValueKey {
63 | self
64 | .modifier(PlacementLayoutKeyValueModifier(key: key, value: value))
| |- error: 'modifier' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
65 | .modifier(LayoutKeyValueModifier(key: key, value: value))
66 | }
/Users/admin/builder/spi-builder-workspace/Sources/Placement/LayoutProperties/PlacementLayoutValueKey.swift:65:14: error: 'modifier' is only available in macOS 10.15 or newer
52 | }
53 |
54 | extension View {
| `- note: add @available attribute to enclosing extension
55 | /// Associates a value with a custom layout property for PlacementLayout
56 | ///
57 | /// - parameter key: The type of the key that you want to set a value for. Create the key as a type that conforms to the PlacementLayoutValueKey protocol.
58 | /// - parameter value: The value to assign to the key for this view. The value must be of the type that you establish for the key’s associated value when you implement the key’s defaultValue property.
59 | public func placementLayoutValue<K>(
| `- note: add @available attribute to enclosing instance method
60 | key: K.Type,
61 | value: K.Value
:
63 | self
64 | .modifier(PlacementLayoutKeyValueModifier(key: key, value: value))
65 | .modifier(LayoutKeyValueModifier(key: key, value: value))
| |- error: 'modifier' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
66 | }
67 |
/Users/admin/builder/spi-builder-workspace/Sources/Placement/LayoutProperties/PlacementLayoutValueKey.swift:72:14: error: '_trait' is only available in macOS 10.15 or newer
52 | }
53 |
54 | extension View {
| `- note: add @available attribute to enclosing extension
55 | /// Associates a value with a custom layout property for PlacementLayout
56 | ///
:
69 | ///
70 | /// - parameter value: The layoutPriority to use
71 | public func placementLayoutPriority(_ value: Double) -> some View {
| `- note: add @available attribute to enclosing instance method
72 | self._trait(LayoutPriorityValueKey.self, value).layoutPriority(value)
| |- error: '_trait' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
73 | }
74 | }
/Users/admin/builder/spi-builder-workspace/Sources/Placement/LayoutProperties/PlacementLayoutValueKey.swift:72:57: error: 'layoutPriority' is only available in macOS 10.15 or newer
52 | }
53 |
54 | extension View {
| `- note: add @available attribute to enclosing extension
55 | /// Associates a value with a custom layout property for PlacementLayout
56 | ///
:
69 | ///
70 | /// - parameter value: The layoutPriority to use
71 | public func placementLayoutPriority(_ value: Double) -> some View {
| `- note: add @available attribute to enclosing instance method
72 | self._trait(LayoutPriorityValueKey.self, value).layoutPriority(value)
| |- error: 'layoutPriority' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
73 | }
74 | }
[#ResultBuilderMethods]: <https://docs.swift.org/compiler/documentation/diagnostics/result-builder-methods>
[30/33] Compiling Placement PlacementLayoutValueKey.swift
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Animatable/AnyAnimatableData.swift:40:21: error: 'VectorArithmetic' is only available in macOS 10.15 or newer
9 | import SwiftUI
10 |
11 | public struct AnyAnimatableData: VectorArithmetic {
| `- note: add @available attribute to enclosing struct
12 | var _equals: (_ self: Self, _ other: AnyAnimatableData) -> Bool
13 | var _plusEquals: (_ self: Self, _ other: AnyAnimatableData) -> AnyAnimatableData
:
38 | }
39 |
40 | var vector: any VectorArithmetic
| `- error: 'VectorArithmetic' is only available in macOS 10.15 or newer
41 |
42 | public mutating func scale(by rhs: Double) {
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Animatable/AnyAnimatableData.swift:54:13: error: 'VectorArithmetic' is only available in macOS 10.15 or newer
9 | import SwiftUI
10 |
11 | public struct AnyAnimatableData: VectorArithmetic {
| `- note: add @available attribute to enclosing struct
12 | var _equals: (_ self: Self, _ other: AnyAnimatableData) -> Bool
13 | var _plusEquals: (_ self: Self, _ other: AnyAnimatableData) -> AnyAnimatableData
:
52 | }
53 |
54 | init<V: VectorArithmetic>(
| | `- error: 'VectorArithmetic' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing initializer
55 | _ vector: V
56 | ) {
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Animatable/AnyAnimatableData.swift:51:27: error: 'EmptyAnimatableData' is only available in macOS 10.15 or newer
9 | import SwiftUI
10 |
11 | public struct AnyAnimatableData: VectorArithmetic {
| `- note: add @available attribute to enclosing struct
12 | var _equals: (_ self: Self, _ other: AnyAnimatableData) -> Bool
13 | var _plusEquals: (_ self: Self, _ other: AnyAnimatableData) -> AnyAnimatableData
:
48 | }
49 |
50 | public static var zero: AnyAnimatableData {
| `- note: add @available attribute to enclosing static property
51 | AnyAnimatableData(EmptyAnimatableData.zero)
| |- error: 'EmptyAnimatableData' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
52 | }
53 |
/Users/admin/builder/spi-builder-workspace/Sources/Placement/LayoutProperties/PlacementLayoutProperties.swift:7:27: error: 'Axis' is only available in macOS 10.15 or newer
3 |
4 | /// Layout-specific properties of a layout container.
5 | public struct PlacementLayoutProperties {
| `- note: add @available attribute to enclosing struct
6 | /// The orientation of the containing stack-like container.
7 | var stackOrientation: Axis?
| `- error: 'Axis' is only available in macOS 10.15 or newer
8 |
9 | /// Creates a default set of properties.
/Users/admin/builder/spi-builder-workspace/Sources/Placement/LayoutProperties/PlacementLayoutValueKey.swift:4:33: error: '_ViewTraitKey' is only available in macOS 10.15 or newer
2 | import SwiftUI
3 |
4 | public typealias ViewTraitKey = _ViewTraitKey
| | `- error: '_ViewTraitKey' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing type alias
5 |
6 | /// A key for accessing a layout value of a layout container’s subviews.
/Users/admin/builder/spi-builder-workspace/Sources/Placement/LayoutProperties/PlacementLayoutValueKey.swift:36:41: error: 'View' is only available in macOS 10.15 or newer
30 | }
31 |
32 | struct LayoutKeyValueModifier<K>: ViewModifier where K : PlacementLayoutValueKey {
| `- note: add @available attribute to enclosing generic struct
33 | var key: K.Type
34 | var value: K.Value
35 |
36 | 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
37 | if #available(iOS 16.0, macCatalyst 16, tvOS 16.0, *) {
38 | content.layoutValue(key: LayoutValueKeyMapper<K>.Key.self, value: value)
/Users/admin/builder/spi-builder-workspace/Sources/Placement/LayoutProperties/PlacementLayoutValueKey.swift:49:41: error: 'View' is only available in macOS 10.15 or newer
43 | }
44 |
45 | struct PlacementLayoutKeyValueModifier<K>: ViewModifier where K : PlacementLayoutValueKey {
| `- note: add @available attribute to enclosing generic struct
46 | var key: K.Type
47 | var value: K.Value
48 |
49 | 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
50 | content._trait(key, value)
51 | }
/Users/admin/builder/spi-builder-workspace/Sources/Placement/LayoutProperties/PlacementLayoutValueKey.swift:62:15: error: 'View' is only available in macOS 10.15 or newer
52 | }
53 |
54 | extension View {
| `- note: add @available attribute to enclosing extension
55 | /// Associates a value with a custom layout property for PlacementLayout
56 | ///
57 | /// - parameter key: The type of the key that you want to set a value for. Create the key as a type that conforms to the PlacementLayoutValueKey protocol.
58 | /// - parameter value: The value to assign to the key for this view. The value must be of the type that you establish for the key’s associated value when you implement the key’s defaultValue property.
59 | public func placementLayoutValue<K>(
| `- note: add @available attribute to enclosing instance method
60 | key: K.Type,
61 | value: K.Value
62 | ) -> some View where K : PlacementLayoutValueKey {
| `- error: 'View' is only available in macOS 10.15 or newer
63 | self
64 | .modifier(PlacementLayoutKeyValueModifier(key: key, value: value))
/Users/admin/builder/spi-builder-workspace/Sources/Placement/LayoutProperties/PlacementLayoutValueKey.swift:71:66: error: 'View' is only available in macOS 10.15 or newer
52 | }
53 |
54 | extension View {
| `- note: add @available attribute to enclosing extension
55 | /// Associates a value with a custom layout property for PlacementLayout
56 | ///
:
69 | ///
70 | /// - parameter value: The layoutPriority to use
71 | public func placementLayoutPriority(_ value: Double) -> some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing instance method
72 | self._trait(LayoutPriorityValueKey.self, value).layoutPriority(value)
73 | }
/Users/admin/builder/spi-builder-workspace/Sources/Placement/LayoutProperties/PlacementLayoutValueKey.swift:54:11: error: 'View' is only available in macOS 10.15 or newer
52 | }
53 |
54 | extension View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing extension
55 | /// Associates a value with a custom layout property for PlacementLayout
56 | ///
/Users/admin/builder/spi-builder-workspace/Sources/Placement/LayoutProperties/PlacementLayoutValueKey.swift:37:11: warning: result builder 'ViewBuilder' does not implement 'buildLimitedAvailability'; this code may crash on earlier versions of the OS [#ResultBuilderMethods]
35 |
36 | func body(content: Content) -> some View {
37 | if #available(iOS 16.0, macCatalyst 16, tvOS 16.0, *) {
| `- warning: result builder 'ViewBuilder' does not implement 'buildLimitedAvailability'; this code may crash on earlier versions of the OS [#ResultBuilderMethods]
38 | content.layoutValue(key: LayoutValueKeyMapper<K>.Key.self, value: value)
39 | } else {
/Users/admin/builder/spi-builder-workspace/Sources/Placement/LayoutProperties/PlacementLayoutValueKey.swift:38:20: error: 'layoutValue(key:value:)' is only available in macOS 13.0 or newer
30 | }
31 |
32 | struct LayoutKeyValueModifier<K>: ViewModifier where K : PlacementLayoutValueKey {
| `- note: add @available attribute to enclosing generic struct
33 | var key: K.Type
34 | var value: K.Value
35 |
36 | func body(content: Content) -> some View {
| `- note: add @available attribute to enclosing instance method
37 | if #available(iOS 16.0, macCatalyst 16, tvOS 16.0, *) {
38 | content.layoutValue(key: LayoutValueKeyMapper<K>.Key.self, value: value)
| |- error: 'layoutValue(key:value:)' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
39 | } else {
40 | content
/Users/admin/builder/spi-builder-workspace/Sources/Placement/LayoutProperties/PlacementLayoutValueKey.swift:38:37: error: 'LayoutValueKeyMapper' is only available in macOS 13 or newer
30 | }
31 |
32 | struct LayoutKeyValueModifier<K>: ViewModifier where K : PlacementLayoutValueKey {
| `- note: add @available attribute to enclosing generic struct
33 | var key: K.Type
34 | var value: K.Value
35 |
36 | func body(content: Content) -> some View {
| `- note: add @available attribute to enclosing instance method
37 | if #available(iOS 16.0, macCatalyst 16, tvOS 16.0, *) {
38 | content.layoutValue(key: LayoutValueKeyMapper<K>.Key.self, value: value)
| |- error: 'LayoutValueKeyMapper' is only available in macOS 13 or newer
| `- note: add 'if #available' version check
39 | } else {
40 | content
/Users/admin/builder/spi-builder-workspace/Sources/Placement/LayoutProperties/PlacementLayoutValueKey.swift:37:62: error: 'buildLimitedAvailability' is only available in macOS 11.0 or newer
30 | }
31 |
32 | struct LayoutKeyValueModifier<K>: ViewModifier where K : PlacementLayoutValueKey {
| `- note: add @available attribute to enclosing generic struct
33 | var key: K.Type
34 | var value: K.Value
35 |
36 | func body(content: Content) -> some View {
| `- note: add @available attribute to enclosing instance method
37 | if #available(iOS 16.0, macCatalyst 16, tvOS 16.0, *) {
| |- error: 'buildLimitedAvailability' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
38 | content.layoutValue(key: LayoutValueKeyMapper<K>.Key.self, value: value)
39 | } else {
/Users/admin/builder/spi-builder-workspace/Sources/Placement/LayoutProperties/PlacementLayoutValueKey.swift:37:62: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
30 | }
31 |
32 | struct LayoutKeyValueModifier<K>: ViewModifier where K : PlacementLayoutValueKey {
| `- note: add @available attribute to enclosing generic struct
33 | var key: K.Type
34 | var value: K.Value
35 |
36 | func body(content: Content) -> some View {
| `- note: add @available attribute to enclosing instance method
37 | if #available(iOS 16.0, macCatalyst 16, tvOS 16.0, *) {
| |- error: 'buildEither(first:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
38 | content.layoutValue(key: LayoutValueKeyMapper<K>.Key.self, value: value)
39 | } else {
/Users/admin/builder/spi-builder-workspace/Sources/Placement/LayoutProperties/PlacementLayoutValueKey.swift:39:15: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
30 | }
31 |
32 | struct LayoutKeyValueModifier<K>: ViewModifier where K : PlacementLayoutValueKey {
| `- note: add @available attribute to enclosing generic struct
33 | var key: K.Type
34 | var value: K.Value
35 |
36 | func body(content: Content) -> some View {
| `- note: add @available attribute to enclosing instance method
37 | if #available(iOS 16.0, macCatalyst 16, tvOS 16.0, *) {
38 | content.layoutValue(key: LayoutValueKeyMapper<K>.Key.self, value: value)
39 | } else {
| |- error: 'buildEither(second:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
40 | content
41 | }
/Users/admin/builder/spi-builder-workspace/Sources/Placement/LayoutProperties/PlacementLayoutValueKey.swift:36:46: warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
30 | }
31 |
32 | struct LayoutKeyValueModifier<K>: ViewModifier where K : PlacementLayoutValueKey {
| `- note: add @available attribute to enclosing generic struct
33 | var key: K.Type
34 | var value: K.Value
35 |
36 | func body(content: Content) -> some View {
| | |- warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| | `- note: add 'if #available' version check
| `- note: add @available attribute to enclosing instance method
37 | if #available(iOS 16.0, macCatalyst 16, tvOS 16.0, *) {
38 | content.layoutValue(key: LayoutValueKeyMapper<K>.Key.self, value: value)
/Users/admin/builder/spi-builder-workspace/Sources/Placement/LayoutProperties/PlacementLayoutValueKey.swift:50:17: error: '_trait' is only available in macOS 10.15 or newer
43 | }
44 |
45 | struct PlacementLayoutKeyValueModifier<K>: ViewModifier where K : PlacementLayoutValueKey {
| `- note: add @available attribute to enclosing generic struct
46 | var key: K.Type
47 | var value: K.Value
48 |
49 | func body(content: Content) -> some View {
| `- note: add @available attribute to enclosing instance method
50 | content._trait(key, value)
| |- error: '_trait' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
51 | }
52 | }
/Users/admin/builder/spi-builder-workspace/Sources/Placement/LayoutProperties/PlacementLayoutValueKey.swift:65:14: warning: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
52 | }
53 |
54 | extension View {
| `- note: add @available attribute to enclosing extension
55 | /// Associates a value with a custom layout property for PlacementLayout
56 | ///
57 | /// - parameter key: The type of the key that you want to set a value for. Create the key as a type that conforms to the PlacementLayoutValueKey protocol.
58 | /// - parameter value: The value to assign to the key for this view. The value must be of the type that you establish for the key’s associated value when you implement the key’s defaultValue property.
59 | public func placementLayoutValue<K>(
| `- note: add @available attribute to enclosing instance method
60 | key: K.Type,
61 | value: K.Value
:
63 | self
64 | .modifier(PlacementLayoutKeyValueModifier(key: key, value: value))
65 | .modifier(LayoutKeyValueModifier(key: key, value: value))
| |- warning: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
66 | }
67 |
/Users/admin/builder/spi-builder-workspace/Sources/Placement/LayoutProperties/PlacementLayoutValueKey.swift:64:14: error: 'modifier' is only available in macOS 10.15 or newer
52 | }
53 |
54 | extension View {
| `- note: add @available attribute to enclosing extension
55 | /// Associates a value with a custom layout property for PlacementLayout
56 | ///
57 | /// - parameter key: The type of the key that you want to set a value for. Create the key as a type that conforms to the PlacementLayoutValueKey protocol.
58 | /// - parameter value: The value to assign to the key for this view. The value must be of the type that you establish for the key’s associated value when you implement the key’s defaultValue property.
59 | public func placementLayoutValue<K>(
| `- note: add @available attribute to enclosing instance method
60 | key: K.Type,
61 | value: K.Value
62 | ) -> some View where K : PlacementLayoutValueKey {
63 | self
64 | .modifier(PlacementLayoutKeyValueModifier(key: key, value: value))
| |- error: 'modifier' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
65 | .modifier(LayoutKeyValueModifier(key: key, value: value))
66 | }
/Users/admin/builder/spi-builder-workspace/Sources/Placement/LayoutProperties/PlacementLayoutValueKey.swift:65:14: error: 'modifier' is only available in macOS 10.15 or newer
52 | }
53 |
54 | extension View {
| `- note: add @available attribute to enclosing extension
55 | /// Associates a value with a custom layout property for PlacementLayout
56 | ///
57 | /// - parameter key: The type of the key that you want to set a value for. Create the key as a type that conforms to the PlacementLayoutValueKey protocol.
58 | /// - parameter value: The value to assign to the key for this view. The value must be of the type that you establish for the key’s associated value when you implement the key’s defaultValue property.
59 | public func placementLayoutValue<K>(
| `- note: add @available attribute to enclosing instance method
60 | key: K.Type,
61 | value: K.Value
:
63 | self
64 | .modifier(PlacementLayoutKeyValueModifier(key: key, value: value))
65 | .modifier(LayoutKeyValueModifier(key: key, value: value))
| |- error: 'modifier' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
66 | }
67 |
/Users/admin/builder/spi-builder-workspace/Sources/Placement/LayoutProperties/PlacementLayoutValueKey.swift:72:14: error: '_trait' is only available in macOS 10.15 or newer
52 | }
53 |
54 | extension View {
| `- note: add @available attribute to enclosing extension
55 | /// Associates a value with a custom layout property for PlacementLayout
56 | ///
:
69 | ///
70 | /// - parameter value: The layoutPriority to use
71 | public func placementLayoutPriority(_ value: Double) -> some View {
| `- note: add @available attribute to enclosing instance method
72 | self._trait(LayoutPriorityValueKey.self, value).layoutPriority(value)
| |- error: '_trait' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
73 | }
74 | }
/Users/admin/builder/spi-builder-workspace/Sources/Placement/LayoutProperties/PlacementLayoutValueKey.swift:72:57: error: 'layoutPriority' is only available in macOS 10.15 or newer
52 | }
53 |
54 | extension View {
| `- note: add @available attribute to enclosing extension
55 | /// Associates a value with a custom layout property for PlacementLayout
56 | ///
:
69 | ///
70 | /// - parameter value: The layoutPriority to use
71 | public func placementLayoutPriority(_ value: Double) -> some View {
| `- note: add @available attribute to enclosing instance method
72 | self._trait(LayoutPriorityValueKey.self, value).layoutPriority(value)
| |- error: 'layoutPriority' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
73 | }
74 | }
[#ResultBuilderMethods]: <https://docs.swift.org/compiler/documentation/diagnostics/result-builder-methods>
[31/33] Compiling Placement PlacementProposedViewSize.swift
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Sizing/ProposedSize.swift:4:19: error: '_ProposedSize' is only available in macOS 10.15 or newer
2 | import SwiftUI
3 |
4 | extension SwiftUI._ProposedSize {
| | `- error: '_ProposedSize' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing extension
5 | public var height: CGFloat? {
6 | Mirror(reflecting: self).children.compactMap { label, value in
[32/33] Compiling Placement PlacementViewDimensions.swift
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Sizing/ProposedSize.swift:4:19: error: '_ProposedSize' is only available in macOS 10.15 or newer
2 | import SwiftUI
3 |
4 | extension SwiftUI._ProposedSize {
| | `- error: '_ProposedSize' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing extension
5 | public var height: CGFloat? {
6 | Mirror(reflecting: self).children.compactMap { label, value in
[33/33] Compiling Placement ProposedSize.swift
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Sizing/ProposedSize.swift:4:19: error: '_ProposedSize' is only available in macOS 10.15 or newer
2 | import SwiftUI
3 |
4 | extension SwiftUI._ProposedSize {
| | `- error: '_ProposedSize' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing extension
5 | public var height: CGFloat? {
6 | Mirror(reflecting: self).children.compactMap { label, value in
BUILD FAILURE 6.2 macosSpm