Build Information
Failed to build LayoutAid, reference master (c02a9b), with Swift 6.3 for Linux on 12 Apr 2026 00:32:21 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:basic-6.3-latest swift build --triple x86_64-unknown-linux-gnu 2>&1Build Log
| `- error: cannot find type 'NSLayoutXAxisAnchor' in scope
9 |
10 | #if canImport(UIKit)
/host/spi-builder-workspace/Sources/LayoutAid/XAxisConstraintsGenerator.swift:8:52: error: cannot find type 'NSLayoutXAxisAnchor' in scope
6 |
7 | public protocol XAxisConstraintsGenerator: AxisConstraintsGenerator
8 | where AnchorType == NSLayoutXAxisAnchor, Anchor == NSLayoutXAxisAnchor {}
| `- error: cannot find type 'NSLayoutXAxisAnchor' in scope
9 |
10 | #if canImport(UIKit)
/host/spi-builder-workspace/Sources/LayoutAid/AxisConstraintsGenerator.swift:16:28: error: cannot find type 'NSLayoutAnchor' in scope
14 | public protocol AxisConstraintsGenerator: LayoutConstraintsGenerator {
15 | associatedtype AnchorType: AnyObject
16 | associatedtype Anchor: NSLayoutAnchor<AnchorType>
| `- error: cannot find type 'NSLayoutAnchor' in scope
17 |
18 | var relation: NSLayoutConstraint.Relation { get }
/host/spi-builder-workspace/Sources/LayoutAid/AxisConstraintsGenerator.swift:18:19: error: cannot find type 'NSLayoutConstraint' in scope
16 | associatedtype Anchor: NSLayoutAnchor<AnchorType>
17 |
18 | var relation: NSLayoutConstraint.Relation { get }
| `- error: cannot find type 'NSLayoutConstraint' in scope
19 |
20 | var secondAnchor: Anchor { get }
/host/spi-builder-workspace/Sources/LayoutAid/AxisConstraintsGenerator.swift:35:19: error: cannot find type 'CGFloat' in scope
33 | #else
34 |
35 | var constant: CGFloat { get }
| `- error: cannot find type 'CGFloat' in scope
36 |
37 | static var firstAnchorKeyPath: KeyPath<LayoutItem, Anchor> { get }
/host/spi-builder-workspace/Sources/LayoutAid/AxisConstraintsGenerator.swift:40:21: error: cannot find type 'NSLayoutConstraint' in scope
38 |
39 | init(
40 | _ relation: NSLayoutConstraint.Relation,
| `- error: cannot find type 'NSLayoutConstraint' in scope
41 | to secondAnchor: Anchor,
42 | constant: CGFloat
/host/spi-builder-workspace/Sources/LayoutAid/AxisConstraintsGenerator.swift:42:19: error: cannot find type 'CGFloat' in scope
40 | _ relation: NSLayoutConstraint.Relation,
41 | to secondAnchor: Anchor,
42 | constant: CGFloat
| `- error: cannot find type 'CGFloat' in scope
43 | )
44 | #endif
/host/spi-builder-workspace/Sources/LayoutAid/Leading.swift:7:15: error: type 'Leading' does not conform to protocol 'AxisConstraintsGenerator'
5 | #endif
6 |
7 | public struct Leading: XAxisConstraintsGenerator {
| |- error: type 'Leading' does not conform to protocol 'AxisConstraintsGenerator'
| `- note: add stubs for conformance
8 |
9 | public var secondAnchor: NSLayoutXAxisAnchor
/host/spi-builder-workspace/Sources/LayoutAid/AxisConstraintsGenerator.swift:15:20: note: protocol requires nested type 'AnchorType'
13 |
14 | public protocol AxisConstraintsGenerator: LayoutConstraintsGenerator {
15 | associatedtype AnchorType: AnyObject
| `- note: protocol requires nested type 'AnchorType'
16 | associatedtype Anchor: NSLayoutAnchor<AnchorType>
| `- note: protocol requires nested type 'Anchor'
17 |
18 | var relation: NSLayoutConstraint.Relation { get }
[22/31] Compiling LayoutAid LayoutGuide.swift
/host/spi-builder-workspace/Sources/LayoutAid/LayoutConstraintsGenerator.swift:23:2: warning: '@_functionBuilder' has been renamed to '@resultBuilder'
21 | }
22 |
23 | @_functionBuilder
| `- warning: '@_functionBuilder' has been renamed to '@resultBuilder'
24 | public struct LayoutConstraintsGeneratorBuilder {
25 |
/host/spi-builder-workspace/Sources/LayoutAid/LayoutConstraintsGenerator.swift:9:19: error: cannot find type 'NSLayoutConstraint' in scope
7 | public protocol LayoutConstraintsGenerator {
8 |
9 | var priority: NSLayoutConstraint.Priority { get set }
| `- error: cannot find type 'NSLayoutConstraint' in scope
10 |
11 | func makeConstraints(for item: LayoutItem) -> [NSLayoutConstraint]
/host/spi-builder-workspace/Sources/LayoutAid/LayoutConstraintsGenerator.swift:11:52: error: cannot find type 'NSLayoutConstraint' in scope
9 | var priority: NSLayoutConstraint.Priority { get set }
10 |
11 | func makeConstraints(for item: LayoutItem) -> [NSLayoutConstraint]
| `- error: cannot find type 'NSLayoutConstraint' in scope
12 | }
13 |
/host/spi-builder-workspace/Sources/LayoutAid/LayoutConstraintsGenerator.swift:16:28: error: cannot find type 'NSLayoutConstraint' in scope
14 | public extension LayoutConstraintsGenerator {
15 |
16 | func priority(_ value: NSLayoutConstraint.Priority) -> Self {
| `- error: cannot find type 'NSLayoutConstraint' in scope
17 | var new = self
18 | new.priority = value
/host/spi-builder-workspace/Sources/LayoutAid/LayoutItem.swift:9:24: error: cannot find type 'NSLayoutXAxisAnchor' in scope
7 | public protocol LayoutItem {
8 |
9 | var leadingAnchor: NSLayoutXAxisAnchor { get }
| `- error: cannot find type 'NSLayoutXAxisAnchor' in scope
10 |
11 | var trailingAnchor: NSLayoutXAxisAnchor { get }
/host/spi-builder-workspace/Sources/LayoutAid/LayoutItem.swift:11:25: error: cannot find type 'NSLayoutXAxisAnchor' in scope
9 | var leadingAnchor: NSLayoutXAxisAnchor { get }
10 |
11 | var trailingAnchor: NSLayoutXAxisAnchor { get }
| `- error: cannot find type 'NSLayoutXAxisAnchor' in scope
12 |
13 | var leftAnchor: NSLayoutXAxisAnchor { get }
/host/spi-builder-workspace/Sources/LayoutAid/LayoutItem.swift:13:21: error: cannot find type 'NSLayoutXAxisAnchor' in scope
11 | var trailingAnchor: NSLayoutXAxisAnchor { get }
12 |
13 | var leftAnchor: NSLayoutXAxisAnchor { get }
| `- error: cannot find type 'NSLayoutXAxisAnchor' in scope
14 |
15 | var rightAnchor: NSLayoutXAxisAnchor { get }
/host/spi-builder-workspace/Sources/LayoutAid/LayoutItem.swift:15:22: error: cannot find type 'NSLayoutXAxisAnchor' in scope
13 | var leftAnchor: NSLayoutXAxisAnchor { get }
14 |
15 | var rightAnchor: NSLayoutXAxisAnchor { get }
| `- error: cannot find type 'NSLayoutXAxisAnchor' in scope
16 |
17 | var topAnchor: NSLayoutYAxisAnchor { get }
/host/spi-builder-workspace/Sources/LayoutAid/LayoutItem.swift:17:20: error: cannot find type 'NSLayoutYAxisAnchor' in scope
15 | var rightAnchor: NSLayoutXAxisAnchor { get }
16 |
17 | var topAnchor: NSLayoutYAxisAnchor { get }
| `- error: cannot find type 'NSLayoutYAxisAnchor' in scope
18 |
19 | var bottomAnchor: NSLayoutYAxisAnchor { get }
/host/spi-builder-workspace/Sources/LayoutAid/LayoutItem.swift:19:23: error: cannot find type 'NSLayoutYAxisAnchor' in scope
17 | var topAnchor: NSLayoutYAxisAnchor { get }
18 |
19 | var bottomAnchor: NSLayoutYAxisAnchor { get }
| `- error: cannot find type 'NSLayoutYAxisAnchor' in scope
20 |
21 | var centerXAnchor: NSLayoutXAxisAnchor { get }
/host/spi-builder-workspace/Sources/LayoutAid/LayoutItem.swift:21:24: error: cannot find type 'NSLayoutXAxisAnchor' in scope
19 | var bottomAnchor: NSLayoutYAxisAnchor { get }
20 |
21 | var centerXAnchor: NSLayoutXAxisAnchor { get }
| `- error: cannot find type 'NSLayoutXAxisAnchor' in scope
22 |
23 | var centerYAnchor: NSLayoutYAxisAnchor { get }
/host/spi-builder-workspace/Sources/LayoutAid/LayoutItem.swift:23:24: error: cannot find type 'NSLayoutYAxisAnchor' in scope
21 | var centerXAnchor: NSLayoutXAxisAnchor { get }
22 |
23 | var centerYAnchor: NSLayoutYAxisAnchor { get }
| `- error: cannot find type 'NSLayoutYAxisAnchor' in scope
24 |
25 | var widthAnchor: NSLayoutDimension { get }
/host/spi-builder-workspace/Sources/LayoutAid/LayoutItem.swift:25:22: error: cannot find type 'NSLayoutDimension' in scope
23 | var centerYAnchor: NSLayoutYAxisAnchor { get }
24 |
25 | var widthAnchor: NSLayoutDimension { get }
| `- error: cannot find type 'NSLayoutDimension' in scope
26 |
27 | var heightAnchor: NSLayoutDimension { get }
/host/spi-builder-workspace/Sources/LayoutAid/LayoutItem.swift:27:23: error: cannot find type 'NSLayoutDimension' in scope
25 | var widthAnchor: NSLayoutDimension { get }
26 |
27 | var heightAnchor: NSLayoutDimension { get }
| `- error: cannot find type 'NSLayoutDimension' in scope
28 | }
29 |
/host/spi-builder-workspace/Sources/LayoutAid/LayoutItem.swift:30:11: error: cannot find type 'LayoutAidView' in scope
28 | }
29 |
30 | extension LayoutAidView: LayoutItem {}
| `- error: cannot find type 'LayoutAidView' in scope
31 | extension LayoutAidGuide: LayoutItem {}
32 |
/host/spi-builder-workspace/Sources/LayoutAid/LayoutItem.swift:31:11: error: cannot find type 'LayoutAidGuide' in scope
29 |
30 | extension LayoutAidView: LayoutItem {}
31 | extension LayoutAidGuide: LayoutItem {}
| `- error: cannot find type 'LayoutAidGuide' in scope
32 |
33 | public extension LayoutItem {
/host/spi-builder-workspace/Sources/LayoutAid/LayoutItem.swift:36:95: error: cannot find type 'NSLayoutConstraint' in scope
34 |
35 | func anchor(
36 | @LayoutConstraintsGeneratorBuilder _ content: () -> [LayoutConstraintsGenerator]) -> [NSLayoutConstraint] {
| `- error: cannot find type 'NSLayoutConstraint' in scope
37 | content().flatMap { generator in
38 | generator.makeConstraints(for: self)
/host/spi-builder-workspace/Sources/LayoutAid/LayoutItem.swift:42:62: error: cannot find type 'NSLayoutConstraint' in scope
40 | }
41 |
42 | func anchor(_ generator: LayoutConstraintsGenerator) -> [NSLayoutConstraint] {
| `- error: cannot find type 'NSLayoutConstraint' in scope
43 | generator.makeConstraints(for: self)
44 | }
/host/spi-builder-workspace/Sources/LayoutAid/LayoutItem.swift:37:19: error: no 'flatMap' candidates produce the expected contextual result type '_'
35 | func anchor(
36 | @LayoutConstraintsGeneratorBuilder _ content: () -> [LayoutConstraintsGenerator]) -> [NSLayoutConstraint] {
37 | content().flatMap { generator in
| `- error: no 'flatMap' candidates produce the expected contextual result type '_'
38 | generator.makeConstraints(for: self)
39 | }
Swift.Sequence.flatMap:2:24: note: 'flatMap' produces '[SegmentOfResult.Element]', not the expected contextual result type '_'
1 | protocol Sequence {
2 | @inlinable public func flatMap<SegmentOfResult>(_ transform: (Self.Element) throws -> SegmentOfResult) rethrows -> [SegmentOfResult.Element] where SegmentOfResult : Sequence}
| `- note: 'flatMap' produces '[SegmentOfResult.Element]', not the expected contextual result type '_'
3 |
Swift.Sequence.flatMap:3:15: note: 'flatMap' produces '[ElementOfResult]', not the expected contextual result type '_'
1 | protocol Sequence {
2 | @available(swift, deprecated: 4.1, renamed: "compactMap(_:)", message: "Please use compactMap(_:) for the case where closure returns an optional value")
3 | public func flatMap<ElementOfResult>(_ transform: (Self.Element) throws -> ElementOfResult?) rethrows -> [ElementOfResult]}
| `- note: 'flatMap' produces '[ElementOfResult]', not the expected contextual result type '_'
4 |
/host/spi-builder-workspace/Sources/LayoutAid/Leading.swift:9:30: error: cannot find type 'NSLayoutXAxisAnchor' in scope
7 | public struct Leading: XAxisConstraintsGenerator {
8 |
9 | public var secondAnchor: NSLayoutXAxisAnchor
| `- error: cannot find type 'NSLayoutXAxisAnchor' in scope
10 |
11 | public var priority: NSLayoutConstraint.Priority = .required
/host/spi-builder-workspace/Sources/LayoutAid/Leading.swift:11:26: error: cannot find type 'NSLayoutConstraint' in scope
9 | public var secondAnchor: NSLayoutXAxisAnchor
10 |
11 | public var priority: NSLayoutConstraint.Priority = .required
| `- error: cannot find type 'NSLayoutConstraint' in scope
12 |
13 | public let relation: NSLayoutConstraint.Relation
/host/spi-builder-workspace/Sources/LayoutAid/Leading.swift:13:26: error: cannot find type 'NSLayoutConstraint' in scope
11 | public var priority: NSLayoutConstraint.Priority = .required
12 |
13 | public let relation: NSLayoutConstraint.Relation
| `- error: cannot find type 'NSLayoutConstraint' in scope
14 |
15 | #if canImport(UIKit)
/host/spi-builder-workspace/Sources/LayoutAid/Leading.swift:42:26: error: cannot find type 'CGFloat' in scope
40 | #else
41 |
42 | public let constant: CGFloat
| `- error: cannot find type 'CGFloat' in scope
43 |
44 | public init(_ relation: NSLayoutConstraint.Relation, to secondAnchor: NSLayoutXAxisAnchor, constant: CGFloat) {
/host/spi-builder-workspace/Sources/LayoutAid/Leading.swift:44:29: error: cannot find type 'NSLayoutConstraint' in scope
42 | public let constant: CGFloat
43 |
44 | public init(_ relation: NSLayoutConstraint.Relation, to secondAnchor: NSLayoutXAxisAnchor, constant: CGFloat) {
| `- error: cannot find type 'NSLayoutConstraint' in scope
45 | self.relation = relation
46 | self.secondAnchor = secondAnchor
/host/spi-builder-workspace/Sources/LayoutAid/Leading.swift:44:75: error: cannot find type 'NSLayoutXAxisAnchor' in scope
42 | public let constant: CGFloat
43 |
44 | public init(_ relation: NSLayoutConstraint.Relation, to secondAnchor: NSLayoutXAxisAnchor, constant: CGFloat) {
| `- error: cannot find type 'NSLayoutXAxisAnchor' in scope
45 | self.relation = relation
46 | self.secondAnchor = secondAnchor
/host/spi-builder-workspace/Sources/LayoutAid/Leading.swift:44:106: error: cannot find type 'CGFloat' in scope
42 | public let constant: CGFloat
43 |
44 | public init(_ relation: NSLayoutConstraint.Relation, to secondAnchor: NSLayoutXAxisAnchor, constant: CGFloat) {
| `- error: cannot find type 'CGFloat' in scope
45 | self.relation = relation
46 | self.secondAnchor = secondAnchor
/host/spi-builder-workspace/Sources/LayoutAid/Leading.swift:50:63: error: cannot find type 'NSLayoutXAxisAnchor' in scope
48 | }
49 |
50 | public static var firstAnchorKeyPath: KeyPath<LayoutItem, NSLayoutXAxisAnchor> = \.leadingAnchor
| `- error: cannot find type 'NSLayoutXAxisAnchor' in scope
51 |
52 | #endif
/host/spi-builder-workspace/Sources/LayoutAid/Leading.swift:50:86: error: cannot infer key path type from context; consider explicitly specifying a root type
48 | }
49 |
50 | public static var firstAnchorKeyPath: KeyPath<LayoutItem, NSLayoutXAxisAnchor> = \.leadingAnchor
| `- error: cannot infer key path type from context; consider explicitly specifying a root type
51 |
52 | #endif
/host/spi-builder-workspace/Sources/LayoutAid/XAxisConstraintsGenerator.swift:8:21: error: cannot find type 'NSLayoutXAxisAnchor' in scope
6 |
7 | public protocol XAxisConstraintsGenerator: AxisConstraintsGenerator
8 | where AnchorType == NSLayoutXAxisAnchor, Anchor == NSLayoutXAxisAnchor {}
| `- error: cannot find type 'NSLayoutXAxisAnchor' in scope
9 |
10 | #if canImport(UIKit)
/host/spi-builder-workspace/Sources/LayoutAid/XAxisConstraintsGenerator.swift:8:52: error: cannot find type 'NSLayoutXAxisAnchor' in scope
6 |
7 | public protocol XAxisConstraintsGenerator: AxisConstraintsGenerator
8 | where AnchorType == NSLayoutXAxisAnchor, Anchor == NSLayoutXAxisAnchor {}
| `- error: cannot find type 'NSLayoutXAxisAnchor' in scope
9 |
10 | #if canImport(UIKit)
/host/spi-builder-workspace/Sources/LayoutAid/AxisConstraintsGenerator.swift:16:28: error: cannot find type 'NSLayoutAnchor' in scope
14 | public protocol AxisConstraintsGenerator: LayoutConstraintsGenerator {
15 | associatedtype AnchorType: AnyObject
16 | associatedtype Anchor: NSLayoutAnchor<AnchorType>
| `- error: cannot find type 'NSLayoutAnchor' in scope
17 |
18 | var relation: NSLayoutConstraint.Relation { get }
/host/spi-builder-workspace/Sources/LayoutAid/AxisConstraintsGenerator.swift:18:19: error: cannot find type 'NSLayoutConstraint' in scope
16 | associatedtype Anchor: NSLayoutAnchor<AnchorType>
17 |
18 | var relation: NSLayoutConstraint.Relation { get }
| `- error: cannot find type 'NSLayoutConstraint' in scope
19 |
20 | var secondAnchor: Anchor { get }
/host/spi-builder-workspace/Sources/LayoutAid/AxisConstraintsGenerator.swift:35:19: error: cannot find type 'CGFloat' in scope
33 | #else
34 |
35 | var constant: CGFloat { get }
| `- error: cannot find type 'CGFloat' in scope
36 |
37 | static var firstAnchorKeyPath: KeyPath<LayoutItem, Anchor> { get }
/host/spi-builder-workspace/Sources/LayoutAid/AxisConstraintsGenerator.swift:40:21: error: cannot find type 'NSLayoutConstraint' in scope
38 |
39 | init(
40 | _ relation: NSLayoutConstraint.Relation,
| `- error: cannot find type 'NSLayoutConstraint' in scope
41 | to secondAnchor: Anchor,
42 | constant: CGFloat
/host/spi-builder-workspace/Sources/LayoutAid/AxisConstraintsGenerator.swift:42:19: error: cannot find type 'CGFloat' in scope
40 | _ relation: NSLayoutConstraint.Relation,
41 | to secondAnchor: Anchor,
42 | constant: CGFloat
| `- error: cannot find type 'CGFloat' in scope
43 | )
44 | #endif
/host/spi-builder-workspace/Sources/LayoutAid/Leading.swift:7:15: error: type 'Leading' does not conform to protocol 'AxisConstraintsGenerator'
5 | #endif
6 |
7 | public struct Leading: XAxisConstraintsGenerator {
| |- error: type 'Leading' does not conform to protocol 'AxisConstraintsGenerator'
| `- note: add stubs for conformance
8 |
9 | public var secondAnchor: NSLayoutXAxisAnchor
/host/spi-builder-workspace/Sources/LayoutAid/AxisConstraintsGenerator.swift:15:20: note: protocol requires nested type 'AnchorType'
13 |
14 | public protocol AxisConstraintsGenerator: LayoutConstraintsGenerator {
15 | associatedtype AnchorType: AnyObject
| `- note: protocol requires nested type 'AnchorType'
16 | associatedtype Anchor: NSLayoutAnchor<AnchorType>
| `- note: protocol requires nested type 'Anchor'
17 |
18 | var relation: NSLayoutConstraint.Relation { get }
[23/31] Compiling LayoutAid LayoutItem.swift
/host/spi-builder-workspace/Sources/LayoutAid/LayoutConstraintsGenerator.swift:23:2: warning: '@_functionBuilder' has been renamed to '@resultBuilder'
21 | }
22 |
23 | @_functionBuilder
| `- warning: '@_functionBuilder' has been renamed to '@resultBuilder'
24 | public struct LayoutConstraintsGeneratorBuilder {
25 |
/host/spi-builder-workspace/Sources/LayoutAid/LayoutConstraintsGenerator.swift:9:19: error: cannot find type 'NSLayoutConstraint' in scope
7 | public protocol LayoutConstraintsGenerator {
8 |
9 | var priority: NSLayoutConstraint.Priority { get set }
| `- error: cannot find type 'NSLayoutConstraint' in scope
10 |
11 | func makeConstraints(for item: LayoutItem) -> [NSLayoutConstraint]
/host/spi-builder-workspace/Sources/LayoutAid/LayoutConstraintsGenerator.swift:11:52: error: cannot find type 'NSLayoutConstraint' in scope
9 | var priority: NSLayoutConstraint.Priority { get set }
10 |
11 | func makeConstraints(for item: LayoutItem) -> [NSLayoutConstraint]
| `- error: cannot find type 'NSLayoutConstraint' in scope
12 | }
13 |
/host/spi-builder-workspace/Sources/LayoutAid/LayoutConstraintsGenerator.swift:16:28: error: cannot find type 'NSLayoutConstraint' in scope
14 | public extension LayoutConstraintsGenerator {
15 |
16 | func priority(_ value: NSLayoutConstraint.Priority) -> Self {
| `- error: cannot find type 'NSLayoutConstraint' in scope
17 | var new = self
18 | new.priority = value
/host/spi-builder-workspace/Sources/LayoutAid/LayoutItem.swift:9:24: error: cannot find type 'NSLayoutXAxisAnchor' in scope
7 | public protocol LayoutItem {
8 |
9 | var leadingAnchor: NSLayoutXAxisAnchor { get }
| `- error: cannot find type 'NSLayoutXAxisAnchor' in scope
10 |
11 | var trailingAnchor: NSLayoutXAxisAnchor { get }
/host/spi-builder-workspace/Sources/LayoutAid/LayoutItem.swift:11:25: error: cannot find type 'NSLayoutXAxisAnchor' in scope
9 | var leadingAnchor: NSLayoutXAxisAnchor { get }
10 |
11 | var trailingAnchor: NSLayoutXAxisAnchor { get }
| `- error: cannot find type 'NSLayoutXAxisAnchor' in scope
12 |
13 | var leftAnchor: NSLayoutXAxisAnchor { get }
/host/spi-builder-workspace/Sources/LayoutAid/LayoutItem.swift:13:21: error: cannot find type 'NSLayoutXAxisAnchor' in scope
11 | var trailingAnchor: NSLayoutXAxisAnchor { get }
12 |
13 | var leftAnchor: NSLayoutXAxisAnchor { get }
| `- error: cannot find type 'NSLayoutXAxisAnchor' in scope
14 |
15 | var rightAnchor: NSLayoutXAxisAnchor { get }
/host/spi-builder-workspace/Sources/LayoutAid/LayoutItem.swift:15:22: error: cannot find type 'NSLayoutXAxisAnchor' in scope
13 | var leftAnchor: NSLayoutXAxisAnchor { get }
14 |
15 | var rightAnchor: NSLayoutXAxisAnchor { get }
| `- error: cannot find type 'NSLayoutXAxisAnchor' in scope
16 |
17 | var topAnchor: NSLayoutYAxisAnchor { get }
/host/spi-builder-workspace/Sources/LayoutAid/LayoutItem.swift:17:20: error: cannot find type 'NSLayoutYAxisAnchor' in scope
15 | var rightAnchor: NSLayoutXAxisAnchor { get }
16 |
17 | var topAnchor: NSLayoutYAxisAnchor { get }
| `- error: cannot find type 'NSLayoutYAxisAnchor' in scope
18 |
19 | var bottomAnchor: NSLayoutYAxisAnchor { get }
/host/spi-builder-workspace/Sources/LayoutAid/LayoutItem.swift:19:23: error: cannot find type 'NSLayoutYAxisAnchor' in scope
17 | var topAnchor: NSLayoutYAxisAnchor { get }
18 |
19 | var bottomAnchor: NSLayoutYAxisAnchor { get }
| `- error: cannot find type 'NSLayoutYAxisAnchor' in scope
20 |
21 | var centerXAnchor: NSLayoutXAxisAnchor { get }
/host/spi-builder-workspace/Sources/LayoutAid/LayoutItem.swift:21:24: error: cannot find type 'NSLayoutXAxisAnchor' in scope
19 | var bottomAnchor: NSLayoutYAxisAnchor { get }
20 |
21 | var centerXAnchor: NSLayoutXAxisAnchor { get }
| `- error: cannot find type 'NSLayoutXAxisAnchor' in scope
22 |
23 | var centerYAnchor: NSLayoutYAxisAnchor { get }
/host/spi-builder-workspace/Sources/LayoutAid/LayoutItem.swift:23:24: error: cannot find type 'NSLayoutYAxisAnchor' in scope
21 | var centerXAnchor: NSLayoutXAxisAnchor { get }
22 |
23 | var centerYAnchor: NSLayoutYAxisAnchor { get }
| `- error: cannot find type 'NSLayoutYAxisAnchor' in scope
24 |
25 | var widthAnchor: NSLayoutDimension { get }
/host/spi-builder-workspace/Sources/LayoutAid/LayoutItem.swift:25:22: error: cannot find type 'NSLayoutDimension' in scope
23 | var centerYAnchor: NSLayoutYAxisAnchor { get }
24 |
25 | var widthAnchor: NSLayoutDimension { get }
| `- error: cannot find type 'NSLayoutDimension' in scope
26 |
27 | var heightAnchor: NSLayoutDimension { get }
/host/spi-builder-workspace/Sources/LayoutAid/LayoutItem.swift:27:23: error: cannot find type 'NSLayoutDimension' in scope
25 | var widthAnchor: NSLayoutDimension { get }
26 |
27 | var heightAnchor: NSLayoutDimension { get }
| `- error: cannot find type 'NSLayoutDimension' in scope
28 | }
29 |
/host/spi-builder-workspace/Sources/LayoutAid/LayoutItem.swift:30:11: error: cannot find type 'LayoutAidView' in scope
28 | }
29 |
30 | extension LayoutAidView: LayoutItem {}
| `- error: cannot find type 'LayoutAidView' in scope
31 | extension LayoutAidGuide: LayoutItem {}
32 |
/host/spi-builder-workspace/Sources/LayoutAid/LayoutItem.swift:31:11: error: cannot find type 'LayoutAidGuide' in scope
29 |
30 | extension LayoutAidView: LayoutItem {}
31 | extension LayoutAidGuide: LayoutItem {}
| `- error: cannot find type 'LayoutAidGuide' in scope
32 |
33 | public extension LayoutItem {
/host/spi-builder-workspace/Sources/LayoutAid/LayoutItem.swift:36:95: error: cannot find type 'NSLayoutConstraint' in scope
34 |
35 | func anchor(
36 | @LayoutConstraintsGeneratorBuilder _ content: () -> [LayoutConstraintsGenerator]) -> [NSLayoutConstraint] {
| `- error: cannot find type 'NSLayoutConstraint' in scope
37 | content().flatMap { generator in
38 | generator.makeConstraints(for: self)
/host/spi-builder-workspace/Sources/LayoutAid/LayoutItem.swift:42:62: error: cannot find type 'NSLayoutConstraint' in scope
40 | }
41 |
42 | func anchor(_ generator: LayoutConstraintsGenerator) -> [NSLayoutConstraint] {
| `- error: cannot find type 'NSLayoutConstraint' in scope
43 | generator.makeConstraints(for: self)
44 | }
/host/spi-builder-workspace/Sources/LayoutAid/LayoutItem.swift:37:19: error: no 'flatMap' candidates produce the expected contextual result type '_'
35 | func anchor(
36 | @LayoutConstraintsGeneratorBuilder _ content: () -> [LayoutConstraintsGenerator]) -> [NSLayoutConstraint] {
37 | content().flatMap { generator in
| `- error: no 'flatMap' candidates produce the expected contextual result type '_'
38 | generator.makeConstraints(for: self)
39 | }
Swift.Sequence.flatMap:2:24: note: 'flatMap' produces '[SegmentOfResult.Element]', not the expected contextual result type '_'
1 | protocol Sequence {
2 | @inlinable public func flatMap<SegmentOfResult>(_ transform: (Self.Element) throws -> SegmentOfResult) rethrows -> [SegmentOfResult.Element] where SegmentOfResult : Sequence}
| `- note: 'flatMap' produces '[SegmentOfResult.Element]', not the expected contextual result type '_'
3 |
Swift.Sequence.flatMap:3:15: note: 'flatMap' produces '[ElementOfResult]', not the expected contextual result type '_'
1 | protocol Sequence {
2 | @available(swift, deprecated: 4.1, renamed: "compactMap(_:)", message: "Please use compactMap(_:) for the case where closure returns an optional value")
3 | public func flatMap<ElementOfResult>(_ transform: (Self.Element) throws -> ElementOfResult?) rethrows -> [ElementOfResult]}
| `- note: 'flatMap' produces '[ElementOfResult]', not the expected contextual result type '_'
4 |
/host/spi-builder-workspace/Sources/LayoutAid/Leading.swift:9:30: error: cannot find type 'NSLayoutXAxisAnchor' in scope
7 | public struct Leading: XAxisConstraintsGenerator {
8 |
9 | public var secondAnchor: NSLayoutXAxisAnchor
| `- error: cannot find type 'NSLayoutXAxisAnchor' in scope
10 |
11 | public var priority: NSLayoutConstraint.Priority = .required
/host/spi-builder-workspace/Sources/LayoutAid/Leading.swift:11:26: error: cannot find type 'NSLayoutConstraint' in scope
9 | public var secondAnchor: NSLayoutXAxisAnchor
10 |
11 | public var priority: NSLayoutConstraint.Priority = .required
| `- error: cannot find type 'NSLayoutConstraint' in scope
12 |
13 | public let relation: NSLayoutConstraint.Relation
/host/spi-builder-workspace/Sources/LayoutAid/Leading.swift:13:26: error: cannot find type 'NSLayoutConstraint' in scope
11 | public var priority: NSLayoutConstraint.Priority = .required
12 |
13 | public let relation: NSLayoutConstraint.Relation
| `- error: cannot find type 'NSLayoutConstraint' in scope
14 |
15 | #if canImport(UIKit)
/host/spi-builder-workspace/Sources/LayoutAid/Leading.swift:42:26: error: cannot find type 'CGFloat' in scope
40 | #else
41 |
42 | public let constant: CGFloat
| `- error: cannot find type 'CGFloat' in scope
43 |
44 | public init(_ relation: NSLayoutConstraint.Relation, to secondAnchor: NSLayoutXAxisAnchor, constant: CGFloat) {
/host/spi-builder-workspace/Sources/LayoutAid/Leading.swift:44:29: error: cannot find type 'NSLayoutConstraint' in scope
42 | public let constant: CGFloat
43 |
44 | public init(_ relation: NSLayoutConstraint.Relation, to secondAnchor: NSLayoutXAxisAnchor, constant: CGFloat) {
| `- error: cannot find type 'NSLayoutConstraint' in scope
45 | self.relation = relation
46 | self.secondAnchor = secondAnchor
/host/spi-builder-workspace/Sources/LayoutAid/Leading.swift:44:75: error: cannot find type 'NSLayoutXAxisAnchor' in scope
42 | public let constant: CGFloat
43 |
44 | public init(_ relation: NSLayoutConstraint.Relation, to secondAnchor: NSLayoutXAxisAnchor, constant: CGFloat) {
| `- error: cannot find type 'NSLayoutXAxisAnchor' in scope
45 | self.relation = relation
46 | self.secondAnchor = secondAnchor
/host/spi-builder-workspace/Sources/LayoutAid/Leading.swift:44:106: error: cannot find type 'CGFloat' in scope
42 | public let constant: CGFloat
43 |
44 | public init(_ relation: NSLayoutConstraint.Relation, to secondAnchor: NSLayoutXAxisAnchor, constant: CGFloat) {
| `- error: cannot find type 'CGFloat' in scope
45 | self.relation = relation
46 | self.secondAnchor = secondAnchor
/host/spi-builder-workspace/Sources/LayoutAid/Leading.swift:50:63: error: cannot find type 'NSLayoutXAxisAnchor' in scope
48 | }
49 |
50 | public static var firstAnchorKeyPath: KeyPath<LayoutItem, NSLayoutXAxisAnchor> = \.leadingAnchor
| `- error: cannot find type 'NSLayoutXAxisAnchor' in scope
51 |
52 | #endif
/host/spi-builder-workspace/Sources/LayoutAid/Leading.swift:50:86: error: cannot infer key path type from context; consider explicitly specifying a root type
48 | }
49 |
50 | public static var firstAnchorKeyPath: KeyPath<LayoutItem, NSLayoutXAxisAnchor> = \.leadingAnchor
| `- error: cannot infer key path type from context; consider explicitly specifying a root type
51 |
52 | #endif
/host/spi-builder-workspace/Sources/LayoutAid/XAxisConstraintsGenerator.swift:8:21: error: cannot find type 'NSLayoutXAxisAnchor' in scope
6 |
7 | public protocol XAxisConstraintsGenerator: AxisConstraintsGenerator
8 | where AnchorType == NSLayoutXAxisAnchor, Anchor == NSLayoutXAxisAnchor {}
| `- error: cannot find type 'NSLayoutXAxisAnchor' in scope
9 |
10 | #if canImport(UIKit)
/host/spi-builder-workspace/Sources/LayoutAid/XAxisConstraintsGenerator.swift:8:52: error: cannot find type 'NSLayoutXAxisAnchor' in scope
6 |
7 | public protocol XAxisConstraintsGenerator: AxisConstraintsGenerator
8 | where AnchorType == NSLayoutXAxisAnchor, Anchor == NSLayoutXAxisAnchor {}
| `- error: cannot find type 'NSLayoutXAxisAnchor' in scope
9 |
10 | #if canImport(UIKit)
/host/spi-builder-workspace/Sources/LayoutAid/AxisConstraintsGenerator.swift:16:28: error: cannot find type 'NSLayoutAnchor' in scope
14 | public protocol AxisConstraintsGenerator: LayoutConstraintsGenerator {
15 | associatedtype AnchorType: AnyObject
16 | associatedtype Anchor: NSLayoutAnchor<AnchorType>
| `- error: cannot find type 'NSLayoutAnchor' in scope
17 |
18 | var relation: NSLayoutConstraint.Relation { get }
/host/spi-builder-workspace/Sources/LayoutAid/AxisConstraintsGenerator.swift:18:19: error: cannot find type 'NSLayoutConstraint' in scope
16 | associatedtype Anchor: NSLayoutAnchor<AnchorType>
17 |
18 | var relation: NSLayoutConstraint.Relation { get }
| `- error: cannot find type 'NSLayoutConstraint' in scope
19 |
20 | var secondAnchor: Anchor { get }
/host/spi-builder-workspace/Sources/LayoutAid/AxisConstraintsGenerator.swift:35:19: error: cannot find type 'CGFloat' in scope
33 | #else
34 |
35 | var constant: CGFloat { get }
| `- error: cannot find type 'CGFloat' in scope
36 |
37 | static var firstAnchorKeyPath: KeyPath<LayoutItem, Anchor> { get }
/host/spi-builder-workspace/Sources/LayoutAid/AxisConstraintsGenerator.swift:40:21: error: cannot find type 'NSLayoutConstraint' in scope
38 |
39 | init(
40 | _ relation: NSLayoutConstraint.Relation,
| `- error: cannot find type 'NSLayoutConstraint' in scope
41 | to secondAnchor: Anchor,
42 | constant: CGFloat
/host/spi-builder-workspace/Sources/LayoutAid/AxisConstraintsGenerator.swift:42:19: error: cannot find type 'CGFloat' in scope
40 | _ relation: NSLayoutConstraint.Relation,
41 | to secondAnchor: Anchor,
42 | constant: CGFloat
| `- error: cannot find type 'CGFloat' in scope
43 | )
44 | #endif
/host/spi-builder-workspace/Sources/LayoutAid/Leading.swift:7:15: error: type 'Leading' does not conform to protocol 'AxisConstraintsGenerator'
5 | #endif
6 |
7 | public struct Leading: XAxisConstraintsGenerator {
| |- error: type 'Leading' does not conform to protocol 'AxisConstraintsGenerator'
| `- note: add stubs for conformance
8 |
9 | public var secondAnchor: NSLayoutXAxisAnchor
/host/spi-builder-workspace/Sources/LayoutAid/AxisConstraintsGenerator.swift:15:20: note: protocol requires nested type 'AnchorType'
13 |
14 | public protocol AxisConstraintsGenerator: LayoutConstraintsGenerator {
15 | associatedtype AnchorType: AnyObject
| `- note: protocol requires nested type 'AnchorType'
16 | associatedtype Anchor: NSLayoutAnchor<AnchorType>
| `- note: protocol requires nested type 'Anchor'
17 |
18 | var relation: NSLayoutConstraint.Relation { get }
[24/31] Compiling LayoutAid Leading.swift
/host/spi-builder-workspace/Sources/LayoutAid/LayoutConstraintsGenerator.swift:23:2: warning: '@_functionBuilder' has been renamed to '@resultBuilder'
21 | }
22 |
23 | @_functionBuilder
| `- warning: '@_functionBuilder' has been renamed to '@resultBuilder'
24 | public struct LayoutConstraintsGeneratorBuilder {
25 |
/host/spi-builder-workspace/Sources/LayoutAid/LayoutConstraintsGenerator.swift:9:19: error: cannot find type 'NSLayoutConstraint' in scope
7 | public protocol LayoutConstraintsGenerator {
8 |
9 | var priority: NSLayoutConstraint.Priority { get set }
| `- error: cannot find type 'NSLayoutConstraint' in scope
10 |
11 | func makeConstraints(for item: LayoutItem) -> [NSLayoutConstraint]
/host/spi-builder-workspace/Sources/LayoutAid/LayoutConstraintsGenerator.swift:11:52: error: cannot find type 'NSLayoutConstraint' in scope
9 | var priority: NSLayoutConstraint.Priority { get set }
10 |
11 | func makeConstraints(for item: LayoutItem) -> [NSLayoutConstraint]
| `- error: cannot find type 'NSLayoutConstraint' in scope
12 | }
13 |
/host/spi-builder-workspace/Sources/LayoutAid/LayoutConstraintsGenerator.swift:16:28: error: cannot find type 'NSLayoutConstraint' in scope
14 | public extension LayoutConstraintsGenerator {
15 |
16 | func priority(_ value: NSLayoutConstraint.Priority) -> Self {
| `- error: cannot find type 'NSLayoutConstraint' in scope
17 | var new = self
18 | new.priority = value
/host/spi-builder-workspace/Sources/LayoutAid/LayoutItem.swift:9:24: error: cannot find type 'NSLayoutXAxisAnchor' in scope
7 | public protocol LayoutItem {
8 |
9 | var leadingAnchor: NSLayoutXAxisAnchor { get }
| `- error: cannot find type 'NSLayoutXAxisAnchor' in scope
10 |
11 | var trailingAnchor: NSLayoutXAxisAnchor { get }
/host/spi-builder-workspace/Sources/LayoutAid/LayoutItem.swift:11:25: error: cannot find type 'NSLayoutXAxisAnchor' in scope
9 | var leadingAnchor: NSLayoutXAxisAnchor { get }
10 |
11 | var trailingAnchor: NSLayoutXAxisAnchor { get }
| `- error: cannot find type 'NSLayoutXAxisAnchor' in scope
12 |
13 | var leftAnchor: NSLayoutXAxisAnchor { get }
/host/spi-builder-workspace/Sources/LayoutAid/LayoutItem.swift:13:21: error: cannot find type 'NSLayoutXAxisAnchor' in scope
11 | var trailingAnchor: NSLayoutXAxisAnchor { get }
12 |
13 | var leftAnchor: NSLayoutXAxisAnchor { get }
| `- error: cannot find type 'NSLayoutXAxisAnchor' in scope
14 |
15 | var rightAnchor: NSLayoutXAxisAnchor { get }
/host/spi-builder-workspace/Sources/LayoutAid/LayoutItem.swift:15:22: error: cannot find type 'NSLayoutXAxisAnchor' in scope
13 | var leftAnchor: NSLayoutXAxisAnchor { get }
14 |
15 | var rightAnchor: NSLayoutXAxisAnchor { get }
| `- error: cannot find type 'NSLayoutXAxisAnchor' in scope
16 |
17 | var topAnchor: NSLayoutYAxisAnchor { get }
/host/spi-builder-workspace/Sources/LayoutAid/LayoutItem.swift:17:20: error: cannot find type 'NSLayoutYAxisAnchor' in scope
15 | var rightAnchor: NSLayoutXAxisAnchor { get }
16 |
17 | var topAnchor: NSLayoutYAxisAnchor { get }
| `- error: cannot find type 'NSLayoutYAxisAnchor' in scope
18 |
19 | var bottomAnchor: NSLayoutYAxisAnchor { get }
/host/spi-builder-workspace/Sources/LayoutAid/LayoutItem.swift:19:23: error: cannot find type 'NSLayoutYAxisAnchor' in scope
17 | var topAnchor: NSLayoutYAxisAnchor { get }
18 |
19 | var bottomAnchor: NSLayoutYAxisAnchor { get }
| `- error: cannot find type 'NSLayoutYAxisAnchor' in scope
20 |
21 | var centerXAnchor: NSLayoutXAxisAnchor { get }
/host/spi-builder-workspace/Sources/LayoutAid/LayoutItem.swift:21:24: error: cannot find type 'NSLayoutXAxisAnchor' in scope
19 | var bottomAnchor: NSLayoutYAxisAnchor { get }
20 |
21 | var centerXAnchor: NSLayoutXAxisAnchor { get }
| `- error: cannot find type 'NSLayoutXAxisAnchor' in scope
22 |
23 | var centerYAnchor: NSLayoutYAxisAnchor { get }
/host/spi-builder-workspace/Sources/LayoutAid/LayoutItem.swift:23:24: error: cannot find type 'NSLayoutYAxisAnchor' in scope
21 | var centerXAnchor: NSLayoutXAxisAnchor { get }
22 |
23 | var centerYAnchor: NSLayoutYAxisAnchor { get }
| `- error: cannot find type 'NSLayoutYAxisAnchor' in scope
24 |
25 | var widthAnchor: NSLayoutDimension { get }
/host/spi-builder-workspace/Sources/LayoutAid/LayoutItem.swift:25:22: error: cannot find type 'NSLayoutDimension' in scope
23 | var centerYAnchor: NSLayoutYAxisAnchor { get }
24 |
25 | var widthAnchor: NSLayoutDimension { get }
| `- error: cannot find type 'NSLayoutDimension' in scope
26 |
27 | var heightAnchor: NSLayoutDimension { get }
/host/spi-builder-workspace/Sources/LayoutAid/LayoutItem.swift:27:23: error: cannot find type 'NSLayoutDimension' in scope
25 | var widthAnchor: NSLayoutDimension { get }
26 |
27 | var heightAnchor: NSLayoutDimension { get }
| `- error: cannot find type 'NSLayoutDimension' in scope
28 | }
29 |
/host/spi-builder-workspace/Sources/LayoutAid/LayoutItem.swift:30:11: error: cannot find type 'LayoutAidView' in scope
28 | }
29 |
30 | extension LayoutAidView: LayoutItem {}
| `- error: cannot find type 'LayoutAidView' in scope
31 | extension LayoutAidGuide: LayoutItem {}
32 |
/host/spi-builder-workspace/Sources/LayoutAid/LayoutItem.swift:31:11: error: cannot find type 'LayoutAidGuide' in scope
29 |
30 | extension LayoutAidView: LayoutItem {}
31 | extension LayoutAidGuide: LayoutItem {}
| `- error: cannot find type 'LayoutAidGuide' in scope
32 |
33 | public extension LayoutItem {
/host/spi-builder-workspace/Sources/LayoutAid/LayoutItem.swift:36:95: error: cannot find type 'NSLayoutConstraint' in scope
34 |
35 | func anchor(
36 | @LayoutConstraintsGeneratorBuilder _ content: () -> [LayoutConstraintsGenerator]) -> [NSLayoutConstraint] {
| `- error: cannot find type 'NSLayoutConstraint' in scope
37 | content().flatMap { generator in
38 | generator.makeConstraints(for: self)
/host/spi-builder-workspace/Sources/LayoutAid/LayoutItem.swift:42:62: error: cannot find type 'NSLayoutConstraint' in scope
40 | }
41 |
42 | func anchor(_ generator: LayoutConstraintsGenerator) -> [NSLayoutConstraint] {
| `- error: cannot find type 'NSLayoutConstraint' in scope
43 | generator.makeConstraints(for: self)
44 | }
/host/spi-builder-workspace/Sources/LayoutAid/LayoutItem.swift:37:19: error: no 'flatMap' candidates produce the expected contextual result type '_'
35 | func anchor(
36 | @LayoutConstraintsGeneratorBuilder _ content: () -> [LayoutConstraintsGenerator]) -> [NSLayoutConstraint] {
37 | content().flatMap { generator in
| `- error: no 'flatMap' candidates produce the expected contextual result type '_'
38 | generator.makeConstraints(for: self)
39 | }
Swift.Sequence.flatMap:2:24: note: 'flatMap' produces '[SegmentOfResult.Element]', not the expected contextual result type '_'
1 | protocol Sequence {
2 | @inlinable public func flatMap<SegmentOfResult>(_ transform: (Self.Element) throws -> SegmentOfResult) rethrows -> [SegmentOfResult.Element] where SegmentOfResult : Sequence}
| `- note: 'flatMap' produces '[SegmentOfResult.Element]', not the expected contextual result type '_'
3 |
Swift.Sequence.flatMap:3:15: note: 'flatMap' produces '[ElementOfResult]', not the expected contextual result type '_'
1 | protocol Sequence {
2 | @available(swift, deprecated: 4.1, renamed: "compactMap(_:)", message: "Please use compactMap(_:) for the case where closure returns an optional value")
3 | public func flatMap<ElementOfResult>(_ transform: (Self.Element) throws -> ElementOfResult?) rethrows -> [ElementOfResult]}
| `- note: 'flatMap' produces '[ElementOfResult]', not the expected contextual result type '_'
4 |
/host/spi-builder-workspace/Sources/LayoutAid/Leading.swift:9:30: error: cannot find type 'NSLayoutXAxisAnchor' in scope
7 | public struct Leading: XAxisConstraintsGenerator {
8 |
9 | public var secondAnchor: NSLayoutXAxisAnchor
| `- error: cannot find type 'NSLayoutXAxisAnchor' in scope
10 |
11 | public var priority: NSLayoutConstraint.Priority = .required
/host/spi-builder-workspace/Sources/LayoutAid/Leading.swift:11:26: error: cannot find type 'NSLayoutConstraint' in scope
9 | public var secondAnchor: NSLayoutXAxisAnchor
10 |
11 | public var priority: NSLayoutConstraint.Priority = .required
| `- error: cannot find type 'NSLayoutConstraint' in scope
12 |
13 | public let relation: NSLayoutConstraint.Relation
/host/spi-builder-workspace/Sources/LayoutAid/Leading.swift:13:26: error: cannot find type 'NSLayoutConstraint' in scope
11 | public var priority: NSLayoutConstraint.Priority = .required
12 |
13 | public let relation: NSLayoutConstraint.Relation
| `- error: cannot find type 'NSLayoutConstraint' in scope
14 |
15 | #if canImport(UIKit)
/host/spi-builder-workspace/Sources/LayoutAid/Leading.swift:42:26: error: cannot find type 'CGFloat' in scope
40 | #else
41 |
42 | public let constant: CGFloat
| `- error: cannot find type 'CGFloat' in scope
43 |
44 | public init(_ relation: NSLayoutConstraint.Relation, to secondAnchor: NSLayoutXAxisAnchor, constant: CGFloat) {
/host/spi-builder-workspace/Sources/LayoutAid/Leading.swift:44:29: error: cannot find type 'NSLayoutConstraint' in scope
42 | public let constant: CGFloat
43 |
44 | public init(_ relation: NSLayoutConstraint.Relation, to secondAnchor: NSLayoutXAxisAnchor, constant: CGFloat) {
| `- error: cannot find type 'NSLayoutConstraint' in scope
45 | self.relation = relation
46 | self.secondAnchor = secondAnchor
/host/spi-builder-workspace/Sources/LayoutAid/Leading.swift:44:75: error: cannot find type 'NSLayoutXAxisAnchor' in scope
42 | public let constant: CGFloat
43 |
44 | public init(_ relation: NSLayoutConstraint.Relation, to secondAnchor: NSLayoutXAxisAnchor, constant: CGFloat) {
| `- error: cannot find type 'NSLayoutXAxisAnchor' in scope
45 | self.relation = relation
46 | self.secondAnchor = secondAnchor
/host/spi-builder-workspace/Sources/LayoutAid/Leading.swift:44:106: error: cannot find type 'CGFloat' in scope
42 | public let constant: CGFloat
43 |
44 | public init(_ relation: NSLayoutConstraint.Relation, to secondAnchor: NSLayoutXAxisAnchor, constant: CGFloat) {
| `- error: cannot find type 'CGFloat' in scope
45 | self.relation = relation
46 | self.secondAnchor = secondAnchor
/host/spi-builder-workspace/Sources/LayoutAid/Leading.swift:50:63: error: cannot find type 'NSLayoutXAxisAnchor' in scope
48 | }
49 |
50 | public static var firstAnchorKeyPath: KeyPath<LayoutItem, NSLayoutXAxisAnchor> = \.leadingAnchor
| `- error: cannot find type 'NSLayoutXAxisAnchor' in scope
51 |
52 | #endif
/host/spi-builder-workspace/Sources/LayoutAid/Leading.swift:50:86: error: cannot infer key path type from context; consider explicitly specifying a root type
48 | }
49 |
50 | public static var firstAnchorKeyPath: KeyPath<LayoutItem, NSLayoutXAxisAnchor> = \.leadingAnchor
| `- error: cannot infer key path type from context; consider explicitly specifying a root type
51 |
52 | #endif
/host/spi-builder-workspace/Sources/LayoutAid/XAxisConstraintsGenerator.swift:8:21: error: cannot find type 'NSLayoutXAxisAnchor' in scope
6 |
7 | public protocol XAxisConstraintsGenerator: AxisConstraintsGenerator
8 | where AnchorType == NSLayoutXAxisAnchor, Anchor == NSLayoutXAxisAnchor {}
| `- error: cannot find type 'NSLayoutXAxisAnchor' in scope
9 |
10 | #if canImport(UIKit)
/host/spi-builder-workspace/Sources/LayoutAid/XAxisConstraintsGenerator.swift:8:52: error: cannot find type 'NSLayoutXAxisAnchor' in scope
6 |
7 | public protocol XAxisConstraintsGenerator: AxisConstraintsGenerator
8 | where AnchorType == NSLayoutXAxisAnchor, Anchor == NSLayoutXAxisAnchor {}
| `- error: cannot find type 'NSLayoutXAxisAnchor' in scope
9 |
10 | #if canImport(UIKit)
/host/spi-builder-workspace/Sources/LayoutAid/AxisConstraintsGenerator.swift:16:28: error: cannot find type 'NSLayoutAnchor' in scope
14 | public protocol AxisConstraintsGenerator: LayoutConstraintsGenerator {
15 | associatedtype AnchorType: AnyObject
16 | associatedtype Anchor: NSLayoutAnchor<AnchorType>
| `- error: cannot find type 'NSLayoutAnchor' in scope
17 |
18 | var relation: NSLayoutConstraint.Relation { get }
/host/spi-builder-workspace/Sources/LayoutAid/AxisConstraintsGenerator.swift:18:19: error: cannot find type 'NSLayoutConstraint' in scope
16 | associatedtype Anchor: NSLayoutAnchor<AnchorType>
17 |
18 | var relation: NSLayoutConstraint.Relation { get }
| `- error: cannot find type 'NSLayoutConstraint' in scope
19 |
20 | var secondAnchor: Anchor { get }
/host/spi-builder-workspace/Sources/LayoutAid/AxisConstraintsGenerator.swift:35:19: error: cannot find type 'CGFloat' in scope
33 | #else
34 |
35 | var constant: CGFloat { get }
| `- error: cannot find type 'CGFloat' in scope
36 |
37 | static var firstAnchorKeyPath: KeyPath<LayoutItem, Anchor> { get }
/host/spi-builder-workspace/Sources/LayoutAid/AxisConstraintsGenerator.swift:40:21: error: cannot find type 'NSLayoutConstraint' in scope
38 |
39 | init(
40 | _ relation: NSLayoutConstraint.Relation,
| `- error: cannot find type 'NSLayoutConstraint' in scope
41 | to secondAnchor: Anchor,
42 | constant: CGFloat
/host/spi-builder-workspace/Sources/LayoutAid/AxisConstraintsGenerator.swift:42:19: error: cannot find type 'CGFloat' in scope
40 | _ relation: NSLayoutConstraint.Relation,
41 | to secondAnchor: Anchor,
42 | constant: CGFloat
| `- error: cannot find type 'CGFloat' in scope
43 | )
44 | #endif
/host/spi-builder-workspace/Sources/LayoutAid/Leading.swift:7:15: error: type 'Leading' does not conform to protocol 'AxisConstraintsGenerator'
5 | #endif
6 |
7 | public struct Leading: XAxisConstraintsGenerator {
| |- error: type 'Leading' does not conform to protocol 'AxisConstraintsGenerator'
| `- note: add stubs for conformance
8 |
9 | public var secondAnchor: NSLayoutXAxisAnchor
/host/spi-builder-workspace/Sources/LayoutAid/AxisConstraintsGenerator.swift:15:20: note: protocol requires nested type 'AnchorType'
13 |
14 | public protocol AxisConstraintsGenerator: LayoutConstraintsGenerator {
15 | associatedtype AnchorType: AnyObject
| `- note: protocol requires nested type 'AnchorType'
16 | associatedtype Anchor: NSLayoutAnchor<AnchorType>
| `- note: protocol requires nested type 'Anchor'
17 |
18 | var relation: NSLayoutConstraint.Relation { get }
[25/31] Compiling LayoutAid Width.swift
/host/spi-builder-workspace/Sources/LayoutAid/Width.swift:9:58: error: cannot find type 'NSLayoutDimension' in scope
7 | public struct Width: DimensionConstraintsGenerator {
8 |
9 | public static let anchorKeyPath: KeyPath<LayoutItem, NSLayoutDimension> = \.widthAnchor
| `- error: cannot find type 'NSLayoutDimension' in scope
10 |
11 | public let secondAnchor: NSLayoutDimension?
/host/spi-builder-workspace/Sources/LayoutAid/Width.swift:9:79: error: cannot infer key path type from context; consider explicitly specifying a root type
7 | public struct Width: DimensionConstraintsGenerator {
8 |
9 | public static let anchorKeyPath: KeyPath<LayoutItem, NSLayoutDimension> = \.widthAnchor
| `- error: cannot infer key path type from context; consider explicitly specifying a root type
10 |
11 | public let secondAnchor: NSLayoutDimension?
/host/spi-builder-workspace/Sources/LayoutAid/Width.swift:11:30: error: cannot find type 'NSLayoutDimension' in scope
9 | public static let anchorKeyPath: KeyPath<LayoutItem, NSLayoutDimension> = \.widthAnchor
10 |
11 | public let secondAnchor: NSLayoutDimension?
| `- error: cannot find type 'NSLayoutDimension' in scope
12 |
13 | public let relation: NSLayoutConstraint.Relation
/host/spi-builder-workspace/Sources/LayoutAid/Width.swift:13:26: error: cannot find type 'NSLayoutConstraint' in scope
11 | public let secondAnchor: NSLayoutDimension?
12 |
13 | public let relation: NSLayoutConstraint.Relation
| `- error: cannot find type 'NSLayoutConstraint' in scope
14 |
15 | public let constant: CGFloat
/host/spi-builder-workspace/Sources/LayoutAid/Width.swift:15:26: error: cannot find type 'CGFloat' in scope
13 | public let relation: NSLayoutConstraint.Relation
14 |
15 | public let constant: CGFloat
| `- error: cannot find type 'CGFloat' in scope
16 |
17 | public let multiplier: CGFloat
/host/spi-builder-workspace/Sources/LayoutAid/Width.swift:17:28: error: cannot find type 'CGFloat' in scope
15 | public let constant: CGFloat
16 |
17 | public let multiplier: CGFloat
| `- error: cannot find type 'CGFloat' in scope
18 |
19 | public var priority: NSLayoutConstraint.Priority = .required
/host/spi-builder-workspace/Sources/LayoutAid/Width.swift:19:26: error: cannot find type 'NSLayoutConstraint' in scope
17 | public let multiplier: CGFloat
18 |
19 | public var priority: NSLayoutConstraint.Priority = .required
| `- error: cannot find type 'NSLayoutConstraint' in scope
20 |
21 | public init(_ relation: NSLayoutConstraint.Relation, to constant: CGFloat) {
/host/spi-builder-workspace/Sources/LayoutAid/Width.swift:21:29: error: cannot find type 'NSLayoutConstraint' in scope
19 | public var priority: NSLayoutConstraint.Priority = .required
20 |
21 | public init(_ relation: NSLayoutConstraint.Relation, to constant: CGFloat) {
| `- error: cannot find type 'NSLayoutConstraint' in scope
22 | self.relation = relation
23 | self.constant = constant
/host/spi-builder-workspace/Sources/LayoutAid/Width.swift:21:71: error: cannot find type 'CGFloat' in scope
19 | public var priority: NSLayoutConstraint.Priority = .required
20 |
21 | public init(_ relation: NSLayoutConstraint.Relation, to constant: CGFloat) {
| `- error: cannot find type 'CGFloat' in scope
22 | self.relation = relation
23 | self.constant = constant
/host/spi-builder-workspace/Sources/LayoutAid/Width.swift:29:21: error: cannot find type 'NSLayoutConstraint' in scope
27 |
28 | public init(
29 | _ relation: NSLayoutConstraint.Relation,
| `- error: cannot find type 'NSLayoutConstraint' in scope
30 | to secondAnchor: NSLayoutDimension,
31 | multiplier: CGFloat,
/host/spi-builder-workspace/Sources/LayoutAid/Width.swift:30:26: error: cannot find type 'NSLayoutDimension' in scope
28 | public init(
29 | _ relation: NSLayoutConstraint.Relation,
30 | to secondAnchor: NSLayoutDimension,
| `- error: cannot find type 'NSLayoutDimension' in scope
31 | multiplier: CGFloat,
32 | constant: CGFloat
/host/spi-builder-workspace/Sources/LayoutAid/Width.swift:31:21: error: cannot find type 'CGFloat' in scope
29 | _ relation: NSLayoutConstraint.Relation,
30 | to secondAnchor: NSLayoutDimension,
31 | multiplier: CGFloat,
| `- error: cannot find type 'CGFloat' in scope
32 | constant: CGFloat
33 | ) {
/host/spi-builder-workspace/Sources/LayoutAid/Width.swift:32:19: error: cannot find type 'CGFloat' in scope
30 | to secondAnchor: NSLayoutDimension,
31 | multiplier: CGFloat,
32 | constant: CGFloat
| `- error: cannot find type 'CGFloat' in scope
33 | ) {
34 | self.relation = relation
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:9:51: error: cannot find type 'NSLayoutDimension' in scope
7 | public protocol DimensionConstraintsGenerator: LayoutConstraintsGenerator {
8 |
9 | static var anchorKeyPath: KeyPath<LayoutItem, NSLayoutDimension> { get }
| `- error: cannot find type 'NSLayoutDimension' in scope
10 |
11 | var secondAnchor: NSLayoutDimension? { get }
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:11:23: error: cannot find type 'NSLayoutDimension' in scope
9 | static var anchorKeyPath: KeyPath<LayoutItem, NSLayoutDimension> { get }
10 |
11 | var secondAnchor: NSLayoutDimension? { get }
| `- error: cannot find type 'NSLayoutDimension' in scope
12 |
13 | var relation: NSLayoutConstraint.Relation { get }
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:13:19: error: cannot find type 'NSLayoutConstraint' in scope
11 | var secondAnchor: NSLayoutDimension? { get }
12 |
13 | var relation: NSLayoutConstraint.Relation { get }
| `- error: cannot find type 'NSLayoutConstraint' in scope
14 |
15 | var constant: CGFloat { get }
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:15:19: error: cannot find type 'CGFloat' in scope
13 | var relation: NSLayoutConstraint.Relation { get }
14 |
15 | var constant: CGFloat { get }
| `- error: cannot find type 'CGFloat' in scope
16 |
17 | var multiplier: CGFloat { get }
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:17:21: error: cannot find type 'CGFloat' in scope
15 | var constant: CGFloat { get }
16 |
17 | var multiplier: CGFloat { get }
| `- error: cannot find type 'CGFloat' in scope
18 |
19 | init(
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:20:21: error: cannot find type 'NSLayoutConstraint' in scope
18 |
19 | init(
20 | _ relation: NSLayoutConstraint.Relation,
| `- error: cannot find type 'NSLayoutConstraint' in scope
21 | to secondAnchor: NSLayoutDimension,
22 | multiplier: CGFloat,
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:21:26: error: cannot find type 'NSLayoutDimension' in scope
19 | init(
20 | _ relation: NSLayoutConstraint.Relation,
21 | to secondAnchor: NSLayoutDimension,
| `- error: cannot find type 'NSLayoutDimension' in scope
22 | multiplier: CGFloat,
23 | constant: CGFloat
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:22:21: error: cannot find type 'CGFloat' in scope
20 | _ relation: NSLayoutConstraint.Relation,
21 | to secondAnchor: NSLayoutDimension,
22 | multiplier: CGFloat,
| `- error: cannot find type 'CGFloat' in scope
23 | constant: CGFloat
24 | )
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:23:19: error: cannot find type 'CGFloat' in scope
21 | to secondAnchor: NSLayoutDimension,
22 | multiplier: CGFloat,
23 | constant: CGFloat
| `- error: cannot find type 'CGFloat' in scope
24 | )
25 |
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:26:22: error: cannot find type 'NSLayoutConstraint' in scope
24 | )
25 |
26 | init(_ relation: NSLayoutConstraint.Relation, to constant: CGFloat)
| `- error: cannot find type 'NSLayoutConstraint' in scope
27 | }
28 |
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:26:64: error: cannot find type 'CGFloat' in scope
24 | )
25 |
26 | init(_ relation: NSLayoutConstraint.Relation, to constant: CGFloat)
| `- error: cannot find type 'CGFloat' in scope
27 | }
28 |
/host/spi-builder-workspace/Sources/LayoutAid/LayoutConstraintsGenerator.swift:9:19: error: cannot find type 'NSLayoutConstraint' in scope
7 | public protocol LayoutConstraintsGenerator {
8 |
9 | var priority: NSLayoutConstraint.Priority { get set }
| `- error: cannot find type 'NSLayoutConstraint' in scope
10 |
11 | func makeConstraints(for item: LayoutItem) -> [NSLayoutConstraint]
/host/spi-builder-workspace/Sources/LayoutAid/LayoutConstraintsGenerator.swift:11:52: error: cannot find type 'NSLayoutConstraint' in scope
9 | var priority: NSLayoutConstraint.Priority { get set }
10 |
11 | func makeConstraints(for item: LayoutItem) -> [NSLayoutConstraint]
| `- error: cannot find type 'NSLayoutConstraint' in scope
12 | }
13 |
/host/spi-builder-workspace/Sources/LayoutAid/XAxisConstraintsGenerator.swift:8:21: error: cannot find type 'NSLayoutXAxisAnchor' in scope
6 |
7 | public protocol XAxisConstraintsGenerator: AxisConstraintsGenerator
8 | where AnchorType == NSLayoutXAxisAnchor, Anchor == NSLayoutXAxisAnchor {}
| `- error: cannot find type 'NSLayoutXAxisAnchor' in scope
9 |
10 | #if canImport(UIKit)
/host/spi-builder-workspace/Sources/LayoutAid/XAxisConstraintsGenerator.swift:8:52: error: cannot find type 'NSLayoutXAxisAnchor' in scope
6 |
7 | public protocol XAxisConstraintsGenerator: AxisConstraintsGenerator
8 | where AnchorType == NSLayoutXAxisAnchor, Anchor == NSLayoutXAxisAnchor {}
| `- error: cannot find type 'NSLayoutXAxisAnchor' in scope
9 |
10 | #if canImport(UIKit)
/host/spi-builder-workspace/Sources/LayoutAid/AxisConstraintsGenerator.swift:16:28: error: cannot find type 'NSLayoutAnchor' in scope
14 | public protocol AxisConstraintsGenerator: LayoutConstraintsGenerator {
15 | associatedtype AnchorType: AnyObject
16 | associatedtype Anchor: NSLayoutAnchor<AnchorType>
| `- error: cannot find type 'NSLayoutAnchor' in scope
17 |
18 | var relation: NSLayoutConstraint.Relation { get }
/host/spi-builder-workspace/Sources/LayoutAid/YAxisConstraintsGenerator.swift:8:21: error: cannot find type 'NSLayoutYAxisAnchor' in scope
6 |
7 | public protocol YAxisConstraintsGenerator: AxisConstraintsGenerator
8 | where AnchorType == NSLayoutYAxisAnchor, Anchor == NSLayoutYAxisAnchor {}
| `- error: cannot find type 'NSLayoutYAxisAnchor' in scope
9 |
10 | #if canImport(UIKit)
/host/spi-builder-workspace/Sources/LayoutAid/YAxisConstraintsGenerator.swift:8:52: error: cannot find type 'NSLayoutYAxisAnchor' in scope
6 |
7 | public protocol YAxisConstraintsGenerator: AxisConstraintsGenerator
8 | where AnchorType == NSLayoutYAxisAnchor, Anchor == NSLayoutYAxisAnchor {}
| `- error: cannot find type 'NSLayoutYAxisAnchor' in scope
9 |
10 | #if canImport(UIKit)
[26/31] Compiling LayoutAid XAxisConstraintsGenerator.swift
/host/spi-builder-workspace/Sources/LayoutAid/Width.swift:9:58: error: cannot find type 'NSLayoutDimension' in scope
7 | public struct Width: DimensionConstraintsGenerator {
8 |
9 | public static let anchorKeyPath: KeyPath<LayoutItem, NSLayoutDimension> = \.widthAnchor
| `- error: cannot find type 'NSLayoutDimension' in scope
10 |
11 | public let secondAnchor: NSLayoutDimension?
/host/spi-builder-workspace/Sources/LayoutAid/Width.swift:9:79: error: cannot infer key path type from context; consider explicitly specifying a root type
7 | public struct Width: DimensionConstraintsGenerator {
8 |
9 | public static let anchorKeyPath: KeyPath<LayoutItem, NSLayoutDimension> = \.widthAnchor
| `- error: cannot infer key path type from context; consider explicitly specifying a root type
10 |
11 | public let secondAnchor: NSLayoutDimension?
/host/spi-builder-workspace/Sources/LayoutAid/Width.swift:11:30: error: cannot find type 'NSLayoutDimension' in scope
9 | public static let anchorKeyPath: KeyPath<LayoutItem, NSLayoutDimension> = \.widthAnchor
10 |
11 | public let secondAnchor: NSLayoutDimension?
| `- error: cannot find type 'NSLayoutDimension' in scope
12 |
13 | public let relation: NSLayoutConstraint.Relation
/host/spi-builder-workspace/Sources/LayoutAid/Width.swift:13:26: error: cannot find type 'NSLayoutConstraint' in scope
11 | public let secondAnchor: NSLayoutDimension?
12 |
13 | public let relation: NSLayoutConstraint.Relation
| `- error: cannot find type 'NSLayoutConstraint' in scope
14 |
15 | public let constant: CGFloat
/host/spi-builder-workspace/Sources/LayoutAid/Width.swift:15:26: error: cannot find type 'CGFloat' in scope
13 | public let relation: NSLayoutConstraint.Relation
14 |
15 | public let constant: CGFloat
| `- error: cannot find type 'CGFloat' in scope
16 |
17 | public let multiplier: CGFloat
/host/spi-builder-workspace/Sources/LayoutAid/Width.swift:17:28: error: cannot find type 'CGFloat' in scope
15 | public let constant: CGFloat
16 |
17 | public let multiplier: CGFloat
| `- error: cannot find type 'CGFloat' in scope
18 |
19 | public var priority: NSLayoutConstraint.Priority = .required
/host/spi-builder-workspace/Sources/LayoutAid/Width.swift:19:26: error: cannot find type 'NSLayoutConstraint' in scope
17 | public let multiplier: CGFloat
18 |
19 | public var priority: NSLayoutConstraint.Priority = .required
| `- error: cannot find type 'NSLayoutConstraint' in scope
20 |
21 | public init(_ relation: NSLayoutConstraint.Relation, to constant: CGFloat) {
/host/spi-builder-workspace/Sources/LayoutAid/Width.swift:21:29: error: cannot find type 'NSLayoutConstraint' in scope
19 | public var priority: NSLayoutConstraint.Priority = .required
20 |
21 | public init(_ relation: NSLayoutConstraint.Relation, to constant: CGFloat) {
| `- error: cannot find type 'NSLayoutConstraint' in scope
22 | self.relation = relation
23 | self.constant = constant
/host/spi-builder-workspace/Sources/LayoutAid/Width.swift:21:71: error: cannot find type 'CGFloat' in scope
19 | public var priority: NSLayoutConstraint.Priority = .required
20 |
21 | public init(_ relation: NSLayoutConstraint.Relation, to constant: CGFloat) {
| `- error: cannot find type 'CGFloat' in scope
22 | self.relation = relation
23 | self.constant = constant
/host/spi-builder-workspace/Sources/LayoutAid/Width.swift:29:21: error: cannot find type 'NSLayoutConstraint' in scope
27 |
28 | public init(
29 | _ relation: NSLayoutConstraint.Relation,
| `- error: cannot find type 'NSLayoutConstraint' in scope
30 | to secondAnchor: NSLayoutDimension,
31 | multiplier: CGFloat,
/host/spi-builder-workspace/Sources/LayoutAid/Width.swift:30:26: error: cannot find type 'NSLayoutDimension' in scope
28 | public init(
29 | _ relation: NSLayoutConstraint.Relation,
30 | to secondAnchor: NSLayoutDimension,
| `- error: cannot find type 'NSLayoutDimension' in scope
31 | multiplier: CGFloat,
32 | constant: CGFloat
/host/spi-builder-workspace/Sources/LayoutAid/Width.swift:31:21: error: cannot find type 'CGFloat' in scope
29 | _ relation: NSLayoutConstraint.Relation,
30 | to secondAnchor: NSLayoutDimension,
31 | multiplier: CGFloat,
| `- error: cannot find type 'CGFloat' in scope
32 | constant: CGFloat
33 | ) {
/host/spi-builder-workspace/Sources/LayoutAid/Width.swift:32:19: error: cannot find type 'CGFloat' in scope
30 | to secondAnchor: NSLayoutDimension,
31 | multiplier: CGFloat,
32 | constant: CGFloat
| `- error: cannot find type 'CGFloat' in scope
33 | ) {
34 | self.relation = relation
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:9:51: error: cannot find type 'NSLayoutDimension' in scope
7 | public protocol DimensionConstraintsGenerator: LayoutConstraintsGenerator {
8 |
9 | static var anchorKeyPath: KeyPath<LayoutItem, NSLayoutDimension> { get }
| `- error: cannot find type 'NSLayoutDimension' in scope
10 |
11 | var secondAnchor: NSLayoutDimension? { get }
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:11:23: error: cannot find type 'NSLayoutDimension' in scope
9 | static var anchorKeyPath: KeyPath<LayoutItem, NSLayoutDimension> { get }
10 |
11 | var secondAnchor: NSLayoutDimension? { get }
| `- error: cannot find type 'NSLayoutDimension' in scope
12 |
13 | var relation: NSLayoutConstraint.Relation { get }
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:13:19: error: cannot find type 'NSLayoutConstraint' in scope
11 | var secondAnchor: NSLayoutDimension? { get }
12 |
13 | var relation: NSLayoutConstraint.Relation { get }
| `- error: cannot find type 'NSLayoutConstraint' in scope
14 |
15 | var constant: CGFloat { get }
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:15:19: error: cannot find type 'CGFloat' in scope
13 | var relation: NSLayoutConstraint.Relation { get }
14 |
15 | var constant: CGFloat { get }
| `- error: cannot find type 'CGFloat' in scope
16 |
17 | var multiplier: CGFloat { get }
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:17:21: error: cannot find type 'CGFloat' in scope
15 | var constant: CGFloat { get }
16 |
17 | var multiplier: CGFloat { get }
| `- error: cannot find type 'CGFloat' in scope
18 |
19 | init(
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:20:21: error: cannot find type 'NSLayoutConstraint' in scope
18 |
19 | init(
20 | _ relation: NSLayoutConstraint.Relation,
| `- error: cannot find type 'NSLayoutConstraint' in scope
21 | to secondAnchor: NSLayoutDimension,
22 | multiplier: CGFloat,
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:21:26: error: cannot find type 'NSLayoutDimension' in scope
19 | init(
20 | _ relation: NSLayoutConstraint.Relation,
21 | to secondAnchor: NSLayoutDimension,
| `- error: cannot find type 'NSLayoutDimension' in scope
22 | multiplier: CGFloat,
23 | constant: CGFloat
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:22:21: error: cannot find type 'CGFloat' in scope
20 | _ relation: NSLayoutConstraint.Relation,
21 | to secondAnchor: NSLayoutDimension,
22 | multiplier: CGFloat,
| `- error: cannot find type 'CGFloat' in scope
23 | constant: CGFloat
24 | )
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:23:19: error: cannot find type 'CGFloat' in scope
21 | to secondAnchor: NSLayoutDimension,
22 | multiplier: CGFloat,
23 | constant: CGFloat
| `- error: cannot find type 'CGFloat' in scope
24 | )
25 |
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:26:22: error: cannot find type 'NSLayoutConstraint' in scope
24 | )
25 |
26 | init(_ relation: NSLayoutConstraint.Relation, to constant: CGFloat)
| `- error: cannot find type 'NSLayoutConstraint' in scope
27 | }
28 |
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:26:64: error: cannot find type 'CGFloat' in scope
24 | )
25 |
26 | init(_ relation: NSLayoutConstraint.Relation, to constant: CGFloat)
| `- error: cannot find type 'CGFloat' in scope
27 | }
28 |
/host/spi-builder-workspace/Sources/LayoutAid/LayoutConstraintsGenerator.swift:9:19: error: cannot find type 'NSLayoutConstraint' in scope
7 | public protocol LayoutConstraintsGenerator {
8 |
9 | var priority: NSLayoutConstraint.Priority { get set }
| `- error: cannot find type 'NSLayoutConstraint' in scope
10 |
11 | func makeConstraints(for item: LayoutItem) -> [NSLayoutConstraint]
/host/spi-builder-workspace/Sources/LayoutAid/LayoutConstraintsGenerator.swift:11:52: error: cannot find type 'NSLayoutConstraint' in scope
9 | var priority: NSLayoutConstraint.Priority { get set }
10 |
11 | func makeConstraints(for item: LayoutItem) -> [NSLayoutConstraint]
| `- error: cannot find type 'NSLayoutConstraint' in scope
12 | }
13 |
/host/spi-builder-workspace/Sources/LayoutAid/XAxisConstraintsGenerator.swift:8:21: error: cannot find type 'NSLayoutXAxisAnchor' in scope
6 |
7 | public protocol XAxisConstraintsGenerator: AxisConstraintsGenerator
8 | where AnchorType == NSLayoutXAxisAnchor, Anchor == NSLayoutXAxisAnchor {}
| `- error: cannot find type 'NSLayoutXAxisAnchor' in scope
9 |
10 | #if canImport(UIKit)
/host/spi-builder-workspace/Sources/LayoutAid/XAxisConstraintsGenerator.swift:8:52: error: cannot find type 'NSLayoutXAxisAnchor' in scope
6 |
7 | public protocol XAxisConstraintsGenerator: AxisConstraintsGenerator
8 | where AnchorType == NSLayoutXAxisAnchor, Anchor == NSLayoutXAxisAnchor {}
| `- error: cannot find type 'NSLayoutXAxisAnchor' in scope
9 |
10 | #if canImport(UIKit)
/host/spi-builder-workspace/Sources/LayoutAid/AxisConstraintsGenerator.swift:16:28: error: cannot find type 'NSLayoutAnchor' in scope
14 | public protocol AxisConstraintsGenerator: LayoutConstraintsGenerator {
15 | associatedtype AnchorType: AnyObject
16 | associatedtype Anchor: NSLayoutAnchor<AnchorType>
| `- error: cannot find type 'NSLayoutAnchor' in scope
17 |
18 | var relation: NSLayoutConstraint.Relation { get }
/host/spi-builder-workspace/Sources/LayoutAid/YAxisConstraintsGenerator.swift:8:21: error: cannot find type 'NSLayoutYAxisAnchor' in scope
6 |
7 | public protocol YAxisConstraintsGenerator: AxisConstraintsGenerator
8 | where AnchorType == NSLayoutYAxisAnchor, Anchor == NSLayoutYAxisAnchor {}
| `- error: cannot find type 'NSLayoutYAxisAnchor' in scope
9 |
10 | #if canImport(UIKit)
/host/spi-builder-workspace/Sources/LayoutAid/YAxisConstraintsGenerator.swift:8:52: error: cannot find type 'NSLayoutYAxisAnchor' in scope
6 |
7 | public protocol YAxisConstraintsGenerator: AxisConstraintsGenerator
8 | where AnchorType == NSLayoutYAxisAnchor, Anchor == NSLayoutYAxisAnchor {}
| `- error: cannot find type 'NSLayoutYAxisAnchor' in scope
9 |
10 | #if canImport(UIKit)
[27/31] Compiling LayoutAid YAxisConstraintsGenerator.swift
/host/spi-builder-workspace/Sources/LayoutAid/Width.swift:9:58: error: cannot find type 'NSLayoutDimension' in scope
7 | public struct Width: DimensionConstraintsGenerator {
8 |
9 | public static let anchorKeyPath: KeyPath<LayoutItem, NSLayoutDimension> = \.widthAnchor
| `- error: cannot find type 'NSLayoutDimension' in scope
10 |
11 | public let secondAnchor: NSLayoutDimension?
/host/spi-builder-workspace/Sources/LayoutAid/Width.swift:9:79: error: cannot infer key path type from context; consider explicitly specifying a root type
7 | public struct Width: DimensionConstraintsGenerator {
8 |
9 | public static let anchorKeyPath: KeyPath<LayoutItem, NSLayoutDimension> = \.widthAnchor
| `- error: cannot infer key path type from context; consider explicitly specifying a root type
10 |
11 | public let secondAnchor: NSLayoutDimension?
/host/spi-builder-workspace/Sources/LayoutAid/Width.swift:11:30: error: cannot find type 'NSLayoutDimension' in scope
9 | public static let anchorKeyPath: KeyPath<LayoutItem, NSLayoutDimension> = \.widthAnchor
10 |
11 | public let secondAnchor: NSLayoutDimension?
| `- error: cannot find type 'NSLayoutDimension' in scope
12 |
13 | public let relation: NSLayoutConstraint.Relation
/host/spi-builder-workspace/Sources/LayoutAid/Width.swift:13:26: error: cannot find type 'NSLayoutConstraint' in scope
11 | public let secondAnchor: NSLayoutDimension?
12 |
13 | public let relation: NSLayoutConstraint.Relation
| `- error: cannot find type 'NSLayoutConstraint' in scope
14 |
15 | public let constant: CGFloat
/host/spi-builder-workspace/Sources/LayoutAid/Width.swift:15:26: error: cannot find type 'CGFloat' in scope
13 | public let relation: NSLayoutConstraint.Relation
14 |
15 | public let constant: CGFloat
| `- error: cannot find type 'CGFloat' in scope
16 |
17 | public let multiplier: CGFloat
/host/spi-builder-workspace/Sources/LayoutAid/Width.swift:17:28: error: cannot find type 'CGFloat' in scope
15 | public let constant: CGFloat
16 |
17 | public let multiplier: CGFloat
| `- error: cannot find type 'CGFloat' in scope
18 |
19 | public var priority: NSLayoutConstraint.Priority = .required
/host/spi-builder-workspace/Sources/LayoutAid/Width.swift:19:26: error: cannot find type 'NSLayoutConstraint' in scope
17 | public let multiplier: CGFloat
18 |
19 | public var priority: NSLayoutConstraint.Priority = .required
| `- error: cannot find type 'NSLayoutConstraint' in scope
20 |
21 | public init(_ relation: NSLayoutConstraint.Relation, to constant: CGFloat) {
/host/spi-builder-workspace/Sources/LayoutAid/Width.swift:21:29: error: cannot find type 'NSLayoutConstraint' in scope
19 | public var priority: NSLayoutConstraint.Priority = .required
20 |
21 | public init(_ relation: NSLayoutConstraint.Relation, to constant: CGFloat) {
| `- error: cannot find type 'NSLayoutConstraint' in scope
22 | self.relation = relation
23 | self.constant = constant
/host/spi-builder-workspace/Sources/LayoutAid/Width.swift:21:71: error: cannot find type 'CGFloat' in scope
19 | public var priority: NSLayoutConstraint.Priority = .required
20 |
21 | public init(_ relation: NSLayoutConstraint.Relation, to constant: CGFloat) {
| `- error: cannot find type 'CGFloat' in scope
22 | self.relation = relation
23 | self.constant = constant
/host/spi-builder-workspace/Sources/LayoutAid/Width.swift:29:21: error: cannot find type 'NSLayoutConstraint' in scope
27 |
28 | public init(
29 | _ relation: NSLayoutConstraint.Relation,
| `- error: cannot find type 'NSLayoutConstraint' in scope
30 | to secondAnchor: NSLayoutDimension,
31 | multiplier: CGFloat,
/host/spi-builder-workspace/Sources/LayoutAid/Width.swift:30:26: error: cannot find type 'NSLayoutDimension' in scope
28 | public init(
29 | _ relation: NSLayoutConstraint.Relation,
30 | to secondAnchor: NSLayoutDimension,
| `- error: cannot find type 'NSLayoutDimension' in scope
31 | multiplier: CGFloat,
32 | constant: CGFloat
/host/spi-builder-workspace/Sources/LayoutAid/Width.swift:31:21: error: cannot find type 'CGFloat' in scope
29 | _ relation: NSLayoutConstraint.Relation,
30 | to secondAnchor: NSLayoutDimension,
31 | multiplier: CGFloat,
| `- error: cannot find type 'CGFloat' in scope
32 | constant: CGFloat
33 | ) {
/host/spi-builder-workspace/Sources/LayoutAid/Width.swift:32:19: error: cannot find type 'CGFloat' in scope
30 | to secondAnchor: NSLayoutDimension,
31 | multiplier: CGFloat,
32 | constant: CGFloat
| `- error: cannot find type 'CGFloat' in scope
33 | ) {
34 | self.relation = relation
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:9:51: error: cannot find type 'NSLayoutDimension' in scope
7 | public protocol DimensionConstraintsGenerator: LayoutConstraintsGenerator {
8 |
9 | static var anchorKeyPath: KeyPath<LayoutItem, NSLayoutDimension> { get }
| `- error: cannot find type 'NSLayoutDimension' in scope
10 |
11 | var secondAnchor: NSLayoutDimension? { get }
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:11:23: error: cannot find type 'NSLayoutDimension' in scope
9 | static var anchorKeyPath: KeyPath<LayoutItem, NSLayoutDimension> { get }
10 |
11 | var secondAnchor: NSLayoutDimension? { get }
| `- error: cannot find type 'NSLayoutDimension' in scope
12 |
13 | var relation: NSLayoutConstraint.Relation { get }
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:13:19: error: cannot find type 'NSLayoutConstraint' in scope
11 | var secondAnchor: NSLayoutDimension? { get }
12 |
13 | var relation: NSLayoutConstraint.Relation { get }
| `- error: cannot find type 'NSLayoutConstraint' in scope
14 |
15 | var constant: CGFloat { get }
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:15:19: error: cannot find type 'CGFloat' in scope
13 | var relation: NSLayoutConstraint.Relation { get }
14 |
15 | var constant: CGFloat { get }
| `- error: cannot find type 'CGFloat' in scope
16 |
17 | var multiplier: CGFloat { get }
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:17:21: error: cannot find type 'CGFloat' in scope
15 | var constant: CGFloat { get }
16 |
17 | var multiplier: CGFloat { get }
| `- error: cannot find type 'CGFloat' in scope
18 |
19 | init(
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:20:21: error: cannot find type 'NSLayoutConstraint' in scope
18 |
19 | init(
20 | _ relation: NSLayoutConstraint.Relation,
| `- error: cannot find type 'NSLayoutConstraint' in scope
21 | to secondAnchor: NSLayoutDimension,
22 | multiplier: CGFloat,
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:21:26: error: cannot find type 'NSLayoutDimension' in scope
19 | init(
20 | _ relation: NSLayoutConstraint.Relation,
21 | to secondAnchor: NSLayoutDimension,
| `- error: cannot find type 'NSLayoutDimension' in scope
22 | multiplier: CGFloat,
23 | constant: CGFloat
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:22:21: error: cannot find type 'CGFloat' in scope
20 | _ relation: NSLayoutConstraint.Relation,
21 | to secondAnchor: NSLayoutDimension,
22 | multiplier: CGFloat,
| `- error: cannot find type 'CGFloat' in scope
23 | constant: CGFloat
24 | )
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:23:19: error: cannot find type 'CGFloat' in scope
21 | to secondAnchor: NSLayoutDimension,
22 | multiplier: CGFloat,
23 | constant: CGFloat
| `- error: cannot find type 'CGFloat' in scope
24 | )
25 |
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:26:22: error: cannot find type 'NSLayoutConstraint' in scope
24 | )
25 |
26 | init(_ relation: NSLayoutConstraint.Relation, to constant: CGFloat)
| `- error: cannot find type 'NSLayoutConstraint' in scope
27 | }
28 |
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:26:64: error: cannot find type 'CGFloat' in scope
24 | )
25 |
26 | init(_ relation: NSLayoutConstraint.Relation, to constant: CGFloat)
| `- error: cannot find type 'CGFloat' in scope
27 | }
28 |
/host/spi-builder-workspace/Sources/LayoutAid/LayoutConstraintsGenerator.swift:9:19: error: cannot find type 'NSLayoutConstraint' in scope
7 | public protocol LayoutConstraintsGenerator {
8 |
9 | var priority: NSLayoutConstraint.Priority { get set }
| `- error: cannot find type 'NSLayoutConstraint' in scope
10 |
11 | func makeConstraints(for item: LayoutItem) -> [NSLayoutConstraint]
/host/spi-builder-workspace/Sources/LayoutAid/LayoutConstraintsGenerator.swift:11:52: error: cannot find type 'NSLayoutConstraint' in scope
9 | var priority: NSLayoutConstraint.Priority { get set }
10 |
11 | func makeConstraints(for item: LayoutItem) -> [NSLayoutConstraint]
| `- error: cannot find type 'NSLayoutConstraint' in scope
12 | }
13 |
/host/spi-builder-workspace/Sources/LayoutAid/XAxisConstraintsGenerator.swift:8:21: error: cannot find type 'NSLayoutXAxisAnchor' in scope
6 |
7 | public protocol XAxisConstraintsGenerator: AxisConstraintsGenerator
8 | where AnchorType == NSLayoutXAxisAnchor, Anchor == NSLayoutXAxisAnchor {}
| `- error: cannot find type 'NSLayoutXAxisAnchor' in scope
9 |
10 | #if canImport(UIKit)
/host/spi-builder-workspace/Sources/LayoutAid/XAxisConstraintsGenerator.swift:8:52: error: cannot find type 'NSLayoutXAxisAnchor' in scope
6 |
7 | public protocol XAxisConstraintsGenerator: AxisConstraintsGenerator
8 | where AnchorType == NSLayoutXAxisAnchor, Anchor == NSLayoutXAxisAnchor {}
| `- error: cannot find type 'NSLayoutXAxisAnchor' in scope
9 |
10 | #if canImport(UIKit)
/host/spi-builder-workspace/Sources/LayoutAid/AxisConstraintsGenerator.swift:16:28: error: cannot find type 'NSLayoutAnchor' in scope
14 | public protocol AxisConstraintsGenerator: LayoutConstraintsGenerator {
15 | associatedtype AnchorType: AnyObject
16 | associatedtype Anchor: NSLayoutAnchor<AnchorType>
| `- error: cannot find type 'NSLayoutAnchor' in scope
17 |
18 | var relation: NSLayoutConstraint.Relation { get }
/host/spi-builder-workspace/Sources/LayoutAid/YAxisConstraintsGenerator.swift:8:21: error: cannot find type 'NSLayoutYAxisAnchor' in scope
6 |
7 | public protocol YAxisConstraintsGenerator: AxisConstraintsGenerator
8 | where AnchorType == NSLayoutYAxisAnchor, Anchor == NSLayoutYAxisAnchor {}
| `- error: cannot find type 'NSLayoutYAxisAnchor' in scope
9 |
10 | #if canImport(UIKit)
/host/spi-builder-workspace/Sources/LayoutAid/YAxisConstraintsGenerator.swift:8:52: error: cannot find type 'NSLayoutYAxisAnchor' in scope
6 |
7 | public protocol YAxisConstraintsGenerator: AxisConstraintsGenerator
8 | where AnchorType == NSLayoutYAxisAnchor, Anchor == NSLayoutYAxisAnchor {}
| `- error: cannot find type 'NSLayoutYAxisAnchor' in scope
9 |
10 | #if canImport(UIKit)
[28/31] Compiling LayoutAid Edges.swift
/host/spi-builder-workspace/Sources/LayoutAid/Edges.swift:31:31: error: cannot find type 'NSEdgeInsets' in scope
29 | #else
30 |
31 | public typealias Insets = NSEdgeInsets
| `- error: cannot find type 'NSEdgeInsets' in scope
32 |
33 | public typealias Edge = Set<NSRectEdge>
/host/spi-builder-workspace/Sources/LayoutAid/Edges.swift:33:33: error: cannot find type 'NSRectEdge' in scope
31 | public typealias Insets = NSEdgeInsets
32 |
33 | public typealias Edge = Set<NSRectEdge>
| `- error: cannot find type 'NSRectEdge' in scope
34 |
35 | private let insets: Insets
/host/spi-builder-workspace/Sources/LayoutAid/Edges.swift:37:44: error: cannot find type 'NSLayoutConstraint' in scope
35 | private let insets: Insets
36 |
37 | private init(_ edge: Edge, _ relation: NSLayoutConstraint.Relation, to item: LayoutItem, insets: Insets) {
| `- error: cannot find type 'NSLayoutConstraint' in scope
38 | self.edge = edge
39 | self.relation = relation
/host/spi-builder-workspace/Sources/LayoutAid/Edges.swift:46:26: error: cannot find type 'NSLayoutConstraint' in scope
44 | #endif
45 |
46 | public var priority: NSLayoutConstraint.Priority = .required
| `- error: cannot find type 'NSLayoutConstraint' in scope
47 |
48 | private let relation: NSLayoutConstraint.Relation
/host/spi-builder-workspace/Sources/LayoutAid/Edges.swift:48:27: error: cannot find type 'NSLayoutConstraint' in scope
46 | public var priority: NSLayoutConstraint.Priority = .required
47 |
48 | private let relation: NSLayoutConstraint.Relation
| `- error: cannot find type 'NSLayoutConstraint' in scope
49 |
50 | public let edge: Edge
/host/spi-builder-workspace/Sources/LayoutAid/LayoutItem.swift:9:24: error: cannot find type 'NSLayoutXAxisAnchor' in scope
7 | public protocol LayoutItem {
8 |
9 | var leadingAnchor: NSLayoutXAxisAnchor { get }
| `- error: cannot find type 'NSLayoutXAxisAnchor' in scope
10 |
11 | var trailingAnchor: NSLayoutXAxisAnchor { get }
/host/spi-builder-workspace/Sources/LayoutAid/LayoutItem.swift:11:25: error: cannot find type 'NSLayoutXAxisAnchor' in scope
9 | var leadingAnchor: NSLayoutXAxisAnchor { get }
10 |
11 | var trailingAnchor: NSLayoutXAxisAnchor { get }
| `- error: cannot find type 'NSLayoutXAxisAnchor' in scope
12 |
13 | var leftAnchor: NSLayoutXAxisAnchor { get }
/host/spi-builder-workspace/Sources/LayoutAid/LayoutItem.swift:13:21: error: cannot find type 'NSLayoutXAxisAnchor' in scope
11 | var trailingAnchor: NSLayoutXAxisAnchor { get }
12 |
13 | var leftAnchor: NSLayoutXAxisAnchor { get }
| `- error: cannot find type 'NSLayoutXAxisAnchor' in scope
14 |
15 | var rightAnchor: NSLayoutXAxisAnchor { get }
/host/spi-builder-workspace/Sources/LayoutAid/LayoutItem.swift:15:22: error: cannot find type 'NSLayoutXAxisAnchor' in scope
13 | var leftAnchor: NSLayoutXAxisAnchor { get }
14 |
15 | var rightAnchor: NSLayoutXAxisAnchor { get }
| `- error: cannot find type 'NSLayoutXAxisAnchor' in scope
16 |
17 | var topAnchor: NSLayoutYAxisAnchor { get }
/host/spi-builder-workspace/Sources/LayoutAid/LayoutItem.swift:17:20: error: cannot find type 'NSLayoutYAxisAnchor' in scope
15 | var rightAnchor: NSLayoutXAxisAnchor { get }
16 |
17 | var topAnchor: NSLayoutYAxisAnchor { get }
| `- error: cannot find type 'NSLayoutYAxisAnchor' in scope
18 |
19 | var bottomAnchor: NSLayoutYAxisAnchor { get }
/host/spi-builder-workspace/Sources/LayoutAid/LayoutItem.swift:19:23: error: cannot find type 'NSLayoutYAxisAnchor' in scope
17 | var topAnchor: NSLayoutYAxisAnchor { get }
18 |
19 | var bottomAnchor: NSLayoutYAxisAnchor { get }
| `- error: cannot find type 'NSLayoutYAxisAnchor' in scope
20 |
21 | var centerXAnchor: NSLayoutXAxisAnchor { get }
/host/spi-builder-workspace/Sources/LayoutAid/LayoutItem.swift:21:24: error: cannot find type 'NSLayoutXAxisAnchor' in scope
19 | var bottomAnchor: NSLayoutYAxisAnchor { get }
20 |
21 | var centerXAnchor: NSLayoutXAxisAnchor { get }
| `- error: cannot find type 'NSLayoutXAxisAnchor' in scope
22 |
23 | var centerYAnchor: NSLayoutYAxisAnchor { get }
/host/spi-builder-workspace/Sources/LayoutAid/LayoutItem.swift:23:24: error: cannot find type 'NSLayoutYAxisAnchor' in scope
21 | var centerXAnchor: NSLayoutXAxisAnchor { get }
22 |
23 | var centerYAnchor: NSLayoutYAxisAnchor { get }
| `- error: cannot find type 'NSLayoutYAxisAnchor' in scope
24 |
25 | var widthAnchor: NSLayoutDimension { get }
/host/spi-builder-workspace/Sources/LayoutAid/LayoutItem.swift:25:22: error: cannot find type 'NSLayoutDimension' in scope
23 | var centerYAnchor: NSLayoutYAxisAnchor { get }
24 |
25 | var widthAnchor: NSLayoutDimension { get }
| `- error: cannot find type 'NSLayoutDimension' in scope
26 |
27 | var heightAnchor: NSLayoutDimension { get }
/host/spi-builder-workspace/Sources/LayoutAid/LayoutItem.swift:27:23: error: cannot find type 'NSLayoutDimension' in scope
25 | var widthAnchor: NSLayoutDimension { get }
26 |
27 | var heightAnchor: NSLayoutDimension { get }
| `- error: cannot find type 'NSLayoutDimension' in scope
28 | }
29 |
/host/spi-builder-workspace/Sources/LayoutAid/Edges.swift:104:91: error: cannot find type 'NSLayoutConstraint' in scope
102 | #endif
103 |
104 | private func makeEqualEdgeInsetsConstraints(for item: LayoutItem, insets: Insets) -> [NSLayoutConstraint] {
| `- error: cannot find type 'NSLayoutConstraint' in scope
105 | item.anchor {
106 | Left(equalTo: secondItem.leftAnchor, constant: insets.left)
/host/spi-builder-workspace/Sources/LayoutAid/Edges.swift:115:11: error: cannot find type 'NSLayoutConstraint' in scope
113 | private func makeGreaterThanOrEqualEdgeInsetsConstraints(
114 | for item: LayoutItem, insets: Insets
115 | ) -> [NSLayoutConstraint] {
| `- error: cannot find type 'NSLayoutConstraint' in scope
116 | item.anchor {
117 | Left(lessThanOrEqualTo: secondItem.leftAnchor, constant: insets.left)
/host/spi-builder-workspace/Sources/LayoutAid/Edges.swift:126:11: error: cannot find type 'NSLayoutConstraint' in scope
124 | private func makeLessThanOrEqualEdgeInsetsConstraints(
125 | for item: LayoutItem, insets: Insets
126 | ) -> [NSLayoutConstraint] {
| `- error: cannot find type 'NSLayoutConstraint' in scope
127 |
128 | item.anchor {
/host/spi-builder-workspace/Sources/LayoutAid/Edges.swift:176:11: error: cannot find type 'NSLayoutConstraint' in scope
174 | private func makeEqualConstraints(
175 | for item: LayoutItem
176 | ) -> [NSLayoutConstraint] {
| `- error: cannot find type 'NSLayoutConstraint' in scope
177 |
178 | #if canImport(UIKIt)
/host/spi-builder-workspace/Sources/LayoutAid/Edges.swift:192:11: error: cannot find type 'NSLayoutConstraint' in scope
190 | private func makeGreaterThanOrEqualConstraints(
191 | for item: LayoutItem
192 | ) -> [NSLayoutConstraint] {
| `- error: cannot find type 'NSLayoutConstraint' in scope
193 |
194 | #if canImport(UIKit)
/host/spi-builder-workspace/Sources/LayoutAid/Edges.swift:208:11: error: cannot find type 'NSLayoutConstraint' in scope
206 | private func makeLessThanOrEqualConstraints(
207 | for item: LayoutItem
208 | ) -> [NSLayoutConstraint] {
| `- error: cannot find type 'NSLayoutConstraint' in scope
209 |
210 | #if canImport(UIKit)
/host/spi-builder-workspace/Sources/LayoutAid/Edges.swift:222:59: error: cannot find type 'NSLayoutConstraint' in scope
220 | }
221 |
222 | public func makeConstraints(for item: LayoutItem) -> [NSLayoutConstraint] {
| `- error: cannot find type 'NSLayoutConstraint' in scope
223 |
224 | let constraints: [NSLayoutConstraint]
/host/spi-builder-workspace/Sources/LayoutAid/LayoutConstraintsGenerator.swift:9:19: error: cannot find type 'NSLayoutConstraint' in scope
7 | public protocol LayoutConstraintsGenerator {
8 |
9 | var priority: NSLayoutConstraint.Priority { get set }
| `- error: cannot find type 'NSLayoutConstraint' in scope
10 |
11 | func makeConstraints(for item: LayoutItem) -> [NSLayoutConstraint]
/host/spi-builder-workspace/Sources/LayoutAid/LayoutConstraintsGenerator.swift:11:52: error: cannot find type 'NSLayoutConstraint' in scope
9 | var priority: NSLayoutConstraint.Priority { get set }
10 |
11 | func makeConstraints(for item: LayoutItem) -> [NSLayoutConstraint]
| `- error: cannot find type 'NSLayoutConstraint' in scope
12 | }
13 |
/host/spi-builder-workspace/Sources/LayoutAid/Edges.swift:91:26: error: cannot infer contextual base in reference to member 'equal'
89 | #else
90 | public init(_ edge: Edge = Edge.Element.all, equalTo item: LayoutItem, insets: Insets = .zero) {
91 | self.init(edge, .equal, to: item, insets: insets)
| `- error: cannot infer contextual base in reference to member 'equal'
92 | }
93 |
/host/spi-builder-workspace/Sources/LayoutAid/Edges.swift:95:26: error: cannot infer contextual base in reference to member 'greaterThanOrEqual'
93 |
94 | public init(_ edge: Edge = Edge.Element.all, outsideOrEqualTo item: LayoutItem, insets: Insets = .zero) {
95 | self.init(edge, .greaterThanOrEqual, to: item, insets: insets)
| `- error: cannot infer contextual base in reference to member 'greaterThanOrEqual'
96 | }
97 |
/host/spi-builder-workspace/Sources/LayoutAid/Edges.swift:99:26: error: cannot infer contextual base in reference to member 'lessThanOrEqual'
97 |
98 | public init(_ edge: Edge = Edge.Element.all, insideOrEqualTo item: LayoutItem, insets: Insets = .zero) {
99 | self.init(edge, .lessThanOrEqual, to: item, insets: insets)
| `- error: cannot infer contextual base in reference to member 'lessThanOrEqual'
100 | }
101 |
/host/spi-builder-workspace/Sources/LayoutAid/LayoutItem.swift:36:95: error: cannot find type 'NSLayoutConstraint' in scope
34 |
35 | func anchor(
36 | @LayoutConstraintsGeneratorBuilder _ content: () -> [LayoutConstraintsGenerator]) -> [NSLayoutConstraint] {
| `- error: cannot find type 'NSLayoutConstraint' in scope
37 | content().flatMap { generator in
38 | generator.makeConstraints(for: self)
/host/spi-builder-workspace/Sources/LayoutAid/LayoutItem.swift:42:62: error: cannot find type 'NSLayoutConstraint' in scope
40 | }
41 |
42 | func anchor(_ generator: LayoutConstraintsGenerator) -> [NSLayoutConstraint] {
| `- error: cannot find type 'NSLayoutConstraint' in scope
43 | generator.makeConstraints(for: self)
44 | }
/host/spi-builder-workspace/Sources/LayoutAid/AxisConstraintsGenerator.swift:40:21: error: cannot find type 'NSLayoutConstraint' in scope
38 |
39 | init(
40 | _ relation: NSLayoutConstraint.Relation,
| `- error: cannot find type 'NSLayoutConstraint' in scope
41 | to secondAnchor: Anchor,
42 | constant: CGFloat
/host/spi-builder-workspace/Sources/LayoutAid/AxisConstraintsGenerator.swift:16:28: error: cannot find type 'NSLayoutAnchor' in scope
14 | public protocol AxisConstraintsGenerator: LayoutConstraintsGenerator {
15 | associatedtype AnchorType: AnyObject
16 | associatedtype Anchor: NSLayoutAnchor<AnchorType>
| `- error: cannot find type 'NSLayoutAnchor' in scope
17 |
18 | var relation: NSLayoutConstraint.Relation { get }
/host/spi-builder-workspace/Sources/LayoutAid/AxisConstraintsGenerator.swift:42:19: error: cannot find type 'CGFloat' in scope
40 | _ relation: NSLayoutConstraint.Relation,
41 | to secondAnchor: Anchor,
42 | constant: CGFloat
| `- error: cannot find type 'CGFloat' in scope
43 | )
44 | #endif
/host/spi-builder-workspace/Sources/LayoutAid/AxisConstraintsGenerator.swift:129:19: error: cannot find type 'CGFloat' in scope
127 | init(
128 | equalTo secondAnchor: Anchor,
129 | constant: CGFloat = 0
| `- error: cannot find type 'CGFloat' in scope
130 | ) {
131 | self.init(.equal, to: secondAnchor, constant: constant)
/host/spi-builder-workspace/Sources/LayoutAid/AxisConstraintsGenerator.swift:136:19: error: cannot find type 'CGFloat' in scope
134 | init(
135 | equalTo item: LayoutItem,
136 | constant: CGFloat = 0
| `- error: cannot find type 'CGFloat' in scope
137 | ) {
138 | self.init(.equal, to: item, constant: constant)
/host/spi-builder-workspace/Sources/LayoutAid/AxisConstraintsGenerator.swift:145:19: error: cannot find type 'CGFloat' in scope
143 | init(
144 | lessThanOrEqualTo secondAnchor: Anchor,
145 | constant: CGFloat = 0
| `- error: cannot find type 'CGFloat' in scope
146 | ) {
147 | self.init(.lessThanOrEqual, to: secondAnchor, constant: constant)
/host/spi-builder-workspace/Sources/LayoutAid/AxisConstraintsGenerator.swift:152:19: error: cannot find type 'CGFloat' in scope
150 | init(
151 | lessThanOrEqualTo item: LayoutItem,
152 | constant: CGFloat = 0
| `- error: cannot find type 'CGFloat' in scope
153 | ) {
154 | self.init(.lessThanOrEqual, to: item, constant: constant)
/host/spi-builder-workspace/Sources/LayoutAid/AxisConstraintsGenerator.swift:161:19: error: cannot find type 'CGFloat' in scope
159 | init(
160 | greaterThanOrEqualTo secondAnchor: Anchor,
161 | constant: CGFloat = 0
| `- error: cannot find type 'CGFloat' in scope
162 | ) {
163 | self.init(.greaterThanOrEqual, to: secondAnchor, constant: constant)
/host/spi-builder-workspace/Sources/LayoutAid/AxisConstraintsGenerator.swift:168:19: error: cannot find type 'CGFloat' in scope
166 | init(
167 | greaterThanOrEqualTo item: LayoutItem,
168 | constant: CGFloat = 0
| `- error: cannot find type 'CGFloat' in scope
169 | ) {
170 | self.init(.greaterThanOrEqual, to: item, constant: constant)
/host/spi-builder-workspace/Sources/LayoutAid/Left.swift:44:29: error: cannot find type 'NSLayoutConstraint' in scope
42 | public let constant: CGFloat
43 |
44 | public init(_ relation: NSLayoutConstraint.Relation, to secondAnchor: NSLayoutXAxisAnchor, constant: CGFloat) {
| `- error: cannot find type 'NSLayoutConstraint' in scope
45 | self.relation = relation
46 | self.secondAnchor = secondAnchor
/host/spi-builder-workspace/Sources/LayoutAid/Left.swift:44:75: error: cannot find type 'NSLayoutXAxisAnchor' in scope
42 | public let constant: CGFloat
43 |
44 | public init(_ relation: NSLayoutConstraint.Relation, to secondAnchor: NSLayoutXAxisAnchor, constant: CGFloat) {
| `- error: cannot find type 'NSLayoutXAxisAnchor' in scope
45 | self.relation = relation
46 | self.secondAnchor = secondAnchor
/host/spi-builder-workspace/Sources/LayoutAid/Left.swift:44:106: error: cannot find type 'CGFloat' in scope
42 | public let constant: CGFloat
43 |
44 | public init(_ relation: NSLayoutConstraint.Relation, to secondAnchor: NSLayoutXAxisAnchor, constant: CGFloat) {
| `- error: cannot find type 'CGFloat' in scope
45 | self.relation = relation
46 | self.secondAnchor = secondAnchor
/host/spi-builder-workspace/Sources/LayoutAid/AxisConstraintsGenerator.swift:116:21: error: cannot find type 'NSLayoutConstraint' in scope
114 |
115 | init(
116 | _ relation: NSLayoutConstraint.Relation,
| `- error: cannot find type 'NSLayoutConstraint' in scope
117 | to item: LayoutItem,
118 | constant: CGFloat
/host/spi-builder-workspace/Sources/LayoutAid/AxisConstraintsGenerator.swift:118:19: error: cannot find type 'CGFloat' in scope
116 | _ relation: NSLayoutConstraint.Relation,
117 | to item: LayoutItem,
118 | constant: CGFloat
| `- error: cannot find type 'CGFloat' in scope
119 | ) {
120 | self.init(
/host/spi-builder-workspace/Sources/LayoutAid/Edges.swift:224:27: error: cannot find type 'NSLayoutConstraint' in scope
222 | public func makeConstraints(for item: LayoutItem) -> [NSLayoutConstraint] {
223 |
224 | let constraints: [NSLayoutConstraint]
| `- error: cannot find type 'NSLayoutConstraint' in scope
225 |
226 | switch relation {
/host/spi-builder-workspace/Sources/LayoutAid/LayoutConstraintsGenerator.swift:16:28: error: cannot find type 'NSLayoutConstraint' in scope
14 | public extension LayoutConstraintsGenerator {
15 |
16 | func priority(_ value: NSLayoutConstraint.Priority) -> Self {
| `- error: cannot find type 'NSLayoutConstraint' in scope
17 | var new = self
18 | new.priority = value
/host/spi-builder-workspace/Sources/LayoutAid/Height.swift:9:58: error: cannot find type 'NSLayoutDimension' in scope
7 | public struct Height: DimensionConstraintsGenerator {
8 |
9 | public static let anchorKeyPath: KeyPath<LayoutItem, NSLayoutDimension> = \.heightAnchor
| `- error: cannot find type 'NSLayoutDimension' in scope
10 |
11 | public let secondAnchor: NSLayoutDimension?
/host/spi-builder-workspace/Sources/LayoutAid/Height.swift:9:79: error: cannot infer key path type from context; consider explicitly specifying a root type
7 | public struct Height: DimensionConstraintsGenerator {
8 |
9 | public static let anchorKeyPath: KeyPath<LayoutItem, NSLayoutDimension> = \.heightAnchor
| `- error: cannot infer key path type from context; consider explicitly specifying a root type
10 |
11 | public let secondAnchor: NSLayoutDimension?
/host/spi-builder-workspace/Sources/LayoutAid/Height.swift:11:30: error: cannot find type 'NSLayoutDimension' in scope
9 | public static let anchorKeyPath: KeyPath<LayoutItem, NSLayoutDimension> = \.heightAnchor
10 |
11 | public let secondAnchor: NSLayoutDimension?
| `- error: cannot find type 'NSLayoutDimension' in scope
12 |
13 | public let relation: NSLayoutConstraint.Relation
/host/spi-builder-workspace/Sources/LayoutAid/Height.swift:13:26: error: cannot find type 'NSLayoutConstraint' in scope
11 | public let secondAnchor: NSLayoutDimension?
12 |
13 | public let relation: NSLayoutConstraint.Relation
| `- error: cannot find type 'NSLayoutConstraint' in scope
14 |
15 | public let constant: CGFloat
/host/spi-builder-workspace/Sources/LayoutAid/Height.swift:15:26: error: cannot find type 'CGFloat' in scope
13 | public let relation: NSLayoutConstraint.Relation
14 |
15 | public let constant: CGFloat
| `- error: cannot find type 'CGFloat' in scope
16 |
17 | public let multiplier: CGFloat
/host/spi-builder-workspace/Sources/LayoutAid/Height.swift:17:28: error: cannot find type 'CGFloat' in scope
15 | public let constant: CGFloat
16 |
17 | public let multiplier: CGFloat
| `- error: cannot find type 'CGFloat' in scope
18 |
19 | public var priority: NSLayoutConstraint.Priority = .required
/host/spi-builder-workspace/Sources/LayoutAid/Height.swift:19:26: error: cannot find type 'NSLayoutConstraint' in scope
17 | public let multiplier: CGFloat
18 |
19 | public var priority: NSLayoutConstraint.Priority = .required
| `- error: cannot find type 'NSLayoutConstraint' in scope
20 |
21 | public init(_ relation: NSLayoutConstraint.Relation, to constant: CGFloat) {
/host/spi-builder-workspace/Sources/LayoutAid/Height.swift:21:29: error: cannot find type 'NSLayoutConstraint' in scope
19 | public var priority: NSLayoutConstraint.Priority = .required
20 |
21 | public init(_ relation: NSLayoutConstraint.Relation, to constant: CGFloat) {
| `- error: cannot find type 'NSLayoutConstraint' in scope
22 | self.relation = relation
23 | self.constant = constant
/host/spi-builder-workspace/Sources/LayoutAid/Height.swift:21:71: error: cannot find type 'CGFloat' in scope
19 | public var priority: NSLayoutConstraint.Priority = .required
20 |
21 | public init(_ relation: NSLayoutConstraint.Relation, to constant: CGFloat) {
| `- error: cannot find type 'CGFloat' in scope
22 | self.relation = relation
23 | self.constant = constant
/host/spi-builder-workspace/Sources/LayoutAid/Height.swift:29:21: error: cannot find type 'NSLayoutConstraint' in scope
27 |
28 | public init(
29 | _ relation: NSLayoutConstraint.Relation,
| `- error: cannot find type 'NSLayoutConstraint' in scope
30 | to secondAnchor: NSLayoutDimension,
31 | multiplier: CGFloat,
/host/spi-builder-workspace/Sources/LayoutAid/Height.swift:30:26: error: cannot find type 'NSLayoutDimension' in scope
28 | public init(
29 | _ relation: NSLayoutConstraint.Relation,
30 | to secondAnchor: NSLayoutDimension,
| `- error: cannot find type 'NSLayoutDimension' in scope
31 | multiplier: CGFloat,
32 | constant: CGFloat
/host/spi-builder-workspace/Sources/LayoutAid/Height.swift:31:21: error: cannot find type 'CGFloat' in scope
29 | _ relation: NSLayoutConstraint.Relation,
30 | to secondAnchor: NSLayoutDimension,
31 | multiplier: CGFloat,
| `- error: cannot find type 'CGFloat' in scope
32 | constant: CGFloat
33 | ) {
/host/spi-builder-workspace/Sources/LayoutAid/Height.swift:32:19: error: cannot find type 'CGFloat' in scope
30 | to secondAnchor: NSLayoutDimension,
31 | multiplier: CGFloat,
32 | constant: CGFloat
| `- error: cannot find type 'CGFloat' in scope
33 | ) {
34 | self.relation = relation
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:9:51: error: cannot find type 'NSLayoutDimension' in scope
7 | public protocol DimensionConstraintsGenerator: LayoutConstraintsGenerator {
8 |
9 | static var anchorKeyPath: KeyPath<LayoutItem, NSLayoutDimension> { get }
| `- error: cannot find type 'NSLayoutDimension' in scope
10 |
11 | var secondAnchor: NSLayoutDimension? { get }
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:11:23: error: cannot find type 'NSLayoutDimension' in scope
9 | static var anchorKeyPath: KeyPath<LayoutItem, NSLayoutDimension> { get }
10 |
11 | var secondAnchor: NSLayoutDimension? { get }
| `- error: cannot find type 'NSLayoutDimension' in scope
12 |
13 | var relation: NSLayoutConstraint.Relation { get }
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:13:19: error: cannot find type 'NSLayoutConstraint' in scope
11 | var secondAnchor: NSLayoutDimension? { get }
12 |
13 | var relation: NSLayoutConstraint.Relation { get }
| `- error: cannot find type 'NSLayoutConstraint' in scope
14 |
15 | var constant: CGFloat { get }
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:15:19: error: cannot find type 'CGFloat' in scope
13 | var relation: NSLayoutConstraint.Relation { get }
14 |
15 | var constant: CGFloat { get }
| `- error: cannot find type 'CGFloat' in scope
16 |
17 | var multiplier: CGFloat { get }
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:17:21: error: cannot find type 'CGFloat' in scope
15 | var constant: CGFloat { get }
16 |
17 | var multiplier: CGFloat { get }
| `- error: cannot find type 'CGFloat' in scope
18 |
19 | init(
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:20:21: error: cannot find type 'NSLayoutConstraint' in scope
18 |
19 | init(
20 | _ relation: NSLayoutConstraint.Relation,
| `- error: cannot find type 'NSLayoutConstraint' in scope
21 | to secondAnchor: NSLayoutDimension,
22 | multiplier: CGFloat,
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:21:26: error: cannot find type 'NSLayoutDimension' in scope
19 | init(
20 | _ relation: NSLayoutConstraint.Relation,
21 | to secondAnchor: NSLayoutDimension,
| `- error: cannot find type 'NSLayoutDimension' in scope
22 | multiplier: CGFloat,
23 | constant: CGFloat
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:22:21: error: cannot find type 'CGFloat' in scope
20 | _ relation: NSLayoutConstraint.Relation,
21 | to secondAnchor: NSLayoutDimension,
22 | multiplier: CGFloat,
| `- error: cannot find type 'CGFloat' in scope
23 | constant: CGFloat
24 | )
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:23:19: error: cannot find type 'CGFloat' in scope
21 | to secondAnchor: NSLayoutDimension,
22 | multiplier: CGFloat,
23 | constant: CGFloat
| `- error: cannot find type 'CGFloat' in scope
24 | )
25 |
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:26:22: error: cannot find type 'NSLayoutConstraint' in scope
24 | )
25 |
26 | init(_ relation: NSLayoutConstraint.Relation, to constant: CGFloat)
| `- error: cannot find type 'NSLayoutConstraint' in scope
27 | }
28 |
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:26:64: error: cannot find type 'CGFloat' in scope
24 | )
25 |
26 | init(_ relation: NSLayoutConstraint.Relation, to constant: CGFloat)
| `- error: cannot find type 'CGFloat' in scope
27 | }
28 |
[29/31] Compiling LayoutAid Height.swift
/host/spi-builder-workspace/Sources/LayoutAid/Edges.swift:31:31: error: cannot find type 'NSEdgeInsets' in scope
29 | #else
30 |
31 | public typealias Insets = NSEdgeInsets
| `- error: cannot find type 'NSEdgeInsets' in scope
32 |
33 | public typealias Edge = Set<NSRectEdge>
/host/spi-builder-workspace/Sources/LayoutAid/Edges.swift:33:33: error: cannot find type 'NSRectEdge' in scope
31 | public typealias Insets = NSEdgeInsets
32 |
33 | public typealias Edge = Set<NSRectEdge>
| `- error: cannot find type 'NSRectEdge' in scope
34 |
35 | private let insets: Insets
/host/spi-builder-workspace/Sources/LayoutAid/Edges.swift:37:44: error: cannot find type 'NSLayoutConstraint' in scope
35 | private let insets: Insets
36 |
37 | private init(_ edge: Edge, _ relation: NSLayoutConstraint.Relation, to item: LayoutItem, insets: Insets) {
| `- error: cannot find type 'NSLayoutConstraint' in scope
38 | self.edge = edge
39 | self.relation = relation
/host/spi-builder-workspace/Sources/LayoutAid/Edges.swift:46:26: error: cannot find type 'NSLayoutConstraint' in scope
44 | #endif
45 |
46 | public var priority: NSLayoutConstraint.Priority = .required
| `- error: cannot find type 'NSLayoutConstraint' in scope
47 |
48 | private let relation: NSLayoutConstraint.Relation
/host/spi-builder-workspace/Sources/LayoutAid/Edges.swift:48:27: error: cannot find type 'NSLayoutConstraint' in scope
46 | public var priority: NSLayoutConstraint.Priority = .required
47 |
48 | private let relation: NSLayoutConstraint.Relation
| `- error: cannot find type 'NSLayoutConstraint' in scope
49 |
50 | public let edge: Edge
/host/spi-builder-workspace/Sources/LayoutAid/LayoutItem.swift:9:24: error: cannot find type 'NSLayoutXAxisAnchor' in scope
7 | public protocol LayoutItem {
8 |
9 | var leadingAnchor: NSLayoutXAxisAnchor { get }
| `- error: cannot find type 'NSLayoutXAxisAnchor' in scope
10 |
11 | var trailingAnchor: NSLayoutXAxisAnchor { get }
/host/spi-builder-workspace/Sources/LayoutAid/LayoutItem.swift:11:25: error: cannot find type 'NSLayoutXAxisAnchor' in scope
9 | var leadingAnchor: NSLayoutXAxisAnchor { get }
10 |
11 | var trailingAnchor: NSLayoutXAxisAnchor { get }
| `- error: cannot find type 'NSLayoutXAxisAnchor' in scope
12 |
13 | var leftAnchor: NSLayoutXAxisAnchor { get }
/host/spi-builder-workspace/Sources/LayoutAid/LayoutItem.swift:13:21: error: cannot find type 'NSLayoutXAxisAnchor' in scope
11 | var trailingAnchor: NSLayoutXAxisAnchor { get }
12 |
13 | var leftAnchor: NSLayoutXAxisAnchor { get }
| `- error: cannot find type 'NSLayoutXAxisAnchor' in scope
14 |
15 | var rightAnchor: NSLayoutXAxisAnchor { get }
/host/spi-builder-workspace/Sources/LayoutAid/LayoutItem.swift:15:22: error: cannot find type 'NSLayoutXAxisAnchor' in scope
13 | var leftAnchor: NSLayoutXAxisAnchor { get }
14 |
15 | var rightAnchor: NSLayoutXAxisAnchor { get }
| `- error: cannot find type 'NSLayoutXAxisAnchor' in scope
16 |
17 | var topAnchor: NSLayoutYAxisAnchor { get }
/host/spi-builder-workspace/Sources/LayoutAid/LayoutItem.swift:17:20: error: cannot find type 'NSLayoutYAxisAnchor' in scope
15 | var rightAnchor: NSLayoutXAxisAnchor { get }
16 |
17 | var topAnchor: NSLayoutYAxisAnchor { get }
| `- error: cannot find type 'NSLayoutYAxisAnchor' in scope
18 |
19 | var bottomAnchor: NSLayoutYAxisAnchor { get }
/host/spi-builder-workspace/Sources/LayoutAid/LayoutItem.swift:19:23: error: cannot find type 'NSLayoutYAxisAnchor' in scope
17 | var topAnchor: NSLayoutYAxisAnchor { get }
18 |
19 | var bottomAnchor: NSLayoutYAxisAnchor { get }
| `- error: cannot find type 'NSLayoutYAxisAnchor' in scope
20 |
21 | var centerXAnchor: NSLayoutXAxisAnchor { get }
/host/spi-builder-workspace/Sources/LayoutAid/LayoutItem.swift:21:24: error: cannot find type 'NSLayoutXAxisAnchor' in scope
19 | var bottomAnchor: NSLayoutYAxisAnchor { get }
20 |
21 | var centerXAnchor: NSLayoutXAxisAnchor { get }
| `- error: cannot find type 'NSLayoutXAxisAnchor' in scope
22 |
23 | var centerYAnchor: NSLayoutYAxisAnchor { get }
/host/spi-builder-workspace/Sources/LayoutAid/LayoutItem.swift:23:24: error: cannot find type 'NSLayoutYAxisAnchor' in scope
21 | var centerXAnchor: NSLayoutXAxisAnchor { get }
22 |
23 | var centerYAnchor: NSLayoutYAxisAnchor { get }
| `- error: cannot find type 'NSLayoutYAxisAnchor' in scope
24 |
25 | var widthAnchor: NSLayoutDimension { get }
/host/spi-builder-workspace/Sources/LayoutAid/LayoutItem.swift:25:22: error: cannot find type 'NSLayoutDimension' in scope
23 | var centerYAnchor: NSLayoutYAxisAnchor { get }
24 |
25 | var widthAnchor: NSLayoutDimension { get }
| `- error: cannot find type 'NSLayoutDimension' in scope
26 |
27 | var heightAnchor: NSLayoutDimension { get }
/host/spi-builder-workspace/Sources/LayoutAid/LayoutItem.swift:27:23: error: cannot find type 'NSLayoutDimension' in scope
25 | var widthAnchor: NSLayoutDimension { get }
26 |
27 | var heightAnchor: NSLayoutDimension { get }
| `- error: cannot find type 'NSLayoutDimension' in scope
28 | }
29 |
/host/spi-builder-workspace/Sources/LayoutAid/Edges.swift:104:91: error: cannot find type 'NSLayoutConstraint' in scope
102 | #endif
103 |
104 | private func makeEqualEdgeInsetsConstraints(for item: LayoutItem, insets: Insets) -> [NSLayoutConstraint] {
| `- error: cannot find type 'NSLayoutConstraint' in scope
105 | item.anchor {
106 | Left(equalTo: secondItem.leftAnchor, constant: insets.left)
/host/spi-builder-workspace/Sources/LayoutAid/Edges.swift:115:11: error: cannot find type 'NSLayoutConstraint' in scope
113 | private func makeGreaterThanOrEqualEdgeInsetsConstraints(
114 | for item: LayoutItem, insets: Insets
115 | ) -> [NSLayoutConstraint] {
| `- error: cannot find type 'NSLayoutConstraint' in scope
116 | item.anchor {
117 | Left(lessThanOrEqualTo: secondItem.leftAnchor, constant: insets.left)
/host/spi-builder-workspace/Sources/LayoutAid/Edges.swift:126:11: error: cannot find type 'NSLayoutConstraint' in scope
124 | private func makeLessThanOrEqualEdgeInsetsConstraints(
125 | for item: LayoutItem, insets: Insets
126 | ) -> [NSLayoutConstraint] {
| `- error: cannot find type 'NSLayoutConstraint' in scope
127 |
128 | item.anchor {
/host/spi-builder-workspace/Sources/LayoutAid/Edges.swift:176:11: error: cannot find type 'NSLayoutConstraint' in scope
174 | private func makeEqualConstraints(
175 | for item: LayoutItem
176 | ) -> [NSLayoutConstraint] {
| `- error: cannot find type 'NSLayoutConstraint' in scope
177 |
178 | #if canImport(UIKIt)
/host/spi-builder-workspace/Sources/LayoutAid/Edges.swift:192:11: error: cannot find type 'NSLayoutConstraint' in scope
190 | private func makeGreaterThanOrEqualConstraints(
191 | for item: LayoutItem
192 | ) -> [NSLayoutConstraint] {
| `- error: cannot find type 'NSLayoutConstraint' in scope
193 |
194 | #if canImport(UIKit)
/host/spi-builder-workspace/Sources/LayoutAid/Edges.swift:208:11: error: cannot find type 'NSLayoutConstraint' in scope
206 | private func makeLessThanOrEqualConstraints(
207 | for item: LayoutItem
208 | ) -> [NSLayoutConstraint] {
| `- error: cannot find type 'NSLayoutConstraint' in scope
209 |
210 | #if canImport(UIKit)
/host/spi-builder-workspace/Sources/LayoutAid/Edges.swift:222:59: error: cannot find type 'NSLayoutConstraint' in scope
220 | }
221 |
222 | public func makeConstraints(for item: LayoutItem) -> [NSLayoutConstraint] {
| `- error: cannot find type 'NSLayoutConstraint' in scope
223 |
224 | let constraints: [NSLayoutConstraint]
/host/spi-builder-workspace/Sources/LayoutAid/LayoutConstraintsGenerator.swift:9:19: error: cannot find type 'NSLayoutConstraint' in scope
7 | public protocol LayoutConstraintsGenerator {
8 |
9 | var priority: NSLayoutConstraint.Priority { get set }
| `- error: cannot find type 'NSLayoutConstraint' in scope
10 |
11 | func makeConstraints(for item: LayoutItem) -> [NSLayoutConstraint]
/host/spi-builder-workspace/Sources/LayoutAid/LayoutConstraintsGenerator.swift:11:52: error: cannot find type 'NSLayoutConstraint' in scope
9 | var priority: NSLayoutConstraint.Priority { get set }
10 |
11 | func makeConstraints(for item: LayoutItem) -> [NSLayoutConstraint]
| `- error: cannot find type 'NSLayoutConstraint' in scope
12 | }
13 |
/host/spi-builder-workspace/Sources/LayoutAid/Edges.swift:91:26: error: cannot infer contextual base in reference to member 'equal'
89 | #else
90 | public init(_ edge: Edge = Edge.Element.all, equalTo item: LayoutItem, insets: Insets = .zero) {
91 | self.init(edge, .equal, to: item, insets: insets)
| `- error: cannot infer contextual base in reference to member 'equal'
92 | }
93 |
/host/spi-builder-workspace/Sources/LayoutAid/Edges.swift:95:26: error: cannot infer contextual base in reference to member 'greaterThanOrEqual'
93 |
94 | public init(_ edge: Edge = Edge.Element.all, outsideOrEqualTo item: LayoutItem, insets: Insets = .zero) {
95 | self.init(edge, .greaterThanOrEqual, to: item, insets: insets)
| `- error: cannot infer contextual base in reference to member 'greaterThanOrEqual'
96 | }
97 |
/host/spi-builder-workspace/Sources/LayoutAid/Edges.swift:99:26: error: cannot infer contextual base in reference to member 'lessThanOrEqual'
97 |
98 | public init(_ edge: Edge = Edge.Element.all, insideOrEqualTo item: LayoutItem, insets: Insets = .zero) {
99 | self.init(edge, .lessThanOrEqual, to: item, insets: insets)
| `- error: cannot infer contextual base in reference to member 'lessThanOrEqual'
100 | }
101 |
/host/spi-builder-workspace/Sources/LayoutAid/LayoutItem.swift:36:95: error: cannot find type 'NSLayoutConstraint' in scope
34 |
35 | func anchor(
36 | @LayoutConstraintsGeneratorBuilder _ content: () -> [LayoutConstraintsGenerator]) -> [NSLayoutConstraint] {
| `- error: cannot find type 'NSLayoutConstraint' in scope
37 | content().flatMap { generator in
38 | generator.makeConstraints(for: self)
/host/spi-builder-workspace/Sources/LayoutAid/LayoutItem.swift:42:62: error: cannot find type 'NSLayoutConstraint' in scope
40 | }
41 |
42 | func anchor(_ generator: LayoutConstraintsGenerator) -> [NSLayoutConstraint] {
| `- error: cannot find type 'NSLayoutConstraint' in scope
43 | generator.makeConstraints(for: self)
44 | }
/host/spi-builder-workspace/Sources/LayoutAid/AxisConstraintsGenerator.swift:40:21: error: cannot find type 'NSLayoutConstraint' in scope
38 |
39 | init(
40 | _ relation: NSLayoutConstraint.Relation,
| `- error: cannot find type 'NSLayoutConstraint' in scope
41 | to secondAnchor: Anchor,
42 | constant: CGFloat
/host/spi-builder-workspace/Sources/LayoutAid/AxisConstraintsGenerator.swift:16:28: error: cannot find type 'NSLayoutAnchor' in scope
14 | public protocol AxisConstraintsGenerator: LayoutConstraintsGenerator {
15 | associatedtype AnchorType: AnyObject
16 | associatedtype Anchor: NSLayoutAnchor<AnchorType>
| `- error: cannot find type 'NSLayoutAnchor' in scope
17 |
18 | var relation: NSLayoutConstraint.Relation { get }
/host/spi-builder-workspace/Sources/LayoutAid/AxisConstraintsGenerator.swift:42:19: error: cannot find type 'CGFloat' in scope
40 | _ relation: NSLayoutConstraint.Relation,
41 | to secondAnchor: Anchor,
42 | constant: CGFloat
| `- error: cannot find type 'CGFloat' in scope
43 | )
44 | #endif
/host/spi-builder-workspace/Sources/LayoutAid/AxisConstraintsGenerator.swift:129:19: error: cannot find type 'CGFloat' in scope
127 | init(
128 | equalTo secondAnchor: Anchor,
129 | constant: CGFloat = 0
| `- error: cannot find type 'CGFloat' in scope
130 | ) {
131 | self.init(.equal, to: secondAnchor, constant: constant)
/host/spi-builder-workspace/Sources/LayoutAid/AxisConstraintsGenerator.swift:136:19: error: cannot find type 'CGFloat' in scope
134 | init(
135 | equalTo item: LayoutItem,
136 | constant: CGFloat = 0
| `- error: cannot find type 'CGFloat' in scope
137 | ) {
138 | self.init(.equal, to: item, constant: constant)
/host/spi-builder-workspace/Sources/LayoutAid/AxisConstraintsGenerator.swift:145:19: error: cannot find type 'CGFloat' in scope
143 | init(
144 | lessThanOrEqualTo secondAnchor: Anchor,
145 | constant: CGFloat = 0
| `- error: cannot find type 'CGFloat' in scope
146 | ) {
147 | self.init(.lessThanOrEqual, to: secondAnchor, constant: constant)
/host/spi-builder-workspace/Sources/LayoutAid/AxisConstraintsGenerator.swift:152:19: error: cannot find type 'CGFloat' in scope
150 | init(
151 | lessThanOrEqualTo item: LayoutItem,
152 | constant: CGFloat = 0
| `- error: cannot find type 'CGFloat' in scope
153 | ) {
154 | self.init(.lessThanOrEqual, to: item, constant: constant)
/host/spi-builder-workspace/Sources/LayoutAid/AxisConstraintsGenerator.swift:161:19: error: cannot find type 'CGFloat' in scope
159 | init(
160 | greaterThanOrEqualTo secondAnchor: Anchor,
161 | constant: CGFloat = 0
| `- error: cannot find type 'CGFloat' in scope
162 | ) {
163 | self.init(.greaterThanOrEqual, to: secondAnchor, constant: constant)
/host/spi-builder-workspace/Sources/LayoutAid/AxisConstraintsGenerator.swift:168:19: error: cannot find type 'CGFloat' in scope
166 | init(
167 | greaterThanOrEqualTo item: LayoutItem,
168 | constant: CGFloat = 0
| `- error: cannot find type 'CGFloat' in scope
169 | ) {
170 | self.init(.greaterThanOrEqual, to: item, constant: constant)
/host/spi-builder-workspace/Sources/LayoutAid/Left.swift:44:29: error: cannot find type 'NSLayoutConstraint' in scope
42 | public let constant: CGFloat
43 |
44 | public init(_ relation: NSLayoutConstraint.Relation, to secondAnchor: NSLayoutXAxisAnchor, constant: CGFloat) {
| `- error: cannot find type 'NSLayoutConstraint' in scope
45 | self.relation = relation
46 | self.secondAnchor = secondAnchor
/host/spi-builder-workspace/Sources/LayoutAid/Left.swift:44:75: error: cannot find type 'NSLayoutXAxisAnchor' in scope
42 | public let constant: CGFloat
43 |
44 | public init(_ relation: NSLayoutConstraint.Relation, to secondAnchor: NSLayoutXAxisAnchor, constant: CGFloat) {
| `- error: cannot find type 'NSLayoutXAxisAnchor' in scope
45 | self.relation = relation
46 | self.secondAnchor = secondAnchor
/host/spi-builder-workspace/Sources/LayoutAid/Left.swift:44:106: error: cannot find type 'CGFloat' in scope
42 | public let constant: CGFloat
43 |
44 | public init(_ relation: NSLayoutConstraint.Relation, to secondAnchor: NSLayoutXAxisAnchor, constant: CGFloat) {
| `- error: cannot find type 'CGFloat' in scope
45 | self.relation = relation
46 | self.secondAnchor = secondAnchor
/host/spi-builder-workspace/Sources/LayoutAid/AxisConstraintsGenerator.swift:116:21: error: cannot find type 'NSLayoutConstraint' in scope
114 |
115 | init(
116 | _ relation: NSLayoutConstraint.Relation,
| `- error: cannot find type 'NSLayoutConstraint' in scope
117 | to item: LayoutItem,
118 | constant: CGFloat
/host/spi-builder-workspace/Sources/LayoutAid/AxisConstraintsGenerator.swift:118:19: error: cannot find type 'CGFloat' in scope
116 | _ relation: NSLayoutConstraint.Relation,
117 | to item: LayoutItem,
118 | constant: CGFloat
| `- error: cannot find type 'CGFloat' in scope
119 | ) {
120 | self.init(
/host/spi-builder-workspace/Sources/LayoutAid/Edges.swift:224:27: error: cannot find type 'NSLayoutConstraint' in scope
222 | public func makeConstraints(for item: LayoutItem) -> [NSLayoutConstraint] {
223 |
224 | let constraints: [NSLayoutConstraint]
| `- error: cannot find type 'NSLayoutConstraint' in scope
225 |
226 | switch relation {
/host/spi-builder-workspace/Sources/LayoutAid/LayoutConstraintsGenerator.swift:16:28: error: cannot find type 'NSLayoutConstraint' in scope
14 | public extension LayoutConstraintsGenerator {
15 |
16 | func priority(_ value: NSLayoutConstraint.Priority) -> Self {
| `- error: cannot find type 'NSLayoutConstraint' in scope
17 | var new = self
18 | new.priority = value
/host/spi-builder-workspace/Sources/LayoutAid/Height.swift:9:58: error: cannot find type 'NSLayoutDimension' in scope
7 | public struct Height: DimensionConstraintsGenerator {
8 |
9 | public static let anchorKeyPath: KeyPath<LayoutItem, NSLayoutDimension> = \.heightAnchor
| `- error: cannot find type 'NSLayoutDimension' in scope
10 |
11 | public let secondAnchor: NSLayoutDimension?
/host/spi-builder-workspace/Sources/LayoutAid/Height.swift:9:79: error: cannot infer key path type from context; consider explicitly specifying a root type
7 | public struct Height: DimensionConstraintsGenerator {
8 |
9 | public static let anchorKeyPath: KeyPath<LayoutItem, NSLayoutDimension> = \.heightAnchor
| `- error: cannot infer key path type from context; consider explicitly specifying a root type
10 |
11 | public let secondAnchor: NSLayoutDimension?
/host/spi-builder-workspace/Sources/LayoutAid/Height.swift:11:30: error: cannot find type 'NSLayoutDimension' in scope
9 | public static let anchorKeyPath: KeyPath<LayoutItem, NSLayoutDimension> = \.heightAnchor
10 |
11 | public let secondAnchor: NSLayoutDimension?
| `- error: cannot find type 'NSLayoutDimension' in scope
12 |
13 | public let relation: NSLayoutConstraint.Relation
/host/spi-builder-workspace/Sources/LayoutAid/Height.swift:13:26: error: cannot find type 'NSLayoutConstraint' in scope
11 | public let secondAnchor: NSLayoutDimension?
12 |
13 | public let relation: NSLayoutConstraint.Relation
| `- error: cannot find type 'NSLayoutConstraint' in scope
14 |
15 | public let constant: CGFloat
/host/spi-builder-workspace/Sources/LayoutAid/Height.swift:15:26: error: cannot find type 'CGFloat' in scope
13 | public let relation: NSLayoutConstraint.Relation
14 |
15 | public let constant: CGFloat
| `- error: cannot find type 'CGFloat' in scope
16 |
17 | public let multiplier: CGFloat
/host/spi-builder-workspace/Sources/LayoutAid/Height.swift:17:28: error: cannot find type 'CGFloat' in scope
15 | public let constant: CGFloat
16 |
17 | public let multiplier: CGFloat
| `- error: cannot find type 'CGFloat' in scope
18 |
19 | public var priority: NSLayoutConstraint.Priority = .required
/host/spi-builder-workspace/Sources/LayoutAid/Height.swift:19:26: error: cannot find type 'NSLayoutConstraint' in scope
17 | public let multiplier: CGFloat
18 |
19 | public var priority: NSLayoutConstraint.Priority = .required
| `- error: cannot find type 'NSLayoutConstraint' in scope
20 |
21 | public init(_ relation: NSLayoutConstraint.Relation, to constant: CGFloat) {
/host/spi-builder-workspace/Sources/LayoutAid/Height.swift:21:29: error: cannot find type 'NSLayoutConstraint' in scope
19 | public var priority: NSLayoutConstraint.Priority = .required
20 |
21 | public init(_ relation: NSLayoutConstraint.Relation, to constant: CGFloat) {
| `- error: cannot find type 'NSLayoutConstraint' in scope
22 | self.relation = relation
23 | self.constant = constant
/host/spi-builder-workspace/Sources/LayoutAid/Height.swift:21:71: error: cannot find type 'CGFloat' in scope
19 | public var priority: NSLayoutConstraint.Priority = .required
20 |
21 | public init(_ relation: NSLayoutConstraint.Relation, to constant: CGFloat) {
| `- error: cannot find type 'CGFloat' in scope
22 | self.relation = relation
23 | self.constant = constant
/host/spi-builder-workspace/Sources/LayoutAid/Height.swift:29:21: error: cannot find type 'NSLayoutConstraint' in scope
27 |
28 | public init(
29 | _ relation: NSLayoutConstraint.Relation,
| `- error: cannot find type 'NSLayoutConstraint' in scope
30 | to secondAnchor: NSLayoutDimension,
31 | multiplier: CGFloat,
/host/spi-builder-workspace/Sources/LayoutAid/Height.swift:30:26: error: cannot find type 'NSLayoutDimension' in scope
28 | public init(
29 | _ relation: NSLayoutConstraint.Relation,
30 | to secondAnchor: NSLayoutDimension,
| `- error: cannot find type 'NSLayoutDimension' in scope
31 | multiplier: CGFloat,
32 | constant: CGFloat
/host/spi-builder-workspace/Sources/LayoutAid/Height.swift:31:21: error: cannot find type 'CGFloat' in scope
29 | _ relation: NSLayoutConstraint.Relation,
30 | to secondAnchor: NSLayoutDimension,
31 | multiplier: CGFloat,
| `- error: cannot find type 'CGFloat' in scope
32 | constant: CGFloat
33 | ) {
/host/spi-builder-workspace/Sources/LayoutAid/Height.swift:32:19: error: cannot find type 'CGFloat' in scope
30 | to secondAnchor: NSLayoutDimension,
31 | multiplier: CGFloat,
32 | constant: CGFloat
| `- error: cannot find type 'CGFloat' in scope
33 | ) {
34 | self.relation = relation
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:9:51: error: cannot find type 'NSLayoutDimension' in scope
7 | public protocol DimensionConstraintsGenerator: LayoutConstraintsGenerator {
8 |
9 | static var anchorKeyPath: KeyPath<LayoutItem, NSLayoutDimension> { get }
| `- error: cannot find type 'NSLayoutDimension' in scope
10 |
11 | var secondAnchor: NSLayoutDimension? { get }
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:11:23: error: cannot find type 'NSLayoutDimension' in scope
9 | static var anchorKeyPath: KeyPath<LayoutItem, NSLayoutDimension> { get }
10 |
11 | var secondAnchor: NSLayoutDimension? { get }
| `- error: cannot find type 'NSLayoutDimension' in scope
12 |
13 | var relation: NSLayoutConstraint.Relation { get }
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:13:19: error: cannot find type 'NSLayoutConstraint' in scope
11 | var secondAnchor: NSLayoutDimension? { get }
12 |
13 | var relation: NSLayoutConstraint.Relation { get }
| `- error: cannot find type 'NSLayoutConstraint' in scope
14 |
15 | var constant: CGFloat { get }
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:15:19: error: cannot find type 'CGFloat' in scope
13 | var relation: NSLayoutConstraint.Relation { get }
14 |
15 | var constant: CGFloat { get }
| `- error: cannot find type 'CGFloat' in scope
16 |
17 | var multiplier: CGFloat { get }
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:17:21: error: cannot find type 'CGFloat' in scope
15 | var constant: CGFloat { get }
16 |
17 | var multiplier: CGFloat { get }
| `- error: cannot find type 'CGFloat' in scope
18 |
19 | init(
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:20:21: error: cannot find type 'NSLayoutConstraint' in scope
18 |
19 | init(
20 | _ relation: NSLayoutConstraint.Relation,
| `- error: cannot find type 'NSLayoutConstraint' in scope
21 | to secondAnchor: NSLayoutDimension,
22 | multiplier: CGFloat,
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:21:26: error: cannot find type 'NSLayoutDimension' in scope
19 | init(
20 | _ relation: NSLayoutConstraint.Relation,
21 | to secondAnchor: NSLayoutDimension,
| `- error: cannot find type 'NSLayoutDimension' in scope
22 | multiplier: CGFloat,
23 | constant: CGFloat
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:22:21: error: cannot find type 'CGFloat' in scope
20 | _ relation: NSLayoutConstraint.Relation,
21 | to secondAnchor: NSLayoutDimension,
22 | multiplier: CGFloat,
| `- error: cannot find type 'CGFloat' in scope
23 | constant: CGFloat
24 | )
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:23:19: error: cannot find type 'CGFloat' in scope
21 | to secondAnchor: NSLayoutDimension,
22 | multiplier: CGFloat,
23 | constant: CGFloat
| `- error: cannot find type 'CGFloat' in scope
24 | )
25 |
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:26:22: error: cannot find type 'NSLayoutConstraint' in scope
24 | )
25 |
26 | init(_ relation: NSLayoutConstraint.Relation, to constant: CGFloat)
| `- error: cannot find type 'NSLayoutConstraint' in scope
27 | }
28 |
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:26:64: error: cannot find type 'CGFloat' in scope
24 | )
25 |
26 | init(_ relation: NSLayoutConstraint.Relation, to constant: CGFloat)
| `- error: cannot find type 'CGFloat' in scope
27 | }
28 |
[30/31] Compiling LayoutAid Keyboard.swift
/host/spi-builder-workspace/Sources/LayoutAid/Edges.swift:31:31: error: cannot find type 'NSEdgeInsets' in scope
29 | #else
30 |
31 | public typealias Insets = NSEdgeInsets
| `- error: cannot find type 'NSEdgeInsets' in scope
32 |
33 | public typealias Edge = Set<NSRectEdge>
/host/spi-builder-workspace/Sources/LayoutAid/Edges.swift:33:33: error: cannot find type 'NSRectEdge' in scope
31 | public typealias Insets = NSEdgeInsets
32 |
33 | public typealias Edge = Set<NSRectEdge>
| `- error: cannot find type 'NSRectEdge' in scope
34 |
35 | private let insets: Insets
/host/spi-builder-workspace/Sources/LayoutAid/Edges.swift:37:44: error: cannot find type 'NSLayoutConstraint' in scope
35 | private let insets: Insets
36 |
37 | private init(_ edge: Edge, _ relation: NSLayoutConstraint.Relation, to item: LayoutItem, insets: Insets) {
| `- error: cannot find type 'NSLayoutConstraint' in scope
38 | self.edge = edge
39 | self.relation = relation
/host/spi-builder-workspace/Sources/LayoutAid/Edges.swift:46:26: error: cannot find type 'NSLayoutConstraint' in scope
44 | #endif
45 |
46 | public var priority: NSLayoutConstraint.Priority = .required
| `- error: cannot find type 'NSLayoutConstraint' in scope
47 |
48 | private let relation: NSLayoutConstraint.Relation
/host/spi-builder-workspace/Sources/LayoutAid/Edges.swift:48:27: error: cannot find type 'NSLayoutConstraint' in scope
46 | public var priority: NSLayoutConstraint.Priority = .required
47 |
48 | private let relation: NSLayoutConstraint.Relation
| `- error: cannot find type 'NSLayoutConstraint' in scope
49 |
50 | public let edge: Edge
/host/spi-builder-workspace/Sources/LayoutAid/LayoutItem.swift:9:24: error: cannot find type 'NSLayoutXAxisAnchor' in scope
7 | public protocol LayoutItem {
8 |
9 | var leadingAnchor: NSLayoutXAxisAnchor { get }
| `- error: cannot find type 'NSLayoutXAxisAnchor' in scope
10 |
11 | var trailingAnchor: NSLayoutXAxisAnchor { get }
/host/spi-builder-workspace/Sources/LayoutAid/LayoutItem.swift:11:25: error: cannot find type 'NSLayoutXAxisAnchor' in scope
9 | var leadingAnchor: NSLayoutXAxisAnchor { get }
10 |
11 | var trailingAnchor: NSLayoutXAxisAnchor { get }
| `- error: cannot find type 'NSLayoutXAxisAnchor' in scope
12 |
13 | var leftAnchor: NSLayoutXAxisAnchor { get }
/host/spi-builder-workspace/Sources/LayoutAid/LayoutItem.swift:13:21: error: cannot find type 'NSLayoutXAxisAnchor' in scope
11 | var trailingAnchor: NSLayoutXAxisAnchor { get }
12 |
13 | var leftAnchor: NSLayoutXAxisAnchor { get }
| `- error: cannot find type 'NSLayoutXAxisAnchor' in scope
14 |
15 | var rightAnchor: NSLayoutXAxisAnchor { get }
/host/spi-builder-workspace/Sources/LayoutAid/LayoutItem.swift:15:22: error: cannot find type 'NSLayoutXAxisAnchor' in scope
13 | var leftAnchor: NSLayoutXAxisAnchor { get }
14 |
15 | var rightAnchor: NSLayoutXAxisAnchor { get }
| `- error: cannot find type 'NSLayoutXAxisAnchor' in scope
16 |
17 | var topAnchor: NSLayoutYAxisAnchor { get }
/host/spi-builder-workspace/Sources/LayoutAid/LayoutItem.swift:17:20: error: cannot find type 'NSLayoutYAxisAnchor' in scope
15 | var rightAnchor: NSLayoutXAxisAnchor { get }
16 |
17 | var topAnchor: NSLayoutYAxisAnchor { get }
| `- error: cannot find type 'NSLayoutYAxisAnchor' in scope
18 |
19 | var bottomAnchor: NSLayoutYAxisAnchor { get }
/host/spi-builder-workspace/Sources/LayoutAid/LayoutItem.swift:19:23: error: cannot find type 'NSLayoutYAxisAnchor' in scope
17 | var topAnchor: NSLayoutYAxisAnchor { get }
18 |
19 | var bottomAnchor: NSLayoutYAxisAnchor { get }
| `- error: cannot find type 'NSLayoutYAxisAnchor' in scope
20 |
21 | var centerXAnchor: NSLayoutXAxisAnchor { get }
/host/spi-builder-workspace/Sources/LayoutAid/LayoutItem.swift:21:24: error: cannot find type 'NSLayoutXAxisAnchor' in scope
19 | var bottomAnchor: NSLayoutYAxisAnchor { get }
20 |
21 | var centerXAnchor: NSLayoutXAxisAnchor { get }
| `- error: cannot find type 'NSLayoutXAxisAnchor' in scope
22 |
23 | var centerYAnchor: NSLayoutYAxisAnchor { get }
/host/spi-builder-workspace/Sources/LayoutAid/LayoutItem.swift:23:24: error: cannot find type 'NSLayoutYAxisAnchor' in scope
21 | var centerXAnchor: NSLayoutXAxisAnchor { get }
22 |
23 | var centerYAnchor: NSLayoutYAxisAnchor { get }
| `- error: cannot find type 'NSLayoutYAxisAnchor' in scope
24 |
25 | var widthAnchor: NSLayoutDimension { get }
/host/spi-builder-workspace/Sources/LayoutAid/LayoutItem.swift:25:22: error: cannot find type 'NSLayoutDimension' in scope
23 | var centerYAnchor: NSLayoutYAxisAnchor { get }
24 |
25 | var widthAnchor: NSLayoutDimension { get }
| `- error: cannot find type 'NSLayoutDimension' in scope
26 |
27 | var heightAnchor: NSLayoutDimension { get }
/host/spi-builder-workspace/Sources/LayoutAid/LayoutItem.swift:27:23: error: cannot find type 'NSLayoutDimension' in scope
25 | var widthAnchor: NSLayoutDimension { get }
26 |
27 | var heightAnchor: NSLayoutDimension { get }
| `- error: cannot find type 'NSLayoutDimension' in scope
28 | }
29 |
/host/spi-builder-workspace/Sources/LayoutAid/Edges.swift:104:91: error: cannot find type 'NSLayoutConstraint' in scope
102 | #endif
103 |
104 | private func makeEqualEdgeInsetsConstraints(for item: LayoutItem, insets: Insets) -> [NSLayoutConstraint] {
| `- error: cannot find type 'NSLayoutConstraint' in scope
105 | item.anchor {
106 | Left(equalTo: secondItem.leftAnchor, constant: insets.left)
/host/spi-builder-workspace/Sources/LayoutAid/Edges.swift:115:11: error: cannot find type 'NSLayoutConstraint' in scope
113 | private func makeGreaterThanOrEqualEdgeInsetsConstraints(
114 | for item: LayoutItem, insets: Insets
115 | ) -> [NSLayoutConstraint] {
| `- error: cannot find type 'NSLayoutConstraint' in scope
116 | item.anchor {
117 | Left(lessThanOrEqualTo: secondItem.leftAnchor, constant: insets.left)
/host/spi-builder-workspace/Sources/LayoutAid/Edges.swift:126:11: error: cannot find type 'NSLayoutConstraint' in scope
124 | private func makeLessThanOrEqualEdgeInsetsConstraints(
125 | for item: LayoutItem, insets: Insets
126 | ) -> [NSLayoutConstraint] {
| `- error: cannot find type 'NSLayoutConstraint' in scope
127 |
128 | item.anchor {
/host/spi-builder-workspace/Sources/LayoutAid/Edges.swift:176:11: error: cannot find type 'NSLayoutConstraint' in scope
174 | private func makeEqualConstraints(
175 | for item: LayoutItem
176 | ) -> [NSLayoutConstraint] {
| `- error: cannot find type 'NSLayoutConstraint' in scope
177 |
178 | #if canImport(UIKIt)
/host/spi-builder-workspace/Sources/LayoutAid/Edges.swift:192:11: error: cannot find type 'NSLayoutConstraint' in scope
190 | private func makeGreaterThanOrEqualConstraints(
191 | for item: LayoutItem
192 | ) -> [NSLayoutConstraint] {
| `- error: cannot find type 'NSLayoutConstraint' in scope
193 |
194 | #if canImport(UIKit)
/host/spi-builder-workspace/Sources/LayoutAid/Edges.swift:208:11: error: cannot find type 'NSLayoutConstraint' in scope
206 | private func makeLessThanOrEqualConstraints(
207 | for item: LayoutItem
208 | ) -> [NSLayoutConstraint] {
| `- error: cannot find type 'NSLayoutConstraint' in scope
209 |
210 | #if canImport(UIKit)
/host/spi-builder-workspace/Sources/LayoutAid/Edges.swift:222:59: error: cannot find type 'NSLayoutConstraint' in scope
220 | }
221 |
222 | public func makeConstraints(for item: LayoutItem) -> [NSLayoutConstraint] {
| `- error: cannot find type 'NSLayoutConstraint' in scope
223 |
224 | let constraints: [NSLayoutConstraint]
/host/spi-builder-workspace/Sources/LayoutAid/LayoutConstraintsGenerator.swift:9:19: error: cannot find type 'NSLayoutConstraint' in scope
7 | public protocol LayoutConstraintsGenerator {
8 |
9 | var priority: NSLayoutConstraint.Priority { get set }
| `- error: cannot find type 'NSLayoutConstraint' in scope
10 |
11 | func makeConstraints(for item: LayoutItem) -> [NSLayoutConstraint]
/host/spi-builder-workspace/Sources/LayoutAid/LayoutConstraintsGenerator.swift:11:52: error: cannot find type 'NSLayoutConstraint' in scope
9 | var priority: NSLayoutConstraint.Priority { get set }
10 |
11 | func makeConstraints(for item: LayoutItem) -> [NSLayoutConstraint]
| `- error: cannot find type 'NSLayoutConstraint' in scope
12 | }
13 |
/host/spi-builder-workspace/Sources/LayoutAid/Edges.swift:91:26: error: cannot infer contextual base in reference to member 'equal'
89 | #else
90 | public init(_ edge: Edge = Edge.Element.all, equalTo item: LayoutItem, insets: Insets = .zero) {
91 | self.init(edge, .equal, to: item, insets: insets)
| `- error: cannot infer contextual base in reference to member 'equal'
92 | }
93 |
/host/spi-builder-workspace/Sources/LayoutAid/Edges.swift:95:26: error: cannot infer contextual base in reference to member 'greaterThanOrEqual'
93 |
94 | public init(_ edge: Edge = Edge.Element.all, outsideOrEqualTo item: LayoutItem, insets: Insets = .zero) {
95 | self.init(edge, .greaterThanOrEqual, to: item, insets: insets)
| `- error: cannot infer contextual base in reference to member 'greaterThanOrEqual'
96 | }
97 |
/host/spi-builder-workspace/Sources/LayoutAid/Edges.swift:99:26: error: cannot infer contextual base in reference to member 'lessThanOrEqual'
97 |
98 | public init(_ edge: Edge = Edge.Element.all, insideOrEqualTo item: LayoutItem, insets: Insets = .zero) {
99 | self.init(edge, .lessThanOrEqual, to: item, insets: insets)
| `- error: cannot infer contextual base in reference to member 'lessThanOrEqual'
100 | }
101 |
/host/spi-builder-workspace/Sources/LayoutAid/LayoutItem.swift:36:95: error: cannot find type 'NSLayoutConstraint' in scope
34 |
35 | func anchor(
36 | @LayoutConstraintsGeneratorBuilder _ content: () -> [LayoutConstraintsGenerator]) -> [NSLayoutConstraint] {
| `- error: cannot find type 'NSLayoutConstraint' in scope
37 | content().flatMap { generator in
38 | generator.makeConstraints(for: self)
/host/spi-builder-workspace/Sources/LayoutAid/LayoutItem.swift:42:62: error: cannot find type 'NSLayoutConstraint' in scope
40 | }
41 |
42 | func anchor(_ generator: LayoutConstraintsGenerator) -> [NSLayoutConstraint] {
| `- error: cannot find type 'NSLayoutConstraint' in scope
43 | generator.makeConstraints(for: self)
44 | }
/host/spi-builder-workspace/Sources/LayoutAid/AxisConstraintsGenerator.swift:40:21: error: cannot find type 'NSLayoutConstraint' in scope
38 |
39 | init(
40 | _ relation: NSLayoutConstraint.Relation,
| `- error: cannot find type 'NSLayoutConstraint' in scope
41 | to secondAnchor: Anchor,
42 | constant: CGFloat
/host/spi-builder-workspace/Sources/LayoutAid/AxisConstraintsGenerator.swift:16:28: error: cannot find type 'NSLayoutAnchor' in scope
14 | public protocol AxisConstraintsGenerator: LayoutConstraintsGenerator {
15 | associatedtype AnchorType: AnyObject
16 | associatedtype Anchor: NSLayoutAnchor<AnchorType>
| `- error: cannot find type 'NSLayoutAnchor' in scope
17 |
18 | var relation: NSLayoutConstraint.Relation { get }
/host/spi-builder-workspace/Sources/LayoutAid/AxisConstraintsGenerator.swift:42:19: error: cannot find type 'CGFloat' in scope
40 | _ relation: NSLayoutConstraint.Relation,
41 | to secondAnchor: Anchor,
42 | constant: CGFloat
| `- error: cannot find type 'CGFloat' in scope
43 | )
44 | #endif
/host/spi-builder-workspace/Sources/LayoutAid/AxisConstraintsGenerator.swift:129:19: error: cannot find type 'CGFloat' in scope
127 | init(
128 | equalTo secondAnchor: Anchor,
129 | constant: CGFloat = 0
| `- error: cannot find type 'CGFloat' in scope
130 | ) {
131 | self.init(.equal, to: secondAnchor, constant: constant)
/host/spi-builder-workspace/Sources/LayoutAid/AxisConstraintsGenerator.swift:136:19: error: cannot find type 'CGFloat' in scope
134 | init(
135 | equalTo item: LayoutItem,
136 | constant: CGFloat = 0
| `- error: cannot find type 'CGFloat' in scope
137 | ) {
138 | self.init(.equal, to: item, constant: constant)
/host/spi-builder-workspace/Sources/LayoutAid/AxisConstraintsGenerator.swift:145:19: error: cannot find type 'CGFloat' in scope
143 | init(
144 | lessThanOrEqualTo secondAnchor: Anchor,
145 | constant: CGFloat = 0
| `- error: cannot find type 'CGFloat' in scope
146 | ) {
147 | self.init(.lessThanOrEqual, to: secondAnchor, constant: constant)
/host/spi-builder-workspace/Sources/LayoutAid/AxisConstraintsGenerator.swift:152:19: error: cannot find type 'CGFloat' in scope
150 | init(
151 | lessThanOrEqualTo item: LayoutItem,
152 | constant: CGFloat = 0
| `- error: cannot find type 'CGFloat' in scope
153 | ) {
154 | self.init(.lessThanOrEqual, to: item, constant: constant)
/host/spi-builder-workspace/Sources/LayoutAid/AxisConstraintsGenerator.swift:161:19: error: cannot find type 'CGFloat' in scope
159 | init(
160 | greaterThanOrEqualTo secondAnchor: Anchor,
161 | constant: CGFloat = 0
| `- error: cannot find type 'CGFloat' in scope
162 | ) {
163 | self.init(.greaterThanOrEqual, to: secondAnchor, constant: constant)
/host/spi-builder-workspace/Sources/LayoutAid/AxisConstraintsGenerator.swift:168:19: error: cannot find type 'CGFloat' in scope
166 | init(
167 | greaterThanOrEqualTo item: LayoutItem,
168 | constant: CGFloat = 0
| `- error: cannot find type 'CGFloat' in scope
169 | ) {
170 | self.init(.greaterThanOrEqual, to: item, constant: constant)
/host/spi-builder-workspace/Sources/LayoutAid/Left.swift:44:29: error: cannot find type 'NSLayoutConstraint' in scope
42 | public let constant: CGFloat
43 |
44 | public init(_ relation: NSLayoutConstraint.Relation, to secondAnchor: NSLayoutXAxisAnchor, constant: CGFloat) {
| `- error: cannot find type 'NSLayoutConstraint' in scope
45 | self.relation = relation
46 | self.secondAnchor = secondAnchor
/host/spi-builder-workspace/Sources/LayoutAid/Left.swift:44:75: error: cannot find type 'NSLayoutXAxisAnchor' in scope
42 | public let constant: CGFloat
43 |
44 | public init(_ relation: NSLayoutConstraint.Relation, to secondAnchor: NSLayoutXAxisAnchor, constant: CGFloat) {
| `- error: cannot find type 'NSLayoutXAxisAnchor' in scope
45 | self.relation = relation
46 | self.secondAnchor = secondAnchor
/host/spi-builder-workspace/Sources/LayoutAid/Left.swift:44:106: error: cannot find type 'CGFloat' in scope
42 | public let constant: CGFloat
43 |
44 | public init(_ relation: NSLayoutConstraint.Relation, to secondAnchor: NSLayoutXAxisAnchor, constant: CGFloat) {
| `- error: cannot find type 'CGFloat' in scope
45 | self.relation = relation
46 | self.secondAnchor = secondAnchor
/host/spi-builder-workspace/Sources/LayoutAid/AxisConstraintsGenerator.swift:116:21: error: cannot find type 'NSLayoutConstraint' in scope
114 |
115 | init(
116 | _ relation: NSLayoutConstraint.Relation,
| `- error: cannot find type 'NSLayoutConstraint' in scope
117 | to item: LayoutItem,
118 | constant: CGFloat
/host/spi-builder-workspace/Sources/LayoutAid/AxisConstraintsGenerator.swift:118:19: error: cannot find type 'CGFloat' in scope
116 | _ relation: NSLayoutConstraint.Relation,
117 | to item: LayoutItem,
118 | constant: CGFloat
| `- error: cannot find type 'CGFloat' in scope
119 | ) {
120 | self.init(
/host/spi-builder-workspace/Sources/LayoutAid/Edges.swift:224:27: error: cannot find type 'NSLayoutConstraint' in scope
222 | public func makeConstraints(for item: LayoutItem) -> [NSLayoutConstraint] {
223 |
224 | let constraints: [NSLayoutConstraint]
| `- error: cannot find type 'NSLayoutConstraint' in scope
225 |
226 | switch relation {
/host/spi-builder-workspace/Sources/LayoutAid/LayoutConstraintsGenerator.swift:16:28: error: cannot find type 'NSLayoutConstraint' in scope
14 | public extension LayoutConstraintsGenerator {
15 |
16 | func priority(_ value: NSLayoutConstraint.Priority) -> Self {
| `- error: cannot find type 'NSLayoutConstraint' in scope
17 | var new = self
18 | new.priority = value
/host/spi-builder-workspace/Sources/LayoutAid/Height.swift:9:58: error: cannot find type 'NSLayoutDimension' in scope
7 | public struct Height: DimensionConstraintsGenerator {
8 |
9 | public static let anchorKeyPath: KeyPath<LayoutItem, NSLayoutDimension> = \.heightAnchor
| `- error: cannot find type 'NSLayoutDimension' in scope
10 |
11 | public let secondAnchor: NSLayoutDimension?
/host/spi-builder-workspace/Sources/LayoutAid/Height.swift:9:79: error: cannot infer key path type from context; consider explicitly specifying a root type
7 | public struct Height: DimensionConstraintsGenerator {
8 |
9 | public static let anchorKeyPath: KeyPath<LayoutItem, NSLayoutDimension> = \.heightAnchor
| `- error: cannot infer key path type from context; consider explicitly specifying a root type
10 |
11 | public let secondAnchor: NSLayoutDimension?
/host/spi-builder-workspace/Sources/LayoutAid/Height.swift:11:30: error: cannot find type 'NSLayoutDimension' in scope
9 | public static let anchorKeyPath: KeyPath<LayoutItem, NSLayoutDimension> = \.heightAnchor
10 |
11 | public let secondAnchor: NSLayoutDimension?
| `- error: cannot find type 'NSLayoutDimension' in scope
12 |
13 | public let relation: NSLayoutConstraint.Relation
/host/spi-builder-workspace/Sources/LayoutAid/Height.swift:13:26: error: cannot find type 'NSLayoutConstraint' in scope
11 | public let secondAnchor: NSLayoutDimension?
12 |
13 | public let relation: NSLayoutConstraint.Relation
| `- error: cannot find type 'NSLayoutConstraint' in scope
14 |
15 | public let constant: CGFloat
/host/spi-builder-workspace/Sources/LayoutAid/Height.swift:15:26: error: cannot find type 'CGFloat' in scope
13 | public let relation: NSLayoutConstraint.Relation
14 |
15 | public let constant: CGFloat
| `- error: cannot find type 'CGFloat' in scope
16 |
17 | public let multiplier: CGFloat
/host/spi-builder-workspace/Sources/LayoutAid/Height.swift:17:28: error: cannot find type 'CGFloat' in scope
15 | public let constant: CGFloat
16 |
17 | public let multiplier: CGFloat
| `- error: cannot find type 'CGFloat' in scope
18 |
19 | public var priority: NSLayoutConstraint.Priority = .required
/host/spi-builder-workspace/Sources/LayoutAid/Height.swift:19:26: error: cannot find type 'NSLayoutConstraint' in scope
17 | public let multiplier: CGFloat
18 |
19 | public var priority: NSLayoutConstraint.Priority = .required
| `- error: cannot find type 'NSLayoutConstraint' in scope
20 |
21 | public init(_ relation: NSLayoutConstraint.Relation, to constant: CGFloat) {
/host/spi-builder-workspace/Sources/LayoutAid/Height.swift:21:29: error: cannot find type 'NSLayoutConstraint' in scope
19 | public var priority: NSLayoutConstraint.Priority = .required
20 |
21 | public init(_ relation: NSLayoutConstraint.Relation, to constant: CGFloat) {
| `- error: cannot find type 'NSLayoutConstraint' in scope
22 | self.relation = relation
23 | self.constant = constant
/host/spi-builder-workspace/Sources/LayoutAid/Height.swift:21:71: error: cannot find type 'CGFloat' in scope
19 | public var priority: NSLayoutConstraint.Priority = .required
20 |
21 | public init(_ relation: NSLayoutConstraint.Relation, to constant: CGFloat) {
| `- error: cannot find type 'CGFloat' in scope
22 | self.relation = relation
23 | self.constant = constant
/host/spi-builder-workspace/Sources/LayoutAid/Height.swift:29:21: error: cannot find type 'NSLayoutConstraint' in scope
27 |
28 | public init(
29 | _ relation: NSLayoutConstraint.Relation,
| `- error: cannot find type 'NSLayoutConstraint' in scope
30 | to secondAnchor: NSLayoutDimension,
31 | multiplier: CGFloat,
/host/spi-builder-workspace/Sources/LayoutAid/Height.swift:30:26: error: cannot find type 'NSLayoutDimension' in scope
28 | public init(
29 | _ relation: NSLayoutConstraint.Relation,
30 | to secondAnchor: NSLayoutDimension,
| `- error: cannot find type 'NSLayoutDimension' in scope
31 | multiplier: CGFloat,
32 | constant: CGFloat
/host/spi-builder-workspace/Sources/LayoutAid/Height.swift:31:21: error: cannot find type 'CGFloat' in scope
29 | _ relation: NSLayoutConstraint.Relation,
30 | to secondAnchor: NSLayoutDimension,
31 | multiplier: CGFloat,
| `- error: cannot find type 'CGFloat' in scope
32 | constant: CGFloat
33 | ) {
/host/spi-builder-workspace/Sources/LayoutAid/Height.swift:32:19: error: cannot find type 'CGFloat' in scope
30 | to secondAnchor: NSLayoutDimension,
31 | multiplier: CGFloat,
32 | constant: CGFloat
| `- error: cannot find type 'CGFloat' in scope
33 | ) {
34 | self.relation = relation
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:9:51: error: cannot find type 'NSLayoutDimension' in scope
7 | public protocol DimensionConstraintsGenerator: LayoutConstraintsGenerator {
8 |
9 | static var anchorKeyPath: KeyPath<LayoutItem, NSLayoutDimension> { get }
| `- error: cannot find type 'NSLayoutDimension' in scope
10 |
11 | var secondAnchor: NSLayoutDimension? { get }
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:11:23: error: cannot find type 'NSLayoutDimension' in scope
9 | static var anchorKeyPath: KeyPath<LayoutItem, NSLayoutDimension> { get }
10 |
11 | var secondAnchor: NSLayoutDimension? { get }
| `- error: cannot find type 'NSLayoutDimension' in scope
12 |
13 | var relation: NSLayoutConstraint.Relation { get }
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:13:19: error: cannot find type 'NSLayoutConstraint' in scope
11 | var secondAnchor: NSLayoutDimension? { get }
12 |
13 | var relation: NSLayoutConstraint.Relation { get }
| `- error: cannot find type 'NSLayoutConstraint' in scope
14 |
15 | var constant: CGFloat { get }
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:15:19: error: cannot find type 'CGFloat' in scope
13 | var relation: NSLayoutConstraint.Relation { get }
14 |
15 | var constant: CGFloat { get }
| `- error: cannot find type 'CGFloat' in scope
16 |
17 | var multiplier: CGFloat { get }
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:17:21: error: cannot find type 'CGFloat' in scope
15 | var constant: CGFloat { get }
16 |
17 | var multiplier: CGFloat { get }
| `- error: cannot find type 'CGFloat' in scope
18 |
19 | init(
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:20:21: error: cannot find type 'NSLayoutConstraint' in scope
18 |
19 | init(
20 | _ relation: NSLayoutConstraint.Relation,
| `- error: cannot find type 'NSLayoutConstraint' in scope
21 | to secondAnchor: NSLayoutDimension,
22 | multiplier: CGFloat,
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:21:26: error: cannot find type 'NSLayoutDimension' in scope
19 | init(
20 | _ relation: NSLayoutConstraint.Relation,
21 | to secondAnchor: NSLayoutDimension,
| `- error: cannot find type 'NSLayoutDimension' in scope
22 | multiplier: CGFloat,
23 | constant: CGFloat
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:22:21: error: cannot find type 'CGFloat' in scope
20 | _ relation: NSLayoutConstraint.Relation,
21 | to secondAnchor: NSLayoutDimension,
22 | multiplier: CGFloat,
| `- error: cannot find type 'CGFloat' in scope
23 | constant: CGFloat
24 | )
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:23:19: error: cannot find type 'CGFloat' in scope
21 | to secondAnchor: NSLayoutDimension,
22 | multiplier: CGFloat,
23 | constant: CGFloat
| `- error: cannot find type 'CGFloat' in scope
24 | )
25 |
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:26:22: error: cannot find type 'NSLayoutConstraint' in scope
24 | )
25 |
26 | init(_ relation: NSLayoutConstraint.Relation, to constant: CGFloat)
| `- error: cannot find type 'NSLayoutConstraint' in scope
27 | }
28 |
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:26:64: error: cannot find type 'CGFloat' in scope
24 | )
25 |
26 | init(_ relation: NSLayoutConstraint.Relation, to constant: CGFloat)
| `- error: cannot find type 'CGFloat' in scope
27 | }
28 |
[31/31] Compiling LayoutAid KeyboardLayoutGuide.swift
/host/spi-builder-workspace/Sources/LayoutAid/Edges.swift:31:31: error: cannot find type 'NSEdgeInsets' in scope
29 | #else
30 |
31 | public typealias Insets = NSEdgeInsets
| `- error: cannot find type 'NSEdgeInsets' in scope
32 |
33 | public typealias Edge = Set<NSRectEdge>
/host/spi-builder-workspace/Sources/LayoutAid/Edges.swift:33:33: error: cannot find type 'NSRectEdge' in scope
31 | public typealias Insets = NSEdgeInsets
32 |
33 | public typealias Edge = Set<NSRectEdge>
| `- error: cannot find type 'NSRectEdge' in scope
34 |
35 | private let insets: Insets
/host/spi-builder-workspace/Sources/LayoutAid/Edges.swift:37:44: error: cannot find type 'NSLayoutConstraint' in scope
35 | private let insets: Insets
36 |
37 | private init(_ edge: Edge, _ relation: NSLayoutConstraint.Relation, to item: LayoutItem, insets: Insets) {
| `- error: cannot find type 'NSLayoutConstraint' in scope
38 | self.edge = edge
39 | self.relation = relation
/host/spi-builder-workspace/Sources/LayoutAid/Edges.swift:46:26: error: cannot find type 'NSLayoutConstraint' in scope
44 | #endif
45 |
46 | public var priority: NSLayoutConstraint.Priority = .required
| `- error: cannot find type 'NSLayoutConstraint' in scope
47 |
48 | private let relation: NSLayoutConstraint.Relation
/host/spi-builder-workspace/Sources/LayoutAid/Edges.swift:48:27: error: cannot find type 'NSLayoutConstraint' in scope
46 | public var priority: NSLayoutConstraint.Priority = .required
47 |
48 | private let relation: NSLayoutConstraint.Relation
| `- error: cannot find type 'NSLayoutConstraint' in scope
49 |
50 | public let edge: Edge
/host/spi-builder-workspace/Sources/LayoutAid/LayoutItem.swift:9:24: error: cannot find type 'NSLayoutXAxisAnchor' in scope
7 | public protocol LayoutItem {
8 |
9 | var leadingAnchor: NSLayoutXAxisAnchor { get }
| `- error: cannot find type 'NSLayoutXAxisAnchor' in scope
10 |
11 | var trailingAnchor: NSLayoutXAxisAnchor { get }
/host/spi-builder-workspace/Sources/LayoutAid/LayoutItem.swift:11:25: error: cannot find type 'NSLayoutXAxisAnchor' in scope
9 | var leadingAnchor: NSLayoutXAxisAnchor { get }
10 |
11 | var trailingAnchor: NSLayoutXAxisAnchor { get }
| `- error: cannot find type 'NSLayoutXAxisAnchor' in scope
12 |
13 | var leftAnchor: NSLayoutXAxisAnchor { get }
/host/spi-builder-workspace/Sources/LayoutAid/LayoutItem.swift:13:21: error: cannot find type 'NSLayoutXAxisAnchor' in scope
11 | var trailingAnchor: NSLayoutXAxisAnchor { get }
12 |
13 | var leftAnchor: NSLayoutXAxisAnchor { get }
| `- error: cannot find type 'NSLayoutXAxisAnchor' in scope
14 |
15 | var rightAnchor: NSLayoutXAxisAnchor { get }
/host/spi-builder-workspace/Sources/LayoutAid/LayoutItem.swift:15:22: error: cannot find type 'NSLayoutXAxisAnchor' in scope
13 | var leftAnchor: NSLayoutXAxisAnchor { get }
14 |
15 | var rightAnchor: NSLayoutXAxisAnchor { get }
| `- error: cannot find type 'NSLayoutXAxisAnchor' in scope
16 |
17 | var topAnchor: NSLayoutYAxisAnchor { get }
/host/spi-builder-workspace/Sources/LayoutAid/LayoutItem.swift:17:20: error: cannot find type 'NSLayoutYAxisAnchor' in scope
15 | var rightAnchor: NSLayoutXAxisAnchor { get }
16 |
17 | var topAnchor: NSLayoutYAxisAnchor { get }
| `- error: cannot find type 'NSLayoutYAxisAnchor' in scope
18 |
19 | var bottomAnchor: NSLayoutYAxisAnchor { get }
/host/spi-builder-workspace/Sources/LayoutAid/LayoutItem.swift:19:23: error: cannot find type 'NSLayoutYAxisAnchor' in scope
17 | var topAnchor: NSLayoutYAxisAnchor { get }
18 |
19 | var bottomAnchor: NSLayoutYAxisAnchor { get }
| `- error: cannot find type 'NSLayoutYAxisAnchor' in scope
20 |
21 | var centerXAnchor: NSLayoutXAxisAnchor { get }
/host/spi-builder-workspace/Sources/LayoutAid/LayoutItem.swift:21:24: error: cannot find type 'NSLayoutXAxisAnchor' in scope
19 | var bottomAnchor: NSLayoutYAxisAnchor { get }
20 |
21 | var centerXAnchor: NSLayoutXAxisAnchor { get }
| `- error: cannot find type 'NSLayoutXAxisAnchor' in scope
22 |
23 | var centerYAnchor: NSLayoutYAxisAnchor { get }
/host/spi-builder-workspace/Sources/LayoutAid/LayoutItem.swift:23:24: error: cannot find type 'NSLayoutYAxisAnchor' in scope
21 | var centerXAnchor: NSLayoutXAxisAnchor { get }
22 |
23 | var centerYAnchor: NSLayoutYAxisAnchor { get }
| `- error: cannot find type 'NSLayoutYAxisAnchor' in scope
24 |
25 | var widthAnchor: NSLayoutDimension { get }
/host/spi-builder-workspace/Sources/LayoutAid/LayoutItem.swift:25:22: error: cannot find type 'NSLayoutDimension' in scope
23 | var centerYAnchor: NSLayoutYAxisAnchor { get }
24 |
25 | var widthAnchor: NSLayoutDimension { get }
| `- error: cannot find type 'NSLayoutDimension' in scope
26 |
27 | var heightAnchor: NSLayoutDimension { get }
/host/spi-builder-workspace/Sources/LayoutAid/LayoutItem.swift:27:23: error: cannot find type 'NSLayoutDimension' in scope
25 | var widthAnchor: NSLayoutDimension { get }
26 |
27 | var heightAnchor: NSLayoutDimension { get }
| `- error: cannot find type 'NSLayoutDimension' in scope
28 | }
29 |
/host/spi-builder-workspace/Sources/LayoutAid/Edges.swift:104:91: error: cannot find type 'NSLayoutConstraint' in scope
102 | #endif
103 |
104 | private func makeEqualEdgeInsetsConstraints(for item: LayoutItem, insets: Insets) -> [NSLayoutConstraint] {
| `- error: cannot find type 'NSLayoutConstraint' in scope
105 | item.anchor {
106 | Left(equalTo: secondItem.leftAnchor, constant: insets.left)
/host/spi-builder-workspace/Sources/LayoutAid/Edges.swift:115:11: error: cannot find type 'NSLayoutConstraint' in scope
113 | private func makeGreaterThanOrEqualEdgeInsetsConstraints(
114 | for item: LayoutItem, insets: Insets
115 | ) -> [NSLayoutConstraint] {
| `- error: cannot find type 'NSLayoutConstraint' in scope
116 | item.anchor {
117 | Left(lessThanOrEqualTo: secondItem.leftAnchor, constant: insets.left)
/host/spi-builder-workspace/Sources/LayoutAid/Edges.swift:126:11: error: cannot find type 'NSLayoutConstraint' in scope
124 | private func makeLessThanOrEqualEdgeInsetsConstraints(
125 | for item: LayoutItem, insets: Insets
126 | ) -> [NSLayoutConstraint] {
| `- error: cannot find type 'NSLayoutConstraint' in scope
127 |
128 | item.anchor {
/host/spi-builder-workspace/Sources/LayoutAid/Edges.swift:176:11: error: cannot find type 'NSLayoutConstraint' in scope
174 | private func makeEqualConstraints(
175 | for item: LayoutItem
176 | ) -> [NSLayoutConstraint] {
| `- error: cannot find type 'NSLayoutConstraint' in scope
177 |
178 | #if canImport(UIKIt)
/host/spi-builder-workspace/Sources/LayoutAid/Edges.swift:192:11: error: cannot find type 'NSLayoutConstraint' in scope
190 | private func makeGreaterThanOrEqualConstraints(
191 | for item: LayoutItem
192 | ) -> [NSLayoutConstraint] {
| `- error: cannot find type 'NSLayoutConstraint' in scope
193 |
194 | #if canImport(UIKit)
/host/spi-builder-workspace/Sources/LayoutAid/Edges.swift:208:11: error: cannot find type 'NSLayoutConstraint' in scope
206 | private func makeLessThanOrEqualConstraints(
207 | for item: LayoutItem
208 | ) -> [NSLayoutConstraint] {
| `- error: cannot find type 'NSLayoutConstraint' in scope
209 |
210 | #if canImport(UIKit)
/host/spi-builder-workspace/Sources/LayoutAid/Edges.swift:222:59: error: cannot find type 'NSLayoutConstraint' in scope
220 | }
221 |
222 | public func makeConstraints(for item: LayoutItem) -> [NSLayoutConstraint] {
| `- error: cannot find type 'NSLayoutConstraint' in scope
223 |
224 | let constraints: [NSLayoutConstraint]
/host/spi-builder-workspace/Sources/LayoutAid/LayoutConstraintsGenerator.swift:9:19: error: cannot find type 'NSLayoutConstraint' in scope
7 | public protocol LayoutConstraintsGenerator {
8 |
9 | var priority: NSLayoutConstraint.Priority { get set }
| `- error: cannot find type 'NSLayoutConstraint' in scope
10 |
11 | func makeConstraints(for item: LayoutItem) -> [NSLayoutConstraint]
/host/spi-builder-workspace/Sources/LayoutAid/LayoutConstraintsGenerator.swift:11:52: error: cannot find type 'NSLayoutConstraint' in scope
9 | var priority: NSLayoutConstraint.Priority { get set }
10 |
11 | func makeConstraints(for item: LayoutItem) -> [NSLayoutConstraint]
| `- error: cannot find type 'NSLayoutConstraint' in scope
12 | }
13 |
/host/spi-builder-workspace/Sources/LayoutAid/Edges.swift:91:26: error: cannot infer contextual base in reference to member 'equal'
89 | #else
90 | public init(_ edge: Edge = Edge.Element.all, equalTo item: LayoutItem, insets: Insets = .zero) {
91 | self.init(edge, .equal, to: item, insets: insets)
| `- error: cannot infer contextual base in reference to member 'equal'
92 | }
93 |
/host/spi-builder-workspace/Sources/LayoutAid/Edges.swift:95:26: error: cannot infer contextual base in reference to member 'greaterThanOrEqual'
93 |
94 | public init(_ edge: Edge = Edge.Element.all, outsideOrEqualTo item: LayoutItem, insets: Insets = .zero) {
95 | self.init(edge, .greaterThanOrEqual, to: item, insets: insets)
| `- error: cannot infer contextual base in reference to member 'greaterThanOrEqual'
96 | }
97 |
/host/spi-builder-workspace/Sources/LayoutAid/Edges.swift:99:26: error: cannot infer contextual base in reference to member 'lessThanOrEqual'
97 |
98 | public init(_ edge: Edge = Edge.Element.all, insideOrEqualTo item: LayoutItem, insets: Insets = .zero) {
99 | self.init(edge, .lessThanOrEqual, to: item, insets: insets)
| `- error: cannot infer contextual base in reference to member 'lessThanOrEqual'
100 | }
101 |
/host/spi-builder-workspace/Sources/LayoutAid/LayoutItem.swift:36:95: error: cannot find type 'NSLayoutConstraint' in scope
34 |
35 | func anchor(
36 | @LayoutConstraintsGeneratorBuilder _ content: () -> [LayoutConstraintsGenerator]) -> [NSLayoutConstraint] {
| `- error: cannot find type 'NSLayoutConstraint' in scope
37 | content().flatMap { generator in
38 | generator.makeConstraints(for: self)
/host/spi-builder-workspace/Sources/LayoutAid/LayoutItem.swift:42:62: error: cannot find type 'NSLayoutConstraint' in scope
40 | }
41 |
42 | func anchor(_ generator: LayoutConstraintsGenerator) -> [NSLayoutConstraint] {
| `- error: cannot find type 'NSLayoutConstraint' in scope
43 | generator.makeConstraints(for: self)
44 | }
/host/spi-builder-workspace/Sources/LayoutAid/AxisConstraintsGenerator.swift:40:21: error: cannot find type 'NSLayoutConstraint' in scope
38 |
39 | init(
40 | _ relation: NSLayoutConstraint.Relation,
| `- error: cannot find type 'NSLayoutConstraint' in scope
41 | to secondAnchor: Anchor,
42 | constant: CGFloat
/host/spi-builder-workspace/Sources/LayoutAid/AxisConstraintsGenerator.swift:16:28: error: cannot find type 'NSLayoutAnchor' in scope
14 | public protocol AxisConstraintsGenerator: LayoutConstraintsGenerator {
15 | associatedtype AnchorType: AnyObject
16 | associatedtype Anchor: NSLayoutAnchor<AnchorType>
| `- error: cannot find type 'NSLayoutAnchor' in scope
17 |
18 | var relation: NSLayoutConstraint.Relation { get }
/host/spi-builder-workspace/Sources/LayoutAid/AxisConstraintsGenerator.swift:42:19: error: cannot find type 'CGFloat' in scope
40 | _ relation: NSLayoutConstraint.Relation,
41 | to secondAnchor: Anchor,
42 | constant: CGFloat
| `- error: cannot find type 'CGFloat' in scope
43 | )
44 | #endif
/host/spi-builder-workspace/Sources/LayoutAid/AxisConstraintsGenerator.swift:129:19: error: cannot find type 'CGFloat' in scope
127 | init(
128 | equalTo secondAnchor: Anchor,
129 | constant: CGFloat = 0
| `- error: cannot find type 'CGFloat' in scope
130 | ) {
131 | self.init(.equal, to: secondAnchor, constant: constant)
/host/spi-builder-workspace/Sources/LayoutAid/AxisConstraintsGenerator.swift:136:19: error: cannot find type 'CGFloat' in scope
134 | init(
135 | equalTo item: LayoutItem,
136 | constant: CGFloat = 0
| `- error: cannot find type 'CGFloat' in scope
137 | ) {
138 | self.init(.equal, to: item, constant: constant)
/host/spi-builder-workspace/Sources/LayoutAid/AxisConstraintsGenerator.swift:145:19: error: cannot find type 'CGFloat' in scope
143 | init(
144 | lessThanOrEqualTo secondAnchor: Anchor,
145 | constant: CGFloat = 0
| `- error: cannot find type 'CGFloat' in scope
146 | ) {
147 | self.init(.lessThanOrEqual, to: secondAnchor, constant: constant)
/host/spi-builder-workspace/Sources/LayoutAid/AxisConstraintsGenerator.swift:152:19: error: cannot find type 'CGFloat' in scope
150 | init(
151 | lessThanOrEqualTo item: LayoutItem,
152 | constant: CGFloat = 0
| `- error: cannot find type 'CGFloat' in scope
153 | ) {
154 | self.init(.lessThanOrEqual, to: item, constant: constant)
/host/spi-builder-workspace/Sources/LayoutAid/AxisConstraintsGenerator.swift:161:19: error: cannot find type 'CGFloat' in scope
159 | init(
160 | greaterThanOrEqualTo secondAnchor: Anchor,
161 | constant: CGFloat = 0
| `- error: cannot find type 'CGFloat' in scope
162 | ) {
163 | self.init(.greaterThanOrEqual, to: secondAnchor, constant: constant)
/host/spi-builder-workspace/Sources/LayoutAid/AxisConstraintsGenerator.swift:168:19: error: cannot find type 'CGFloat' in scope
166 | init(
167 | greaterThanOrEqualTo item: LayoutItem,
168 | constant: CGFloat = 0
| `- error: cannot find type 'CGFloat' in scope
169 | ) {
170 | self.init(.greaterThanOrEqual, to: item, constant: constant)
/host/spi-builder-workspace/Sources/LayoutAid/Left.swift:44:29: error: cannot find type 'NSLayoutConstraint' in scope
42 | public let constant: CGFloat
43 |
44 | public init(_ relation: NSLayoutConstraint.Relation, to secondAnchor: NSLayoutXAxisAnchor, constant: CGFloat) {
| `- error: cannot find type 'NSLayoutConstraint' in scope
45 | self.relation = relation
46 | self.secondAnchor = secondAnchor
/host/spi-builder-workspace/Sources/LayoutAid/Left.swift:44:75: error: cannot find type 'NSLayoutXAxisAnchor' in scope
42 | public let constant: CGFloat
43 |
44 | public init(_ relation: NSLayoutConstraint.Relation, to secondAnchor: NSLayoutXAxisAnchor, constant: CGFloat) {
| `- error: cannot find type 'NSLayoutXAxisAnchor' in scope
45 | self.relation = relation
46 | self.secondAnchor = secondAnchor
/host/spi-builder-workspace/Sources/LayoutAid/Left.swift:44:106: error: cannot find type 'CGFloat' in scope
42 | public let constant: CGFloat
43 |
44 | public init(_ relation: NSLayoutConstraint.Relation, to secondAnchor: NSLayoutXAxisAnchor, constant: CGFloat) {
| `- error: cannot find type 'CGFloat' in scope
45 | self.relation = relation
46 | self.secondAnchor = secondAnchor
/host/spi-builder-workspace/Sources/LayoutAid/AxisConstraintsGenerator.swift:116:21: error: cannot find type 'NSLayoutConstraint' in scope
114 |
115 | init(
116 | _ relation: NSLayoutConstraint.Relation,
| `- error: cannot find type 'NSLayoutConstraint' in scope
117 | to item: LayoutItem,
118 | constant: CGFloat
/host/spi-builder-workspace/Sources/LayoutAid/AxisConstraintsGenerator.swift:118:19: error: cannot find type 'CGFloat' in scope
116 | _ relation: NSLayoutConstraint.Relation,
117 | to item: LayoutItem,
118 | constant: CGFloat
| `- error: cannot find type 'CGFloat' in scope
119 | ) {
120 | self.init(
/host/spi-builder-workspace/Sources/LayoutAid/Edges.swift:224:27: error: cannot find type 'NSLayoutConstraint' in scope
222 | public func makeConstraints(for item: LayoutItem) -> [NSLayoutConstraint] {
223 |
224 | let constraints: [NSLayoutConstraint]
| `- error: cannot find type 'NSLayoutConstraint' in scope
225 |
226 | switch relation {
/host/spi-builder-workspace/Sources/LayoutAid/LayoutConstraintsGenerator.swift:16:28: error: cannot find type 'NSLayoutConstraint' in scope
14 | public extension LayoutConstraintsGenerator {
15 |
16 | func priority(_ value: NSLayoutConstraint.Priority) -> Self {
| `- error: cannot find type 'NSLayoutConstraint' in scope
17 | var new = self
18 | new.priority = value
/host/spi-builder-workspace/Sources/LayoutAid/Height.swift:9:58: error: cannot find type 'NSLayoutDimension' in scope
7 | public struct Height: DimensionConstraintsGenerator {
8 |
9 | public static let anchorKeyPath: KeyPath<LayoutItem, NSLayoutDimension> = \.heightAnchor
| `- error: cannot find type 'NSLayoutDimension' in scope
10 |
11 | public let secondAnchor: NSLayoutDimension?
/host/spi-builder-workspace/Sources/LayoutAid/Height.swift:9:79: error: cannot infer key path type from context; consider explicitly specifying a root type
7 | public struct Height: DimensionConstraintsGenerator {
8 |
9 | public static let anchorKeyPath: KeyPath<LayoutItem, NSLayoutDimension> = \.heightAnchor
| `- error: cannot infer key path type from context; consider explicitly specifying a root type
10 |
11 | public let secondAnchor: NSLayoutDimension?
/host/spi-builder-workspace/Sources/LayoutAid/Height.swift:11:30: error: cannot find type 'NSLayoutDimension' in scope
9 | public static let anchorKeyPath: KeyPath<LayoutItem, NSLayoutDimension> = \.heightAnchor
10 |
11 | public let secondAnchor: NSLayoutDimension?
| `- error: cannot find type 'NSLayoutDimension' in scope
12 |
13 | public let relation: NSLayoutConstraint.Relation
/host/spi-builder-workspace/Sources/LayoutAid/Height.swift:13:26: error: cannot find type 'NSLayoutConstraint' in scope
11 | public let secondAnchor: NSLayoutDimension?
12 |
13 | public let relation: NSLayoutConstraint.Relation
| `- error: cannot find type 'NSLayoutConstraint' in scope
14 |
15 | public let constant: CGFloat
/host/spi-builder-workspace/Sources/LayoutAid/Height.swift:15:26: error: cannot find type 'CGFloat' in scope
13 | public let relation: NSLayoutConstraint.Relation
14 |
15 | public let constant: CGFloat
| `- error: cannot find type 'CGFloat' in scope
16 |
17 | public let multiplier: CGFloat
/host/spi-builder-workspace/Sources/LayoutAid/Height.swift:17:28: error: cannot find type 'CGFloat' in scope
15 | public let constant: CGFloat
16 |
17 | public let multiplier: CGFloat
| `- error: cannot find type 'CGFloat' in scope
18 |
19 | public var priority: NSLayoutConstraint.Priority = .required
/host/spi-builder-workspace/Sources/LayoutAid/Height.swift:19:26: error: cannot find type 'NSLayoutConstraint' in scope
17 | public let multiplier: CGFloat
18 |
19 | public var priority: NSLayoutConstraint.Priority = .required
| `- error: cannot find type 'NSLayoutConstraint' in scope
20 |
21 | public init(_ relation: NSLayoutConstraint.Relation, to constant: CGFloat) {
/host/spi-builder-workspace/Sources/LayoutAid/Height.swift:21:29: error: cannot find type 'NSLayoutConstraint' in scope
19 | public var priority: NSLayoutConstraint.Priority = .required
20 |
21 | public init(_ relation: NSLayoutConstraint.Relation, to constant: CGFloat) {
| `- error: cannot find type 'NSLayoutConstraint' in scope
22 | self.relation = relation
23 | self.constant = constant
/host/spi-builder-workspace/Sources/LayoutAid/Height.swift:21:71: error: cannot find type 'CGFloat' in scope
19 | public var priority: NSLayoutConstraint.Priority = .required
20 |
21 | public init(_ relation: NSLayoutConstraint.Relation, to constant: CGFloat) {
| `- error: cannot find type 'CGFloat' in scope
22 | self.relation = relation
23 | self.constant = constant
/host/spi-builder-workspace/Sources/LayoutAid/Height.swift:29:21: error: cannot find type 'NSLayoutConstraint' in scope
27 |
28 | public init(
29 | _ relation: NSLayoutConstraint.Relation,
| `- error: cannot find type 'NSLayoutConstraint' in scope
30 | to secondAnchor: NSLayoutDimension,
31 | multiplier: CGFloat,
/host/spi-builder-workspace/Sources/LayoutAid/Height.swift:30:26: error: cannot find type 'NSLayoutDimension' in scope
28 | public init(
29 | _ relation: NSLayoutConstraint.Relation,
30 | to secondAnchor: NSLayoutDimension,
| `- error: cannot find type 'NSLayoutDimension' in scope
31 | multiplier: CGFloat,
32 | constant: CGFloat
/host/spi-builder-workspace/Sources/LayoutAid/Height.swift:31:21: error: cannot find type 'CGFloat' in scope
29 | _ relation: NSLayoutConstraint.Relation,
30 | to secondAnchor: NSLayoutDimension,
31 | multiplier: CGFloat,
| `- error: cannot find type 'CGFloat' in scope
32 | constant: CGFloat
33 | ) {
/host/spi-builder-workspace/Sources/LayoutAid/Height.swift:32:19: error: cannot find type 'CGFloat' in scope
30 | to secondAnchor: NSLayoutDimension,
31 | multiplier: CGFloat,
32 | constant: CGFloat
| `- error: cannot find type 'CGFloat' in scope
33 | ) {
34 | self.relation = relation
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:9:51: error: cannot find type 'NSLayoutDimension' in scope
7 | public protocol DimensionConstraintsGenerator: LayoutConstraintsGenerator {
8 |
9 | static var anchorKeyPath: KeyPath<LayoutItem, NSLayoutDimension> { get }
| `- error: cannot find type 'NSLayoutDimension' in scope
10 |
11 | var secondAnchor: NSLayoutDimension? { get }
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:11:23: error: cannot find type 'NSLayoutDimension' in scope
9 | static var anchorKeyPath: KeyPath<LayoutItem, NSLayoutDimension> { get }
10 |
11 | var secondAnchor: NSLayoutDimension? { get }
| `- error: cannot find type 'NSLayoutDimension' in scope
12 |
13 | var relation: NSLayoutConstraint.Relation { get }
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:13:19: error: cannot find type 'NSLayoutConstraint' in scope
11 | var secondAnchor: NSLayoutDimension? { get }
12 |
13 | var relation: NSLayoutConstraint.Relation { get }
| `- error: cannot find type 'NSLayoutConstraint' in scope
14 |
15 | var constant: CGFloat { get }
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:15:19: error: cannot find type 'CGFloat' in scope
13 | var relation: NSLayoutConstraint.Relation { get }
14 |
15 | var constant: CGFloat { get }
| `- error: cannot find type 'CGFloat' in scope
16 |
17 | var multiplier: CGFloat { get }
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:17:21: error: cannot find type 'CGFloat' in scope
15 | var constant: CGFloat { get }
16 |
17 | var multiplier: CGFloat { get }
| `- error: cannot find type 'CGFloat' in scope
18 |
19 | init(
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:20:21: error: cannot find type 'NSLayoutConstraint' in scope
18 |
19 | init(
20 | _ relation: NSLayoutConstraint.Relation,
| `- error: cannot find type 'NSLayoutConstraint' in scope
21 | to secondAnchor: NSLayoutDimension,
22 | multiplier: CGFloat,
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:21:26: error: cannot find type 'NSLayoutDimension' in scope
19 | init(
20 | _ relation: NSLayoutConstraint.Relation,
21 | to secondAnchor: NSLayoutDimension,
| `- error: cannot find type 'NSLayoutDimension' in scope
22 | multiplier: CGFloat,
23 | constant: CGFloat
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:22:21: error: cannot find type 'CGFloat' in scope
20 | _ relation: NSLayoutConstraint.Relation,
21 | to secondAnchor: NSLayoutDimension,
22 | multiplier: CGFloat,
| `- error: cannot find type 'CGFloat' in scope
23 | constant: CGFloat
24 | )
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:23:19: error: cannot find type 'CGFloat' in scope
21 | to secondAnchor: NSLayoutDimension,
22 | multiplier: CGFloat,
23 | constant: CGFloat
| `- error: cannot find type 'CGFloat' in scope
24 | )
25 |
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:26:22: error: cannot find type 'NSLayoutConstraint' in scope
24 | )
25 |
26 | init(_ relation: NSLayoutConstraint.Relation, to constant: CGFloat)
| `- error: cannot find type 'NSLayoutConstraint' in scope
27 | }
28 |
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:26:64: error: cannot find type 'CGFloat' in scope
24 | )
25 |
26 | init(_ relation: NSLayoutConstraint.Relation, to constant: CGFloat)
| `- error: cannot find type 'CGFloat' in scope
27 | }
28 |
BUILD FAILURE 6.3 linux