Build Information
Failed to build Placement, reference 1.8.0 (792ec6), with Swift 6.3 for macOS (SPM) on 15 Apr 2026 15:45:36 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64Build Log
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 | }
[29/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:109:9: error: cannot find 'UIView' in scope
107 |
108 | func makeUIView(context: Context) -> some UIView {
109 | UIView()
| `- error: cannot find 'UIView' in scope
110 | }
111 |
/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 | }
[30/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:109:9: error: cannot find 'UIView' in scope
107 |
108 | func makeUIView(context: Context) -> some UIView {
109 | UIView()
| `- error: cannot find 'UIView' in scope
110 | }
111 |
/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 | }
[31/33] Compiling Placement FrameChangePlacer.swift
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/FrameChangePlacer.swift:11:50: error: cannot find type 'UIView' in scope
9 | import SwiftUI
10 |
11 | class FrameChangePlacerView<L: PlacementLayout>: UIView {
| `- error: cannot find type 'UIView' in scope
12 | var coordinator: Coordinator<L>
13 | var children: _VariadicView.Children
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/FrameChangePlacer.swift:13:19: error: '_VariadicView' is only available in macOS 10.15 or newer
9 | import SwiftUI
10 |
11 | class FrameChangePlacerView<L: PlacementLayout>: UIView {
| `- note: add '@available' attribute to enclosing generic class
12 | var coordinator: Coordinator<L>
13 | var children: _VariadicView.Children
| `- error: '_VariadicView' is only available in macOS 10.15 or newer
14 |
15 | init(coordinator: Coordinator<L>, children: _VariadicView.Children) {
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/FrameChangePlacer.swift:15:49: error: '_VariadicView' is only available in macOS 10.15 or newer
9 | import SwiftUI
10 |
11 | class FrameChangePlacerView<L: PlacementLayout>: UIView {
| `- note: add '@available' attribute to enclosing generic class
12 | var coordinator: Coordinator<L>
13 | var children: _VariadicView.Children
14 |
15 | init(coordinator: Coordinator<L>, children: _VariadicView.Children) {
| | `- error: '_VariadicView' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing initializer
16 | self.coordinator = coordinator
17 | self.children = children
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/FrameChangePlacer.swift:25:36: error: cannot find type 'UIViewController' in scope
23 | }
24 |
25 | var containedInViewController: UIViewController? = nil
| `- error: cannot find type 'UIViewController' in scope
26 |
27 | override func didMoveToSuperview() {
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/FrameChangePlacer.swift:27:19: error: method does not override any method from its superclass
25 | var containedInViewController: UIViewController? = nil
26 |
27 | override func didMoveToSuperview() {
| `- error: method does not override any method from its superclass
28 | containedInViewController = self.superview?.parentViewController
29 | }
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/FrameChangePlacer.swift:31:19: error: method does not override any method from its superclass
29 | }
30 |
31 | override func layoutSubviews() {
| `- error: method does not override any method from its superclass
32 | super.layoutSubviews()
33 |
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/FrameChangePlacer.swift:48:11: error: cannot find type 'UIResponder' in scope
46 | }
47 |
48 | extension UIResponder {
| `- error: cannot find type 'UIResponder' in scope
49 | public var parentViewController: UIViewController? {
50 | return next as? UIViewController ?? next?.parentViewController
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/FrameChangePlacer.swift:55:6: error: 'EnvironmentObject' is only available in macOS 10.15 or newer
52 | }
53 |
54 | struct FrameChangePlacer<L: PlacementLayout>: UIViewRepresentable {
| `- note: add '@available' attribute to enclosing generic struct
55 | @EnvironmentObject var coordinator: Coordinator<L>
| `- error: 'EnvironmentObject' is only available in macOS 10.15 or newer
56 | var children: _VariadicView.Children
57 | var intrinsicSizes: [AnyHashable: CGSize]
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/FrameChangePlacer.swift:56:19: error: '_VariadicView' is only available in macOS 10.15 or newer
52 | }
53 |
54 | struct FrameChangePlacer<L: PlacementLayout>: UIViewRepresentable {
| `- note: add '@available' attribute to enclosing generic struct
55 | @EnvironmentObject var coordinator: Coordinator<L>
56 | var children: _VariadicView.Children
| `- error: '_VariadicView' is only available in macOS 10.15 or newer
57 | var intrinsicSizes: [AnyHashable: CGSize]
58 | @Binding var keyboardFrame: CGRect
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/FrameChangePlacer.swift:58:6: error: 'Binding' is only available in macOS 10.15 or newer
52 | }
53 |
54 | struct FrameChangePlacer<L: PlacementLayout>: UIViewRepresentable {
| `- note: add '@available' attribute to enclosing generic struct
55 | @EnvironmentObject var coordinator: Coordinator<L>
56 | var children: _VariadicView.Children
57 | var intrinsicSizes: [AnyHashable: CGSize]
58 | @Binding var keyboardFrame: CGRect
| `- error: 'Binding' is only available in macOS 10.15 or newer
59 |
60 | func makeUIView(context: Context) -> FrameChangePlacerView<L> {
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/FrameChangePlacer.swift:60:30: error: cannot find type 'Context' in scope
58 | @Binding var keyboardFrame: CGRect
59 |
60 | func makeUIView(context: Context) -> FrameChangePlacerView<L> {
| `- error: cannot find type 'Context' in scope
61 | FrameChangePlacerView(coordinator: coordinator, children: children)
62 | }
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/FrameChangePlacer.swift:64:68: error: cannot find type 'Context' in scope
62 | }
63 |
64 | func updateUIView(_ uiView: FrameChangePlacerView<L>, context: Context) {
| `- error: cannot find type 'Context' in scope
65 | }
66 |
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/FrameChangePlacer.swift:69:34: error: '_ProposedSize' is only available in macOS 10.15 or newer
52 | }
53 |
54 | struct FrameChangePlacer<L: PlacementLayout>: UIViewRepresentable {
| `- note: add '@available' attribute to enclosing generic struct
55 | @EnvironmentObject var coordinator: Coordinator<L>
56 | var children: _VariadicView.Children
:
65 | }
66 |
67 | func _overrideSizeThatFits(
| `- note: add '@available' attribute to enclosing instance method
68 | _ size: inout CoreGraphics.CGSize,
69 | in proposedSize: SwiftUI._ProposedSize,
| `- error: '_ProposedSize' is only available in macOS 10.15 or newer
70 | uiView: FrameChangePlacerView<L>
71 | ) {
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/FrameChangePlacer.swift:54:47: error: cannot find type 'UIViewRepresentable' in scope
52 | }
53 |
54 | struct FrameChangePlacer<L: PlacementLayout>: UIViewRepresentable {
| `- error: cannot find type 'UIViewRepresentable' in scope
55 | @EnvironmentObject var coordinator: Coordinator<L>
56 | var children: _VariadicView.Children
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/FrameChangePlacer.swift:18:9: error: 'super' cannot be used in class 'FrameChangePlacerView' because it has no superclass
16 | self.coordinator = coordinator
17 | self.children = children
18 | super.init(frame: .zero)
| `- error: 'super' cannot be used in class 'FrameChangePlacerView' because it has no superclass
19 | }
20 |
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/FrameChangePlacer.swift:18:28: error: cannot infer contextual base in reference to member 'zero'
16 | self.coordinator = coordinator
17 | self.children = children
18 | super.init(frame: .zero)
| `- error: cannot infer contextual base in reference to member 'zero'
19 | }
20 |
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/FrameChangePlacer.swift:28:42: error: value of type 'FrameChangePlacerView<L>' has no member 'superview'
26 |
27 | override func didMoveToSuperview() {
28 | containedInViewController = self.superview?.parentViewController
| `- error: value of type 'FrameChangePlacerView<L>' has no member 'superview'
29 | }
30 |
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/FrameChangePlacer.swift:32:9: error: 'super' cannot be used in class 'FrameChangePlacerView' because it has no superclass
30 |
31 | override func layoutSubviews() {
32 | super.layoutSubviews()
| `- error: 'super' cannot be used in class 'FrameChangePlacerView' because it has no superclass
33 |
34 | if let viewController = containedInViewController
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/FrameChangePlacer.swift:35:22: error: value of type 'FrameChangePlacerView<L>' has no member 'superview'
33 |
34 | if let viewController = containedInViewController
35 | ?? self.superview?.parentViewController,
| `- error: value of type 'FrameChangePlacerView<L>' has no member 'superview'
36 | let globalFrame = self.superview?.convert(
37 | self.frame,
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/FrameChangePlacer.swift:36:35: error: value of type 'FrameChangePlacerView<L>' has no member 'superview'
34 | if let viewController = containedInViewController
35 | ?? self.superview?.parentViewController,
36 | let globalFrame = self.superview?.convert(
| `- error: value of type 'FrameChangePlacerView<L>' has no member 'superview'
37 | self.frame,
38 | to: viewController.view
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/FrameChangePlacer.swift:37:22: error: value of type 'FrameChangePlacerView<L>' has no member 'frame'
35 | ?? self.superview?.parentViewController,
36 | let globalFrame = self.superview?.convert(
37 | self.frame,
| `- error: value of type 'FrameChangePlacerView<L>' has no member 'frame'
38 | to: viewController.view
39 | )
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/FrameChangePlacer.swift:79:16: error: value of type 'FrameChangePlacerView<L>' has no member 'setNeedsLayout'
77 | )
78 |
79 | uiView.setNeedsLayout()
| `- error: value of type 'FrameChangePlacerView<L>' has no member 'setNeedsLayout'
80 | }
81 | }
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/LayoutChildSizingView.swift:4:61: error: cannot find type 'UIView' in scope
2 | import SwiftUI
3 |
4 | class PlacementLayoutChildSizingUIView<L: PlacementLayout>: UIView {
| `- error: cannot find type 'UIView' in scope
5 | override var intrinsicContentSize: CGSize {
6 | .zero
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/LayoutChildSizingView.swift:5:18: error: property does not override any property from its superclass
3 |
4 | class PlacementLayoutChildSizingUIView<L: PlacementLayout>: UIView {
5 | override var intrinsicContentSize: CGSize {
| `- error: property does not override any property from its superclass
6 | .zero
7 | }
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/LayoutChildSizingView.swift:11:6: error: 'EnvironmentObject' is only available in macOS 10.15 or newer
8 | }
9 |
10 | struct LayoutChildSizingView<L: PlacementLayout>: UIViewRepresentable {
| `- note: add '@available' attribute to enclosing generic struct
11 | @EnvironmentObject var placementsCoordinator: PlacementsCoordinator
| `- error: 'EnvironmentObject' is only available in macOS 10.15 or newer
12 | @EnvironmentObject var coordinator: Coordinator<L>
13 |
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/LayoutChildSizingView.swift:12:6: error: 'EnvironmentObject' is only available in macOS 10.15 or newer
8 | }
9 |
10 | struct LayoutChildSizingView<L: PlacementLayout>: UIViewRepresentable {
| `- note: add '@available' attribute to enclosing generic struct
11 | @EnvironmentObject var placementsCoordinator: PlacementsCoordinator
12 | @EnvironmentObject var coordinator: Coordinator<L>
| `- error: 'EnvironmentObject' is only available in macOS 10.15 or newer
13 |
14 | var layout: L
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/LayoutChildSizingView.swift:16:19: error: '_VariadicView' is only available in macOS 10.15 or newer
8 | }
9 |
10 | struct LayoutChildSizingView<L: PlacementLayout>: UIViewRepresentable {
| `- note: add '@available' attribute to enclosing generic struct
11 | @EnvironmentObject var placementsCoordinator: PlacementsCoordinator
12 | @EnvironmentObject var coordinator: Coordinator<L>
:
14 | var layout: L
15 | var id: AnyHashable
16 | var children: _VariadicView.Children
| `- error: '_VariadicView' is only available in macOS 10.15 or newer
17 |
18 | func makeUIView(context: Context) -> PlacementLayoutChildSizingUIView<L> {
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/LayoutChildSizingView.swift:18:30: error: cannot find type 'Context' in scope
16 | var children: _VariadicView.Children
17 |
18 | func makeUIView(context: Context) -> PlacementLayoutChildSizingUIView<L> {
| `- error: cannot find type 'Context' in scope
19 | let view = PlacementLayoutChildSizingUIView<L>(frame: .zero)
20 | return view
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/LayoutChildSizingView.swift:23:79: error: cannot find type 'Context' in scope
21 | }
22 |
23 | func updateUIView(_ uiView: PlacementLayoutChildSizingUIView<L>, context: Context) {
| `- error: cannot find type 'Context' in scope
24 | }
25 |
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/LayoutChildSizingView.swift:28:34: error: '_ProposedSize' is only available in macOS 10.15 or newer
8 | }
9 |
10 | struct LayoutChildSizingView<L: PlacementLayout>: UIViewRepresentable {
| `- note: add '@available' attribute to enclosing generic struct
11 | @EnvironmentObject var placementsCoordinator: PlacementsCoordinator
12 | @EnvironmentObject var coordinator: Coordinator<L>
:
24 | }
25 |
26 | func _overrideSizeThatFits(
| `- note: add '@available' attribute to enclosing instance method
27 | _ size: inout CoreGraphics.CGSize,
28 | in proposedSize: SwiftUI._ProposedSize,
| `- error: '_ProposedSize' is only available in macOS 10.15 or newer
29 | uiView: PlacementLayoutChildSizingUIView<L>
30 | ) {
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/LayoutChildSizingView.swift:10:51: error: cannot find type 'UIViewRepresentable' in scope
8 | }
9 |
10 | struct LayoutChildSizingView<L: PlacementLayout>: UIViewRepresentable {
| `- error: cannot find type 'UIViewRepresentable' in scope
11 | @EnvironmentObject var placementsCoordinator: PlacementsCoordinator
12 | @EnvironmentObject var coordinator: Coordinator<L>
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/LayoutChildSizingView.swift:19:64: error: argument passed to call that takes no arguments
17 |
18 | func makeUIView(context: Context) -> PlacementLayoutChildSizingUIView<L> {
19 | let view = PlacementLayoutChildSizingUIView<L>(frame: .zero)
| `- error: argument passed to call that takes no arguments
20 | return view
21 | }
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/LayoutChildSizingView.swift:19:64: error: cannot infer contextual base in reference to member 'zero'
17 |
18 | func makeUIView(context: Context) -> PlacementLayoutChildSizingUIView<L> {
19 | let view = PlacementLayoutChildSizingUIView<L>(frame: .zero)
| `- error: cannot infer contextual base in reference to member 'zero'
20 | return view
21 | }
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/LayoutPlacement.swift:30:17: error: 'UnitPoint' is only available in macOS 10.15 or newer
2 | import SwiftUI
3 |
4 | struct LayoutPlacement: Equatable {
| `- note: add '@available' attribute to enclosing struct
5 | static func == (lhs: LayoutPlacement, rhs: LayoutPlacement) -> Bool {
6 | if let lhsSubview = lhs.subview as? LayoutSubviewPolyfill,
:
28 | var subview: any PlacementLayoutSubview
29 | var position: CGPoint
30 | var anchor: UnitPoint
| `- error: 'UnitPoint' is only available in macOS 10.15 or newer
31 | var proposal: PlacementProposedViewSize
32 | }
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/FrameChangePlacer.swift:49:38: error: cannot find type 'UIViewController' in scope
47 |
48 | extension UIResponder {
49 | public var parentViewController: UIViewController? {
| `- error: cannot find type 'UIViewController' in scope
50 | return next as? UIViewController ?? next?.parentViewController
51 | }
[32/33] Compiling Placement LayoutChildSizingView.swift
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/FrameChangePlacer.swift:11:50: error: cannot find type 'UIView' in scope
9 | import SwiftUI
10 |
11 | class FrameChangePlacerView<L: PlacementLayout>: UIView {
| `- error: cannot find type 'UIView' in scope
12 | var coordinator: Coordinator<L>
13 | var children: _VariadicView.Children
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/FrameChangePlacer.swift:13:19: error: '_VariadicView' is only available in macOS 10.15 or newer
9 | import SwiftUI
10 |
11 | class FrameChangePlacerView<L: PlacementLayout>: UIView {
| `- note: add '@available' attribute to enclosing generic class
12 | var coordinator: Coordinator<L>
13 | var children: _VariadicView.Children
| `- error: '_VariadicView' is only available in macOS 10.15 or newer
14 |
15 | init(coordinator: Coordinator<L>, children: _VariadicView.Children) {
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/FrameChangePlacer.swift:15:49: error: '_VariadicView' is only available in macOS 10.15 or newer
9 | import SwiftUI
10 |
11 | class FrameChangePlacerView<L: PlacementLayout>: UIView {
| `- note: add '@available' attribute to enclosing generic class
12 | var coordinator: Coordinator<L>
13 | var children: _VariadicView.Children
14 |
15 | init(coordinator: Coordinator<L>, children: _VariadicView.Children) {
| | `- error: '_VariadicView' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing initializer
16 | self.coordinator = coordinator
17 | self.children = children
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/FrameChangePlacer.swift:25:36: error: cannot find type 'UIViewController' in scope
23 | }
24 |
25 | var containedInViewController: UIViewController? = nil
| `- error: cannot find type 'UIViewController' in scope
26 |
27 | override func didMoveToSuperview() {
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/FrameChangePlacer.swift:27:19: error: method does not override any method from its superclass
25 | var containedInViewController: UIViewController? = nil
26 |
27 | override func didMoveToSuperview() {
| `- error: method does not override any method from its superclass
28 | containedInViewController = self.superview?.parentViewController
29 | }
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/FrameChangePlacer.swift:31:19: error: method does not override any method from its superclass
29 | }
30 |
31 | override func layoutSubviews() {
| `- error: method does not override any method from its superclass
32 | super.layoutSubviews()
33 |
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/FrameChangePlacer.swift:48:11: error: cannot find type 'UIResponder' in scope
46 | }
47 |
48 | extension UIResponder {
| `- error: cannot find type 'UIResponder' in scope
49 | public var parentViewController: UIViewController? {
50 | return next as? UIViewController ?? next?.parentViewController
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/FrameChangePlacer.swift:55:6: error: 'EnvironmentObject' is only available in macOS 10.15 or newer
52 | }
53 |
54 | struct FrameChangePlacer<L: PlacementLayout>: UIViewRepresentable {
| `- note: add '@available' attribute to enclosing generic struct
55 | @EnvironmentObject var coordinator: Coordinator<L>
| `- error: 'EnvironmentObject' is only available in macOS 10.15 or newer
56 | var children: _VariadicView.Children
57 | var intrinsicSizes: [AnyHashable: CGSize]
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/FrameChangePlacer.swift:56:19: error: '_VariadicView' is only available in macOS 10.15 or newer
52 | }
53 |
54 | struct FrameChangePlacer<L: PlacementLayout>: UIViewRepresentable {
| `- note: add '@available' attribute to enclosing generic struct
55 | @EnvironmentObject var coordinator: Coordinator<L>
56 | var children: _VariadicView.Children
| `- error: '_VariadicView' is only available in macOS 10.15 or newer
57 | var intrinsicSizes: [AnyHashable: CGSize]
58 | @Binding var keyboardFrame: CGRect
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/FrameChangePlacer.swift:58:6: error: 'Binding' is only available in macOS 10.15 or newer
52 | }
53 |
54 | struct FrameChangePlacer<L: PlacementLayout>: UIViewRepresentable {
| `- note: add '@available' attribute to enclosing generic struct
55 | @EnvironmentObject var coordinator: Coordinator<L>
56 | var children: _VariadicView.Children
57 | var intrinsicSizes: [AnyHashable: CGSize]
58 | @Binding var keyboardFrame: CGRect
| `- error: 'Binding' is only available in macOS 10.15 or newer
59 |
60 | func makeUIView(context: Context) -> FrameChangePlacerView<L> {
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/FrameChangePlacer.swift:60:30: error: cannot find type 'Context' in scope
58 | @Binding var keyboardFrame: CGRect
59 |
60 | func makeUIView(context: Context) -> FrameChangePlacerView<L> {
| `- error: cannot find type 'Context' in scope
61 | FrameChangePlacerView(coordinator: coordinator, children: children)
62 | }
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/FrameChangePlacer.swift:64:68: error: cannot find type 'Context' in scope
62 | }
63 |
64 | func updateUIView(_ uiView: FrameChangePlacerView<L>, context: Context) {
| `- error: cannot find type 'Context' in scope
65 | }
66 |
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/FrameChangePlacer.swift:69:34: error: '_ProposedSize' is only available in macOS 10.15 or newer
52 | }
53 |
54 | struct FrameChangePlacer<L: PlacementLayout>: UIViewRepresentable {
| `- note: add '@available' attribute to enclosing generic struct
55 | @EnvironmentObject var coordinator: Coordinator<L>
56 | var children: _VariadicView.Children
:
65 | }
66 |
67 | func _overrideSizeThatFits(
| `- note: add '@available' attribute to enclosing instance method
68 | _ size: inout CoreGraphics.CGSize,
69 | in proposedSize: SwiftUI._ProposedSize,
| `- error: '_ProposedSize' is only available in macOS 10.15 or newer
70 | uiView: FrameChangePlacerView<L>
71 | ) {
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/FrameChangePlacer.swift:54:47: error: cannot find type 'UIViewRepresentable' in scope
52 | }
53 |
54 | struct FrameChangePlacer<L: PlacementLayout>: UIViewRepresentable {
| `- error: cannot find type 'UIViewRepresentable' in scope
55 | @EnvironmentObject var coordinator: Coordinator<L>
56 | var children: _VariadicView.Children
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/FrameChangePlacer.swift:18:9: error: 'super' cannot be used in class 'FrameChangePlacerView' because it has no superclass
16 | self.coordinator = coordinator
17 | self.children = children
18 | super.init(frame: .zero)
| `- error: 'super' cannot be used in class 'FrameChangePlacerView' because it has no superclass
19 | }
20 |
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/FrameChangePlacer.swift:18:28: error: cannot infer contextual base in reference to member 'zero'
16 | self.coordinator = coordinator
17 | self.children = children
18 | super.init(frame: .zero)
| `- error: cannot infer contextual base in reference to member 'zero'
19 | }
20 |
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/FrameChangePlacer.swift:28:42: error: value of type 'FrameChangePlacerView<L>' has no member 'superview'
26 |
27 | override func didMoveToSuperview() {
28 | containedInViewController = self.superview?.parentViewController
| `- error: value of type 'FrameChangePlacerView<L>' has no member 'superview'
29 | }
30 |
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/FrameChangePlacer.swift:32:9: error: 'super' cannot be used in class 'FrameChangePlacerView' because it has no superclass
30 |
31 | override func layoutSubviews() {
32 | super.layoutSubviews()
| `- error: 'super' cannot be used in class 'FrameChangePlacerView' because it has no superclass
33 |
34 | if let viewController = containedInViewController
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/FrameChangePlacer.swift:35:22: error: value of type 'FrameChangePlacerView<L>' has no member 'superview'
33 |
34 | if let viewController = containedInViewController
35 | ?? self.superview?.parentViewController,
| `- error: value of type 'FrameChangePlacerView<L>' has no member 'superview'
36 | let globalFrame = self.superview?.convert(
37 | self.frame,
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/FrameChangePlacer.swift:36:35: error: value of type 'FrameChangePlacerView<L>' has no member 'superview'
34 | if let viewController = containedInViewController
35 | ?? self.superview?.parentViewController,
36 | let globalFrame = self.superview?.convert(
| `- error: value of type 'FrameChangePlacerView<L>' has no member 'superview'
37 | self.frame,
38 | to: viewController.view
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/FrameChangePlacer.swift:37:22: error: value of type 'FrameChangePlacerView<L>' has no member 'frame'
35 | ?? self.superview?.parentViewController,
36 | let globalFrame = self.superview?.convert(
37 | self.frame,
| `- error: value of type 'FrameChangePlacerView<L>' has no member 'frame'
38 | to: viewController.view
39 | )
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/FrameChangePlacer.swift:79:16: error: value of type 'FrameChangePlacerView<L>' has no member 'setNeedsLayout'
77 | )
78 |
79 | uiView.setNeedsLayout()
| `- error: value of type 'FrameChangePlacerView<L>' has no member 'setNeedsLayout'
80 | }
81 | }
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/LayoutChildSizingView.swift:4:61: error: cannot find type 'UIView' in scope
2 | import SwiftUI
3 |
4 | class PlacementLayoutChildSizingUIView<L: PlacementLayout>: UIView {
| `- error: cannot find type 'UIView' in scope
5 | override var intrinsicContentSize: CGSize {
6 | .zero
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/LayoutChildSizingView.swift:5:18: error: property does not override any property from its superclass
3 |
4 | class PlacementLayoutChildSizingUIView<L: PlacementLayout>: UIView {
5 | override var intrinsicContentSize: CGSize {
| `- error: property does not override any property from its superclass
6 | .zero
7 | }
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/LayoutChildSizingView.swift:11:6: error: 'EnvironmentObject' is only available in macOS 10.15 or newer
8 | }
9 |
10 | struct LayoutChildSizingView<L: PlacementLayout>: UIViewRepresentable {
| `- note: add '@available' attribute to enclosing generic struct
11 | @EnvironmentObject var placementsCoordinator: PlacementsCoordinator
| `- error: 'EnvironmentObject' is only available in macOS 10.15 or newer
12 | @EnvironmentObject var coordinator: Coordinator<L>
13 |
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/LayoutChildSizingView.swift:12:6: error: 'EnvironmentObject' is only available in macOS 10.15 or newer
8 | }
9 |
10 | struct LayoutChildSizingView<L: PlacementLayout>: UIViewRepresentable {
| `- note: add '@available' attribute to enclosing generic struct
11 | @EnvironmentObject var placementsCoordinator: PlacementsCoordinator
12 | @EnvironmentObject var coordinator: Coordinator<L>
| `- error: 'EnvironmentObject' is only available in macOS 10.15 or newer
13 |
14 | var layout: L
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/LayoutChildSizingView.swift:16:19: error: '_VariadicView' is only available in macOS 10.15 or newer
8 | }
9 |
10 | struct LayoutChildSizingView<L: PlacementLayout>: UIViewRepresentable {
| `- note: add '@available' attribute to enclosing generic struct
11 | @EnvironmentObject var placementsCoordinator: PlacementsCoordinator
12 | @EnvironmentObject var coordinator: Coordinator<L>
:
14 | var layout: L
15 | var id: AnyHashable
16 | var children: _VariadicView.Children
| `- error: '_VariadicView' is only available in macOS 10.15 or newer
17 |
18 | func makeUIView(context: Context) -> PlacementLayoutChildSizingUIView<L> {
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/LayoutChildSizingView.swift:18:30: error: cannot find type 'Context' in scope
16 | var children: _VariadicView.Children
17 |
18 | func makeUIView(context: Context) -> PlacementLayoutChildSizingUIView<L> {
| `- error: cannot find type 'Context' in scope
19 | let view = PlacementLayoutChildSizingUIView<L>(frame: .zero)
20 | return view
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/LayoutChildSizingView.swift:23:79: error: cannot find type 'Context' in scope
21 | }
22 |
23 | func updateUIView(_ uiView: PlacementLayoutChildSizingUIView<L>, context: Context) {
| `- error: cannot find type 'Context' in scope
24 | }
25 |
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/LayoutChildSizingView.swift:28:34: error: '_ProposedSize' is only available in macOS 10.15 or newer
8 | }
9 |
10 | struct LayoutChildSizingView<L: PlacementLayout>: UIViewRepresentable {
| `- note: add '@available' attribute to enclosing generic struct
11 | @EnvironmentObject var placementsCoordinator: PlacementsCoordinator
12 | @EnvironmentObject var coordinator: Coordinator<L>
:
24 | }
25 |
26 | func _overrideSizeThatFits(
| `- note: add '@available' attribute to enclosing instance method
27 | _ size: inout CoreGraphics.CGSize,
28 | in proposedSize: SwiftUI._ProposedSize,
| `- error: '_ProposedSize' is only available in macOS 10.15 or newer
29 | uiView: PlacementLayoutChildSizingUIView<L>
30 | ) {
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/LayoutChildSizingView.swift:10:51: error: cannot find type 'UIViewRepresentable' in scope
8 | }
9 |
10 | struct LayoutChildSizingView<L: PlacementLayout>: UIViewRepresentable {
| `- error: cannot find type 'UIViewRepresentable' in scope
11 | @EnvironmentObject var placementsCoordinator: PlacementsCoordinator
12 | @EnvironmentObject var coordinator: Coordinator<L>
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/LayoutChildSizingView.swift:19:64: error: argument passed to call that takes no arguments
17 |
18 | func makeUIView(context: Context) -> PlacementLayoutChildSizingUIView<L> {
19 | let view = PlacementLayoutChildSizingUIView<L>(frame: .zero)
| `- error: argument passed to call that takes no arguments
20 | return view
21 | }
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/LayoutChildSizingView.swift:19:64: error: cannot infer contextual base in reference to member 'zero'
17 |
18 | func makeUIView(context: Context) -> PlacementLayoutChildSizingUIView<L> {
19 | let view = PlacementLayoutChildSizingUIView<L>(frame: .zero)
| `- error: cannot infer contextual base in reference to member 'zero'
20 | return view
21 | }
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/LayoutPlacement.swift:30:17: error: 'UnitPoint' is only available in macOS 10.15 or newer
2 | import SwiftUI
3 |
4 | struct LayoutPlacement: Equatable {
| `- note: add '@available' attribute to enclosing struct
5 | static func == (lhs: LayoutPlacement, rhs: LayoutPlacement) -> Bool {
6 | if let lhsSubview = lhs.subview as? LayoutSubviewPolyfill,
:
28 | var subview: any PlacementLayoutSubview
29 | var position: CGPoint
30 | var anchor: UnitPoint
| `- error: 'UnitPoint' is only available in macOS 10.15 or newer
31 | var proposal: PlacementProposedViewSize
32 | }
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/FrameChangePlacer.swift:49:38: error: cannot find type 'UIViewController' in scope
47 |
48 | extension UIResponder {
49 | public var parentViewController: UIViewController? {
| `- error: cannot find type 'UIViewController' in scope
50 | return next as? UIViewController ?? next?.parentViewController
51 | }
[33/33] Compiling Placement LayoutPlacement.swift
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/FrameChangePlacer.swift:11:50: error: cannot find type 'UIView' in scope
9 | import SwiftUI
10 |
11 | class FrameChangePlacerView<L: PlacementLayout>: UIView {
| `- error: cannot find type 'UIView' in scope
12 | var coordinator: Coordinator<L>
13 | var children: _VariadicView.Children
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/FrameChangePlacer.swift:13:19: error: '_VariadicView' is only available in macOS 10.15 or newer
9 | import SwiftUI
10 |
11 | class FrameChangePlacerView<L: PlacementLayout>: UIView {
| `- note: add '@available' attribute to enclosing generic class
12 | var coordinator: Coordinator<L>
13 | var children: _VariadicView.Children
| `- error: '_VariadicView' is only available in macOS 10.15 or newer
14 |
15 | init(coordinator: Coordinator<L>, children: _VariadicView.Children) {
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/FrameChangePlacer.swift:15:49: error: '_VariadicView' is only available in macOS 10.15 or newer
9 | import SwiftUI
10 |
11 | class FrameChangePlacerView<L: PlacementLayout>: UIView {
| `- note: add '@available' attribute to enclosing generic class
12 | var coordinator: Coordinator<L>
13 | var children: _VariadicView.Children
14 |
15 | init(coordinator: Coordinator<L>, children: _VariadicView.Children) {
| | `- error: '_VariadicView' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing initializer
16 | self.coordinator = coordinator
17 | self.children = children
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/FrameChangePlacer.swift:25:36: error: cannot find type 'UIViewController' in scope
23 | }
24 |
25 | var containedInViewController: UIViewController? = nil
| `- error: cannot find type 'UIViewController' in scope
26 |
27 | override func didMoveToSuperview() {
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/FrameChangePlacer.swift:27:19: error: method does not override any method from its superclass
25 | var containedInViewController: UIViewController? = nil
26 |
27 | override func didMoveToSuperview() {
| `- error: method does not override any method from its superclass
28 | containedInViewController = self.superview?.parentViewController
29 | }
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/FrameChangePlacer.swift:31:19: error: method does not override any method from its superclass
29 | }
30 |
31 | override func layoutSubviews() {
| `- error: method does not override any method from its superclass
32 | super.layoutSubviews()
33 |
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/FrameChangePlacer.swift:48:11: error: cannot find type 'UIResponder' in scope
46 | }
47 |
48 | extension UIResponder {
| `- error: cannot find type 'UIResponder' in scope
49 | public var parentViewController: UIViewController? {
50 | return next as? UIViewController ?? next?.parentViewController
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/FrameChangePlacer.swift:55:6: error: 'EnvironmentObject' is only available in macOS 10.15 or newer
52 | }
53 |
54 | struct FrameChangePlacer<L: PlacementLayout>: UIViewRepresentable {
| `- note: add '@available' attribute to enclosing generic struct
55 | @EnvironmentObject var coordinator: Coordinator<L>
| `- error: 'EnvironmentObject' is only available in macOS 10.15 or newer
56 | var children: _VariadicView.Children
57 | var intrinsicSizes: [AnyHashable: CGSize]
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/FrameChangePlacer.swift:56:19: error: '_VariadicView' is only available in macOS 10.15 or newer
52 | }
53 |
54 | struct FrameChangePlacer<L: PlacementLayout>: UIViewRepresentable {
| `- note: add '@available' attribute to enclosing generic struct
55 | @EnvironmentObject var coordinator: Coordinator<L>
56 | var children: _VariadicView.Children
| `- error: '_VariadicView' is only available in macOS 10.15 or newer
57 | var intrinsicSizes: [AnyHashable: CGSize]
58 | @Binding var keyboardFrame: CGRect
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/FrameChangePlacer.swift:58:6: error: 'Binding' is only available in macOS 10.15 or newer
52 | }
53 |
54 | struct FrameChangePlacer<L: PlacementLayout>: UIViewRepresentable {
| `- note: add '@available' attribute to enclosing generic struct
55 | @EnvironmentObject var coordinator: Coordinator<L>
56 | var children: _VariadicView.Children
57 | var intrinsicSizes: [AnyHashable: CGSize]
58 | @Binding var keyboardFrame: CGRect
| `- error: 'Binding' is only available in macOS 10.15 or newer
59 |
60 | func makeUIView(context: Context) -> FrameChangePlacerView<L> {
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/FrameChangePlacer.swift:60:30: error: cannot find type 'Context' in scope
58 | @Binding var keyboardFrame: CGRect
59 |
60 | func makeUIView(context: Context) -> FrameChangePlacerView<L> {
| `- error: cannot find type 'Context' in scope
61 | FrameChangePlacerView(coordinator: coordinator, children: children)
62 | }
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/FrameChangePlacer.swift:64:68: error: cannot find type 'Context' in scope
62 | }
63 |
64 | func updateUIView(_ uiView: FrameChangePlacerView<L>, context: Context) {
| `- error: cannot find type 'Context' in scope
65 | }
66 |
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/FrameChangePlacer.swift:69:34: error: '_ProposedSize' is only available in macOS 10.15 or newer
52 | }
53 |
54 | struct FrameChangePlacer<L: PlacementLayout>: UIViewRepresentable {
| `- note: add '@available' attribute to enclosing generic struct
55 | @EnvironmentObject var coordinator: Coordinator<L>
56 | var children: _VariadicView.Children
:
65 | }
66 |
67 | func _overrideSizeThatFits(
| `- note: add '@available' attribute to enclosing instance method
68 | _ size: inout CoreGraphics.CGSize,
69 | in proposedSize: SwiftUI._ProposedSize,
| `- error: '_ProposedSize' is only available in macOS 10.15 or newer
70 | uiView: FrameChangePlacerView<L>
71 | ) {
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/FrameChangePlacer.swift:54:47: error: cannot find type 'UIViewRepresentable' in scope
52 | }
53 |
54 | struct FrameChangePlacer<L: PlacementLayout>: UIViewRepresentable {
| `- error: cannot find type 'UIViewRepresentable' in scope
55 | @EnvironmentObject var coordinator: Coordinator<L>
56 | var children: _VariadicView.Children
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/FrameChangePlacer.swift:18:9: error: 'super' cannot be used in class 'FrameChangePlacerView' because it has no superclass
16 | self.coordinator = coordinator
17 | self.children = children
18 | super.init(frame: .zero)
| `- error: 'super' cannot be used in class 'FrameChangePlacerView' because it has no superclass
19 | }
20 |
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/FrameChangePlacer.swift:18:28: error: cannot infer contextual base in reference to member 'zero'
16 | self.coordinator = coordinator
17 | self.children = children
18 | super.init(frame: .zero)
| `- error: cannot infer contextual base in reference to member 'zero'
19 | }
20 |
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/FrameChangePlacer.swift:28:42: error: value of type 'FrameChangePlacerView<L>' has no member 'superview'
26 |
27 | override func didMoveToSuperview() {
28 | containedInViewController = self.superview?.parentViewController
| `- error: value of type 'FrameChangePlacerView<L>' has no member 'superview'
29 | }
30 |
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/FrameChangePlacer.swift:32:9: error: 'super' cannot be used in class 'FrameChangePlacerView' because it has no superclass
30 |
31 | override func layoutSubviews() {
32 | super.layoutSubviews()
| `- error: 'super' cannot be used in class 'FrameChangePlacerView' because it has no superclass
33 |
34 | if let viewController = containedInViewController
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/FrameChangePlacer.swift:35:22: error: value of type 'FrameChangePlacerView<L>' has no member 'superview'
33 |
34 | if let viewController = containedInViewController
35 | ?? self.superview?.parentViewController,
| `- error: value of type 'FrameChangePlacerView<L>' has no member 'superview'
36 | let globalFrame = self.superview?.convert(
37 | self.frame,
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/FrameChangePlacer.swift:36:35: error: value of type 'FrameChangePlacerView<L>' has no member 'superview'
34 | if let viewController = containedInViewController
35 | ?? self.superview?.parentViewController,
36 | let globalFrame = self.superview?.convert(
| `- error: value of type 'FrameChangePlacerView<L>' has no member 'superview'
37 | self.frame,
38 | to: viewController.view
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/FrameChangePlacer.swift:37:22: error: value of type 'FrameChangePlacerView<L>' has no member 'frame'
35 | ?? self.superview?.parentViewController,
36 | let globalFrame = self.superview?.convert(
37 | self.frame,
| `- error: value of type 'FrameChangePlacerView<L>' has no member 'frame'
38 | to: viewController.view
39 | )
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/FrameChangePlacer.swift:79:16: error: value of type 'FrameChangePlacerView<L>' has no member 'setNeedsLayout'
77 | )
78 |
79 | uiView.setNeedsLayout()
| `- error: value of type 'FrameChangePlacerView<L>' has no member 'setNeedsLayout'
80 | }
81 | }
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/LayoutChildSizingView.swift:4:61: error: cannot find type 'UIView' in scope
2 | import SwiftUI
3 |
4 | class PlacementLayoutChildSizingUIView<L: PlacementLayout>: UIView {
| `- error: cannot find type 'UIView' in scope
5 | override var intrinsicContentSize: CGSize {
6 | .zero
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/LayoutChildSizingView.swift:5:18: error: property does not override any property from its superclass
3 |
4 | class PlacementLayoutChildSizingUIView<L: PlacementLayout>: UIView {
5 | override var intrinsicContentSize: CGSize {
| `- error: property does not override any property from its superclass
6 | .zero
7 | }
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/LayoutChildSizingView.swift:11:6: error: 'EnvironmentObject' is only available in macOS 10.15 or newer
8 | }
9 |
10 | struct LayoutChildSizingView<L: PlacementLayout>: UIViewRepresentable {
| `- note: add '@available' attribute to enclosing generic struct
11 | @EnvironmentObject var placementsCoordinator: PlacementsCoordinator
| `- error: 'EnvironmentObject' is only available in macOS 10.15 or newer
12 | @EnvironmentObject var coordinator: Coordinator<L>
13 |
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/LayoutChildSizingView.swift:12:6: error: 'EnvironmentObject' is only available in macOS 10.15 or newer
8 | }
9 |
10 | struct LayoutChildSizingView<L: PlacementLayout>: UIViewRepresentable {
| `- note: add '@available' attribute to enclosing generic struct
11 | @EnvironmentObject var placementsCoordinator: PlacementsCoordinator
12 | @EnvironmentObject var coordinator: Coordinator<L>
| `- error: 'EnvironmentObject' is only available in macOS 10.15 or newer
13 |
14 | var layout: L
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/LayoutChildSizingView.swift:16:19: error: '_VariadicView' is only available in macOS 10.15 or newer
8 | }
9 |
10 | struct LayoutChildSizingView<L: PlacementLayout>: UIViewRepresentable {
| `- note: add '@available' attribute to enclosing generic struct
11 | @EnvironmentObject var placementsCoordinator: PlacementsCoordinator
12 | @EnvironmentObject var coordinator: Coordinator<L>
:
14 | var layout: L
15 | var id: AnyHashable
16 | var children: _VariadicView.Children
| `- error: '_VariadicView' is only available in macOS 10.15 or newer
17 |
18 | func makeUIView(context: Context) -> PlacementLayoutChildSizingUIView<L> {
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/LayoutChildSizingView.swift:18:30: error: cannot find type 'Context' in scope
16 | var children: _VariadicView.Children
17 |
18 | func makeUIView(context: Context) -> PlacementLayoutChildSizingUIView<L> {
| `- error: cannot find type 'Context' in scope
19 | let view = PlacementLayoutChildSizingUIView<L>(frame: .zero)
20 | return view
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/LayoutChildSizingView.swift:23:79: error: cannot find type 'Context' in scope
21 | }
22 |
23 | func updateUIView(_ uiView: PlacementLayoutChildSizingUIView<L>, context: Context) {
| `- error: cannot find type 'Context' in scope
24 | }
25 |
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/LayoutChildSizingView.swift:28:34: error: '_ProposedSize' is only available in macOS 10.15 or newer
8 | }
9 |
10 | struct LayoutChildSizingView<L: PlacementLayout>: UIViewRepresentable {
| `- note: add '@available' attribute to enclosing generic struct
11 | @EnvironmentObject var placementsCoordinator: PlacementsCoordinator
12 | @EnvironmentObject var coordinator: Coordinator<L>
:
24 | }
25 |
26 | func _overrideSizeThatFits(
| `- note: add '@available' attribute to enclosing instance method
27 | _ size: inout CoreGraphics.CGSize,
28 | in proposedSize: SwiftUI._ProposedSize,
| `- error: '_ProposedSize' is only available in macOS 10.15 or newer
29 | uiView: PlacementLayoutChildSizingUIView<L>
30 | ) {
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/LayoutChildSizingView.swift:10:51: error: cannot find type 'UIViewRepresentable' in scope
8 | }
9 |
10 | struct LayoutChildSizingView<L: PlacementLayout>: UIViewRepresentable {
| `- error: cannot find type 'UIViewRepresentable' in scope
11 | @EnvironmentObject var placementsCoordinator: PlacementsCoordinator
12 | @EnvironmentObject var coordinator: Coordinator<L>
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/LayoutChildSizingView.swift:19:64: error: argument passed to call that takes no arguments
17 |
18 | func makeUIView(context: Context) -> PlacementLayoutChildSizingUIView<L> {
19 | let view = PlacementLayoutChildSizingUIView<L>(frame: .zero)
| `- error: argument passed to call that takes no arguments
20 | return view
21 | }
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/LayoutChildSizingView.swift:19:64: error: cannot infer contextual base in reference to member 'zero'
17 |
18 | func makeUIView(context: Context) -> PlacementLayoutChildSizingUIView<L> {
19 | let view = PlacementLayoutChildSizingUIView<L>(frame: .zero)
| `- error: cannot infer contextual base in reference to member 'zero'
20 | return view
21 | }
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/LayoutPlacement.swift:30:17: error: 'UnitPoint' is only available in macOS 10.15 or newer
2 | import SwiftUI
3 |
4 | struct LayoutPlacement: Equatable {
| `- note: add '@available' attribute to enclosing struct
5 | static func == (lhs: LayoutPlacement, rhs: LayoutPlacement) -> Bool {
6 | if let lhsSubview = lhs.subview as? LayoutSubviewPolyfill,
:
28 | var subview: any PlacementLayoutSubview
29 | var position: CGPoint
30 | var anchor: UnitPoint
| `- error: 'UnitPoint' is only available in macOS 10.15 or newer
31 | var proposal: PlacementProposedViewSize
32 | }
/Users/admin/builder/spi-builder-workspace/Sources/Placement/Layouting/FrameChangePlacer.swift:49:38: error: cannot find type 'UIViewController' in scope
47 |
48 | extension UIResponder {
49 | public var parentViewController: UIViewController? {
| `- error: cannot find type 'UIViewController' in scope
50 | return next as? UIViewController ?? next?.parentViewController
51 | }
BUILD FAILURE 6.3 macosSpm