Build Information
Failed to build LayoutAid with Swift 5.10 for Linux.
Build Command
bash -c docker run --rm -v "checkouts-4606859-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Build Log
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:48:28: error: cannot find type 'CGFloat' in scope
init(equalTo constant: CGFloat) {
^~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:52:36: error: cannot find type 'NSLayoutDimension' in scope
init(lessThanOrEqualTo anchor: NSLayoutDimension, multiplier: CGFloat = 1, constant: CGFloat = 0) {
^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:52:67: error: cannot find type 'CGFloat' in scope
init(lessThanOrEqualTo anchor: NSLayoutDimension, multiplier: CGFloat = 1, constant: CGFloat = 0) {
^~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:52:90: error: cannot find type 'CGFloat' in scope
init(lessThanOrEqualTo anchor: NSLayoutDimension, multiplier: CGFloat = 1, constant: CGFloat = 0) {
^~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:56:58: error: cannot find type 'CGFloat' in scope
init(lessThanOrEqualTo item: LayoutItem, multiplier: CGFloat = 1, constant: CGFloat = 0) {
^~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:56:81: error: cannot find type 'CGFloat' in scope
init(lessThanOrEqualTo item: LayoutItem, multiplier: CGFloat = 1, constant: CGFloat = 0) {
^~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:60:38: error: cannot find type 'CGFloat' in scope
init(lessThanOrEqualTo constant: CGFloat) {
^~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:64:39: error: cannot find type 'NSLayoutDimension' in scope
init(greaterThanOrEqualTo anchor: NSLayoutDimension, multiplier: CGFloat = 1, constant: CGFloat = 0) {
^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:64:70: error: cannot find type 'CGFloat' in scope
init(greaterThanOrEqualTo anchor: NSLayoutDimension, multiplier: CGFloat = 1, constant: CGFloat = 0) {
^~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:64:93: error: cannot find type 'CGFloat' in scope
init(greaterThanOrEqualTo anchor: NSLayoutDimension, multiplier: CGFloat = 1, constant: CGFloat = 0) {
^~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:68:61: error: cannot find type 'CGFloat' in scope
init(greaterThanOrEqualTo item: LayoutItem, multiplier: CGFloat = 1, constant: CGFloat = 0) {
^~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:68:84: error: cannot find type 'CGFloat' in scope
init(greaterThanOrEqualTo item: LayoutItem, multiplier: CGFloat = 1, constant: CGFloat = 0) {
^~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:72:41: error: cannot find type 'CGFloat' in scope
init(greaterThanOrEqualTo constant: CGFloat) {
^~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:76:52: error: cannot find type 'NSLayoutConstraint' in scope
func makeConstraints(for item: LayoutItem) -> [NSLayoutConstraint] {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:41:20: error: cannot infer contextual base in reference to member 'equal'
self.init(.equal, to: anchor, multiplier: multiplier, constant: constant)
~^~~~~
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:45:20: error: cannot infer contextual base in reference to member 'equal'
self.init(.equal, to: item, multiplier: multiplier, constant: constant)
~^~~~~
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:49:20: error: cannot infer contextual base in reference to member 'equal'
self.init(.equal, to: constant)
~^~~~~
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:53:20: error: cannot infer contextual base in reference to member 'lessThanOrEqual'
self.init(.lessThanOrEqual, to: anchor, multiplier: multiplier, constant: constant)
~^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:57:20: error: cannot infer contextual base in reference to member 'lessThanOrEqual'
self.init(.lessThanOrEqual, to: item, multiplier: multiplier, constant: constant)
~^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:61:20: error: cannot infer contextual base in reference to member 'lessThanOrEqual'
self.init(.lessThanOrEqual, to: constant)
~^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:65:20: error: cannot infer contextual base in reference to member 'greaterThanOrEqual'
self.init(.greaterThanOrEqual, to: anchor, multiplier: multiplier, constant: constant)
~^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:69:20: error: cannot infer contextual base in reference to member 'greaterThanOrEqual'
self.init(.greaterThanOrEqual, to: item, multiplier: multiplier, constant: constant)
~^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:73:20: error: cannot infer contextual base in reference to member 'greaterThanOrEqual'
self.init(.greaterThanOrEqual, to: constant)
~^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:78:25: error: cannot find type 'NSLayoutConstraint' in scope
let constraint: NSLayoutConstraint
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/LayoutConstraintsGenerator.swift:16:28: error: cannot find type 'NSLayoutConstraint' in scope
func priority(_ value: NSLayoutConstraint.Priority) -> Self {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/DirectionalEdges.swift:245:18: error: cannot find type 'NSDirectionalEdgeInsets' in scope
public extension NSDirectionalEdgeInsets {
^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/DirectionalEdges.swift:32:31: error: cannot find type 'NSDirectionalEdgeInsets' in scope
public typealias Insets = NSDirectionalEdgeInsets
^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/DirectionalEdges.swift:34:29: error: cannot find type 'NSDirectionalRectEdge' in scope
public typealias Edge = NSDirectionalRectEdge
^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/DirectionalEdges.swift:38:44: error: cannot find type 'NSLayoutConstraint' in scope
private init(_ edge: Edge, _ relation: NSLayoutConstraint.Relation, to item: LayoutItem, insets: Insets) {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/DirectionalEdges.swift:47:26: error: cannot find type 'NSLayoutConstraint' in scope
public var priority: NSLayoutConstraint.Priority = .required
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/DirectionalEdges.swift:49:27: error: cannot find type 'NSLayoutConstraint' in scope
private let relation: NSLayoutConstraint.Relation
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/LayoutItem.swift:9:24: error: cannot find type 'NSLayoutXAxisAnchor' in scope
var leadingAnchor: NSLayoutXAxisAnchor { get }
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/LayoutItem.swift:11:25: error: cannot find type 'NSLayoutXAxisAnchor' in scope
var trailingAnchor: NSLayoutXAxisAnchor { get }
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/LayoutItem.swift:13:21: error: cannot find type 'NSLayoutXAxisAnchor' in scope
var leftAnchor: NSLayoutXAxisAnchor { get }
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/LayoutItem.swift:15:22: error: cannot find type 'NSLayoutXAxisAnchor' in scope
var rightAnchor: NSLayoutXAxisAnchor { get }
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/LayoutItem.swift:17:20: error: cannot find type 'NSLayoutYAxisAnchor' in scope
var topAnchor: NSLayoutYAxisAnchor { get }
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/LayoutItem.swift:19:23: error: cannot find type 'NSLayoutYAxisAnchor' in scope
var bottomAnchor: NSLayoutYAxisAnchor { get }
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/LayoutItem.swift:21:24: error: cannot find type 'NSLayoutXAxisAnchor' in scope
var centerXAnchor: NSLayoutXAxisAnchor { get }
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/LayoutItem.swift:23:24: error: cannot find type 'NSLayoutYAxisAnchor' in scope
var centerYAnchor: NSLayoutYAxisAnchor { get }
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/LayoutItem.swift:25:22: error: cannot find type 'NSLayoutDimension' in scope
var widthAnchor: NSLayoutDimension { get }
^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/LayoutItem.swift:27:23: error: cannot find type 'NSLayoutDimension' in scope
var heightAnchor: NSLayoutDimension { get }
^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/DirectionalEdges.swift:106:91: error: cannot find type 'NSLayoutConstraint' in scope
private func makeEqualEdgeInsetsConstraints(for item: LayoutItem, insets: Insets) -> [NSLayoutConstraint] {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/DirectionalEdges.swift:117:11: error: cannot find type 'NSLayoutConstraint' in scope
) -> [NSLayoutConstraint] {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/DirectionalEdges.swift:128:11: error: cannot find type 'NSLayoutConstraint' in scope
) -> [NSLayoutConstraint] {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/DirectionalEdges.swift:178:11: error: cannot find type 'NSLayoutConstraint' in scope
) -> [NSLayoutConstraint] {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/DirectionalEdges.swift:194:11: error: cannot find type 'NSLayoutConstraint' in scope
) -> [NSLayoutConstraint] {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/DirectionalEdges.swift:210:11: error: cannot find type 'NSLayoutConstraint' in scope
) -> [NSLayoutConstraint] {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/DirectionalEdges.swift:224:59: error: cannot find type 'NSLayoutConstraint' in scope
public func makeConstraints(for item: LayoutItem) -> [NSLayoutConstraint] {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/DirectionalEdges.swift:93:26: error: cannot infer contextual base in reference to member 'equal'
self.init(edge, .equal, to: item, insets: insets)
~^~~~~
/host/spi-builder-workspace/Sources/LayoutAid/DirectionalEdges.swift:97:26: error: cannot infer contextual base in reference to member 'greaterThanOrEqual'
self.init(edge, .greaterThanOrEqual, to: item, insets: insets)
~^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/DirectionalEdges.swift:101:26: error: cannot infer contextual base in reference to member 'lessThanOrEqual'
self.init(edge, .lessThanOrEqual, to: item, insets: insets)
~^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/DirectionalEdges.swift:226:27: error: cannot find type 'NSLayoutConstraint' in scope
let constraints: [NSLayoutConstraint]
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/DirectionalEdges.swift:246:22: error: cannot find type 'NSDirectionalEdgeInsets' in scope
static var zero: NSDirectionalEdgeInsets {
^~~~~~~~~~~~~~~~~~~~~~~
[16/30] Compiling LayoutAid DimensionConstraintsGenerator.swift
/host/spi-builder-workspace/Sources/LayoutAid/CenterX.swift:9:30: error: cannot find type 'NSLayoutXAxisAnchor' in scope
public var secondAnchor: NSLayoutXAxisAnchor
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/CenterX.swift:11:26: error: cannot find type 'NSLayoutConstraint' in scope
public var priority: NSLayoutConstraint.Priority = .required
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/CenterX.swift:13:26: error: cannot find type 'NSLayoutConstraint' in scope
public let relation: NSLayoutConstraint.Relation
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/CenterX.swift:42:26: error: cannot find type 'CGFloat' in scope
public let constant: CGFloat
^~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/CenterX.swift:44:29: error: cannot find type 'NSLayoutConstraint' in scope
public init(_ relation: NSLayoutConstraint.Relation, to secondAnchor: NSLayoutXAxisAnchor, constant: CGFloat) {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/CenterX.swift:44:75: error: cannot find type 'NSLayoutXAxisAnchor' in scope
public init(_ relation: NSLayoutConstraint.Relation, to secondAnchor: NSLayoutXAxisAnchor, constant: CGFloat) {
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/CenterX.swift:44:106: error: cannot find type 'CGFloat' in scope
public init(_ relation: NSLayoutConstraint.Relation, to secondAnchor: NSLayoutXAxisAnchor, constant: CGFloat) {
^~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/CenterX.swift:50:63: error: cannot find type 'NSLayoutXAxisAnchor' in scope
public static var firstAnchorKeyPath: KeyPath<LayoutItem, NSLayoutXAxisAnchor> = \.centerXAnchor
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/XAxisConstraintsGenerator.swift:8:21: error: cannot find type 'NSLayoutXAxisAnchor' in scope
where AnchorType == NSLayoutXAxisAnchor, Anchor == NSLayoutXAxisAnchor {}
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/XAxisConstraintsGenerator.swift:8:52: error: cannot find type 'NSLayoutXAxisAnchor' in scope
where AnchorType == NSLayoutXAxisAnchor, Anchor == NSLayoutXAxisAnchor {}
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/AxisConstraintsGenerator.swift:16:28: error: cannot find type 'NSLayoutAnchor' in scope
associatedtype Anchor: NSLayoutAnchor<AnchorType>
^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/AxisConstraintsGenerator.swift:18:19: error: cannot find type 'NSLayoutConstraint' in scope
var relation: NSLayoutConstraint.Relation { get }
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/AxisConstraintsGenerator.swift:35:19: error: cannot find type 'CGFloat' in scope
var constant: CGFloat { get }
^~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/AxisConstraintsGenerator.swift:40:21: error: cannot find type 'NSLayoutConstraint' in scope
_ relation: NSLayoutConstraint.Relation,
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/AxisConstraintsGenerator.swift:42:19: error: cannot find type 'CGFloat' in scope
constant: CGFloat
^~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/CenterX.swift:7:15: error: type 'CenterX' does not conform to protocol 'XAxisConstraintsGenerator'
public struct CenterX: XAxisConstraintsGenerator {
^
/host/spi-builder-workspace/Sources/LayoutAid/CenterX.swift:7:15: error: type 'CenterX' does not conform to protocol 'AxisConstraintsGenerator'
public struct CenterX: XAxisConstraintsGenerator {
^
/host/spi-builder-workspace/Sources/LayoutAid/LayoutConstraintsGenerator.swift:9:19: error: cannot find type 'NSLayoutConstraint' in scope
var priority: NSLayoutConstraint.Priority { get set }
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/LayoutConstraintsGenerator.swift:11:52: error: cannot find type 'NSLayoutConstraint' in scope
func makeConstraints(for item: LayoutItem) -> [NSLayoutConstraint]
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/AxisConstraintsGenerator.swift:15:20: note: protocol requires nested type 'AnchorType'; add nested type 'AnchorType' for conformance
associatedtype AnchorType: AnyObject
^
/host/spi-builder-workspace/Sources/LayoutAid/AxisConstraintsGenerator.swift:16:20: note: protocol requires nested type 'Anchor'; add nested type 'Anchor' for conformance
associatedtype Anchor: NSLayoutAnchor<AnchorType>
^
/host/spi-builder-workspace/Sources/LayoutAid/CenterY.swift:9:30: error: cannot find type 'NSLayoutYAxisAnchor' in scope
public var secondAnchor: NSLayoutYAxisAnchor
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/CenterY.swift:11:26: error: cannot find type 'NSLayoutConstraint' in scope
public var priority: NSLayoutConstraint.Priority = .required
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/CenterY.swift:13:26: error: cannot find type 'NSLayoutConstraint' in scope
public let relation: NSLayoutConstraint.Relation
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/CenterY.swift:42:26: error: cannot find type 'CGFloat' in scope
public let constant: CGFloat
^~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/CenterY.swift:45:21: error: cannot find type 'NSLayoutConstraint' in scope
_ relation: NSLayoutConstraint.Relation,
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/CenterY.swift:46:26: error: cannot find type 'NSLayoutYAxisAnchor' in scope
to secondAnchor: NSLayoutYAxisAnchor,
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/CenterY.swift:47:19: error: cannot find type 'CGFloat' in scope
constant: CGFloat
^~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/CenterY.swift:54:63: error: cannot find type 'NSLayoutYAxisAnchor' in scope
public static var firstAnchorKeyPath: KeyPath<LayoutItem, NSLayoutYAxisAnchor> = \.centerYAnchor
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/YAxisConstraintsGenerator.swift:8:21: error: cannot find type 'NSLayoutYAxisAnchor' in scope
where AnchorType == NSLayoutYAxisAnchor, Anchor == NSLayoutYAxisAnchor {}
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/YAxisConstraintsGenerator.swift:8:52: error: cannot find type 'NSLayoutYAxisAnchor' in scope
where AnchorType == NSLayoutYAxisAnchor, Anchor == NSLayoutYAxisAnchor {}
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/CenterY.swift:7:15: error: type 'CenterY' does not conform to protocol 'YAxisConstraintsGenerator'
public struct CenterY: YAxisConstraintsGenerator {
^
/host/spi-builder-workspace/Sources/LayoutAid/CenterY.swift:7:15: error: type 'CenterY' does not conform to protocol 'AxisConstraintsGenerator'
public struct CenterY: YAxisConstraintsGenerator {
^
/host/spi-builder-workspace/Sources/LayoutAid/AxisConstraintsGenerator.swift:15:20: note: protocol requires nested type 'AnchorType'; add nested type 'AnchorType' for conformance
associatedtype AnchorType: AnyObject
^
/host/spi-builder-workspace/Sources/LayoutAid/AxisConstraintsGenerator.swift:16:20: note: protocol requires nested type 'Anchor'; add nested type 'Anchor' for conformance
associatedtype Anchor: NSLayoutAnchor<AnchorType>
^
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:9:51: error: cannot find type 'NSLayoutDimension' in scope
static var anchorKeyPath: KeyPath<LayoutItem, NSLayoutDimension> { get }
^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:11:23: error: cannot find type 'NSLayoutDimension' in scope
var secondAnchor: NSLayoutDimension? { get }
^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:13:19: error: cannot find type 'NSLayoutConstraint' in scope
var relation: NSLayoutConstraint.Relation { get }
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:15:19: error: cannot find type 'CGFloat' in scope
var constant: CGFloat { get }
^~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:17:21: error: cannot find type 'CGFloat' in scope
var multiplier: CGFloat { get }
^~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:20:21: error: cannot find type 'NSLayoutConstraint' in scope
_ relation: NSLayoutConstraint.Relation,
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:21:26: error: cannot find type 'NSLayoutDimension' in scope
to secondAnchor: NSLayoutDimension,
^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:22:21: error: cannot find type 'CGFloat' in scope
multiplier: CGFloat,
^~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:23:19: error: cannot find type 'CGFloat' in scope
constant: CGFloat
^~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:26:22: error: cannot find type 'NSLayoutConstraint' in scope
init(_ relation: NSLayoutConstraint.Relation, to constant: CGFloat)
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:26:64: error: cannot find type 'CGFloat' in scope
init(_ relation: NSLayoutConstraint.Relation, to constant: CGFloat)
^~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:32:21: error: cannot find type 'NSLayoutConstraint' in scope
_ relation: NSLayoutConstraint.Relation,
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:34:21: error: cannot find type 'CGFloat' in scope
multiplier: CGFloat,
^~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:35:19: error: cannot find type 'CGFloat' in scope
constant: CGFloat
^~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:40:26: error: cannot find type 'NSLayoutDimension' in scope
init(equalTo anchor: NSLayoutDimension, multiplier: CGFloat = 1, constant: CGFloat = 0) {
^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:40:57: error: cannot find type 'CGFloat' in scope
init(equalTo anchor: NSLayoutDimension, multiplier: CGFloat = 1, constant: CGFloat = 0) {
^~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:40:80: error: cannot find type 'CGFloat' in scope
init(equalTo anchor: NSLayoutDimension, multiplier: CGFloat = 1, constant: CGFloat = 0) {
^~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:44:48: error: cannot find type 'CGFloat' in scope
init(equalTo item: LayoutItem, multiplier: CGFloat = 1, constant: CGFloat = 0) {
^~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:44:71: error: cannot find type 'CGFloat' in scope
init(equalTo item: LayoutItem, multiplier: CGFloat = 1, constant: CGFloat = 0) {
^~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:48:28: error: cannot find type 'CGFloat' in scope
init(equalTo constant: CGFloat) {
^~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:52:36: error: cannot find type 'NSLayoutDimension' in scope
init(lessThanOrEqualTo anchor: NSLayoutDimension, multiplier: CGFloat = 1, constant: CGFloat = 0) {
^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:52:67: error: cannot find type 'CGFloat' in scope
init(lessThanOrEqualTo anchor: NSLayoutDimension, multiplier: CGFloat = 1, constant: CGFloat = 0) {
^~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:52:90: error: cannot find type 'CGFloat' in scope
init(lessThanOrEqualTo anchor: NSLayoutDimension, multiplier: CGFloat = 1, constant: CGFloat = 0) {
^~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:56:58: error: cannot find type 'CGFloat' in scope
init(lessThanOrEqualTo item: LayoutItem, multiplier: CGFloat = 1, constant: CGFloat = 0) {
^~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:56:81: error: cannot find type 'CGFloat' in scope
init(lessThanOrEqualTo item: LayoutItem, multiplier: CGFloat = 1, constant: CGFloat = 0) {
^~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:60:38: error: cannot find type 'CGFloat' in scope
init(lessThanOrEqualTo constant: CGFloat) {
^~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:64:39: error: cannot find type 'NSLayoutDimension' in scope
init(greaterThanOrEqualTo anchor: NSLayoutDimension, multiplier: CGFloat = 1, constant: CGFloat = 0) {
^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:64:70: error: cannot find type 'CGFloat' in scope
init(greaterThanOrEqualTo anchor: NSLayoutDimension, multiplier: CGFloat = 1, constant: CGFloat = 0) {
^~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:64:93: error: cannot find type 'CGFloat' in scope
init(greaterThanOrEqualTo anchor: NSLayoutDimension, multiplier: CGFloat = 1, constant: CGFloat = 0) {
^~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:68:61: error: cannot find type 'CGFloat' in scope
init(greaterThanOrEqualTo item: LayoutItem, multiplier: CGFloat = 1, constant: CGFloat = 0) {
^~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:68:84: error: cannot find type 'CGFloat' in scope
init(greaterThanOrEqualTo item: LayoutItem, multiplier: CGFloat = 1, constant: CGFloat = 0) {
^~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:72:41: error: cannot find type 'CGFloat' in scope
init(greaterThanOrEqualTo constant: CGFloat) {
^~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:76:52: error: cannot find type 'NSLayoutConstraint' in scope
func makeConstraints(for item: LayoutItem) -> [NSLayoutConstraint] {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:41:20: error: cannot infer contextual base in reference to member 'equal'
self.init(.equal, to: anchor, multiplier: multiplier, constant: constant)
~^~~~~
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:45:20: error: cannot infer contextual base in reference to member 'equal'
self.init(.equal, to: item, multiplier: multiplier, constant: constant)
~^~~~~
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:49:20: error: cannot infer contextual base in reference to member 'equal'
self.init(.equal, to: constant)
~^~~~~
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:53:20: error: cannot infer contextual base in reference to member 'lessThanOrEqual'
self.init(.lessThanOrEqual, to: anchor, multiplier: multiplier, constant: constant)
~^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:57:20: error: cannot infer contextual base in reference to member 'lessThanOrEqual'
self.init(.lessThanOrEqual, to: item, multiplier: multiplier, constant: constant)
~^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:61:20: error: cannot infer contextual base in reference to member 'lessThanOrEqual'
self.init(.lessThanOrEqual, to: constant)
~^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:65:20: error: cannot infer contextual base in reference to member 'greaterThanOrEqual'
self.init(.greaterThanOrEqual, to: anchor, multiplier: multiplier, constant: constant)
~^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:69:20: error: cannot infer contextual base in reference to member 'greaterThanOrEqual'
self.init(.greaterThanOrEqual, to: item, multiplier: multiplier, constant: constant)
~^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:73:20: error: cannot infer contextual base in reference to member 'greaterThanOrEqual'
self.init(.greaterThanOrEqual, to: constant)
~^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:78:25: error: cannot find type 'NSLayoutConstraint' in scope
let constraint: NSLayoutConstraint
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/LayoutConstraintsGenerator.swift:16:28: error: cannot find type 'NSLayoutConstraint' in scope
func priority(_ value: NSLayoutConstraint.Priority) -> Self {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/DirectionalEdges.swift:245:18: error: cannot find type 'NSDirectionalEdgeInsets' in scope
public extension NSDirectionalEdgeInsets {
^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/DirectionalEdges.swift:32:31: error: cannot find type 'NSDirectionalEdgeInsets' in scope
public typealias Insets = NSDirectionalEdgeInsets
^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/DirectionalEdges.swift:34:29: error: cannot find type 'NSDirectionalRectEdge' in scope
public typealias Edge = NSDirectionalRectEdge
^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/DirectionalEdges.swift:38:44: error: cannot find type 'NSLayoutConstraint' in scope
private init(_ edge: Edge, _ relation: NSLayoutConstraint.Relation, to item: LayoutItem, insets: Insets) {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/DirectionalEdges.swift:47:26: error: cannot find type 'NSLayoutConstraint' in scope
public var priority: NSLayoutConstraint.Priority = .required
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/DirectionalEdges.swift:49:27: error: cannot find type 'NSLayoutConstraint' in scope
private let relation: NSLayoutConstraint.Relation
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/LayoutItem.swift:9:24: error: cannot find type 'NSLayoutXAxisAnchor' in scope
var leadingAnchor: NSLayoutXAxisAnchor { get }
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/LayoutItem.swift:11:25: error: cannot find type 'NSLayoutXAxisAnchor' in scope
var trailingAnchor: NSLayoutXAxisAnchor { get }
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/LayoutItem.swift:13:21: error: cannot find type 'NSLayoutXAxisAnchor' in scope
var leftAnchor: NSLayoutXAxisAnchor { get }
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/LayoutItem.swift:15:22: error: cannot find type 'NSLayoutXAxisAnchor' in scope
var rightAnchor: NSLayoutXAxisAnchor { get }
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/LayoutItem.swift:17:20: error: cannot find type 'NSLayoutYAxisAnchor' in scope
var topAnchor: NSLayoutYAxisAnchor { get }
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/LayoutItem.swift:19:23: error: cannot find type 'NSLayoutYAxisAnchor' in scope
var bottomAnchor: NSLayoutYAxisAnchor { get }
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/LayoutItem.swift:21:24: error: cannot find type 'NSLayoutXAxisAnchor' in scope
var centerXAnchor: NSLayoutXAxisAnchor { get }
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/LayoutItem.swift:23:24: error: cannot find type 'NSLayoutYAxisAnchor' in scope
var centerYAnchor: NSLayoutYAxisAnchor { get }
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/LayoutItem.swift:25:22: error: cannot find type 'NSLayoutDimension' in scope
var widthAnchor: NSLayoutDimension { get }
^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/LayoutItem.swift:27:23: error: cannot find type 'NSLayoutDimension' in scope
var heightAnchor: NSLayoutDimension { get }
^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/DirectionalEdges.swift:106:91: error: cannot find type 'NSLayoutConstraint' in scope
private func makeEqualEdgeInsetsConstraints(for item: LayoutItem, insets: Insets) -> [NSLayoutConstraint] {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/DirectionalEdges.swift:117:11: error: cannot find type 'NSLayoutConstraint' in scope
) -> [NSLayoutConstraint] {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/DirectionalEdges.swift:128:11: error: cannot find type 'NSLayoutConstraint' in scope
) -> [NSLayoutConstraint] {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/DirectionalEdges.swift:178:11: error: cannot find type 'NSLayoutConstraint' in scope
) -> [NSLayoutConstraint] {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/DirectionalEdges.swift:194:11: error: cannot find type 'NSLayoutConstraint' in scope
) -> [NSLayoutConstraint] {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/DirectionalEdges.swift:210:11: error: cannot find type 'NSLayoutConstraint' in scope
) -> [NSLayoutConstraint] {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/DirectionalEdges.swift:224:59: error: cannot find type 'NSLayoutConstraint' in scope
public func makeConstraints(for item: LayoutItem) -> [NSLayoutConstraint] {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/DirectionalEdges.swift:93:26: error: cannot infer contextual base in reference to member 'equal'
self.init(edge, .equal, to: item, insets: insets)
~^~~~~
/host/spi-builder-workspace/Sources/LayoutAid/DirectionalEdges.swift:97:26: error: cannot infer contextual base in reference to member 'greaterThanOrEqual'
self.init(edge, .greaterThanOrEqual, to: item, insets: insets)
~^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/DirectionalEdges.swift:101:26: error: cannot infer contextual base in reference to member 'lessThanOrEqual'
self.init(edge, .lessThanOrEqual, to: item, insets: insets)
~^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/DirectionalEdges.swift:226:27: error: cannot find type 'NSLayoutConstraint' in scope
let constraints: [NSLayoutConstraint]
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/DirectionalEdges.swift:246:22: error: cannot find type 'NSDirectionalEdgeInsets' in scope
static var zero: NSDirectionalEdgeInsets {
^~~~~~~~~~~~~~~~~~~~~~~
[17/30] Compiling LayoutAid DirectionalEdges.swift
/host/spi-builder-workspace/Sources/LayoutAid/CenterX.swift:9:30: error: cannot find type 'NSLayoutXAxisAnchor' in scope
public var secondAnchor: NSLayoutXAxisAnchor
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/CenterX.swift:11:26: error: cannot find type 'NSLayoutConstraint' in scope
public var priority: NSLayoutConstraint.Priority = .required
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/CenterX.swift:13:26: error: cannot find type 'NSLayoutConstraint' in scope
public let relation: NSLayoutConstraint.Relation
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/CenterX.swift:42:26: error: cannot find type 'CGFloat' in scope
public let constant: CGFloat
^~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/CenterX.swift:44:29: error: cannot find type 'NSLayoutConstraint' in scope
public init(_ relation: NSLayoutConstraint.Relation, to secondAnchor: NSLayoutXAxisAnchor, constant: CGFloat) {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/CenterX.swift:44:75: error: cannot find type 'NSLayoutXAxisAnchor' in scope
public init(_ relation: NSLayoutConstraint.Relation, to secondAnchor: NSLayoutXAxisAnchor, constant: CGFloat) {
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/CenterX.swift:44:106: error: cannot find type 'CGFloat' in scope
public init(_ relation: NSLayoutConstraint.Relation, to secondAnchor: NSLayoutXAxisAnchor, constant: CGFloat) {
^~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/CenterX.swift:50:63: error: cannot find type 'NSLayoutXAxisAnchor' in scope
public static var firstAnchorKeyPath: KeyPath<LayoutItem, NSLayoutXAxisAnchor> = \.centerXAnchor
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/XAxisConstraintsGenerator.swift:8:21: error: cannot find type 'NSLayoutXAxisAnchor' in scope
where AnchorType == NSLayoutXAxisAnchor, Anchor == NSLayoutXAxisAnchor {}
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/XAxisConstraintsGenerator.swift:8:52: error: cannot find type 'NSLayoutXAxisAnchor' in scope
where AnchorType == NSLayoutXAxisAnchor, Anchor == NSLayoutXAxisAnchor {}
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/AxisConstraintsGenerator.swift:16:28: error: cannot find type 'NSLayoutAnchor' in scope
associatedtype Anchor: NSLayoutAnchor<AnchorType>
^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/AxisConstraintsGenerator.swift:18:19: error: cannot find type 'NSLayoutConstraint' in scope
var relation: NSLayoutConstraint.Relation { get }
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/AxisConstraintsGenerator.swift:35:19: error: cannot find type 'CGFloat' in scope
var constant: CGFloat { get }
^~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/AxisConstraintsGenerator.swift:40:21: error: cannot find type 'NSLayoutConstraint' in scope
_ relation: NSLayoutConstraint.Relation,
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/AxisConstraintsGenerator.swift:42:19: error: cannot find type 'CGFloat' in scope
constant: CGFloat
^~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/CenterX.swift:7:15: error: type 'CenterX' does not conform to protocol 'XAxisConstraintsGenerator'
public struct CenterX: XAxisConstraintsGenerator {
^
/host/spi-builder-workspace/Sources/LayoutAid/CenterX.swift:7:15: error: type 'CenterX' does not conform to protocol 'AxisConstraintsGenerator'
public struct CenterX: XAxisConstraintsGenerator {
^
/host/spi-builder-workspace/Sources/LayoutAid/LayoutConstraintsGenerator.swift:9:19: error: cannot find type 'NSLayoutConstraint' in scope
var priority: NSLayoutConstraint.Priority { get set }
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/LayoutConstraintsGenerator.swift:11:52: error: cannot find type 'NSLayoutConstraint' in scope
func makeConstraints(for item: LayoutItem) -> [NSLayoutConstraint]
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/AxisConstraintsGenerator.swift:15:20: note: protocol requires nested type 'AnchorType'; add nested type 'AnchorType' for conformance
associatedtype AnchorType: AnyObject
^
/host/spi-builder-workspace/Sources/LayoutAid/AxisConstraintsGenerator.swift:16:20: note: protocol requires nested type 'Anchor'; add nested type 'Anchor' for conformance
associatedtype Anchor: NSLayoutAnchor<AnchorType>
^
/host/spi-builder-workspace/Sources/LayoutAid/CenterY.swift:9:30: error: cannot find type 'NSLayoutYAxisAnchor' in scope
public var secondAnchor: NSLayoutYAxisAnchor
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/CenterY.swift:11:26: error: cannot find type 'NSLayoutConstraint' in scope
public var priority: NSLayoutConstraint.Priority = .required
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/CenterY.swift:13:26: error: cannot find type 'NSLayoutConstraint' in scope
public let relation: NSLayoutConstraint.Relation
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/CenterY.swift:42:26: error: cannot find type 'CGFloat' in scope
public let constant: CGFloat
^~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/CenterY.swift:45:21: error: cannot find type 'NSLayoutConstraint' in scope
_ relation: NSLayoutConstraint.Relation,
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/CenterY.swift:46:26: error: cannot find type 'NSLayoutYAxisAnchor' in scope
to secondAnchor: NSLayoutYAxisAnchor,
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/CenterY.swift:47:19: error: cannot find type 'CGFloat' in scope
constant: CGFloat
^~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/CenterY.swift:54:63: error: cannot find type 'NSLayoutYAxisAnchor' in scope
public static var firstAnchorKeyPath: KeyPath<LayoutItem, NSLayoutYAxisAnchor> = \.centerYAnchor
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/YAxisConstraintsGenerator.swift:8:21: error: cannot find type 'NSLayoutYAxisAnchor' in scope
where AnchorType == NSLayoutYAxisAnchor, Anchor == NSLayoutYAxisAnchor {}
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/YAxisConstraintsGenerator.swift:8:52: error: cannot find type 'NSLayoutYAxisAnchor' in scope
where AnchorType == NSLayoutYAxisAnchor, Anchor == NSLayoutYAxisAnchor {}
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/CenterY.swift:7:15: error: type 'CenterY' does not conform to protocol 'YAxisConstraintsGenerator'
public struct CenterY: YAxisConstraintsGenerator {
^
/host/spi-builder-workspace/Sources/LayoutAid/CenterY.swift:7:15: error: type 'CenterY' does not conform to protocol 'AxisConstraintsGenerator'
public struct CenterY: YAxisConstraintsGenerator {
^
/host/spi-builder-workspace/Sources/LayoutAid/AxisConstraintsGenerator.swift:15:20: note: protocol requires nested type 'AnchorType'; add nested type 'AnchorType' for conformance
associatedtype AnchorType: AnyObject
^
/host/spi-builder-workspace/Sources/LayoutAid/AxisConstraintsGenerator.swift:16:20: note: protocol requires nested type 'Anchor'; add nested type 'Anchor' for conformance
associatedtype Anchor: NSLayoutAnchor<AnchorType>
^
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:9:51: error: cannot find type 'NSLayoutDimension' in scope
static var anchorKeyPath: KeyPath<LayoutItem, NSLayoutDimension> { get }
^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:11:23: error: cannot find type 'NSLayoutDimension' in scope
var secondAnchor: NSLayoutDimension? { get }
^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:13:19: error: cannot find type 'NSLayoutConstraint' in scope
var relation: NSLayoutConstraint.Relation { get }
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:15:19: error: cannot find type 'CGFloat' in scope
var constant: CGFloat { get }
^~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:17:21: error: cannot find type 'CGFloat' in scope
var multiplier: CGFloat { get }
^~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:20:21: error: cannot find type 'NSLayoutConstraint' in scope
_ relation: NSLayoutConstraint.Relation,
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:21:26: error: cannot find type 'NSLayoutDimension' in scope
to secondAnchor: NSLayoutDimension,
^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:22:21: error: cannot find type 'CGFloat' in scope
multiplier: CGFloat,
^~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:23:19: error: cannot find type 'CGFloat' in scope
constant: CGFloat
^~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:26:22: error: cannot find type 'NSLayoutConstraint' in scope
init(_ relation: NSLayoutConstraint.Relation, to constant: CGFloat)
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:26:64: error: cannot find type 'CGFloat' in scope
init(_ relation: NSLayoutConstraint.Relation, to constant: CGFloat)
^~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:32:21: error: cannot find type 'NSLayoutConstraint' in scope
_ relation: NSLayoutConstraint.Relation,
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:34:21: error: cannot find type 'CGFloat' in scope
multiplier: CGFloat,
^~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:35:19: error: cannot find type 'CGFloat' in scope
constant: CGFloat
^~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:40:26: error: cannot find type 'NSLayoutDimension' in scope
init(equalTo anchor: NSLayoutDimension, multiplier: CGFloat = 1, constant: CGFloat = 0) {
^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:40:57: error: cannot find type 'CGFloat' in scope
init(equalTo anchor: NSLayoutDimension, multiplier: CGFloat = 1, constant: CGFloat = 0) {
^~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:40:80: error: cannot find type 'CGFloat' in scope
init(equalTo anchor: NSLayoutDimension, multiplier: CGFloat = 1, constant: CGFloat = 0) {
^~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:44:48: error: cannot find type 'CGFloat' in scope
init(equalTo item: LayoutItem, multiplier: CGFloat = 1, constant: CGFloat = 0) {
^~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:44:71: error: cannot find type 'CGFloat' in scope
init(equalTo item: LayoutItem, multiplier: CGFloat = 1, constant: CGFloat = 0) {
^~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:48:28: error: cannot find type 'CGFloat' in scope
init(equalTo constant: CGFloat) {
^~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:52:36: error: cannot find type 'NSLayoutDimension' in scope
init(lessThanOrEqualTo anchor: NSLayoutDimension, multiplier: CGFloat = 1, constant: CGFloat = 0) {
^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:52:67: error: cannot find type 'CGFloat' in scope
init(lessThanOrEqualTo anchor: NSLayoutDimension, multiplier: CGFloat = 1, constant: CGFloat = 0) {
^~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:52:90: error: cannot find type 'CGFloat' in scope
init(lessThanOrEqualTo anchor: NSLayoutDimension, multiplier: CGFloat = 1, constant: CGFloat = 0) {
^~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:56:58: error: cannot find type 'CGFloat' in scope
init(lessThanOrEqualTo item: LayoutItem, multiplier: CGFloat = 1, constant: CGFloat = 0) {
^~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:56:81: error: cannot find type 'CGFloat' in scope
init(lessThanOrEqualTo item: LayoutItem, multiplier: CGFloat = 1, constant: CGFloat = 0) {
^~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:60:38: error: cannot find type 'CGFloat' in scope
init(lessThanOrEqualTo constant: CGFloat) {
^~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:64:39: error: cannot find type 'NSLayoutDimension' in scope
init(greaterThanOrEqualTo anchor: NSLayoutDimension, multiplier: CGFloat = 1, constant: CGFloat = 0) {
^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:64:70: error: cannot find type 'CGFloat' in scope
init(greaterThanOrEqualTo anchor: NSLayoutDimension, multiplier: CGFloat = 1, constant: CGFloat = 0) {
^~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:64:93: error: cannot find type 'CGFloat' in scope
init(greaterThanOrEqualTo anchor: NSLayoutDimension, multiplier: CGFloat = 1, constant: CGFloat = 0) {
^~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:68:61: error: cannot find type 'CGFloat' in scope
init(greaterThanOrEqualTo item: LayoutItem, multiplier: CGFloat = 1, constant: CGFloat = 0) {
^~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:68:84: error: cannot find type 'CGFloat' in scope
init(greaterThanOrEqualTo item: LayoutItem, multiplier: CGFloat = 1, constant: CGFloat = 0) {
^~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:72:41: error: cannot find type 'CGFloat' in scope
init(greaterThanOrEqualTo constant: CGFloat) {
^~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:76:52: error: cannot find type 'NSLayoutConstraint' in scope
func makeConstraints(for item: LayoutItem) -> [NSLayoutConstraint] {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:41:20: error: cannot infer contextual base in reference to member 'equal'
self.init(.equal, to: anchor, multiplier: multiplier, constant: constant)
~^~~~~
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:45:20: error: cannot infer contextual base in reference to member 'equal'
self.init(.equal, to: item, multiplier: multiplier, constant: constant)
~^~~~~
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:49:20: error: cannot infer contextual base in reference to member 'equal'
self.init(.equal, to: constant)
~^~~~~
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:53:20: error: cannot infer contextual base in reference to member 'lessThanOrEqual'
self.init(.lessThanOrEqual, to: anchor, multiplier: multiplier, constant: constant)
~^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:57:20: error: cannot infer contextual base in reference to member 'lessThanOrEqual'
self.init(.lessThanOrEqual, to: item, multiplier: multiplier, constant: constant)
~^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:61:20: error: cannot infer contextual base in reference to member 'lessThanOrEqual'
self.init(.lessThanOrEqual, to: constant)
~^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:65:20: error: cannot infer contextual base in reference to member 'greaterThanOrEqual'
self.init(.greaterThanOrEqual, to: anchor, multiplier: multiplier, constant: constant)
~^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:69:20: error: cannot infer contextual base in reference to member 'greaterThanOrEqual'
self.init(.greaterThanOrEqual, to: item, multiplier: multiplier, constant: constant)
~^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:73:20: error: cannot infer contextual base in reference to member 'greaterThanOrEqual'
self.init(.greaterThanOrEqual, to: constant)
~^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:78:25: error: cannot find type 'NSLayoutConstraint' in scope
let constraint: NSLayoutConstraint
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/LayoutConstraintsGenerator.swift:16:28: error: cannot find type 'NSLayoutConstraint' in scope
func priority(_ value: NSLayoutConstraint.Priority) -> Self {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/DirectionalEdges.swift:245:18: error: cannot find type 'NSDirectionalEdgeInsets' in scope
public extension NSDirectionalEdgeInsets {
^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/DirectionalEdges.swift:32:31: error: cannot find type 'NSDirectionalEdgeInsets' in scope
public typealias Insets = NSDirectionalEdgeInsets
^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/DirectionalEdges.swift:34:29: error: cannot find type 'NSDirectionalRectEdge' in scope
public typealias Edge = NSDirectionalRectEdge
^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/DirectionalEdges.swift:38:44: error: cannot find type 'NSLayoutConstraint' in scope
private init(_ edge: Edge, _ relation: NSLayoutConstraint.Relation, to item: LayoutItem, insets: Insets) {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/DirectionalEdges.swift:47:26: error: cannot find type 'NSLayoutConstraint' in scope
public var priority: NSLayoutConstraint.Priority = .required
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/DirectionalEdges.swift:49:27: error: cannot find type 'NSLayoutConstraint' in scope
private let relation: NSLayoutConstraint.Relation
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/LayoutItem.swift:9:24: error: cannot find type 'NSLayoutXAxisAnchor' in scope
var leadingAnchor: NSLayoutXAxisAnchor { get }
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/LayoutItem.swift:11:25: error: cannot find type 'NSLayoutXAxisAnchor' in scope
var trailingAnchor: NSLayoutXAxisAnchor { get }
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/LayoutItem.swift:13:21: error: cannot find type 'NSLayoutXAxisAnchor' in scope
var leftAnchor: NSLayoutXAxisAnchor { get }
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/LayoutItem.swift:15:22: error: cannot find type 'NSLayoutXAxisAnchor' in scope
var rightAnchor: NSLayoutXAxisAnchor { get }
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/LayoutItem.swift:17:20: error: cannot find type 'NSLayoutYAxisAnchor' in scope
var topAnchor: NSLayoutYAxisAnchor { get }
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/LayoutItem.swift:19:23: error: cannot find type 'NSLayoutYAxisAnchor' in scope
var bottomAnchor: NSLayoutYAxisAnchor { get }
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/LayoutItem.swift:21:24: error: cannot find type 'NSLayoutXAxisAnchor' in scope
var centerXAnchor: NSLayoutXAxisAnchor { get }
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/LayoutItem.swift:23:24: error: cannot find type 'NSLayoutYAxisAnchor' in scope
var centerYAnchor: NSLayoutYAxisAnchor { get }
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/LayoutItem.swift:25:22: error: cannot find type 'NSLayoutDimension' in scope
var widthAnchor: NSLayoutDimension { get }
^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/LayoutItem.swift:27:23: error: cannot find type 'NSLayoutDimension' in scope
var heightAnchor: NSLayoutDimension { get }
^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/DirectionalEdges.swift:106:91: error: cannot find type 'NSLayoutConstraint' in scope
private func makeEqualEdgeInsetsConstraints(for item: LayoutItem, insets: Insets) -> [NSLayoutConstraint] {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/DirectionalEdges.swift:117:11: error: cannot find type 'NSLayoutConstraint' in scope
) -> [NSLayoutConstraint] {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/DirectionalEdges.swift:128:11: error: cannot find type 'NSLayoutConstraint' in scope
) -> [NSLayoutConstraint] {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/DirectionalEdges.swift:178:11: error: cannot find type 'NSLayoutConstraint' in scope
) -> [NSLayoutConstraint] {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/DirectionalEdges.swift:194:11: error: cannot find type 'NSLayoutConstraint' in scope
) -> [NSLayoutConstraint] {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/DirectionalEdges.swift:210:11: error: cannot find type 'NSLayoutConstraint' in scope
) -> [NSLayoutConstraint] {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/DirectionalEdges.swift:224:59: error: cannot find type 'NSLayoutConstraint' in scope
public func makeConstraints(for item: LayoutItem) -> [NSLayoutConstraint] {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/DirectionalEdges.swift:93:26: error: cannot infer contextual base in reference to member 'equal'
self.init(edge, .equal, to: item, insets: insets)
~^~~~~
/host/spi-builder-workspace/Sources/LayoutAid/DirectionalEdges.swift:97:26: error: cannot infer contextual base in reference to member 'greaterThanOrEqual'
self.init(edge, .greaterThanOrEqual, to: item, insets: insets)
~^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/DirectionalEdges.swift:101:26: error: cannot infer contextual base in reference to member 'lessThanOrEqual'
self.init(edge, .lessThanOrEqual, to: item, insets: insets)
~^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/DirectionalEdges.swift:226:27: error: cannot find type 'NSLayoutConstraint' in scope
let constraints: [NSLayoutConstraint]
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/DirectionalEdges.swift:246:22: error: cannot find type 'NSDirectionalEdgeInsets' in scope
static var zero: NSDirectionalEdgeInsets {
^~~~~~~~~~~~~~~~~~~~~~~
[18/30] Compiling LayoutAid Edges.swift
/host/spi-builder-workspace/Sources/LayoutAid/Edges.swift:31:31: error: cannot find type 'NSEdgeInsets' in scope
public typealias Insets = NSEdgeInsets
^~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/Edges.swift:33:33: error: cannot find type 'NSRectEdge' in scope
public typealias Edge = Set<NSRectEdge>
^~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/Edges.swift:37:44: error: cannot find type 'NSLayoutConstraint' in scope
private init(_ edge: Edge, _ relation: NSLayoutConstraint.Relation, to item: LayoutItem, insets: Insets) {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/Edges.swift:46:26: error: cannot find type 'NSLayoutConstraint' in scope
public var priority: NSLayoutConstraint.Priority = .required
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/Edges.swift:48:27: error: cannot find type 'NSLayoutConstraint' in scope
private let relation: NSLayoutConstraint.Relation
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/LayoutItem.swift:9:24: error: cannot find type 'NSLayoutXAxisAnchor' in scope
var leadingAnchor: NSLayoutXAxisAnchor { get }
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/LayoutItem.swift:11:25: error: cannot find type 'NSLayoutXAxisAnchor' in scope
var trailingAnchor: NSLayoutXAxisAnchor { get }
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/LayoutItem.swift:13:21: error: cannot find type 'NSLayoutXAxisAnchor' in scope
var leftAnchor: NSLayoutXAxisAnchor { get }
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/LayoutItem.swift:15:22: error: cannot find type 'NSLayoutXAxisAnchor' in scope
var rightAnchor: NSLayoutXAxisAnchor { get }
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/LayoutItem.swift:17:20: error: cannot find type 'NSLayoutYAxisAnchor' in scope
var topAnchor: NSLayoutYAxisAnchor { get }
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/LayoutItem.swift:19:23: error: cannot find type 'NSLayoutYAxisAnchor' in scope
var bottomAnchor: NSLayoutYAxisAnchor { get }
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/LayoutItem.swift:21:24: error: cannot find type 'NSLayoutXAxisAnchor' in scope
var centerXAnchor: NSLayoutXAxisAnchor { get }
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/LayoutItem.swift:23:24: error: cannot find type 'NSLayoutYAxisAnchor' in scope
var centerYAnchor: NSLayoutYAxisAnchor { get }
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/LayoutItem.swift:25:22: error: cannot find type 'NSLayoutDimension' in scope
var widthAnchor: NSLayoutDimension { get }
^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/LayoutItem.swift:27:23: error: cannot find type 'NSLayoutDimension' in scope
var heightAnchor: NSLayoutDimension { get }
^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/Edges.swift:104:91: error: cannot find type 'NSLayoutConstraint' in scope
private func makeEqualEdgeInsetsConstraints(for item: LayoutItem, insets: Insets) -> [NSLayoutConstraint] {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/Edges.swift:115:11: error: cannot find type 'NSLayoutConstraint' in scope
) -> [NSLayoutConstraint] {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/Edges.swift:126:11: error: cannot find type 'NSLayoutConstraint' in scope
) -> [NSLayoutConstraint] {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/Edges.swift:176:11: error: cannot find type 'NSLayoutConstraint' in scope
) -> [NSLayoutConstraint] {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/Edges.swift:192:11: error: cannot find type 'NSLayoutConstraint' in scope
) -> [NSLayoutConstraint] {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/Edges.swift:208:11: error: cannot find type 'NSLayoutConstraint' in scope
) -> [NSLayoutConstraint] {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/Edges.swift:222:59: error: cannot find type 'NSLayoutConstraint' in scope
public func makeConstraints(for item: LayoutItem) -> [NSLayoutConstraint] {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/LayoutConstraintsGenerator.swift:9:19: error: cannot find type 'NSLayoutConstraint' in scope
var priority: NSLayoutConstraint.Priority { get set }
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/LayoutConstraintsGenerator.swift:11:52: error: cannot find type 'NSLayoutConstraint' in scope
func makeConstraints(for item: LayoutItem) -> [NSLayoutConstraint]
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/Edges.swift:91:26: error: cannot infer contextual base in reference to member 'equal'
self.init(edge, .equal, to: item, insets: insets)
~^~~~~
/host/spi-builder-workspace/Sources/LayoutAid/Edges.swift:95:26: error: cannot infer contextual base in reference to member 'greaterThanOrEqual'
self.init(edge, .greaterThanOrEqual, to: item, insets: insets)
~^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/Edges.swift:99:26: error: cannot infer contextual base in reference to member 'lessThanOrEqual'
self.init(edge, .lessThanOrEqual, to: item, insets: insets)
~^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/Edges.swift:224:27: error: cannot find type 'NSLayoutConstraint' in scope
let constraints: [NSLayoutConstraint]
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/Height.swift:9:58: error: cannot find type 'NSLayoutDimension' in scope
public static let anchorKeyPath: KeyPath<LayoutItem, NSLayoutDimension> = \.heightAnchor
^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/Height.swift:11:30: error: cannot find type 'NSLayoutDimension' in scope
public let secondAnchor: NSLayoutDimension?
^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/Height.swift:13:26: error: cannot find type 'NSLayoutConstraint' in scope
public let relation: NSLayoutConstraint.Relation
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/Height.swift:15:26: error: cannot find type 'CGFloat' in scope
public let constant: CGFloat
^~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/Height.swift:17:28: error: cannot find type 'CGFloat' in scope
public let multiplier: CGFloat
^~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/Height.swift:19:26: error: cannot find type 'NSLayoutConstraint' in scope
public var priority: NSLayoutConstraint.Priority = .required
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/Height.swift:21:29: error: cannot find type 'NSLayoutConstraint' in scope
public init(_ relation: NSLayoutConstraint.Relation, to constant: CGFloat) {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/Height.swift:21:71: error: cannot find type 'CGFloat' in scope
public init(_ relation: NSLayoutConstraint.Relation, to constant: CGFloat) {
^~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/Height.swift:29:21: error: cannot find type 'NSLayoutConstraint' in scope
_ relation: NSLayoutConstraint.Relation,
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/Height.swift:30:26: error: cannot find type 'NSLayoutDimension' in scope
to secondAnchor: NSLayoutDimension,
^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/Height.swift:31:21: error: cannot find type 'CGFloat' in scope
multiplier: CGFloat,
^~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/Height.swift:32:19: error: cannot find type 'CGFloat' in scope
constant: CGFloat
^~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:9:51: error: cannot find type 'NSLayoutDimension' in scope
static var anchorKeyPath: KeyPath<LayoutItem, NSLayoutDimension> { get }
^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:11:23: error: cannot find type 'NSLayoutDimension' in scope
var secondAnchor: NSLayoutDimension? { get }
^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:13:19: error: cannot find type 'NSLayoutConstraint' in scope
var relation: NSLayoutConstraint.Relation { get }
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:15:19: error: cannot find type 'CGFloat' in scope
var constant: CGFloat { get }
^~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:17:21: error: cannot find type 'CGFloat' in scope
var multiplier: CGFloat { get }
^~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:20:21: error: cannot find type 'NSLayoutConstraint' in scope
_ relation: NSLayoutConstraint.Relation,
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:21:26: error: cannot find type 'NSLayoutDimension' in scope
to secondAnchor: NSLayoutDimension,
^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:22:21: error: cannot find type 'CGFloat' in scope
multiplier: CGFloat,
^~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:23:19: error: cannot find type 'CGFloat' in scope
constant: CGFloat
^~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:26:22: error: cannot find type 'NSLayoutConstraint' in scope
init(_ relation: NSLayoutConstraint.Relation, to constant: CGFloat)
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:26:64: error: cannot find type 'CGFloat' in scope
init(_ relation: NSLayoutConstraint.Relation, to constant: CGFloat)
^~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/Height.swift:24:29: error: 'nil' requires a contextual type
self.secondAnchor = nil
^
[19/30] Compiling LayoutAid Height.swift
/host/spi-builder-workspace/Sources/LayoutAid/Edges.swift:31:31: error: cannot find type 'NSEdgeInsets' in scope
public typealias Insets = NSEdgeInsets
^~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/Edges.swift:33:33: error: cannot find type 'NSRectEdge' in scope
public typealias Edge = Set<NSRectEdge>
^~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/Edges.swift:37:44: error: cannot find type 'NSLayoutConstraint' in scope
private init(_ edge: Edge, _ relation: NSLayoutConstraint.Relation, to item: LayoutItem, insets: Insets) {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/Edges.swift:46:26: error: cannot find type 'NSLayoutConstraint' in scope
public var priority: NSLayoutConstraint.Priority = .required
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/Edges.swift:48:27: error: cannot find type 'NSLayoutConstraint' in scope
private let relation: NSLayoutConstraint.Relation
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/LayoutItem.swift:9:24: error: cannot find type 'NSLayoutXAxisAnchor' in scope
var leadingAnchor: NSLayoutXAxisAnchor { get }
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/LayoutItem.swift:11:25: error: cannot find type 'NSLayoutXAxisAnchor' in scope
var trailingAnchor: NSLayoutXAxisAnchor { get }
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/LayoutItem.swift:13:21: error: cannot find type 'NSLayoutXAxisAnchor' in scope
var leftAnchor: NSLayoutXAxisAnchor { get }
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/LayoutItem.swift:15:22: error: cannot find type 'NSLayoutXAxisAnchor' in scope
var rightAnchor: NSLayoutXAxisAnchor { get }
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/LayoutItem.swift:17:20: error: cannot find type 'NSLayoutYAxisAnchor' in scope
var topAnchor: NSLayoutYAxisAnchor { get }
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/LayoutItem.swift:19:23: error: cannot find type 'NSLayoutYAxisAnchor' in scope
var bottomAnchor: NSLayoutYAxisAnchor { get }
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/LayoutItem.swift:21:24: error: cannot find type 'NSLayoutXAxisAnchor' in scope
var centerXAnchor: NSLayoutXAxisAnchor { get }
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/LayoutItem.swift:23:24: error: cannot find type 'NSLayoutYAxisAnchor' in scope
var centerYAnchor: NSLayoutYAxisAnchor { get }
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/LayoutItem.swift:25:22: error: cannot find type 'NSLayoutDimension' in scope
var widthAnchor: NSLayoutDimension { get }
^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/LayoutItem.swift:27:23: error: cannot find type 'NSLayoutDimension' in scope
var heightAnchor: NSLayoutDimension { get }
^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/Edges.swift:104:91: error: cannot find type 'NSLayoutConstraint' in scope
private func makeEqualEdgeInsetsConstraints(for item: LayoutItem, insets: Insets) -> [NSLayoutConstraint] {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/Edges.swift:115:11: error: cannot find type 'NSLayoutConstraint' in scope
) -> [NSLayoutConstraint] {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/Edges.swift:126:11: error: cannot find type 'NSLayoutConstraint' in scope
) -> [NSLayoutConstraint] {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/Edges.swift:176:11: error: cannot find type 'NSLayoutConstraint' in scope
) -> [NSLayoutConstraint] {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/Edges.swift:192:11: error: cannot find type 'NSLayoutConstraint' in scope
) -> [NSLayoutConstraint] {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/Edges.swift:208:11: error: cannot find type 'NSLayoutConstraint' in scope
) -> [NSLayoutConstraint] {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/Edges.swift:222:59: error: cannot find type 'NSLayoutConstraint' in scope
public func makeConstraints(for item: LayoutItem) -> [NSLayoutConstraint] {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/LayoutConstraintsGenerator.swift:9:19: error: cannot find type 'NSLayoutConstraint' in scope
var priority: NSLayoutConstraint.Priority { get set }
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/LayoutConstraintsGenerator.swift:11:52: error: cannot find type 'NSLayoutConstraint' in scope
func makeConstraints(for item: LayoutItem) -> [NSLayoutConstraint]
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/Edges.swift:91:26: error: cannot infer contextual base in reference to member 'equal'
self.init(edge, .equal, to: item, insets: insets)
~^~~~~
/host/spi-builder-workspace/Sources/LayoutAid/Edges.swift:95:26: error: cannot infer contextual base in reference to member 'greaterThanOrEqual'
self.init(edge, .greaterThanOrEqual, to: item, insets: insets)
~^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/Edges.swift:99:26: error: cannot infer contextual base in reference to member 'lessThanOrEqual'
self.init(edge, .lessThanOrEqual, to: item, insets: insets)
~^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/Edges.swift:224:27: error: cannot find type 'NSLayoutConstraint' in scope
let constraints: [NSLayoutConstraint]
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/Height.swift:9:58: error: cannot find type 'NSLayoutDimension' in scope
public static let anchorKeyPath: KeyPath<LayoutItem, NSLayoutDimension> = \.heightAnchor
^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/Height.swift:11:30: error: cannot find type 'NSLayoutDimension' in scope
public let secondAnchor: NSLayoutDimension?
^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/Height.swift:13:26: error: cannot find type 'NSLayoutConstraint' in scope
public let relation: NSLayoutConstraint.Relation
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/Height.swift:15:26: error: cannot find type 'CGFloat' in scope
public let constant: CGFloat
^~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/Height.swift:17:28: error: cannot find type 'CGFloat' in scope
public let multiplier: CGFloat
^~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/Height.swift:19:26: error: cannot find type 'NSLayoutConstraint' in scope
public var priority: NSLayoutConstraint.Priority = .required
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/Height.swift:21:29: error: cannot find type 'NSLayoutConstraint' in scope
public init(_ relation: NSLayoutConstraint.Relation, to constant: CGFloat) {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/Height.swift:21:71: error: cannot find type 'CGFloat' in scope
public init(_ relation: NSLayoutConstraint.Relation, to constant: CGFloat) {
^~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/Height.swift:29:21: error: cannot find type 'NSLayoutConstraint' in scope
_ relation: NSLayoutConstraint.Relation,
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/Height.swift:30:26: error: cannot find type 'NSLayoutDimension' in scope
to secondAnchor: NSLayoutDimension,
^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/Height.swift:31:21: error: cannot find type 'CGFloat' in scope
multiplier: CGFloat,
^~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/Height.swift:32:19: error: cannot find type 'CGFloat' in scope
constant: CGFloat
^~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:9:51: error: cannot find type 'NSLayoutDimension' in scope
static var anchorKeyPath: KeyPath<LayoutItem, NSLayoutDimension> { get }
^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:11:23: error: cannot find type 'NSLayoutDimension' in scope
var secondAnchor: NSLayoutDimension? { get }
^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:13:19: error: cannot find type 'NSLayoutConstraint' in scope
var relation: NSLayoutConstraint.Relation { get }
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:15:19: error: cannot find type 'CGFloat' in scope
var constant: CGFloat { get }
^~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:17:21: error: cannot find type 'CGFloat' in scope
var multiplier: CGFloat { get }
^~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:20:21: error: cannot find type 'NSLayoutConstraint' in scope
_ relation: NSLayoutConstraint.Relation,
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:21:26: error: cannot find type 'NSLayoutDimension' in scope
to secondAnchor: NSLayoutDimension,
^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:22:21: error: cannot find type 'CGFloat' in scope
multiplier: CGFloat,
^~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:23:19: error: cannot find type 'CGFloat' in scope
constant: CGFloat
^~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:26:22: error: cannot find type 'NSLayoutConstraint' in scope
init(_ relation: NSLayoutConstraint.Relation, to constant: CGFloat)
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:26:64: error: cannot find type 'CGFloat' in scope
init(_ relation: NSLayoutConstraint.Relation, to constant: CGFloat)
^~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/Height.swift:24:29: error: 'nil' requires a contextual type
self.secondAnchor = nil
^
[20/30] Compiling LayoutAid Keyboard.swift
/host/spi-builder-workspace/Sources/LayoutAid/Edges.swift:31:31: error: cannot find type 'NSEdgeInsets' in scope
public typealias Insets = NSEdgeInsets
^~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/Edges.swift:33:33: error: cannot find type 'NSRectEdge' in scope
public typealias Edge = Set<NSRectEdge>
^~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/Edges.swift:37:44: error: cannot find type 'NSLayoutConstraint' in scope
private init(_ edge: Edge, _ relation: NSLayoutConstraint.Relation, to item: LayoutItem, insets: Insets) {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/Edges.swift:46:26: error: cannot find type 'NSLayoutConstraint' in scope
public var priority: NSLayoutConstraint.Priority = .required
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/Edges.swift:48:27: error: cannot find type 'NSLayoutConstraint' in scope
private let relation: NSLayoutConstraint.Relation
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/LayoutItem.swift:9:24: error: cannot find type 'NSLayoutXAxisAnchor' in scope
var leadingAnchor: NSLayoutXAxisAnchor { get }
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/LayoutItem.swift:11:25: error: cannot find type 'NSLayoutXAxisAnchor' in scope
var trailingAnchor: NSLayoutXAxisAnchor { get }
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/LayoutItem.swift:13:21: error: cannot find type 'NSLayoutXAxisAnchor' in scope
var leftAnchor: NSLayoutXAxisAnchor { get }
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/LayoutItem.swift:15:22: error: cannot find type 'NSLayoutXAxisAnchor' in scope
var rightAnchor: NSLayoutXAxisAnchor { get }
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/LayoutItem.swift:17:20: error: cannot find type 'NSLayoutYAxisAnchor' in scope
var topAnchor: NSLayoutYAxisAnchor { get }
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/LayoutItem.swift:19:23: error: cannot find type 'NSLayoutYAxisAnchor' in scope
var bottomAnchor: NSLayoutYAxisAnchor { get }
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/LayoutItem.swift:21:24: error: cannot find type 'NSLayoutXAxisAnchor' in scope
var centerXAnchor: NSLayoutXAxisAnchor { get }
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/LayoutItem.swift:23:24: error: cannot find type 'NSLayoutYAxisAnchor' in scope
var centerYAnchor: NSLayoutYAxisAnchor { get }
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/LayoutItem.swift:25:22: error: cannot find type 'NSLayoutDimension' in scope
var widthAnchor: NSLayoutDimension { get }
^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/LayoutItem.swift:27:23: error: cannot find type 'NSLayoutDimension' in scope
var heightAnchor: NSLayoutDimension { get }
^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/Edges.swift:104:91: error: cannot find type 'NSLayoutConstraint' in scope
private func makeEqualEdgeInsetsConstraints(for item: LayoutItem, insets: Insets) -> [NSLayoutConstraint] {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/Edges.swift:115:11: error: cannot find type 'NSLayoutConstraint' in scope
) -> [NSLayoutConstraint] {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/Edges.swift:126:11: error: cannot find type 'NSLayoutConstraint' in scope
) -> [NSLayoutConstraint] {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/Edges.swift:176:11: error: cannot find type 'NSLayoutConstraint' in scope
) -> [NSLayoutConstraint] {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/Edges.swift:192:11: error: cannot find type 'NSLayoutConstraint' in scope
) -> [NSLayoutConstraint] {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/Edges.swift:208:11: error: cannot find type 'NSLayoutConstraint' in scope
) -> [NSLayoutConstraint] {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/Edges.swift:222:59: error: cannot find type 'NSLayoutConstraint' in scope
public func makeConstraints(for item: LayoutItem) -> [NSLayoutConstraint] {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/LayoutConstraintsGenerator.swift:9:19: error: cannot find type 'NSLayoutConstraint' in scope
var priority: NSLayoutConstraint.Priority { get set }
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/LayoutConstraintsGenerator.swift:11:52: error: cannot find type 'NSLayoutConstraint' in scope
func makeConstraints(for item: LayoutItem) -> [NSLayoutConstraint]
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/Edges.swift:91:26: error: cannot infer contextual base in reference to member 'equal'
self.init(edge, .equal, to: item, insets: insets)
~^~~~~
/host/spi-builder-workspace/Sources/LayoutAid/Edges.swift:95:26: error: cannot infer contextual base in reference to member 'greaterThanOrEqual'
self.init(edge, .greaterThanOrEqual, to: item, insets: insets)
~^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/Edges.swift:99:26: error: cannot infer contextual base in reference to member 'lessThanOrEqual'
self.init(edge, .lessThanOrEqual, to: item, insets: insets)
~^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/Edges.swift:224:27: error: cannot find type 'NSLayoutConstraint' in scope
let constraints: [NSLayoutConstraint]
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/Height.swift:9:58: error: cannot find type 'NSLayoutDimension' in scope
public static let anchorKeyPath: KeyPath<LayoutItem, NSLayoutDimension> = \.heightAnchor
^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/Height.swift:11:30: error: cannot find type 'NSLayoutDimension' in scope
public let secondAnchor: NSLayoutDimension?
^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/Height.swift:13:26: error: cannot find type 'NSLayoutConstraint' in scope
public let relation: NSLayoutConstraint.Relation
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/Height.swift:15:26: error: cannot find type 'CGFloat' in scope
public let constant: CGFloat
^~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/Height.swift:17:28: error: cannot find type 'CGFloat' in scope
public let multiplier: CGFloat
^~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/Height.swift:19:26: error: cannot find type 'NSLayoutConstraint' in scope
public var priority: NSLayoutConstraint.Priority = .required
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/Height.swift:21:29: error: cannot find type 'NSLayoutConstraint' in scope
public init(_ relation: NSLayoutConstraint.Relation, to constant: CGFloat) {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/Height.swift:21:71: error: cannot find type 'CGFloat' in scope
public init(_ relation: NSLayoutConstraint.Relation, to constant: CGFloat) {
^~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/Height.swift:29:21: error: cannot find type 'NSLayoutConstraint' in scope
_ relation: NSLayoutConstraint.Relation,
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/Height.swift:30:26: error: cannot find type 'NSLayoutDimension' in scope
to secondAnchor: NSLayoutDimension,
^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/Height.swift:31:21: error: cannot find type 'CGFloat' in scope
multiplier: CGFloat,
^~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/Height.swift:32:19: error: cannot find type 'CGFloat' in scope
constant: CGFloat
^~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:9:51: error: cannot find type 'NSLayoutDimension' in scope
static var anchorKeyPath: KeyPath<LayoutItem, NSLayoutDimension> { get }
^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:11:23: error: cannot find type 'NSLayoutDimension' in scope
var secondAnchor: NSLayoutDimension? { get }
^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:13:19: error: cannot find type 'NSLayoutConstraint' in scope
var relation: NSLayoutConstraint.Relation { get }
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:15:19: error: cannot find type 'CGFloat' in scope
var constant: CGFloat { get }
^~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:17:21: error: cannot find type 'CGFloat' in scope
var multiplier: CGFloat { get }
^~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:20:21: error: cannot find type 'NSLayoutConstraint' in scope
_ relation: NSLayoutConstraint.Relation,
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:21:26: error: cannot find type 'NSLayoutDimension' in scope
to secondAnchor: NSLayoutDimension,
^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:22:21: error: cannot find type 'CGFloat' in scope
multiplier: CGFloat,
^~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:23:19: error: cannot find type 'CGFloat' in scope
constant: CGFloat
^~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:26:22: error: cannot find type 'NSLayoutConstraint' in scope
init(_ relation: NSLayoutConstraint.Relation, to constant: CGFloat)
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:26:64: error: cannot find type 'CGFloat' in scope
init(_ relation: NSLayoutConstraint.Relation, to constant: CGFloat)
^~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/Height.swift:24:29: error: 'nil' requires a contextual type
self.secondAnchor = nil
^
[21/30] Compiling LayoutAid KeyboardLayoutGuide.swift
/host/spi-builder-workspace/Sources/LayoutAid/Edges.swift:31:31: error: cannot find type 'NSEdgeInsets' in scope
public typealias Insets = NSEdgeInsets
^~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/Edges.swift:33:33: error: cannot find type 'NSRectEdge' in scope
public typealias Edge = Set<NSRectEdge>
^~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/Edges.swift:37:44: error: cannot find type 'NSLayoutConstraint' in scope
private init(_ edge: Edge, _ relation: NSLayoutConstraint.Relation, to item: LayoutItem, insets: Insets) {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/Edges.swift:46:26: error: cannot find type 'NSLayoutConstraint' in scope
public var priority: NSLayoutConstraint.Priority = .required
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/Edges.swift:48:27: error: cannot find type 'NSLayoutConstraint' in scope
private let relation: NSLayoutConstraint.Relation
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/LayoutItem.swift:9:24: error: cannot find type 'NSLayoutXAxisAnchor' in scope
var leadingAnchor: NSLayoutXAxisAnchor { get }
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/LayoutItem.swift:11:25: error: cannot find type 'NSLayoutXAxisAnchor' in scope
var trailingAnchor: NSLayoutXAxisAnchor { get }
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/LayoutItem.swift:13:21: error: cannot find type 'NSLayoutXAxisAnchor' in scope
var leftAnchor: NSLayoutXAxisAnchor { get }
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/LayoutItem.swift:15:22: error: cannot find type 'NSLayoutXAxisAnchor' in scope
var rightAnchor: NSLayoutXAxisAnchor { get }
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/LayoutItem.swift:17:20: error: cannot find type 'NSLayoutYAxisAnchor' in scope
var topAnchor: NSLayoutYAxisAnchor { get }
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/LayoutItem.swift:19:23: error: cannot find type 'NSLayoutYAxisAnchor' in scope
var bottomAnchor: NSLayoutYAxisAnchor { get }
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/LayoutItem.swift:21:24: error: cannot find type 'NSLayoutXAxisAnchor' in scope
var centerXAnchor: NSLayoutXAxisAnchor { get }
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/LayoutItem.swift:23:24: error: cannot find type 'NSLayoutYAxisAnchor' in scope
var centerYAnchor: NSLayoutYAxisAnchor { get }
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/LayoutItem.swift:25:22: error: cannot find type 'NSLayoutDimension' in scope
var widthAnchor: NSLayoutDimension { get }
^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/LayoutItem.swift:27:23: error: cannot find type 'NSLayoutDimension' in scope
var heightAnchor: NSLayoutDimension { get }
^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/Edges.swift:104:91: error: cannot find type 'NSLayoutConstraint' in scope
private func makeEqualEdgeInsetsConstraints(for item: LayoutItem, insets: Insets) -> [NSLayoutConstraint] {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/Edges.swift:115:11: error: cannot find type 'NSLayoutConstraint' in scope
) -> [NSLayoutConstraint] {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/Edges.swift:126:11: error: cannot find type 'NSLayoutConstraint' in scope
) -> [NSLayoutConstraint] {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/Edges.swift:176:11: error: cannot find type 'NSLayoutConstraint' in scope
) -> [NSLayoutConstraint] {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/Edges.swift:192:11: error: cannot find type 'NSLayoutConstraint' in scope
) -> [NSLayoutConstraint] {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/Edges.swift:208:11: error: cannot find type 'NSLayoutConstraint' in scope
) -> [NSLayoutConstraint] {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/Edges.swift:222:59: error: cannot find type 'NSLayoutConstraint' in scope
public func makeConstraints(for item: LayoutItem) -> [NSLayoutConstraint] {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/LayoutConstraintsGenerator.swift:9:19: error: cannot find type 'NSLayoutConstraint' in scope
var priority: NSLayoutConstraint.Priority { get set }
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/LayoutConstraintsGenerator.swift:11:52: error: cannot find type 'NSLayoutConstraint' in scope
func makeConstraints(for item: LayoutItem) -> [NSLayoutConstraint]
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/Edges.swift:91:26: error: cannot infer contextual base in reference to member 'equal'
self.init(edge, .equal, to: item, insets: insets)
~^~~~~
/host/spi-builder-workspace/Sources/LayoutAid/Edges.swift:95:26: error: cannot infer contextual base in reference to member 'greaterThanOrEqual'
self.init(edge, .greaterThanOrEqual, to: item, insets: insets)
~^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/Edges.swift:99:26: error: cannot infer contextual base in reference to member 'lessThanOrEqual'
self.init(edge, .lessThanOrEqual, to: item, insets: insets)
~^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/Edges.swift:224:27: error: cannot find type 'NSLayoutConstraint' in scope
let constraints: [NSLayoutConstraint]
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/Height.swift:9:58: error: cannot find type 'NSLayoutDimension' in scope
public static let anchorKeyPath: KeyPath<LayoutItem, NSLayoutDimension> = \.heightAnchor
^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/Height.swift:11:30: error: cannot find type 'NSLayoutDimension' in scope
public let secondAnchor: NSLayoutDimension?
^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/Height.swift:13:26: error: cannot find type 'NSLayoutConstraint' in scope
public let relation: NSLayoutConstraint.Relation
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/Height.swift:15:26: error: cannot find type 'CGFloat' in scope
public let constant: CGFloat
^~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/Height.swift:17:28: error: cannot find type 'CGFloat' in scope
public let multiplier: CGFloat
^~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/Height.swift:19:26: error: cannot find type 'NSLayoutConstraint' in scope
public var priority: NSLayoutConstraint.Priority = .required
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/Height.swift:21:29: error: cannot find type 'NSLayoutConstraint' in scope
public init(_ relation: NSLayoutConstraint.Relation, to constant: CGFloat) {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/Height.swift:21:71: error: cannot find type 'CGFloat' in scope
public init(_ relation: NSLayoutConstraint.Relation, to constant: CGFloat) {
^~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/Height.swift:29:21: error: cannot find type 'NSLayoutConstraint' in scope
_ relation: NSLayoutConstraint.Relation,
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/Height.swift:30:26: error: cannot find type 'NSLayoutDimension' in scope
to secondAnchor: NSLayoutDimension,
^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/Height.swift:31:21: error: cannot find type 'CGFloat' in scope
multiplier: CGFloat,
^~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/Height.swift:32:19: error: cannot find type 'CGFloat' in scope
constant: CGFloat
^~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:9:51: error: cannot find type 'NSLayoutDimension' in scope
static var anchorKeyPath: KeyPath<LayoutItem, NSLayoutDimension> { get }
^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:11:23: error: cannot find type 'NSLayoutDimension' in scope
var secondAnchor: NSLayoutDimension? { get }
^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:13:19: error: cannot find type 'NSLayoutConstraint' in scope
var relation: NSLayoutConstraint.Relation { get }
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:15:19: error: cannot find type 'CGFloat' in scope
var constant: CGFloat { get }
^~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:17:21: error: cannot find type 'CGFloat' in scope
var multiplier: CGFloat { get }
^~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:20:21: error: cannot find type 'NSLayoutConstraint' in scope
_ relation: NSLayoutConstraint.Relation,
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:21:26: error: cannot find type 'NSLayoutDimension' in scope
to secondAnchor: NSLayoutDimension,
^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:22:21: error: cannot find type 'CGFloat' in scope
multiplier: CGFloat,
^~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:23:19: error: cannot find type 'CGFloat' in scope
constant: CGFloat
^~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:26:22: error: cannot find type 'NSLayoutConstraint' in scope
init(_ relation: NSLayoutConstraint.Relation, to constant: CGFloat)
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:26:64: error: cannot find type 'CGFloat' in scope
init(_ relation: NSLayoutConstraint.Relation, to constant: CGFloat)
^~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/Height.swift:24:29: error: 'nil' requires a contextual type
self.secondAnchor = nil
^
[22/30] Compiling LayoutAid Width.swift
/host/spi-builder-workspace/Sources/LayoutAid/Width.swift:9:58: error: cannot find type 'NSLayoutDimension' in scope
public static let anchorKeyPath: KeyPath<LayoutItem, NSLayoutDimension> = \.widthAnchor
^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/Width.swift:11:30: error: cannot find type 'NSLayoutDimension' in scope
public let secondAnchor: NSLayoutDimension?
^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/Width.swift:13:26: error: cannot find type 'NSLayoutConstraint' in scope
public let relation: NSLayoutConstraint.Relation
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/Width.swift:15:26: error: cannot find type 'CGFloat' in scope
public let constant: CGFloat
^~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/Width.swift:17:28: error: cannot find type 'CGFloat' in scope
public let multiplier: CGFloat
^~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/Width.swift:19:26: error: cannot find type 'NSLayoutConstraint' in scope
public var priority: NSLayoutConstraint.Priority = .required
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/Width.swift:21:29: error: cannot find type 'NSLayoutConstraint' in scope
public init(_ relation: NSLayoutConstraint.Relation, to constant: CGFloat) {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/Width.swift:21:71: error: cannot find type 'CGFloat' in scope
public init(_ relation: NSLayoutConstraint.Relation, to constant: CGFloat) {
^~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/Width.swift:29:21: error: cannot find type 'NSLayoutConstraint' in scope
_ relation: NSLayoutConstraint.Relation,
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/Width.swift:30:26: error: cannot find type 'NSLayoutDimension' in scope
to secondAnchor: NSLayoutDimension,
^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/Width.swift:31:21: error: cannot find type 'CGFloat' in scope
multiplier: CGFloat,
^~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/Width.swift:32:19: error: cannot find type 'CGFloat' in scope
constant: CGFloat
^~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:9:51: error: cannot find type 'NSLayoutDimension' in scope
static var anchorKeyPath: KeyPath<LayoutItem, NSLayoutDimension> { get }
^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:11:23: error: cannot find type 'NSLayoutDimension' in scope
var secondAnchor: NSLayoutDimension? { get }
^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:13:19: error: cannot find type 'NSLayoutConstraint' in scope
var relation: NSLayoutConstraint.Relation { get }
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:15:19: error: cannot find type 'CGFloat' in scope
var constant: CGFloat { get }
^~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:17:21: error: cannot find type 'CGFloat' in scope
var multiplier: CGFloat { get }
^~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:20:21: error: cannot find type 'NSLayoutConstraint' in scope
_ relation: NSLayoutConstraint.Relation,
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:21:26: error: cannot find type 'NSLayoutDimension' in scope
to secondAnchor: NSLayoutDimension,
^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:22:21: error: cannot find type 'CGFloat' in scope
multiplier: CGFloat,
^~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:23:19: error: cannot find type 'CGFloat' in scope
constant: CGFloat
^~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:26:22: error: cannot find type 'NSLayoutConstraint' in scope
init(_ relation: NSLayoutConstraint.Relation, to constant: CGFloat)
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:26:64: error: cannot find type 'CGFloat' in scope
init(_ relation: NSLayoutConstraint.Relation, to constant: CGFloat)
^~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/LayoutConstraintsGenerator.swift:9:19: error: cannot find type 'NSLayoutConstraint' in scope
var priority: NSLayoutConstraint.Priority { get set }
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/LayoutConstraintsGenerator.swift:11:52: error: cannot find type 'NSLayoutConstraint' in scope
func makeConstraints(for item: LayoutItem) -> [NSLayoutConstraint]
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/Width.swift:24:29: error: 'nil' requires a contextual type
self.secondAnchor = nil
^
/host/spi-builder-workspace/Sources/LayoutAid/XAxisConstraintsGenerator.swift:8:21: error: cannot find type 'NSLayoutXAxisAnchor' in scope
where AnchorType == NSLayoutXAxisAnchor, Anchor == NSLayoutXAxisAnchor {}
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/XAxisConstraintsGenerator.swift:8:52: error: cannot find type 'NSLayoutXAxisAnchor' in scope
where AnchorType == NSLayoutXAxisAnchor, Anchor == NSLayoutXAxisAnchor {}
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/AxisConstraintsGenerator.swift:16:28: error: cannot find type 'NSLayoutAnchor' in scope
associatedtype Anchor: NSLayoutAnchor<AnchorType>
^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/YAxisConstraintsGenerator.swift:8:21: error: cannot find type 'NSLayoutYAxisAnchor' in scope
where AnchorType == NSLayoutYAxisAnchor, Anchor == NSLayoutYAxisAnchor {}
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/YAxisConstraintsGenerator.swift:8:52: error: cannot find type 'NSLayoutYAxisAnchor' in scope
where AnchorType == NSLayoutYAxisAnchor, Anchor == NSLayoutYAxisAnchor {}
^~~~~~~~~~~~~~~~~~~
[23/30] Compiling LayoutAid XAxisConstraintsGenerator.swift
/host/spi-builder-workspace/Sources/LayoutAid/Width.swift:9:58: error: cannot find type 'NSLayoutDimension' in scope
public static let anchorKeyPath: KeyPath<LayoutItem, NSLayoutDimension> = \.widthAnchor
^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/Width.swift:11:30: error: cannot find type 'NSLayoutDimension' in scope
public let secondAnchor: NSLayoutDimension?
^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/Width.swift:13:26: error: cannot find type 'NSLayoutConstraint' in scope
public let relation: NSLayoutConstraint.Relation
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/Width.swift:15:26: error: cannot find type 'CGFloat' in scope
public let constant: CGFloat
^~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/Width.swift:17:28: error: cannot find type 'CGFloat' in scope
public let multiplier: CGFloat
^~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/Width.swift:19:26: error: cannot find type 'NSLayoutConstraint' in scope
public var priority: NSLayoutConstraint.Priority = .required
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/Width.swift:21:29: error: cannot find type 'NSLayoutConstraint' in scope
public init(_ relation: NSLayoutConstraint.Relation, to constant: CGFloat) {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/Width.swift:21:71: error: cannot find type 'CGFloat' in scope
public init(_ relation: NSLayoutConstraint.Relation, to constant: CGFloat) {
^~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/Width.swift:29:21: error: cannot find type 'NSLayoutConstraint' in scope
_ relation: NSLayoutConstraint.Relation,
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/Width.swift:30:26: error: cannot find type 'NSLayoutDimension' in scope
to secondAnchor: NSLayoutDimension,
^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/Width.swift:31:21: error: cannot find type 'CGFloat' in scope
multiplier: CGFloat,
^~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/Width.swift:32:19: error: cannot find type 'CGFloat' in scope
constant: CGFloat
^~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:9:51: error: cannot find type 'NSLayoutDimension' in scope
static var anchorKeyPath: KeyPath<LayoutItem, NSLayoutDimension> { get }
^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:11:23: error: cannot find type 'NSLayoutDimension' in scope
var secondAnchor: NSLayoutDimension? { get }
^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:13:19: error: cannot find type 'NSLayoutConstraint' in scope
var relation: NSLayoutConstraint.Relation { get }
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:15:19: error: cannot find type 'CGFloat' in scope
var constant: CGFloat { get }
^~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:17:21: error: cannot find type 'CGFloat' in scope
var multiplier: CGFloat { get }
^~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:20:21: error: cannot find type 'NSLayoutConstraint' in scope
_ relation: NSLayoutConstraint.Relation,
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:21:26: error: cannot find type 'NSLayoutDimension' in scope
to secondAnchor: NSLayoutDimension,
^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:22:21: error: cannot find type 'CGFloat' in scope
multiplier: CGFloat,
^~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:23:19: error: cannot find type 'CGFloat' in scope
constant: CGFloat
^~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:26:22: error: cannot find type 'NSLayoutConstraint' in scope
init(_ relation: NSLayoutConstraint.Relation, to constant: CGFloat)
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:26:64: error: cannot find type 'CGFloat' in scope
init(_ relation: NSLayoutConstraint.Relation, to constant: CGFloat)
^~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/LayoutConstraintsGenerator.swift:9:19: error: cannot find type 'NSLayoutConstraint' in scope
var priority: NSLayoutConstraint.Priority { get set }
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/LayoutConstraintsGenerator.swift:11:52: error: cannot find type 'NSLayoutConstraint' in scope
func makeConstraints(for item: LayoutItem) -> [NSLayoutConstraint]
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/Width.swift:24:29: error: 'nil' requires a contextual type
self.secondAnchor = nil
^
/host/spi-builder-workspace/Sources/LayoutAid/XAxisConstraintsGenerator.swift:8:21: error: cannot find type 'NSLayoutXAxisAnchor' in scope
where AnchorType == NSLayoutXAxisAnchor, Anchor == NSLayoutXAxisAnchor {}
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/XAxisConstraintsGenerator.swift:8:52: error: cannot find type 'NSLayoutXAxisAnchor' in scope
where AnchorType == NSLayoutXAxisAnchor, Anchor == NSLayoutXAxisAnchor {}
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/AxisConstraintsGenerator.swift:16:28: error: cannot find type 'NSLayoutAnchor' in scope
associatedtype Anchor: NSLayoutAnchor<AnchorType>
^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/YAxisConstraintsGenerator.swift:8:21: error: cannot find type 'NSLayoutYAxisAnchor' in scope
where AnchorType == NSLayoutYAxisAnchor, Anchor == NSLayoutYAxisAnchor {}
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/YAxisConstraintsGenerator.swift:8:52: error: cannot find type 'NSLayoutYAxisAnchor' in scope
where AnchorType == NSLayoutYAxisAnchor, Anchor == NSLayoutYAxisAnchor {}
^~~~~~~~~~~~~~~~~~~
[24/30] Compiling LayoutAid YAxisConstraintsGenerator.swift
/host/spi-builder-workspace/Sources/LayoutAid/Width.swift:9:58: error: cannot find type 'NSLayoutDimension' in scope
public static let anchorKeyPath: KeyPath<LayoutItem, NSLayoutDimension> = \.widthAnchor
^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/Width.swift:11:30: error: cannot find type 'NSLayoutDimension' in scope
public let secondAnchor: NSLayoutDimension?
^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/Width.swift:13:26: error: cannot find type 'NSLayoutConstraint' in scope
public let relation: NSLayoutConstraint.Relation
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/Width.swift:15:26: error: cannot find type 'CGFloat' in scope
public let constant: CGFloat
^~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/Width.swift:17:28: error: cannot find type 'CGFloat' in scope
public let multiplier: CGFloat
^~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/Width.swift:19:26: error: cannot find type 'NSLayoutConstraint' in scope
public var priority: NSLayoutConstraint.Priority = .required
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/Width.swift:21:29: error: cannot find type 'NSLayoutConstraint' in scope
public init(_ relation: NSLayoutConstraint.Relation, to constant: CGFloat) {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/Width.swift:21:71: error: cannot find type 'CGFloat' in scope
public init(_ relation: NSLayoutConstraint.Relation, to constant: CGFloat) {
^~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/Width.swift:29:21: error: cannot find type 'NSLayoutConstraint' in scope
_ relation: NSLayoutConstraint.Relation,
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/Width.swift:30:26: error: cannot find type 'NSLayoutDimension' in scope
to secondAnchor: NSLayoutDimension,
^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/Width.swift:31:21: error: cannot find type 'CGFloat' in scope
multiplier: CGFloat,
^~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/Width.swift:32:19: error: cannot find type 'CGFloat' in scope
constant: CGFloat
^~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:9:51: error: cannot find type 'NSLayoutDimension' in scope
static var anchorKeyPath: KeyPath<LayoutItem, NSLayoutDimension> { get }
^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:11:23: error: cannot find type 'NSLayoutDimension' in scope
var secondAnchor: NSLayoutDimension? { get }
^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:13:19: error: cannot find type 'NSLayoutConstraint' in scope
var relation: NSLayoutConstraint.Relation { get }
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:15:19: error: cannot find type 'CGFloat' in scope
var constant: CGFloat { get }
^~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:17:21: error: cannot find type 'CGFloat' in scope
var multiplier: CGFloat { get }
^~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:20:21: error: cannot find type 'NSLayoutConstraint' in scope
_ relation: NSLayoutConstraint.Relation,
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:21:26: error: cannot find type 'NSLayoutDimension' in scope
to secondAnchor: NSLayoutDimension,
^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:22:21: error: cannot find type 'CGFloat' in scope
multiplier: CGFloat,
^~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:23:19: error: cannot find type 'CGFloat' in scope
constant: CGFloat
^~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:26:22: error: cannot find type 'NSLayoutConstraint' in scope
init(_ relation: NSLayoutConstraint.Relation, to constant: CGFloat)
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/DimensionConstraintsGenerator.swift:26:64: error: cannot find type 'CGFloat' in scope
init(_ relation: NSLayoutConstraint.Relation, to constant: CGFloat)
^~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/LayoutConstraintsGenerator.swift:9:19: error: cannot find type 'NSLayoutConstraint' in scope
var priority: NSLayoutConstraint.Priority { get set }
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/LayoutConstraintsGenerator.swift:11:52: error: cannot find type 'NSLayoutConstraint' in scope
func makeConstraints(for item: LayoutItem) -> [NSLayoutConstraint]
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/Width.swift:24:29: error: 'nil' requires a contextual type
self.secondAnchor = nil
^
/host/spi-builder-workspace/Sources/LayoutAid/XAxisConstraintsGenerator.swift:8:21: error: cannot find type 'NSLayoutXAxisAnchor' in scope
where AnchorType == NSLayoutXAxisAnchor, Anchor == NSLayoutXAxisAnchor {}
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/XAxisConstraintsGenerator.swift:8:52: error: cannot find type 'NSLayoutXAxisAnchor' in scope
where AnchorType == NSLayoutXAxisAnchor, Anchor == NSLayoutXAxisAnchor {}
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/AxisConstraintsGenerator.swift:16:28: error: cannot find type 'NSLayoutAnchor' in scope
associatedtype Anchor: NSLayoutAnchor<AnchorType>
^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/YAxisConstraintsGenerator.swift:8:21: error: cannot find type 'NSLayoutYAxisAnchor' in scope
where AnchorType == NSLayoutYAxisAnchor, Anchor == NSLayoutYAxisAnchor {}
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/YAxisConstraintsGenerator.swift:8:52: error: cannot find type 'NSLayoutYAxisAnchor' in scope
where AnchorType == NSLayoutYAxisAnchor, Anchor == NSLayoutYAxisAnchor {}
^~~~~~~~~~~~~~~~~~~
[25/30] Compiling LayoutAid Size.swift
/host/spi-builder-workspace/Sources/LayoutAid/Size.swift:9:26: error: cannot find type 'NSLayoutConstraint' in scope
public var priority: NSLayoutConstraint.Priority = .required
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/LayoutItem.swift:9:24: error: cannot find type 'NSLayoutXAxisAnchor' in scope
var leadingAnchor: NSLayoutXAxisAnchor { get }
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/LayoutItem.swift:11:25: error: cannot find type 'NSLayoutXAxisAnchor' in scope
var trailingAnchor: NSLayoutXAxisAnchor { get }
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/LayoutItem.swift:13:21: error: cannot find type 'NSLayoutXAxisAnchor' in scope
var leftAnchor: NSLayoutXAxisAnchor { get }
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/LayoutItem.swift:15:22: error: cannot find type 'NSLayoutXAxisAnchor' in scope
var rightAnchor: NSLayoutXAxisAnchor { get }
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/LayoutItem.swift:17:20: error: cannot find type 'NSLayoutYAxisAnchor' in scope
var topAnchor: NSLayoutYAxisAnchor { get }
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/LayoutItem.swift:19:23: error: cannot find type 'NSLayoutYAxisAnchor' in scope
var bottomAnchor: NSLayoutYAxisAnchor { get }
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/LayoutItem.swift:21:24: error: cannot find type 'NSLayoutXAxisAnchor' in scope
var centerXAnchor: NSLayoutXAxisAnchor { get }
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/LayoutItem.swift:23:24: error: cannot find type 'NSLayoutYAxisAnchor' in scope
var centerYAnchor: NSLayoutYAxisAnchor { get }
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/LayoutItem.swift:25:22: error: cannot find type 'NSLayoutDimension' in scope
var widthAnchor: NSLayoutDimension { get }
^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/LayoutItem.swift:27:23: error: cannot find type 'NSLayoutDimension' in scope
var heightAnchor: NSLayoutDimension { get }
^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/Size.swift:13:26: error: cannot find type 'CGSize' in scope
public let constant: CGSize
^~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/Size.swift:15:26: error: cannot find type 'NSLayoutConstraint' in scope
public let relation: NSLayoutConstraint.Relation
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/Size.swift:17:28: error: cannot find type 'CGFloat' in scope
public let multiplier: CGFloat
^~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/Size.swift:19:29: error: cannot find type 'NSLayoutConstraint' in scope
public init(_ relation: NSLayoutConstraint.Relation, to item: LayoutItem, multiplier: CGFloat, constant: CGSize) {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/Size.swift:19:91: error: cannot find type 'CGFloat' in scope
public init(_ relation: NSLayoutConstraint.Relation, to item: LayoutItem, multiplier: CGFloat, constant: CGSize) {
^~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/Size.swift:19:110: error: cannot find type 'CGSize' in scope
public init(_ relation: NSLayoutConstraint.Relation, to item: LayoutItem, multiplier: CGFloat, constant: CGSize) {
^~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/Size.swift:26:29: error: cannot find type 'NSLayoutConstraint' in scope
public init(_ relation: NSLayoutConstraint.Relation, to constant: CGSize) {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/Size.swift:26:71: error: cannot find type 'CGSize' in scope
public init(_ relation: NSLayoutConstraint.Relation, to constant: CGSize) {
^~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/Size.swift:33:55: error: cannot find type 'CGFloat' in scope
public init(equalTo item: LayoutItem, multiplier: CGFloat = 1, constant: CGSize = .zero) {
^~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/Size.swift:33:78: error: cannot find type 'CGSize' in scope
public init(equalTo item: LayoutItem, multiplier: CGFloat = 1, constant: CGSize = .zero) {
^~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/Size.swift:37:68: error: cannot find type 'CGFloat' in scope
public init(greaterThanOrEqualTo item: LayoutItem, multiplier: CGFloat = 1, constant: CGSize = .zero) {
^~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/Size.swift:37:91: error: cannot find type 'CGSize' in scope
public init(greaterThanOrEqualTo item: LayoutItem, multiplier: CGFloat = 1, constant: CGSize = .zero) {
^~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/Size.swift:41:65: error: cannot find type 'CGFloat' in scope
public init(lessThanOrEqualTo item: LayoutItem, multiplier: CGFloat = 1, constant: CGSize = .zero) {
^~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/Size.swift:41:88: error: cannot find type 'CGSize' in scope
public init(lessThanOrEqualTo item: LayoutItem, multiplier: CGFloat = 1, constant: CGSize = .zero) {
^~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/Size.swift:45:35: error: cannot find type 'CGSize' in scope
public init(equalTo constant: CGSize) {
^~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/Size.swift:49:48: error: cannot find type 'CGSize' in scope
public init(greaterThanOrEqualTo constant: CGSize) {
^~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/Size.swift:53:45: error: cannot find type 'CGSize' in scope
public init(lessThanOrEqualTo constant: CGSize) {
^~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/LayoutConstraintsGenerator.swift:9:19: error: cannot find type 'NSLayoutConstraint' in scope
var priority: NSLayoutConstraint.Priority { get set }
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/LayoutConstraintsGenerator.swift:11:52: error: cannot find type 'NSLayoutConstraint' in scope
func makeConstraints(for item: LayoutItem) -> [NSLayoutConstraint]
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/Size.swift:60:65: error: cannot find type 'NSLayoutConstraint' in scope
private func makeEqualConstraints(for item: LayoutItem) -> [NSLayoutConstraint] {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/Size.swift:82:75: error: cannot find type 'NSLayoutConstraint' in scope
private func makeLessThanOrEqualConstraints(for item: LayoutItem) -> [NSLayoutConstraint] {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/Size.swift:104:78: error: cannot find type 'NSLayoutConstraint' in scope
private func makeGreaterThanOrEqualConstraints(for item: LayoutItem) -> [NSLayoutConstraint] {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/Size.swift:126:52: error: cannot find type 'NSLayoutConstraint' in scope
func makeConstraints(for item: LayoutItem) -> [NSLayoutConstraint] {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/Size.swift:34:20: error: cannot infer contextual base in reference to member 'equal'
self.init(.equal, to: item, multiplier: multiplier, constant: constant)
~^~~~~
/host/spi-builder-workspace/Sources/LayoutAid/Size.swift:38:20: error: cannot infer contextual base in reference to member 'greaterThanOrEqual'
self.init(.greaterThanOrEqual, to: item, multiplier: multiplier, constant: constant)
~^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/Size.swift:42:20: error: cannot infer contextual base in reference to member 'lessThanOrEqual'
self.init(.lessThanOrEqual, to: item, multiplier: multiplier, constant: constant)
~^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/Size.swift:46:20: error: cannot infer contextual base in reference to member 'equal'
self.init(.equal, to: constant)
~^~~~~
/host/spi-builder-workspace/Sources/LayoutAid/Size.swift:50:20: error: cannot infer contextual base in reference to member 'greaterThanOrEqual'
self.init(.greaterThanOrEqual, to: constant)
~^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/Size.swift:54:20: error: cannot infer contextual base in reference to member 'lessThanOrEqual'
self.init(.lessThanOrEqual, to: constant)
~^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/Size.swift:128:27: error: cannot find type 'NSLayoutConstraint' in scope
let constraints: [NSLayoutConstraint]
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/StatedConstraints.swift:15:46: error: cannot find type 'NSLayoutConstraint' in scope
private var constraintsByState: [State: [NSLayoutConstraint]] = [:]
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/StatedConstraints.swift:27:51: error: cannot find type 'NSLayoutConstraint' in scope
public func constraints(for state: State) -> [NSLayoutConstraint] {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/StatedConstraints.swift:31:101: error: cannot find type 'NSLayoutConstraint' in scope
public func addConstraints<S>(_ constraints: S, for state: State) where S: Sequence, S.Element: NSLayoutConstraint {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/StatedConstraints.swift:39:96: error: cannot find type 'NSLayoutConstraint' in scope
public func addConstraints(for state: State, @NSLayoutConstraint.Builder _ content: () -> [NSLayoutConstraint]) {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/StatedConstraints.swift:39:51: error: unknown attribute 'NSLayoutConstraint'
public func addConstraints(for state: State, @NSLayoutConstraint.Builder _ content: () -> [NSLayoutConstraint]) {
^
/host/spi-builder-workspace/Sources/LayoutAid/StatedConstraints.swift:34:60: error: cannot find type 'NSLayoutConstraint' in scope
existing.append(contentsOf: Array(constraints) as [NSLayoutConstraint])
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/StatedConstraints.swift:45:37: error: 'nil' requires a contextual type
constraintsByState[state] = nil
^
/host/spi-builder-workspace/Sources/LayoutAid/Top.swift:9:30: error: cannot find type 'NSLayoutYAxisAnchor' in scope
public var secondAnchor: NSLayoutYAxisAnchor
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/Top.swift:11:26: error: cannot find type 'NSLayoutConstraint' in scope
public var priority: NSLayoutConstraint.Priority = .required
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/Top.swift:13:26: error: cannot find type 'NSLayoutConstraint' in scope
public let relation: NSLayoutConstraint.Relation
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/Top.swift:42:26: error: cannot find type 'CGFloat' in scope
public let constant: CGFloat
^~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/Top.swift:45:21: error: cannot find type 'NSLayoutConstraint' in scope
_ relation: NSLayoutConstraint.Relation,
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/Top.swift:46:26: error: cannot find type 'NSLayoutYAxisAnchor' in scope
to secondAnchor: NSLayoutYAxisAnchor,
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/Top.swift:47:19: error: cannot find type 'CGFloat' in scope
constant: CGFloat
^~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/Top.swift:54:63: error: cannot find type 'NSLayoutYAxisAnchor' in scope
public static var firstAnchorKeyPath: KeyPath<LayoutItem, NSLayoutYAxisAnchor> = \.topAnchor
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/YAxisConstraintsGenerator.swift:8:21: error: cannot find type 'NSLayoutYAxisAnchor' in scope
where AnchorType == NSLayoutYAxisAnchor, Anchor == NSLayoutYAxisAnchor {}
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/YAxisConstraintsGenerator.swift:8:52: error: cannot find type 'NSLayoutYAxisAnchor' in scope
where AnchorType == NSLayoutYAxisAnchor, Anchor == NSLayoutYAxisAnchor {}
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/AxisConstraintsGenerator.swift:16:28: error: cannot find type 'NSLayoutAnchor' in scope
associatedtype Anchor: NSLayoutAnchor<AnchorType>
^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/AxisConstraintsGenerator.swift:18:19: error: cannot find type 'NSLayoutConstraint' in scope
var relation: NSLayoutConstraint.Relation { get }
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/AxisConstraintsGenerator.swift:35:19: error: cannot find type 'CGFloat' in scope
var constant: CGFloat { get }
^~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/AxisConstraintsGenerator.swift:40:21: error: cannot find type 'NSLayoutConstraint' in scope
_ relation: NSLayoutConstraint.Relation,
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/AxisConstraintsGenerator.swift:42:19: error: cannot find type 'CGFloat' in scope
constant: CGFloat
^~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/Top.swift:7:15: error: type 'Top' does not conform to protocol 'YAxisConstraintsGenerator'
public struct Top: YAxisConstraintsGenerator {
^
/host/spi-builder-workspace/Sources/LayoutAid/Top.swift:7:15: error: type 'Top' does not conform to protocol 'AxisConstraintsGenerator'
public struct Top: YAxisConstraintsGenerator {
^
/host/spi-builder-workspace/Sources/LayoutAid/AxisConstraintsGenerator.swift:15:20: note: protocol requires nested type 'AnchorType'; add nested type 'AnchorType' for conformance
associatedtype AnchorType: AnyObject
^
/host/spi-builder-workspace/Sources/LayoutAid/AxisConstraintsGenerator.swift:16:20: note: protocol requires nested type 'Anchor'; add nested type 'Anchor' for conformance
associatedtype Anchor: NSLayoutAnchor<AnchorType>
^
[26/30] Compiling LayoutAid StatedConstraints.swift
/host/spi-builder-workspace/Sources/LayoutAid/Size.swift:9:26: error: cannot find type 'NSLayoutConstraint' in scope
public var priority: NSLayoutConstraint.Priority = .required
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/LayoutItem.swift:9:24: error: cannot find type 'NSLayoutXAxisAnchor' in scope
var leadingAnchor: NSLayoutXAxisAnchor { get }
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/LayoutItem.swift:11:25: error: cannot find type 'NSLayoutXAxisAnchor' in scope
var trailingAnchor: NSLayoutXAxisAnchor { get }
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/LayoutItem.swift:13:21: error: cannot find type 'NSLayoutXAxisAnchor' in scope
var leftAnchor: NSLayoutXAxisAnchor { get }
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/LayoutItem.swift:15:22: error: cannot find type 'NSLayoutXAxisAnchor' in scope
var rightAnchor: NSLayoutXAxisAnchor { get }
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/LayoutItem.swift:17:20: error: cannot find type 'NSLayoutYAxisAnchor' in scope
var topAnchor: NSLayoutYAxisAnchor { get }
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/LayoutItem.swift:19:23: error: cannot find type 'NSLayoutYAxisAnchor' in scope
var bottomAnchor: NSLayoutYAxisAnchor { get }
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/LayoutItem.swift:21:24: error: cannot find type 'NSLayoutXAxisAnchor' in scope
var centerXAnchor: NSLayoutXAxisAnchor { get }
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/LayoutItem.swift:23:24: error: cannot find type 'NSLayoutYAxisAnchor' in scope
var centerYAnchor: NSLayoutYAxisAnchor { get }
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/LayoutItem.swift:25:22: error: cannot find type 'NSLayoutDimension' in scope
var widthAnchor: NSLayoutDimension { get }
^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/LayoutItem.swift:27:23: error: cannot find type 'NSLayoutDimension' in scope
var heightAnchor: NSLayoutDimension { get }
^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/Size.swift:13:26: error: cannot find type 'CGSize' in scope
public let constant: CGSize
^~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/Size.swift:15:26: error: cannot find type 'NSLayoutConstraint' in scope
public let relation: NSLayoutConstraint.Relation
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/Size.swift:17:28: error: cannot find type 'CGFloat' in scope
public let multiplier: CGFloat
^~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/Size.swift:19:29: error: cannot find type 'NSLayoutConstraint' in scope
public init(_ relation: NSLayoutConstraint.Relation, to item: LayoutItem, multiplier: CGFloat, constant: CGSize) {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/Size.swift:19:91: error: cannot find type 'CGFloat' in scope
public init(_ relation: NSLayoutConstraint.Relation, to item: LayoutItem, multiplier: CGFloat, constant: CGSize) {
^~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/Size.swift:19:110: error: cannot find type 'CGSize' in scope
public init(_ relation: NSLayoutConstraint.Relation, to item: LayoutItem, multiplier: CGFloat, constant: CGSize) {
^~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/Size.swift:26:29: error: cannot find type 'NSLayoutConstraint' in scope
public init(_ relation: NSLayoutConstraint.Relation, to constant: CGSize) {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/Size.swift:26:71: error: cannot find type 'CGSize' in scope
public init(_ relation: NSLayoutConstraint.Relation, to constant: CGSize) {
^~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/Size.swift:33:55: error: cannot find type 'CGFloat' in scope
public init(equalTo item: LayoutItem, multiplier: CGFloat = 1, constant: CGSize = .zero) {
^~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/Size.swift:33:78: error: cannot find type 'CGSize' in scope
public init(equalTo item: LayoutItem, multiplier: CGFloat = 1, constant: CGSize = .zero) {
^~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/Size.swift:37:68: error: cannot find type 'CGFloat' in scope
public init(greaterThanOrEqualTo item: LayoutItem, multiplier: CGFloat = 1, constant: CGSize = .zero) {
^~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/Size.swift:37:91: error: cannot find type 'CGSize' in scope
public init(greaterThanOrEqualTo item: LayoutItem, multiplier: CGFloat = 1, constant: CGSize = .zero) {
^~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/Size.swift:41:65: error: cannot find type 'CGFloat' in scope
public init(lessThanOrEqualTo item: LayoutItem, multiplier: CGFloat = 1, constant: CGSize = .zero) {
^~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/Size.swift:41:88: error: cannot find type 'CGSize' in scope
public init(lessThanOrEqualTo item: LayoutItem, multiplier: CGFloat = 1, constant: CGSize = .zero) {
^~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/Size.swift:45:35: error: cannot find type 'CGSize' in scope
public init(equalTo constant: CGSize) {
^~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/Size.swift:49:48: error: cannot find type 'CGSize' in scope
public init(greaterThanOrEqualTo constant: CGSize) {
^~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/Size.swift:53:45: error: cannot find type 'CGSize' in scope
public init(lessThanOrEqualTo constant: CGSize) {
^~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/LayoutConstraintsGenerator.swift:9:19: error: cannot find type 'NSLayoutConstraint' in scope
var priority: NSLayoutConstraint.Priority { get set }
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/LayoutConstraintsGenerator.swift:11:52: error: cannot find type 'NSLayoutConstraint' in scope
func makeConstraints(for item: LayoutItem) -> [NSLayoutConstraint]
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/Size.swift:60:65: error: cannot find type 'NSLayoutConstraint' in scope
private func makeEqualConstraints(for item: LayoutItem) -> [NSLayoutConstraint] {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/Size.swift:82:75: error: cannot find type 'NSLayoutConstraint' in scope
private func makeLessThanOrEqualConstraints(for item: LayoutItem) -> [NSLayoutConstraint] {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/Size.swift:104:78: error: cannot find type 'NSLayoutConstraint' in scope
private func makeGreaterThanOrEqualConstraints(for item: LayoutItem) -> [NSLayoutConstraint] {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/Size.swift:126:52: error: cannot find type 'NSLayoutConstraint' in scope
func makeConstraints(for item: LayoutItem) -> [NSLayoutConstraint] {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/Size.swift:34:20: error: cannot infer contextual base in reference to member 'equal'
self.init(.equal, to: item, multiplier: multiplier, constant: constant)
~^~~~~
/host/spi-builder-workspace/Sources/LayoutAid/Size.swift:38:20: error: cannot infer contextual base in reference to member 'greaterThanOrEqual'
self.init(.greaterThanOrEqual, to: item, multiplier: multiplier, constant: constant)
~^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/Size.swift:42:20: error: cannot infer contextual base in reference to member 'lessThanOrEqual'
self.init(.lessThanOrEqual, to: item, multiplier: multiplier, constant: constant)
~^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/Size.swift:46:20: error: cannot infer contextual base in reference to member 'equal'
self.init(.equal, to: constant)
~^~~~~
/host/spi-builder-workspace/Sources/LayoutAid/Size.swift:50:20: error: cannot infer contextual base in reference to member 'greaterThanOrEqual'
self.init(.greaterThanOrEqual, to: constant)
~^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/Size.swift:54:20: error: cannot infer contextual base in reference to member 'lessThanOrEqual'
self.init(.lessThanOrEqual, to: constant)
~^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/Size.swift:128:27: error: cannot find type 'NSLayoutConstraint' in scope
let constraints: [NSLayoutConstraint]
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/StatedConstraints.swift:15:46: error: cannot find type 'NSLayoutConstraint' in scope
private var constraintsByState: [State: [NSLayoutConstraint]] = [:]
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/StatedConstraints.swift:27:51: error: cannot find type 'NSLayoutConstraint' in scope
public func constraints(for state: State) -> [NSLayoutConstraint] {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/StatedConstraints.swift:31:101: error: cannot find type 'NSLayoutConstraint' in scope
public func addConstraints<S>(_ constraints: S, for state: State) where S: Sequence, S.Element: NSLayoutConstraint {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/StatedConstraints.swift:39:96: error: cannot find type 'NSLayoutConstraint' in scope
public func addConstraints(for state: State, @NSLayoutConstraint.Builder _ content: () -> [NSLayoutConstraint]) {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/StatedConstraints.swift:39:51: error: unknown attribute 'NSLayoutConstraint'
public func addConstraints(for state: State, @NSLayoutConstraint.Builder _ content: () -> [NSLayoutConstraint]) {
^
/host/spi-builder-workspace/Sources/LayoutAid/StatedConstraints.swift:34:60: error: cannot find type 'NSLayoutConstraint' in scope
existing.append(contentsOf: Array(constraints) as [NSLayoutConstraint])
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/StatedConstraints.swift:45:37: error: 'nil' requires a contextual type
constraintsByState[state] = nil
^
/host/spi-builder-workspace/Sources/LayoutAid/Top.swift:9:30: error: cannot find type 'NSLayoutYAxisAnchor' in scope
public var secondAnchor: NSLayoutYAxisAnchor
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/Top.swift:11:26: error: cannot find type 'NSLayoutConstraint' in scope
public var priority: NSLayoutConstraint.Priority = .required
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/Top.swift:13:26: error: cannot find type 'NSLayoutConstraint' in scope
public let relation: NSLayoutConstraint.Relation
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/Top.swift:42:26: error: cannot find type 'CGFloat' in scope
public let constant: CGFloat
^~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/Top.swift:45:21: error: cannot find type 'NSLayoutConstraint' in scope
_ relation: NSLayoutConstraint.Relation,
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/Top.swift:46:26: error: cannot find type 'NSLayoutYAxisAnchor' in scope
to secondAnchor: NSLayoutYAxisAnchor,
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/Top.swift:47:19: error: cannot find type 'CGFloat' in scope
constant: CGFloat
^~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/Top.swift:54:63: error: cannot find type 'NSLayoutYAxisAnchor' in scope
public static var firstAnchorKeyPath: KeyPath<LayoutItem, NSLayoutYAxisAnchor> = \.topAnchor
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/YAxisConstraintsGenerator.swift:8:21: error: cannot find type 'NSLayoutYAxisAnchor' in scope
where AnchorType == NSLayoutYAxisAnchor, Anchor == NSLayoutYAxisAnchor {}
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/YAxisConstraintsGenerator.swift:8:52: error: cannot find type 'NSLayoutYAxisAnchor' in scope
where AnchorType == NSLayoutYAxisAnchor, Anchor == NSLayoutYAxisAnchor {}
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/AxisConstraintsGenerator.swift:16:28: error: cannot find type 'NSLayoutAnchor' in scope
associatedtype Anchor: NSLayoutAnchor<AnchorType>
^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/AxisConstraintsGenerator.swift:18:19: error: cannot find type 'NSLayoutConstraint' in scope
var relation: NSLayoutConstraint.Relation { get }
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/AxisConstraintsGenerator.swift:35:19: error: cannot find type 'CGFloat' in scope
var constant: CGFloat { get }
^~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/AxisConstraintsGenerator.swift:40:21: error: cannot find type 'NSLayoutConstraint' in scope
_ relation: NSLayoutConstraint.Relation,
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/AxisConstraintsGenerator.swift:42:19: error: cannot find type 'CGFloat' in scope
constant: CGFloat
^~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/Top.swift:7:15: error: type 'Top' does not conform to protocol 'YAxisConstraintsGenerator'
public struct Top: YAxisConstraintsGenerator {
^
/host/spi-builder-workspace/Sources/LayoutAid/Top.swift:7:15: error: type 'Top' does not conform to protocol 'AxisConstraintsGenerator'
public struct Top: YAxisConstraintsGenerator {
^
/host/spi-builder-workspace/Sources/LayoutAid/AxisConstraintsGenerator.swift:15:20: note: protocol requires nested type 'AnchorType'; add nested type 'AnchorType' for conformance
associatedtype AnchorType: AnyObject
^
/host/spi-builder-workspace/Sources/LayoutAid/AxisConstraintsGenerator.swift:16:20: note: protocol requires nested type 'Anchor'; add nested type 'Anchor' for conformance
associatedtype Anchor: NSLayoutAnchor<AnchorType>
^
[27/30] Compiling LayoutAid Top.swift
/host/spi-builder-workspace/Sources/LayoutAid/Size.swift:9:26: error: cannot find type 'NSLayoutConstraint' in scope
public var priority: NSLayoutConstraint.Priority = .required
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/LayoutItem.swift:9:24: error: cannot find type 'NSLayoutXAxisAnchor' in scope
var leadingAnchor: NSLayoutXAxisAnchor { get }
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/LayoutItem.swift:11:25: error: cannot find type 'NSLayoutXAxisAnchor' in scope
var trailingAnchor: NSLayoutXAxisAnchor { get }
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/LayoutItem.swift:13:21: error: cannot find type 'NSLayoutXAxisAnchor' in scope
var leftAnchor: NSLayoutXAxisAnchor { get }
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/LayoutItem.swift:15:22: error: cannot find type 'NSLayoutXAxisAnchor' in scope
var rightAnchor: NSLayoutXAxisAnchor { get }
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/LayoutItem.swift:17:20: error: cannot find type 'NSLayoutYAxisAnchor' in scope
var topAnchor: NSLayoutYAxisAnchor { get }
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/LayoutItem.swift:19:23: error: cannot find type 'NSLayoutYAxisAnchor' in scope
var bottomAnchor: NSLayoutYAxisAnchor { get }
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/LayoutItem.swift:21:24: error: cannot find type 'NSLayoutXAxisAnchor' in scope
var centerXAnchor: NSLayoutXAxisAnchor { get }
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/LayoutItem.swift:23:24: error: cannot find type 'NSLayoutYAxisAnchor' in scope
var centerYAnchor: NSLayoutYAxisAnchor { get }
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/LayoutItem.swift:25:22: error: cannot find type 'NSLayoutDimension' in scope
var widthAnchor: NSLayoutDimension { get }
^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/LayoutItem.swift:27:23: error: cannot find type 'NSLayoutDimension' in scope
var heightAnchor: NSLayoutDimension { get }
^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/Size.swift:13:26: error: cannot find type 'CGSize' in scope
public let constant: CGSize
^~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/Size.swift:15:26: error: cannot find type 'NSLayoutConstraint' in scope
public let relation: NSLayoutConstraint.Relation
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/Size.swift:17:28: error: cannot find type 'CGFloat' in scope
public let multiplier: CGFloat
^~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/Size.swift:19:29: error: cannot find type 'NSLayoutConstraint' in scope
public init(_ relation: NSLayoutConstraint.Relation, to item: LayoutItem, multiplier: CGFloat, constant: CGSize) {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/Size.swift:19:91: error: cannot find type 'CGFloat' in scope
public init(_ relation: NSLayoutConstraint.Relation, to item: LayoutItem, multiplier: CGFloat, constant: CGSize) {
^~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/Size.swift:19:110: error: cannot find type 'CGSize' in scope
public init(_ relation: NSLayoutConstraint.Relation, to item: LayoutItem, multiplier: CGFloat, constant: CGSize) {
^~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/Size.swift:26:29: error: cannot find type 'NSLayoutConstraint' in scope
public init(_ relation: NSLayoutConstraint.Relation, to constant: CGSize) {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/Size.swift:26:71: error: cannot find type 'CGSize' in scope
public init(_ relation: NSLayoutConstraint.Relation, to constant: CGSize) {
^~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/Size.swift:33:55: error: cannot find type 'CGFloat' in scope
public init(equalTo item: LayoutItem, multiplier: CGFloat = 1, constant: CGSize = .zero) {
^~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/Size.swift:33:78: error: cannot find type 'CGSize' in scope
public init(equalTo item: LayoutItem, multiplier: CGFloat = 1, constant: CGSize = .zero) {
^~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/Size.swift:37:68: error: cannot find type 'CGFloat' in scope
public init(greaterThanOrEqualTo item: LayoutItem, multiplier: CGFloat = 1, constant: CGSize = .zero) {
^~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/Size.swift:37:91: error: cannot find type 'CGSize' in scope
public init(greaterThanOrEqualTo item: LayoutItem, multiplier: CGFloat = 1, constant: CGSize = .zero) {
^~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/Size.swift:41:65: error: cannot find type 'CGFloat' in scope
public init(lessThanOrEqualTo item: LayoutItem, multiplier: CGFloat = 1, constant: CGSize = .zero) {
^~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/Size.swift:41:88: error: cannot find type 'CGSize' in scope
public init(lessThanOrEqualTo item: LayoutItem, multiplier: CGFloat = 1, constant: CGSize = .zero) {
^~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/Size.swift:45:35: error: cannot find type 'CGSize' in scope
public init(equalTo constant: CGSize) {
^~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/Size.swift:49:48: error: cannot find type 'CGSize' in scope
public init(greaterThanOrEqualTo constant: CGSize) {
^~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/Size.swift:53:45: error: cannot find type 'CGSize' in scope
public init(lessThanOrEqualTo constant: CGSize) {
^~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/LayoutConstraintsGenerator.swift:9:19: error: cannot find type 'NSLayoutConstraint' in scope
var priority: NSLayoutConstraint.Priority { get set }
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/LayoutConstraintsGenerator.swift:11:52: error: cannot find type 'NSLayoutConstraint' in scope
func makeConstraints(for item: LayoutItem) -> [NSLayoutConstraint]
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/Size.swift:60:65: error: cannot find type 'NSLayoutConstraint' in scope
private func makeEqualConstraints(for item: LayoutItem) -> [NSLayoutConstraint] {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/Size.swift:82:75: error: cannot find type 'NSLayoutConstraint' in scope
private func makeLessThanOrEqualConstraints(for item: LayoutItem) -> [NSLayoutConstraint] {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/Size.swift:104:78: error: cannot find type 'NSLayoutConstraint' in scope
private func makeGreaterThanOrEqualConstraints(for item: LayoutItem) -> [NSLayoutConstraint] {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/Size.swift:126:52: error: cannot find type 'NSLayoutConstraint' in scope
func makeConstraints(for item: LayoutItem) -> [NSLayoutConstraint] {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/Size.swift:34:20: error: cannot infer contextual base in reference to member 'equal'
self.init(.equal, to: item, multiplier: multiplier, constant: constant)
~^~~~~
/host/spi-builder-workspace/Sources/LayoutAid/Size.swift:38:20: error: cannot infer contextual base in reference to member 'greaterThanOrEqual'
self.init(.greaterThanOrEqual, to: item, multiplier: multiplier, constant: constant)
~^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/Size.swift:42:20: error: cannot infer contextual base in reference to member 'lessThanOrEqual'
self.init(.lessThanOrEqual, to: item, multiplier: multiplier, constant: constant)
~^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/Size.swift:46:20: error: cannot infer contextual base in reference to member 'equal'
self.init(.equal, to: constant)
~^~~~~
/host/spi-builder-workspace/Sources/LayoutAid/Size.swift:50:20: error: cannot infer contextual base in reference to member 'greaterThanOrEqual'
self.init(.greaterThanOrEqual, to: constant)
~^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/Size.swift:54:20: error: cannot infer contextual base in reference to member 'lessThanOrEqual'
self.init(.lessThanOrEqual, to: constant)
~^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/Size.swift:128:27: error: cannot find type 'NSLayoutConstraint' in scope
let constraints: [NSLayoutConstraint]
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/StatedConstraints.swift:15:46: error: cannot find type 'NSLayoutConstraint' in scope
private var constraintsByState: [State: [NSLayoutConstraint]] = [:]
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/StatedConstraints.swift:27:51: error: cannot find type 'NSLayoutConstraint' in scope
public func constraints(for state: State) -> [NSLayoutConstraint] {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/StatedConstraints.swift:31:101: error: cannot find type 'NSLayoutConstraint' in scope
public func addConstraints<S>(_ constraints: S, for state: State) where S: Sequence, S.Element: NSLayoutConstraint {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/StatedConstraints.swift:39:96: error: cannot find type 'NSLayoutConstraint' in scope
public func addConstraints(for state: State, @NSLayoutConstraint.Builder _ content: () -> [NSLayoutConstraint]) {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/StatedConstraints.swift:39:51: error: unknown attribute 'NSLayoutConstraint'
public func addConstraints(for state: State, @NSLayoutConstraint.Builder _ content: () -> [NSLayoutConstraint]) {
^
/host/spi-builder-workspace/Sources/LayoutAid/StatedConstraints.swift:34:60: error: cannot find type 'NSLayoutConstraint' in scope
existing.append(contentsOf: Array(constraints) as [NSLayoutConstraint])
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/StatedConstraints.swift:45:37: error: 'nil' requires a contextual type
constraintsByState[state] = nil
^
/host/spi-builder-workspace/Sources/LayoutAid/Top.swift:9:30: error: cannot find type 'NSLayoutYAxisAnchor' in scope
public var secondAnchor: NSLayoutYAxisAnchor
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/Top.swift:11:26: error: cannot find type 'NSLayoutConstraint' in scope
public var priority: NSLayoutConstraint.Priority = .required
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/Top.swift:13:26: error: cannot find type 'NSLayoutConstraint' in scope
public let relation: NSLayoutConstraint.Relation
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/Top.swift:42:26: error: cannot find type 'CGFloat' in scope
public let constant: CGFloat
^~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/Top.swift:45:21: error: cannot find type 'NSLayoutConstraint' in scope
_ relation: NSLayoutConstraint.Relation,
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/Top.swift:46:26: error: cannot find type 'NSLayoutYAxisAnchor' in scope
to secondAnchor: NSLayoutYAxisAnchor,
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/Top.swift:47:19: error: cannot find type 'CGFloat' in scope
constant: CGFloat
^~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/Top.swift:54:63: error: cannot find type 'NSLayoutYAxisAnchor' in scope
public static var firstAnchorKeyPath: KeyPath<LayoutItem, NSLayoutYAxisAnchor> = \.topAnchor
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/YAxisConstraintsGenerator.swift:8:21: error: cannot find type 'NSLayoutYAxisAnchor' in scope
where AnchorType == NSLayoutYAxisAnchor, Anchor == NSLayoutYAxisAnchor {}
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/YAxisConstraintsGenerator.swift:8:52: error: cannot find type 'NSLayoutYAxisAnchor' in scope
where AnchorType == NSLayoutYAxisAnchor, Anchor == NSLayoutYAxisAnchor {}
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/AxisConstraintsGenerator.swift:16:28: error: cannot find type 'NSLayoutAnchor' in scope
associatedtype Anchor: NSLayoutAnchor<AnchorType>
^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/AxisConstraintsGenerator.swift:18:19: error: cannot find type 'NSLayoutConstraint' in scope
var relation: NSLayoutConstraint.Relation { get }
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/AxisConstraintsGenerator.swift:35:19: error: cannot find type 'CGFloat' in scope
var constant: CGFloat { get }
^~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/AxisConstraintsGenerator.swift:40:21: error: cannot find type 'NSLayoutConstraint' in scope
_ relation: NSLayoutConstraint.Relation,
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/AxisConstraintsGenerator.swift:42:19: error: cannot find type 'CGFloat' in scope
constant: CGFloat
^~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/Top.swift:7:15: error: type 'Top' does not conform to protocol 'YAxisConstraintsGenerator'
public struct Top: YAxisConstraintsGenerator {
^
/host/spi-builder-workspace/Sources/LayoutAid/Top.swift:7:15: error: type 'Top' does not conform to protocol 'AxisConstraintsGenerator'
public struct Top: YAxisConstraintsGenerator {
^
/host/spi-builder-workspace/Sources/LayoutAid/AxisConstraintsGenerator.swift:15:20: note: protocol requires nested type 'AnchorType'; add nested type 'AnchorType' for conformance
associatedtype AnchorType: AnyObject
^
/host/spi-builder-workspace/Sources/LayoutAid/AxisConstraintsGenerator.swift:16:20: note: protocol requires nested type 'Anchor'; add nested type 'Anchor' for conformance
associatedtype Anchor: NSLayoutAnchor<AnchorType>
^
[28/30] Compiling LayoutAid Trailing.swift
/host/spi-builder-workspace/Sources/LayoutAid/Trailing.swift:9:30: error: cannot find type 'NSLayoutXAxisAnchor' in scope
public var secondAnchor: NSLayoutXAxisAnchor
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/Trailing.swift:11:26: error: cannot find type 'NSLayoutConstraint' in scope
public var priority: NSLayoutConstraint.Priority = .required
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/Trailing.swift:13:26: error: cannot find type 'NSLayoutConstraint' in scope
public let relation: NSLayoutConstraint.Relation
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/Trailing.swift:42:26: error: cannot find type 'CGFloat' in scope
public let constant: CGFloat
^~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/Trailing.swift:44:29: error: cannot find type 'NSLayoutConstraint' in scope
public init(_ relation: NSLayoutConstraint.Relation, to secondAnchor: NSLayoutXAxisAnchor, constant: CGFloat) {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/Trailing.swift:44:75: error: cannot find type 'NSLayoutXAxisAnchor' in scope
public init(_ relation: NSLayoutConstraint.Relation, to secondAnchor: NSLayoutXAxisAnchor, constant: CGFloat) {
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/Trailing.swift:44:106: error: cannot find type 'CGFloat' in scope
public init(_ relation: NSLayoutConstraint.Relation, to secondAnchor: NSLayoutXAxisAnchor, constant: CGFloat) {
^~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/Trailing.swift:50:63: error: cannot find type 'NSLayoutXAxisAnchor' in scope
public static var firstAnchorKeyPath: KeyPath<LayoutItem, NSLayoutXAxisAnchor> = \.trailingAnchor
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/XAxisConstraintsGenerator.swift:8:21: error: cannot find type 'NSLayoutXAxisAnchor' in scope
where AnchorType == NSLayoutXAxisAnchor, Anchor == NSLayoutXAxisAnchor {}
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/XAxisConstraintsGenerator.swift:8:52: error: cannot find type 'NSLayoutXAxisAnchor' in scope
where AnchorType == NSLayoutXAxisAnchor, Anchor == NSLayoutXAxisAnchor {}
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/AxisConstraintsGenerator.swift:16:28: error: cannot find type 'NSLayoutAnchor' in scope
associatedtype Anchor: NSLayoutAnchor<AnchorType>
^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/AxisConstraintsGenerator.swift:18:19: error: cannot find type 'NSLayoutConstraint' in scope
var relation: NSLayoutConstraint.Relation { get }
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/AxisConstraintsGenerator.swift:35:19: error: cannot find type 'CGFloat' in scope
var constant: CGFloat { get }
^~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/AxisConstraintsGenerator.swift:40:21: error: cannot find type 'NSLayoutConstraint' in scope
_ relation: NSLayoutConstraint.Relation,
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/AxisConstraintsGenerator.swift:42:19: error: cannot find type 'CGFloat' in scope
constant: CGFloat
^~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/Trailing.swift:7:15: error: type 'Trailing' does not conform to protocol 'XAxisConstraintsGenerator'
public struct Trailing: XAxisConstraintsGenerator {
^
/host/spi-builder-workspace/Sources/LayoutAid/Trailing.swift:7:15: error: type 'Trailing' does not conform to protocol 'AxisConstraintsGenerator'
public struct Trailing: XAxisConstraintsGenerator {
^
/host/spi-builder-workspace/Sources/LayoutAid/LayoutConstraintsGenerator.swift:9:19: error: cannot find type 'NSLayoutConstraint' in scope
var priority: NSLayoutConstraint.Priority { get set }
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/LayoutConstraintsGenerator.swift:11:52: error: cannot find type 'NSLayoutConstraint' in scope
func makeConstraints(for item: LayoutItem) -> [NSLayoutConstraint]
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/AxisConstraintsGenerator.swift:15:20: note: protocol requires nested type 'AnchorType'; add nested type 'AnchorType' for conformance
associatedtype AnchorType: AnyObject
^
/host/spi-builder-workspace/Sources/LayoutAid/AxisConstraintsGenerator.swift:16:20: note: protocol requires nested type 'Anchor'; add nested type 'Anchor' for conformance
associatedtype Anchor: NSLayoutAnchor<AnchorType>
^
/host/spi-builder-workspace/Sources/LayoutAid/View.swift:9:18: error: cannot find type 'LayoutAidView' in scope
public extension LayoutAidView {
^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/View.swift:10:32: error: cannot find type 'LayoutAidView' in scope
var ancestors: AnyIterator<LayoutAidView> {
^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/View.swift:24:33: error: cannot find type 'LayoutAidView' in scope
var decendants: AnyIterator<LayoutAidView> {
^~~~~~~~~~~~~
[29/30] Compiling LayoutAid UIScrollView+Extensions.swift
/host/spi-builder-workspace/Sources/LayoutAid/Trailing.swift:9:30: error: cannot find type 'NSLayoutXAxisAnchor' in scope
public var secondAnchor: NSLayoutXAxisAnchor
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/Trailing.swift:11:26: error: cannot find type 'NSLayoutConstraint' in scope
public var priority: NSLayoutConstraint.Priority = .required
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/Trailing.swift:13:26: error: cannot find type 'NSLayoutConstraint' in scope
public let relation: NSLayoutConstraint.Relation
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/Trailing.swift:42:26: error: cannot find type 'CGFloat' in scope
public let constant: CGFloat
^~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/Trailing.swift:44:29: error: cannot find type 'NSLayoutConstraint' in scope
public init(_ relation: NSLayoutConstraint.Relation, to secondAnchor: NSLayoutXAxisAnchor, constant: CGFloat) {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/Trailing.swift:44:75: error: cannot find type 'NSLayoutXAxisAnchor' in scope
public init(_ relation: NSLayoutConstraint.Relation, to secondAnchor: NSLayoutXAxisAnchor, constant: CGFloat) {
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/Trailing.swift:44:106: error: cannot find type 'CGFloat' in scope
public init(_ relation: NSLayoutConstraint.Relation, to secondAnchor: NSLayoutXAxisAnchor, constant: CGFloat) {
^~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/Trailing.swift:50:63: error: cannot find type 'NSLayoutXAxisAnchor' in scope
public static var firstAnchorKeyPath: KeyPath<LayoutItem, NSLayoutXAxisAnchor> = \.trailingAnchor
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/XAxisConstraintsGenerator.swift:8:21: error: cannot find type 'NSLayoutXAxisAnchor' in scope
where AnchorType == NSLayoutXAxisAnchor, Anchor == NSLayoutXAxisAnchor {}
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/XAxisConstraintsGenerator.swift:8:52: error: cannot find type 'NSLayoutXAxisAnchor' in scope
where AnchorType == NSLayoutXAxisAnchor, Anchor == NSLayoutXAxisAnchor {}
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/AxisConstraintsGenerator.swift:16:28: error: cannot find type 'NSLayoutAnchor' in scope
associatedtype Anchor: NSLayoutAnchor<AnchorType>
^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/AxisConstraintsGenerator.swift:18:19: error: cannot find type 'NSLayoutConstraint' in scope
var relation: NSLayoutConstraint.Relation { get }
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/AxisConstraintsGenerator.swift:35:19: error: cannot find type 'CGFloat' in scope
var constant: CGFloat { get }
^~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/AxisConstraintsGenerator.swift:40:21: error: cannot find type 'NSLayoutConstraint' in scope
_ relation: NSLayoutConstraint.Relation,
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/AxisConstraintsGenerator.swift:42:19: error: cannot find type 'CGFloat' in scope
constant: CGFloat
^~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/Trailing.swift:7:15: error: type 'Trailing' does not conform to protocol 'XAxisConstraintsGenerator'
public struct Trailing: XAxisConstraintsGenerator {
^
/host/spi-builder-workspace/Sources/LayoutAid/Trailing.swift:7:15: error: type 'Trailing' does not conform to protocol 'AxisConstraintsGenerator'
public struct Trailing: XAxisConstraintsGenerator {
^
/host/spi-builder-workspace/Sources/LayoutAid/LayoutConstraintsGenerator.swift:9:19: error: cannot find type 'NSLayoutConstraint' in scope
var priority: NSLayoutConstraint.Priority { get set }
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/LayoutConstraintsGenerator.swift:11:52: error: cannot find type 'NSLayoutConstraint' in scope
func makeConstraints(for item: LayoutItem) -> [NSLayoutConstraint]
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/AxisConstraintsGenerator.swift:15:20: note: protocol requires nested type 'AnchorType'; add nested type 'AnchorType' for conformance
associatedtype AnchorType: AnyObject
^
/host/spi-builder-workspace/Sources/LayoutAid/AxisConstraintsGenerator.swift:16:20: note: protocol requires nested type 'Anchor'; add nested type 'Anchor' for conformance
associatedtype Anchor: NSLayoutAnchor<AnchorType>
^
/host/spi-builder-workspace/Sources/LayoutAid/View.swift:9:18: error: cannot find type 'LayoutAidView' in scope
public extension LayoutAidView {
^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/View.swift:10:32: error: cannot find type 'LayoutAidView' in scope
var ancestors: AnyIterator<LayoutAidView> {
^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/View.swift:24:33: error: cannot find type 'LayoutAidView' in scope
var decendants: AnyIterator<LayoutAidView> {
^~~~~~~~~~~~~
[30/30] Compiling LayoutAid View.swift
/host/spi-builder-workspace/Sources/LayoutAid/Trailing.swift:9:30: error: cannot find type 'NSLayoutXAxisAnchor' in scope
public var secondAnchor: NSLayoutXAxisAnchor
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/Trailing.swift:11:26: error: cannot find type 'NSLayoutConstraint' in scope
public var priority: NSLayoutConstraint.Priority = .required
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/Trailing.swift:13:26: error: cannot find type 'NSLayoutConstraint' in scope
public let relation: NSLayoutConstraint.Relation
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/Trailing.swift:42:26: error: cannot find type 'CGFloat' in scope
public let constant: CGFloat
^~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/Trailing.swift:44:29: error: cannot find type 'NSLayoutConstraint' in scope
public init(_ relation: NSLayoutConstraint.Relation, to secondAnchor: NSLayoutXAxisAnchor, constant: CGFloat) {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/Trailing.swift:44:75: error: cannot find type 'NSLayoutXAxisAnchor' in scope
public init(_ relation: NSLayoutConstraint.Relation, to secondAnchor: NSLayoutXAxisAnchor, constant: CGFloat) {
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/Trailing.swift:44:106: error: cannot find type 'CGFloat' in scope
public init(_ relation: NSLayoutConstraint.Relation, to secondAnchor: NSLayoutXAxisAnchor, constant: CGFloat) {
^~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/Trailing.swift:50:63: error: cannot find type 'NSLayoutXAxisAnchor' in scope
public static var firstAnchorKeyPath: KeyPath<LayoutItem, NSLayoutXAxisAnchor> = \.trailingAnchor
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/XAxisConstraintsGenerator.swift:8:21: error: cannot find type 'NSLayoutXAxisAnchor' in scope
where AnchorType == NSLayoutXAxisAnchor, Anchor == NSLayoutXAxisAnchor {}
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/XAxisConstraintsGenerator.swift:8:52: error: cannot find type 'NSLayoutXAxisAnchor' in scope
where AnchorType == NSLayoutXAxisAnchor, Anchor == NSLayoutXAxisAnchor {}
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/AxisConstraintsGenerator.swift:16:28: error: cannot find type 'NSLayoutAnchor' in scope
associatedtype Anchor: NSLayoutAnchor<AnchorType>
^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/AxisConstraintsGenerator.swift:18:19: error: cannot find type 'NSLayoutConstraint' in scope
var relation: NSLayoutConstraint.Relation { get }
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/AxisConstraintsGenerator.swift:35:19: error: cannot find type 'CGFloat' in scope
var constant: CGFloat { get }
^~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/AxisConstraintsGenerator.swift:40:21: error: cannot find type 'NSLayoutConstraint' in scope
_ relation: NSLayoutConstraint.Relation,
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/AxisConstraintsGenerator.swift:42:19: error: cannot find type 'CGFloat' in scope
constant: CGFloat
^~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/Trailing.swift:7:15: error: type 'Trailing' does not conform to protocol 'XAxisConstraintsGenerator'
public struct Trailing: XAxisConstraintsGenerator {
^
/host/spi-builder-workspace/Sources/LayoutAid/Trailing.swift:7:15: error: type 'Trailing' does not conform to protocol 'AxisConstraintsGenerator'
public struct Trailing: XAxisConstraintsGenerator {
^
/host/spi-builder-workspace/Sources/LayoutAid/LayoutConstraintsGenerator.swift:9:19: error: cannot find type 'NSLayoutConstraint' in scope
var priority: NSLayoutConstraint.Priority { get set }
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/LayoutConstraintsGenerator.swift:11:52: error: cannot find type 'NSLayoutConstraint' in scope
func makeConstraints(for item: LayoutItem) -> [NSLayoutConstraint]
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/AxisConstraintsGenerator.swift:15:20: note: protocol requires nested type 'AnchorType'; add nested type 'AnchorType' for conformance
associatedtype AnchorType: AnyObject
^
/host/spi-builder-workspace/Sources/LayoutAid/AxisConstraintsGenerator.swift:16:20: note: protocol requires nested type 'Anchor'; add nested type 'Anchor' for conformance
associatedtype Anchor: NSLayoutAnchor<AnchorType>
^
/host/spi-builder-workspace/Sources/LayoutAid/View.swift:9:18: error: cannot find type 'LayoutAidView' in scope
public extension LayoutAidView {
^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/View.swift:10:32: error: cannot find type 'LayoutAidView' in scope
var ancestors: AnyIterator<LayoutAidView> {
^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LayoutAid/View.swift:24:33: error: cannot find type 'LayoutAidView' in scope
var decendants: AnyIterator<LayoutAidView> {
^~~~~~~~~~~~~
error: fatalError
BUILD FAILURE 5.10 linux