Build Information
Failed to build Subviews, reference main (5449b8), with Swift 6.4 for watchOS using Xcode 27.0 on 19 Sep 2026 09:15:25 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme Subviews -destination generic/platform=watchOSBuild Log
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Internal/Align.swift:310:50: error: cannot find type 'NSLayoutConstraint' in scope
308 |
309 | /// Centers the view in the superview.
310 | @discardableResult internal func align() -> [NSLayoutConstraint] {
| `- error: cannot find type 'NSLayoutConstraint' in scope
311 | [x.align(), y.align()]
312 | }
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Internal/Align.swift:315:83: error: cannot find type 'NSLayoutConstraint' in scope
313 |
314 | /// Makes the axis equal to the other collection of axis.
315 | @discardableResult internal func align<Item: LayoutItem>(with item: Item) -> [NSLayoutConstraint] {
| `- error: cannot find type 'NSLayoutConstraint' in scope
316 | [x.equal(item.anchors.centerX), y.equal(item.anchors.centerY)]
317 | }
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Internal/Align.swift:315:50: error: cannot find type 'LayoutItem' in scope
313 |
314 | /// Makes the axis equal to the other collection of axis.
315 | @discardableResult internal func align<Item: LayoutItem>(with item: Item) -> [NSLayoutConstraint] {
| `- error: cannot find type 'LayoutItem' in scope
316 | [x.equal(item.anchors.centerX), y.equal(item.anchors.centerY)]
317 | }
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Internal/Align.swift:327:64: error: cannot find type 'NSLayoutConstraint' in scope
325 |
326 | /// Set the size of item.
327 | @discardableResult internal func equal(_ size: CGSize) -> [NSLayoutConstraint] {
| `- error: cannot find type 'NSLayoutConstraint' in scope
328 | [width.equal(size.width), height.equal(size.height)]
329 | }
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Internal/Align.swift:327:52: error: cannot find type 'CGSize' in scope
325 |
326 | /// Set the size of item.
327 | @discardableResult internal func equal(_ size: CGSize) -> [NSLayoutConstraint] {
| `- error: cannot find type 'CGSize' in scope
328 | [width.equal(size.width), height.equal(size.height)]
329 | }
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Internal/Align.swift:332:76: error: cannot find type 'NSLayoutConstraint' in scope
330 |
331 | /// Set the size of item.
332 | @discardableResult internal func greaterThanOrEqul(_ size: CGSize) -> [NSLayoutConstraint] {
| `- error: cannot find type 'NSLayoutConstraint' in scope
333 | [width.greaterThanOrEqual(size.width), height.greaterThanOrEqual(size.height)]
334 | }
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Internal/Align.swift:332:64: error: cannot find type 'CGSize' in scope
330 |
331 | /// Set the size of item.
332 | @discardableResult internal func greaterThanOrEqul(_ size: CGSize) -> [NSLayoutConstraint] {
| `- error: cannot find type 'CGSize' in scope
333 | [width.greaterThanOrEqual(size.width), height.greaterThanOrEqual(size.height)]
334 | }
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Internal/Align.swift:337:74: error: cannot find type 'NSLayoutConstraint' in scope
335 |
336 | /// Set the size of item.
337 | @discardableResult internal func lessThanOrEqual(_ size: CGSize) -> [NSLayoutConstraint] {
| `- error: cannot find type 'NSLayoutConstraint' in scope
338 | [width.lessThanOrEqual(size.width), height.lessThanOrEqual(size.height)]
339 | }
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Internal/Align.swift:337:62: error: cannot find type 'CGSize' in scope
335 |
336 | /// Set the size of item.
337 | @discardableResult internal func lessThanOrEqual(_ size: CGSize) -> [NSLayoutConstraint] {
| `- error: cannot find type 'CGSize' in scope
338 | [width.lessThanOrEqual(size.width), height.lessThanOrEqual(size.height)]
339 | }
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Internal/Align.swift:342:84: error: cannot find type 'CGSize' in scope
340 |
341 | /// Makes the size of the item equal to the size of the other item.
342 | @discardableResult internal func equal<Item: LayoutItem>(_ item: Item, insets: CGSize = .zero, multiplier: CGFloat = 1) -> [NSLayoutConstraint] {
| `- error: cannot find type 'CGSize' in scope
343 | [width.equal(item.anchors.width * multiplier - insets.width), height.equal(item.anchors.height * multiplier - insets.height)]
344 | }
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Internal/Align.swift:342:112: error: cannot find type 'CGFloat' in scope; did you mean to use 'CGFloat'?
340 |
341 | /// Makes the size of the item equal to the size of the other item.
342 | @discardableResult internal func equal<Item: LayoutItem>(_ item: Item, insets: CGSize = .zero, multiplier: CGFloat = 1) -> [NSLayoutConstraint] {
| `- error: cannot find type 'CGFloat' in scope; did you mean to use 'CGFloat'?
343 | [width.equal(item.anchors.width * multiplier - insets.width), height.equal(item.anchors.height * multiplier - insets.height)]
344 | }
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Internal/Align.swift:342:129: error: cannot find type 'NSLayoutConstraint' in scope
340 |
341 | /// Makes the size of the item equal to the size of the other item.
342 | @discardableResult internal func equal<Item: LayoutItem>(_ item: Item, insets: CGSize = .zero, multiplier: CGFloat = 1) -> [NSLayoutConstraint] {
| `- error: cannot find type 'NSLayoutConstraint' in scope
343 | [width.equal(item.anchors.width * multiplier - insets.width), height.equal(item.anchors.height * multiplier - insets.height)]
344 | }
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Internal/Align.swift:342:50: error: cannot find type 'LayoutItem' in scope
340 |
341 | /// Makes the size of the item equal to the size of the other item.
342 | @discardableResult internal func equal<Item: LayoutItem>(_ item: Item, insets: CGSize = .zero, multiplier: CGFloat = 1) -> [NSLayoutConstraint] {
| `- error: cannot find type 'LayoutItem' in scope
343 | [width.equal(item.anchors.width * multiplier - insets.width), height.equal(item.anchors.height * multiplier - insets.height)]
344 | }
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Internal/Align.swift:342:112: error: cannot find type 'CGFloat' in scope; did you mean to use 'CGFloat'?
340 |
341 | /// Makes the size of the item equal to the size of the other item.
342 | @discardableResult internal func equal<Item: LayoutItem>(_ item: Item, insets: CGSize = .zero, multiplier: CGFloat = 1) -> [NSLayoutConstraint] {
| `- error: cannot find type 'CGFloat' in scope; did you mean to use 'CGFloat'?
343 | [width.equal(item.anchors.width * multiplier - insets.width), height.equal(item.anchors.height * multiplier - insets.height)]
344 | }
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Internal/Align.swift:346:97: error: cannot find type 'CGSize' in scope
344 | }
345 |
346 | @discardableResult internal func greaterThanOrEqual<Item: LayoutItem>(_ item: Item, insets: CGSize = .zero, multiplier: CGFloat = 1) -> [NSLayoutConstraint] {
| `- error: cannot find type 'CGSize' in scope
347 | [width.greaterThanOrEqual(item.anchors.width * multiplier - insets.width), height.greaterThanOrEqual(item.anchors.height * multiplier - insets.height)]
348 | }
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Internal/Align.swift:346:125: error: cannot find type 'CGFloat' in scope; did you mean to use 'CGFloat'?
344 | }
345 |
346 | @discardableResult internal func greaterThanOrEqual<Item: LayoutItem>(_ item: Item, insets: CGSize = .zero, multiplier: CGFloat = 1) -> [NSLayoutConstraint] {
| `- error: cannot find type 'CGFloat' in scope; did you mean to use 'CGFloat'?
347 | [width.greaterThanOrEqual(item.anchors.width * multiplier - insets.width), height.greaterThanOrEqual(item.anchors.height * multiplier - insets.height)]
348 | }
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Internal/Align.swift:346:142: error: cannot find type 'NSLayoutConstraint' in scope
344 | }
345 |
346 | @discardableResult internal func greaterThanOrEqual<Item: LayoutItem>(_ item: Item, insets: CGSize = .zero, multiplier: CGFloat = 1) -> [NSLayoutConstraint] {
| `- error: cannot find type 'NSLayoutConstraint' in scope
347 | [width.greaterThanOrEqual(item.anchors.width * multiplier - insets.width), height.greaterThanOrEqual(item.anchors.height * multiplier - insets.height)]
348 | }
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Internal/Align.swift:346:63: error: cannot find type 'LayoutItem' in scope
344 | }
345 |
346 | @discardableResult internal func greaterThanOrEqual<Item: LayoutItem>(_ item: Item, insets: CGSize = .zero, multiplier: CGFloat = 1) -> [NSLayoutConstraint] {
| `- error: cannot find type 'LayoutItem' in scope
347 | [width.greaterThanOrEqual(item.anchors.width * multiplier - insets.width), height.greaterThanOrEqual(item.anchors.height * multiplier - insets.height)]
348 | }
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Internal/Align.swift:346:125: error: cannot find type 'CGFloat' in scope; did you mean to use 'CGFloat'?
344 | }
345 |
346 | @discardableResult internal func greaterThanOrEqual<Item: LayoutItem>(_ item: Item, insets: CGSize = .zero, multiplier: CGFloat = 1) -> [NSLayoutConstraint] {
| `- error: cannot find type 'CGFloat' in scope; did you mean to use 'CGFloat'?
347 | [width.greaterThanOrEqual(item.anchors.width * multiplier - insets.width), height.greaterThanOrEqual(item.anchors.height * multiplier - insets.height)]
348 | }
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Internal/Align.swift:350:94: error: cannot find type 'CGSize' in scope
348 | }
349 |
350 | @discardableResult internal func lessThanOrEqual<Item: LayoutItem>(_ item: Item, insets: CGSize = .zero, multiplier: CGFloat = 1) -> [NSLayoutConstraint] {
| `- error: cannot find type 'CGSize' in scope
351 | [width.lessThanOrEqual(item.anchors.width * multiplier - insets.width), height.lessThanOrEqual(item.anchors.height * multiplier - insets.height)]
352 | }
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Internal/Align.swift:350:122: error: cannot find type 'CGFloat' in scope; did you mean to use 'CGFloat'?
348 | }
349 |
350 | @discardableResult internal func lessThanOrEqual<Item: LayoutItem>(_ item: Item, insets: CGSize = .zero, multiplier: CGFloat = 1) -> [NSLayoutConstraint] {
| `- error: cannot find type 'CGFloat' in scope; did you mean to use 'CGFloat'?
351 | [width.lessThanOrEqual(item.anchors.width * multiplier - insets.width), height.lessThanOrEqual(item.anchors.height * multiplier - insets.height)]
352 | }
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Internal/Align.swift:350:139: error: cannot find type 'NSLayoutConstraint' in scope
348 | }
349 |
350 | @discardableResult internal func lessThanOrEqual<Item: LayoutItem>(_ item: Item, insets: CGSize = .zero, multiplier: CGFloat = 1) -> [NSLayoutConstraint] {
| `- error: cannot find type 'NSLayoutConstraint' in scope
351 | [width.lessThanOrEqual(item.anchors.width * multiplier - insets.width), height.lessThanOrEqual(item.anchors.height * multiplier - insets.height)]
352 | }
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Internal/Align.swift:350:60: error: cannot find type 'LayoutItem' in scope
348 | }
349 |
350 | @discardableResult internal func lessThanOrEqual<Item: LayoutItem>(_ item: Item, insets: CGSize = .zero, multiplier: CGFloat = 1) -> [NSLayoutConstraint] {
| `- error: cannot find type 'LayoutItem' in scope
351 | [width.lessThanOrEqual(item.anchors.width * multiplier - insets.width), height.lessThanOrEqual(item.anchors.height * multiplier - insets.height)]
352 | }
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Internal/Align.swift:350:122: error: cannot find type 'CGFloat' in scope; did you mean to use 'CGFloat'?
348 | }
349 |
350 | @discardableResult internal func lessThanOrEqual<Item: LayoutItem>(_ item: Item, insets: CGSize = .zero, multiplier: CGFloat = 1) -> [NSLayoutConstraint] {
| `- error: cannot find type 'CGFloat' in scope; did you mean to use 'CGFloat'?
351 | [width.lessThanOrEqual(item.anchors.width * multiplier - insets.width), height.lessThanOrEqual(item.anchors.height * multiplier - insets.height)]
352 | }
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Internal/Align.swift:359:46: error: cannot find 'NSLayoutConstraint' in scope
357 | internal final class Constraints {
358 | /// Returns all of the created constraints.
359 | internal private(set) var constraints = [NSLayoutConstraint]()
| `- error: cannot find 'NSLayoutConstraint' in scope
360 |
361 | /// All of the constraints created in the given closure are automatically
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Internal/Align.swift:359:45: error: cannot call value of non-function type '[Element]'
357 | internal final class Constraints {
358 | /// Returns all of the created constraints.
359 | internal private(set) var constraints = [NSLayoutConstraint]()
| `- error: cannot call value of non-function type '[Element]'
360 |
361 | /// All of the constraints created in the given closure are automatically
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Internal/Align.swift:376:292: error: cannot find type 'NSLayoutConstraint' in scope
374 |
375 | /// Creates and automatically installs a constraint.
376 | fileprivate static func constrain(item item1: Any, attribute attr1: NSLayoutConstraint.Attribute, relatedBy relation: NSLayoutConstraint.Relation = .equal, toItem item2: Any? = nil, attribute attr2: NSLayoutConstraint.Attribute? = nil, multiplier: CGFloat = 1, constant: CGFloat = 0) -> NSLayoutConstraint {
| `- error: cannot find type 'NSLayoutConstraint' in scope
377 | precondition(Thread.isMainThread, "Align APIs can only be used from the main thread")
378 | #if os(iOS) || os(tvOS)
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Internal/Align.swift:376:73: error: cannot find type 'NSLayoutConstraint' in scope
374 |
375 | /// Creates and automatically installs a constraint.
376 | fileprivate static func constrain(item item1: Any, attribute attr1: NSLayoutConstraint.Attribute, relatedBy relation: NSLayoutConstraint.Relation = .equal, toItem item2: Any? = nil, attribute attr2: NSLayoutConstraint.Attribute? = nil, multiplier: CGFloat = 1, constant: CGFloat = 0) -> NSLayoutConstraint {
| `- error: cannot find type 'NSLayoutConstraint' in scope
377 | precondition(Thread.isMainThread, "Align APIs can only be used from the main thread")
378 | #if os(iOS) || os(tvOS)
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Internal/Align.swift:376:123: error: cannot find type 'NSLayoutConstraint' in scope
374 |
375 | /// Creates and automatically installs a constraint.
376 | fileprivate static func constrain(item item1: Any, attribute attr1: NSLayoutConstraint.Attribute, relatedBy relation: NSLayoutConstraint.Relation = .equal, toItem item2: Any? = nil, attribute attr2: NSLayoutConstraint.Attribute? = nil, multiplier: CGFloat = 1, constant: CGFloat = 0) -> NSLayoutConstraint {
| `- error: cannot find type 'NSLayoutConstraint' in scope
377 | precondition(Thread.isMainThread, "Align APIs can only be used from the main thread")
378 | #if os(iOS) || os(tvOS)
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Internal/Align.swift:376:204: error: cannot find type 'NSLayoutConstraint' in scope
374 |
375 | /// Creates and automatically installs a constraint.
376 | fileprivate static func constrain(item item1: Any, attribute attr1: NSLayoutConstraint.Attribute, relatedBy relation: NSLayoutConstraint.Relation = .equal, toItem item2: Any? = nil, attribute attr2: NSLayoutConstraint.Attribute? = nil, multiplier: CGFloat = 1, constant: CGFloat = 0) -> NSLayoutConstraint {
| `- error: cannot find type 'NSLayoutConstraint' in scope
377 | precondition(Thread.isMainThread, "Align APIs can only be used from the main thread")
378 | #if os(iOS) || os(tvOS)
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Internal/Align.swift:376:253: error: cannot find type 'CGFloat' in scope; did you mean to use 'CGFloat'?
374 |
375 | /// Creates and automatically installs a constraint.
376 | fileprivate static func constrain(item item1: Any, attribute attr1: NSLayoutConstraint.Attribute, relatedBy relation: NSLayoutConstraint.Relation = .equal, toItem item2: Any? = nil, attribute attr2: NSLayoutConstraint.Attribute? = nil, multiplier: CGFloat = 1, constant: CGFloat = 0) -> NSLayoutConstraint {
| `- error: cannot find type 'CGFloat' in scope; did you mean to use 'CGFloat'?
377 | precondition(Thread.isMainThread, "Align APIs can only be used from the main thread")
378 | #if os(iOS) || os(tvOS)
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Internal/Align.swift:376:276: error: cannot find type 'CGFloat' in scope; did you mean to use 'CGFloat'?
374 |
375 | /// Creates and automatically installs a constraint.
376 | fileprivate static func constrain(item item1: Any, attribute attr1: NSLayoutConstraint.Attribute, relatedBy relation: NSLayoutConstraint.Relation = .equal, toItem item2: Any? = nil, attribute attr2: NSLayoutConstraint.Attribute? = nil, multiplier: CGFloat = 1, constant: CGFloat = 0) -> NSLayoutConstraint {
| `- error: cannot find type 'CGFloat' in scope; did you mean to use 'CGFloat'?
377 | precondition(Thread.isMainThread, "Align APIs can only be used from the main thread")
378 | #if os(iOS) || os(tvOS)
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Internal/Align.swift:389:111: error: cannot find type 'CGFloat' in scope; did you mean to use 'CGFloat'?
387 |
388 | /// Creates and automatically installs a constraint between two anchors.
389 | fileprivate static func constrain<T1, A1, T2, A2>(_ lhs: Anchor<T1, A1>, _ rhs: Anchor<T2, A2>, constant: CGFloat = 0, multiplier: CGFloat = 1, relation: NSLayoutConstraint.Relation = .equal) -> NSLayoutConstraint {
| `- error: cannot find type 'CGFloat' in scope; did you mean to use 'CGFloat'?
390 | constrain(item: lhs.item, attribute: lhs.attribute, relatedBy: relation, toItem: rhs.item, attribute: rhs.attribute, multiplier: (multiplier / lhs.multiplier) * rhs.multiplier, constant: constant - lhs.offset + rhs.offset)
391 | }
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Internal/Align.swift:389:136: error: cannot find type 'CGFloat' in scope; did you mean to use 'CGFloat'?
387 |
388 | /// Creates and automatically installs a constraint between two anchors.
389 | fileprivate static func constrain<T1, A1, T2, A2>(_ lhs: Anchor<T1, A1>, _ rhs: Anchor<T2, A2>, constant: CGFloat = 0, multiplier: CGFloat = 1, relation: NSLayoutConstraint.Relation = .equal) -> NSLayoutConstraint {
| `- error: cannot find type 'CGFloat' in scope; did you mean to use 'CGFloat'?
390 | constrain(item: lhs.item, attribute: lhs.attribute, relatedBy: relation, toItem: rhs.item, attribute: rhs.attribute, multiplier: (multiplier / lhs.multiplier) * rhs.multiplier, constant: constant - lhs.offset + rhs.offset)
391 | }
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Internal/Align.swift:389:159: error: cannot find type 'NSLayoutConstraint' in scope
387 |
388 | /// Creates and automatically installs a constraint between two anchors.
389 | fileprivate static func constrain<T1, A1, T2, A2>(_ lhs: Anchor<T1, A1>, _ rhs: Anchor<T2, A2>, constant: CGFloat = 0, multiplier: CGFloat = 1, relation: NSLayoutConstraint.Relation = .equal) -> NSLayoutConstraint {
| `- error: cannot find type 'NSLayoutConstraint' in scope
390 | constrain(item: lhs.item, attribute: lhs.attribute, relatedBy: relation, toItem: rhs.item, attribute: rhs.attribute, multiplier: (multiplier / lhs.multiplier) * rhs.multiplier, constant: constant - lhs.offset + rhs.offset)
391 | }
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Internal/Align.swift:389:200: error: cannot find type 'NSLayoutConstraint' in scope
387 |
388 | /// Creates and automatically installs a constraint between two anchors.
389 | fileprivate static func constrain<T1, A1, T2, A2>(_ lhs: Anchor<T1, A1>, _ rhs: Anchor<T2, A2>, constant: CGFloat = 0, multiplier: CGFloat = 1, relation: NSLayoutConstraint.Relation = .equal) -> NSLayoutConstraint {
| `- error: cannot find type 'NSLayoutConstraint' in scope
390 | constrain(item: lhs.item, attribute: lhs.attribute, relatedBy: relation, toItem: rhs.item, attribute: rhs.attribute, multiplier: (multiplier / lhs.multiplier) * rhs.multiplier, constant: constant - lhs.offset + rhs.offset)
391 | }
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Internal/Align.swift:389:111: error: cannot find type 'CGFloat' in scope; did you mean to use 'CGFloat'?
387 |
388 | /// Creates and automatically installs a constraint between two anchors.
389 | fileprivate static func constrain<T1, A1, T2, A2>(_ lhs: Anchor<T1, A1>, _ rhs: Anchor<T2, A2>, constant: CGFloat = 0, multiplier: CGFloat = 1, relation: NSLayoutConstraint.Relation = .equal) -> NSLayoutConstraint {
| `- error: cannot find type 'CGFloat' in scope; did you mean to use 'CGFloat'?
390 | constrain(item: lhs.item, attribute: lhs.attribute, relatedBy: relation, toItem: rhs.item, attribute: rhs.attribute, multiplier: (multiplier / lhs.multiplier) * rhs.multiplier, constant: constant - lhs.offset + rhs.offset)
391 | }
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Internal/Align.swift:389:136: error: cannot find type 'CGFloat' in scope; did you mean to use 'CGFloat'?
387 |
388 | /// Creates and automatically installs a constraint between two anchors.
389 | fileprivate static func constrain<T1, A1, T2, A2>(_ lhs: Anchor<T1, A1>, _ rhs: Anchor<T2, A2>, constant: CGFloat = 0, multiplier: CGFloat = 1, relation: NSLayoutConstraint.Relation = .equal) -> NSLayoutConstraint {
| `- error: cannot find type 'CGFloat' in scope; did you mean to use 'CGFloat'?
390 | constrain(item: lhs.item, attribute: lhs.attribute, relatedBy: relation, toItem: rhs.item, attribute: rhs.attribute, multiplier: (multiplier / lhs.multiplier) * rhs.multiplier, constant: constant - lhs.offset + rhs.offset)
391 | }
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Internal/Align.swift:395:107: error: cannot find type 'NSLayoutConstraint' in scope
393 | /// Creates and automatically installs a constraint between an anchor and
394 | /// a given item.
395 | fileprivate static func constrain<T1, A1>(_ lhs: Anchor<T1, A1>, toItem item2: Any?, attribute attr2: NSLayoutConstraint.Attribute?, constant: CGFloat = 0, multiplier: CGFloat = 1, relation: NSLayoutConstraint.Relation = .equal) -> NSLayoutConstraint {
| `- error: cannot find type 'NSLayoutConstraint' in scope
396 | constrain(item: lhs.item, attribute: lhs.attribute, relatedBy: relation, toItem: item2, attribute: attr2, multiplier: multiplier / lhs.multiplier, constant: constant - lhs.offset)
397 | }
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Internal/Align.swift:395:148: error: cannot find type 'CGFloat' in scope; did you mean to use 'CGFloat'?
393 | /// Creates and automatically installs a constraint between an anchor and
394 | /// a given item.
395 | fileprivate static func constrain<T1, A1>(_ lhs: Anchor<T1, A1>, toItem item2: Any?, attribute attr2: NSLayoutConstraint.Attribute?, constant: CGFloat = 0, multiplier: CGFloat = 1, relation: NSLayoutConstraint.Relation = .equal) -> NSLayoutConstraint {
| `- error: cannot find type 'CGFloat' in scope; did you mean to use 'CGFloat'?
396 | constrain(item: lhs.item, attribute: lhs.attribute, relatedBy: relation, toItem: item2, attribute: attr2, multiplier: multiplier / lhs.multiplier, constant: constant - lhs.offset)
397 | }
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Internal/Align.swift:395:173: error: cannot find type 'CGFloat' in scope; did you mean to use 'CGFloat'?
393 | /// Creates and automatically installs a constraint between an anchor and
394 | /// a given item.
395 | fileprivate static func constrain<T1, A1>(_ lhs: Anchor<T1, A1>, toItem item2: Any?, attribute attr2: NSLayoutConstraint.Attribute?, constant: CGFloat = 0, multiplier: CGFloat = 1, relation: NSLayoutConstraint.Relation = .equal) -> NSLayoutConstraint {
| `- error: cannot find type 'CGFloat' in scope; did you mean to use 'CGFloat'?
396 | constrain(item: lhs.item, attribute: lhs.attribute, relatedBy: relation, toItem: item2, attribute: attr2, multiplier: multiplier / lhs.multiplier, constant: constant - lhs.offset)
397 | }
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Internal/Align.swift:395:196: error: cannot find type 'NSLayoutConstraint' in scope
393 | /// Creates and automatically installs a constraint between an anchor and
394 | /// a given item.
395 | fileprivate static func constrain<T1, A1>(_ lhs: Anchor<T1, A1>, toItem item2: Any?, attribute attr2: NSLayoutConstraint.Attribute?, constant: CGFloat = 0, multiplier: CGFloat = 1, relation: NSLayoutConstraint.Relation = .equal) -> NSLayoutConstraint {
| `- error: cannot find type 'NSLayoutConstraint' in scope
396 | constrain(item: lhs.item, attribute: lhs.attribute, relatedBy: relation, toItem: item2, attribute: attr2, multiplier: multiplier / lhs.multiplier, constant: constant - lhs.offset)
397 | }
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Internal/Align.swift:395:237: error: cannot find type 'NSLayoutConstraint' in scope
393 | /// Creates and automatically installs a constraint between an anchor and
394 | /// a given item.
395 | fileprivate static func constrain<T1, A1>(_ lhs: Anchor<T1, A1>, toItem item2: Any?, attribute attr2: NSLayoutConstraint.Attribute?, constant: CGFloat = 0, multiplier: CGFloat = 1, relation: NSLayoutConstraint.Relation = .equal) -> NSLayoutConstraint {
| `- error: cannot find type 'NSLayoutConstraint' in scope
396 | constrain(item: lhs.item, attribute: lhs.attribute, relatedBy: relation, toItem: item2, attribute: attr2, multiplier: multiplier / lhs.multiplier, constant: constant - lhs.offset)
397 | }
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Internal/Align.swift:395:148: error: cannot find type 'CGFloat' in scope; did you mean to use 'CGFloat'?
393 | /// Creates and automatically installs a constraint between an anchor and
394 | /// a given item.
395 | fileprivate static func constrain<T1, A1>(_ lhs: Anchor<T1, A1>, toItem item2: Any?, attribute attr2: NSLayoutConstraint.Attribute?, constant: CGFloat = 0, multiplier: CGFloat = 1, relation: NSLayoutConstraint.Relation = .equal) -> NSLayoutConstraint {
| `- error: cannot find type 'CGFloat' in scope; did you mean to use 'CGFloat'?
396 | constrain(item: lhs.item, attribute: lhs.attribute, relatedBy: relation, toItem: item2, attribute: attr2, multiplier: multiplier / lhs.multiplier, constant: constant - lhs.offset)
397 | }
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Internal/Align.swift:395:173: error: cannot find type 'CGFloat' in scope; did you mean to use 'CGFloat'?
393 | /// Creates and automatically installs a constraint between an anchor and
394 | /// a given item.
395 | fileprivate static func constrain<T1, A1>(_ lhs: Anchor<T1, A1>, toItem item2: Any?, attribute attr2: NSLayoutConstraint.Attribute?, constant: CGFloat = 0, multiplier: CGFloat = 1, relation: NSLayoutConstraint.Relation = .equal) -> NSLayoutConstraint {
| `- error: cannot find type 'CGFloat' in scope; did you mean to use 'CGFloat'?
396 | constrain(item: lhs.item, attribute: lhs.attribute, relatedBy: relation, toItem: item2, attribute: attr2, multiplier: multiplier / lhs.multiplier, constant: constant - lhs.offset)
397 | }
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Internal/Align.swift:401:48: error: cannot find type 'NSLayoutConstraint' in scope
399 | private static var _stack = [Constraints]() // this is what enabled constraint auto-installing
400 |
401 | private static func _install(_ constraint: NSLayoutConstraint) {
| `- error: cannot find type 'NSLayoutConstraint' in scope
402 | if let group = _stack.last {
403 | group.constraints.append(constraint)
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Internal/Align.swift:411:53: error: cannot find type 'LayoutItem' in scope
409 |
410 | extension Constraints {
411 | @discardableResult internal convenience init<A: LayoutItem>(for a: A, _ closure: (LayoutAnchors<A>) -> Void) {
| `- error: cannot find type 'LayoutItem' in scope
412 | self.init { closure(a.anchors) }
413 | }
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Internal/Align.swift:415:53: error: cannot find type 'LayoutItem' in scope
413 | }
414 |
415 | @discardableResult internal convenience init<A: LayoutItem, B: LayoutItem>(for a: A, _ b: B, _ closure: (LayoutAnchors<A>, LayoutAnchors<B>) -> Void) {
| `- error: cannot find type 'LayoutItem' in scope
416 | self.init { closure(a.anchors, b.anchors) }
417 | }
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Internal/Align.swift:415:68: error: cannot find type 'LayoutItem' in scope
413 | }
414 |
415 | @discardableResult internal convenience init<A: LayoutItem, B: LayoutItem>(for a: A, _ b: B, _ closure: (LayoutAnchors<A>, LayoutAnchors<B>) -> Void) {
| `- error: cannot find type 'LayoutItem' in scope
416 | self.init { closure(a.anchors, b.anchors) }
417 | }
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Internal/Align.swift:419:53: error: cannot find type 'LayoutItem' in scope
417 | }
418 |
419 | @discardableResult internal convenience init<A: LayoutItem, B: LayoutItem, C: LayoutItem>(for a: A, _ b: B, _ c: C, _ closure: (LayoutAnchors<A>, LayoutAnchors<B>, LayoutAnchors<C>) -> Void) {
| `- error: cannot find type 'LayoutItem' in scope
420 | self.init { closure(a.anchors, b.anchors, c.anchors) }
421 | }
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Internal/Align.swift:419:68: error: cannot find type 'LayoutItem' in scope
417 | }
418 |
419 | @discardableResult internal convenience init<A: LayoutItem, B: LayoutItem, C: LayoutItem>(for a: A, _ b: B, _ c: C, _ closure: (LayoutAnchors<A>, LayoutAnchors<B>, LayoutAnchors<C>) -> Void) {
| `- error: cannot find type 'LayoutItem' in scope
420 | self.init { closure(a.anchors, b.anchors, c.anchors) }
421 | }
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Internal/Align.swift:419:83: error: cannot find type 'LayoutItem' in scope
417 | }
418 |
419 | @discardableResult internal convenience init<A: LayoutItem, B: LayoutItem, C: LayoutItem>(for a: A, _ b: B, _ c: C, _ closure: (LayoutAnchors<A>, LayoutAnchors<B>, LayoutAnchors<C>) -> Void) {
| `- error: cannot find type 'LayoutItem' in scope
420 | self.init { closure(a.anchors, b.anchors, c.anchors) }
421 | }
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Internal/Align.swift:423:53: error: cannot find type 'LayoutItem' in scope
421 | }
422 |
423 | @discardableResult internal convenience init<A: LayoutItem, B: LayoutItem, C: LayoutItem, D: LayoutItem>(for a: A, _ b: B, _ c: C, _ d: D, _ closure: (LayoutAnchors<A>, LayoutAnchors<B>, LayoutAnchors<C>, LayoutAnchors<D>) -> Void) {
| `- error: cannot find type 'LayoutItem' in scope
424 | self.init { closure(a.anchors, b.anchors, c.anchors, d.anchors) }
425 | }
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Internal/Align.swift:423:68: error: cannot find type 'LayoutItem' in scope
421 | }
422 |
423 | @discardableResult internal convenience init<A: LayoutItem, B: LayoutItem, C: LayoutItem, D: LayoutItem>(for a: A, _ b: B, _ c: C, _ d: D, _ closure: (LayoutAnchors<A>, LayoutAnchors<B>, LayoutAnchors<C>, LayoutAnchors<D>) -> Void) {
| `- error: cannot find type 'LayoutItem' in scope
424 | self.init { closure(a.anchors, b.anchors, c.anchors, d.anchors) }
425 | }
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Internal/Align.swift:423:83: error: cannot find type 'LayoutItem' in scope
421 | }
422 |
423 | @discardableResult internal convenience init<A: LayoutItem, B: LayoutItem, C: LayoutItem, D: LayoutItem>(for a: A, _ b: B, _ c: C, _ d: D, _ closure: (LayoutAnchors<A>, LayoutAnchors<B>, LayoutAnchors<C>, LayoutAnchors<D>) -> Void) {
| `- error: cannot find type 'LayoutItem' in scope
424 | self.init { closure(a.anchors, b.anchors, c.anchors, d.anchors) }
425 | }
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Internal/Align.swift:423:98: error: cannot find type 'LayoutItem' in scope
421 | }
422 |
423 | @discardableResult internal convenience init<A: LayoutItem, B: LayoutItem, C: LayoutItem, D: LayoutItem>(for a: A, _ b: B, _ c: C, _ d: D, _ closure: (LayoutAnchors<A>, LayoutAnchors<B>, LayoutAnchors<C>, LayoutAnchors<D>) -> Void) {
| `- error: cannot find type 'LayoutItem' in scope
424 | self.init { closure(a.anchors, b.anchors, c.anchors, d.anchors) }
425 | }
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Internal/Align.swift:440:11: error: cannot find type 'NSLayoutConstraint' in scope
438 | #endif
439 |
440 | extension NSLayoutConstraint.Relation {
| `- error: cannot find type 'NSLayoutConstraint' in scope
441 | fileprivate var inverted: NSLayoutConstraint.Relation {
442 | switch self {
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Internal/Align.swift:451:11: error: cannot find type 'EdgeInsets' in scope
449 | }
450 |
451 | extension EdgeInsets {
| `- error: cannot find type 'EdgeInsets' in scope
452 | fileprivate func inset(for attribute: NSLayoutConstraint.Attribute, edge: Bool = false) -> CGFloat {
453 | switch attribute {
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Internal/Align.swift:465:73: error: cannot find type 'NSLayoutConstraint' in scope
463 |
464 | extension Anchor where Type: AnchorType.Edge {
465 | @discardableResult internal func safeAreaPin(inset: CGFloat = 0) -> NSLayoutConstraint {
| `- error: cannot find type 'NSLayoutConstraint' in scope
466 | pin(to: item.superview!.safeAreaLayoutGuide, inset: inset)
467 | }
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Internal/Align.swift:465:57: error: cannot find type 'CGFloat' in scope; did you mean to use 'CGFloat'?
463 |
464 | extension Anchor where Type: AnchorType.Edge {
465 | @discardableResult internal func safeAreaPin(inset: CGFloat = 0) -> NSLayoutConstraint {
| `- error: cannot find type 'CGFloat' in scope; did you mean to use 'CGFloat'?
466 | pin(to: item.superview!.safeAreaLayoutGuide, inset: inset)
467 | }
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Internal/Align.swift:469:80: error: cannot find type 'NSLayoutConstraint' in scope
467 | }
468 |
469 | @discardableResult internal func readableContentPin(inset: CGFloat = 0) -> NSLayoutConstraint {
| `- error: cannot find type 'NSLayoutConstraint' in scope
470 | pin(to: item.superview!.readableContentGuide, inset: inset)
471 | }
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Internal/Align.swift:469:64: error: cannot find type 'CGFloat' in scope; did you mean to use 'CGFloat'?
467 | }
468 |
469 | @discardableResult internal func readableContentPin(inset: CGFloat = 0) -> NSLayoutConstraint {
| `- error: cannot find type 'CGFloat' in scope; did you mean to use 'CGFloat'?
470 | pin(to: item.superview!.readableContentGuide, inset: inset)
471 | }
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Internal/Align.swift:473:72: error: cannot find type 'NSLayoutConstraint' in scope
471 | }
472 |
473 | @discardableResult internal func marginsPin(inset: CGFloat = 0) -> NSLayoutConstraint {
| `- error: cannot find type 'NSLayoutConstraint' in scope
474 | pin(to: item.superview!.layoutMarginsGuide, inset: inset)
475 | }
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Internal/Align.swift:473:56: error: cannot find type 'CGFloat' in scope; did you mean to use 'CGFloat'?
471 | }
472 |
473 | @discardableResult internal func marginsPin(inset: CGFloat = 0) -> NSLayoutConstraint {
| `- error: cannot find type 'CGFloat' in scope; did you mean to use 'CGFloat'?
474 | pin(to: item.superview!.layoutMarginsGuide, inset: inset)
475 | }
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Internal/Align.swift:479:113: error: cannot find type 'NSLayoutConstraint' in scope
477 |
478 | extension AnchorCollectionEdges {
479 | @discardableResult internal func safeAreaPin(insets: EdgeInsets = .zero, alignment: Alignmment = .fill) -> [NSLayoutConstraint] {
| `- error: cannot find type 'NSLayoutConstraint' in scope
480 | pin(to: item.superview!.safeAreaLayoutGuide, insets: insets, alignment: alignment)
481 | }
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Internal/Align.swift:479:58: error: cannot find type 'EdgeInsets' in scope
477 |
478 | extension AnchorCollectionEdges {
479 | @discardableResult internal func safeAreaPin(insets: EdgeInsets = .zero, alignment: Alignmment = .fill) -> [NSLayoutConstraint] {
| `- error: cannot find type 'EdgeInsets' in scope
480 | pin(to: item.superview!.safeAreaLayoutGuide, insets: insets, alignment: alignment)
481 | }
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Internal/Align.swift:483:120: error: cannot find type 'NSLayoutConstraint' in scope
481 | }
482 |
483 | @discardableResult internal func readableContentPin(insets: EdgeInsets = .zero, alignment: Alignmment = .fill) -> [NSLayoutConstraint] {
| `- error: cannot find type 'NSLayoutConstraint' in scope
484 | pin(to: item.superview!.readableContentGuide, insets: insets, alignment: alignment)
485 | }
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Internal/Align.swift:483:65: error: cannot find type 'EdgeInsets' in scope
481 | }
482 |
483 | @discardableResult internal func readableContentPin(insets: EdgeInsets = .zero, alignment: Alignmment = .fill) -> [NSLayoutConstraint] {
| `- error: cannot find type 'EdgeInsets' in scope
484 | pin(to: item.superview!.readableContentGuide, insets: insets, alignment: alignment)
485 | }
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Internal/Align.swift:487:112: error: cannot find type 'NSLayoutConstraint' in scope
485 | }
486 |
487 | @discardableResult internal func marginsPin(insets: EdgeInsets = .zero, alignment: Alignmment = .fill) -> [NSLayoutConstraint] {
| `- error: cannot find type 'NSLayoutConstraint' in scope
488 | pin(to: item.superview!.layoutMarginsGuide, insets: insets, alignment: alignment)
489 | }
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Internal/Align.swift:487:57: error: cannot find type 'EdgeInsets' in scope
485 | }
486 |
487 | @discardableResult internal func marginsPin(insets: EdgeInsets = .zero, alignment: Alignmment = .fill) -> [NSLayoutConstraint] {
| `- error: cannot find type 'EdgeInsets' in scope
488 | pin(to: item.superview!.layoutMarginsGuide, insets: insets, alignment: alignment)
489 | }
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Internal/Align.swift:494:126: error: cannot find type 'NSLayoutConstraint' in scope
492 | extension AnchorCollectionEdges {
493 | @available(*, deprecated, message: "Use .horizontal or .vertical before calling .pin instead of specifying axis")
494 | @discardableResult internal func safeAreaPin(insets: EdgeInsets = .zero, axis: Axis?, alignment: Alignmment = .fill) -> [NSLayoutConstraint] {
| `- error: cannot find type 'NSLayoutConstraint' in scope
495 | pin(to: item.superview!.safeAreaLayoutGuide, insets: insets, axis: axis, alignment: alignment)
496 | }
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Internal/Align.swift:494:58: error: cannot find type 'EdgeInsets' in scope
492 | extension AnchorCollectionEdges {
493 | @available(*, deprecated, message: "Use .horizontal or .vertical before calling .pin instead of specifying axis")
494 | @discardableResult internal func safeAreaPin(insets: EdgeInsets = .zero, axis: Axis?, alignment: Alignmment = .fill) -> [NSLayoutConstraint] {
| `- error: cannot find type 'EdgeInsets' in scope
495 | pin(to: item.superview!.safeAreaLayoutGuide, insets: insets, axis: axis, alignment: alignment)
496 | }
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Internal/Align.swift:499:133: error: cannot find type 'NSLayoutConstraint' in scope
497 |
498 | @available(*, deprecated, message: "Use .horizontal or .vertical before calling .pin instead of specifying axis")
499 | @discardableResult internal func readableContentPin(insets: EdgeInsets = .zero, axis: Axis?, alignment: Alignmment = .fill) -> [NSLayoutConstraint] {
| `- error: cannot find type 'NSLayoutConstraint' in scope
500 | pin(to: item.superview!.readableContentGuide, insets: insets, axis: axis, alignment: alignment)
501 | }
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Internal/Align.swift:499:65: error: cannot find type 'EdgeInsets' in scope
497 |
498 | @available(*, deprecated, message: "Use .horizontal or .vertical before calling .pin instead of specifying axis")
499 | @discardableResult internal func readableContentPin(insets: EdgeInsets = .zero, axis: Axis?, alignment: Alignmment = .fill) -> [NSLayoutConstraint] {
| `- error: cannot find type 'EdgeInsets' in scope
500 | pin(to: item.superview!.readableContentGuide, insets: insets, axis: axis, alignment: alignment)
501 | }
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Internal/Align.swift:504:125: error: cannot find type 'NSLayoutConstraint' in scope
502 |
503 | @available(*, deprecated, message: "Use .horizontal or .vertical before calling .pin instead of specifying axis")
504 | @discardableResult internal func marginsPin(insets: EdgeInsets = .zero, axis: Axis?, alignment: Alignmment = .fill) -> [NSLayoutConstraint] {
| `- error: cannot find type 'NSLayoutConstraint' in scope
505 | pin(to: item.superview!.layoutMarginsGuide, insets: insets, axis: axis, alignment: alignment)
506 | }
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Internal/Align.swift:504:57: error: cannot find type 'EdgeInsets' in scope
502 |
503 | @available(*, deprecated, message: "Use .horizontal or .vertical before calling .pin instead of specifying axis")
504 | @discardableResult internal func marginsPin(insets: EdgeInsets = .zero, axis: Axis?, alignment: Alignmment = .fill) -> [NSLayoutConstraint] {
| `- error: cannot find type 'EdgeInsets' in scope
505 | pin(to: item.superview!.layoutMarginsGuide, insets: insets, axis: axis, alignment: alignment)
506 | }
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Internal/Align.swift:47:61: error: generic parameter 'Type' could not be inferred
45 | // MARK: Anchors
46 |
47 | var top: Anchor<AnchorType.Edge, AnchorAxis.Vertical> { Anchor(base, .top) }
| `- error: generic parameter 'Type' could not be inferred
48 | var bottom: Anchor<AnchorType.Edge, AnchorAxis.Vertical> { Anchor(base, .bottom) }
49 | var left: Anchor<AnchorType.Edge, AnchorAxis.Horizontal> { Anchor(base, .left) }
:
97 | /// An anchor represents one of the view's layout attributes (e.g. `left`,
98 | /// `centerX`, `width`, etc). Use the anchor’s methods to construct constraints.
99 | internal struct Anchor<Type, Axis> { // type and axis are phantom types
| `- note: 'Type' declared as parameter to type 'Anchor'
100 | let item: LayoutItem
101 | fileprivate let attribute: NSLayoutConstraint.Attribute
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Internal/Align.swift:47:61: error: generic parameter 'Axis' could not be inferred
45 | // MARK: Anchors
46 |
47 | var top: Anchor<AnchorType.Edge, AnchorAxis.Vertical> { Anchor(base, .top) }
| |- error: generic parameter 'Axis' could not be inferred
| `- note: explicitly specify the generic arguments to fix this issue
48 | var bottom: Anchor<AnchorType.Edge, AnchorAxis.Vertical> { Anchor(base, .bottom) }
49 | var left: Anchor<AnchorType.Edge, AnchorAxis.Horizontal> { Anchor(base, .left) }
:
97 | /// An anchor represents one of the view's layout attributes (e.g. `left`,
98 | /// `centerX`, `width`, etc). Use the anchor’s methods to construct constraints.
99 | internal struct Anchor<Type, Axis> { // type and axis are phantom types
| `- note: 'Axis' declared as parameter to type 'Anchor'
100 | let item: LayoutItem
101 | fileprivate let attribute: NSLayoutConstraint.Attribute
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Internal/Align.swift:48:64: error: generic parameter 'Type' could not be inferred
46 |
47 | var top: Anchor<AnchorType.Edge, AnchorAxis.Vertical> { Anchor(base, .top) }
48 | var bottom: Anchor<AnchorType.Edge, AnchorAxis.Vertical> { Anchor(base, .bottom) }
| `- error: generic parameter 'Type' could not be inferred
49 | var left: Anchor<AnchorType.Edge, AnchorAxis.Horizontal> { Anchor(base, .left) }
50 | var right: Anchor<AnchorType.Edge, AnchorAxis.Horizontal> { Anchor(base, .right) }
:
97 | /// An anchor represents one of the view's layout attributes (e.g. `left`,
98 | /// `centerX`, `width`, etc). Use the anchor’s methods to construct constraints.
99 | internal struct Anchor<Type, Axis> { // type and axis are phantom types
| `- note: 'Type' declared as parameter to type 'Anchor'
100 | let item: LayoutItem
101 | fileprivate let attribute: NSLayoutConstraint.Attribute
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Internal/Align.swift:48:64: error: generic parameter 'Axis' could not be inferred
46 |
47 | var top: Anchor<AnchorType.Edge, AnchorAxis.Vertical> { Anchor(base, .top) }
48 | var bottom: Anchor<AnchorType.Edge, AnchorAxis.Vertical> { Anchor(base, .bottom) }
| |- error: generic parameter 'Axis' could not be inferred
| `- note: explicitly specify the generic arguments to fix this issue
49 | var left: Anchor<AnchorType.Edge, AnchorAxis.Horizontal> { Anchor(base, .left) }
50 | var right: Anchor<AnchorType.Edge, AnchorAxis.Horizontal> { Anchor(base, .right) }
:
97 | /// An anchor represents one of the view's layout attributes (e.g. `left`,
98 | /// `centerX`, `width`, etc). Use the anchor’s methods to construct constraints.
99 | internal struct Anchor<Type, Axis> { // type and axis are phantom types
| `- note: 'Axis' declared as parameter to type 'Anchor'
100 | let item: LayoutItem
101 | fileprivate let attribute: NSLayoutConstraint.Attribute
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Internal/Align.swift:49:64: error: generic parameter 'Type' could not be inferred
47 | var top: Anchor<AnchorType.Edge, AnchorAxis.Vertical> { Anchor(base, .top) }
48 | var bottom: Anchor<AnchorType.Edge, AnchorAxis.Vertical> { Anchor(base, .bottom) }
49 | var left: Anchor<AnchorType.Edge, AnchorAxis.Horizontal> { Anchor(base, .left) }
| `- error: generic parameter 'Type' could not be inferred
50 | var right: Anchor<AnchorType.Edge, AnchorAxis.Horizontal> { Anchor(base, .right) }
51 | var leading: Anchor<AnchorType.Edge, AnchorAxis.Horizontal> { Anchor(base, .leading) }
:
97 | /// An anchor represents one of the view's layout attributes (e.g. `left`,
98 | /// `centerX`, `width`, etc). Use the anchor’s methods to construct constraints.
99 | internal struct Anchor<Type, Axis> { // type and axis are phantom types
| `- note: 'Type' declared as parameter to type 'Anchor'
100 | let item: LayoutItem
101 | fileprivate let attribute: NSLayoutConstraint.Attribute
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Internal/Align.swift:49:64: error: generic parameter 'Axis' could not be inferred
47 | var top: Anchor<AnchorType.Edge, AnchorAxis.Vertical> { Anchor(base, .top) }
48 | var bottom: Anchor<AnchorType.Edge, AnchorAxis.Vertical> { Anchor(base, .bottom) }
49 | var left: Anchor<AnchorType.Edge, AnchorAxis.Horizontal> { Anchor(base, .left) }
| |- error: generic parameter 'Axis' could not be inferred
| `- note: explicitly specify the generic arguments to fix this issue
50 | var right: Anchor<AnchorType.Edge, AnchorAxis.Horizontal> { Anchor(base, .right) }
51 | var leading: Anchor<AnchorType.Edge, AnchorAxis.Horizontal> { Anchor(base, .leading) }
:
97 | /// An anchor represents one of the view's layout attributes (e.g. `left`,
98 | /// `centerX`, `width`, etc). Use the anchor’s methods to construct constraints.
99 | internal struct Anchor<Type, Axis> { // type and axis are phantom types
| `- note: 'Axis' declared as parameter to type 'Anchor'
100 | let item: LayoutItem
101 | fileprivate let attribute: NSLayoutConstraint.Attribute
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Internal/Align.swift:50:65: error: generic parameter 'Type' could not be inferred
48 | var bottom: Anchor<AnchorType.Edge, AnchorAxis.Vertical> { Anchor(base, .bottom) }
49 | var left: Anchor<AnchorType.Edge, AnchorAxis.Horizontal> { Anchor(base, .left) }
50 | var right: Anchor<AnchorType.Edge, AnchorAxis.Horizontal> { Anchor(base, .right) }
| `- error: generic parameter 'Type' could not be inferred
51 | var leading: Anchor<AnchorType.Edge, AnchorAxis.Horizontal> { Anchor(base, .leading) }
52 | var trailing: Anchor<AnchorType.Edge, AnchorAxis.Horizontal> { Anchor(base, .trailing) }
:
97 | /// An anchor represents one of the view's layout attributes (e.g. `left`,
98 | /// `centerX`, `width`, etc). Use the anchor’s methods to construct constraints.
99 | internal struct Anchor<Type, Axis> { // type and axis are phantom types
| `- note: 'Type' declared as parameter to type 'Anchor'
100 | let item: LayoutItem
101 | fileprivate let attribute: NSLayoutConstraint.Attribute
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Internal/Align.swift:50:65: error: generic parameter 'Axis' could not be inferred
48 | var bottom: Anchor<AnchorType.Edge, AnchorAxis.Vertical> { Anchor(base, .bottom) }
49 | var left: Anchor<AnchorType.Edge, AnchorAxis.Horizontal> { Anchor(base, .left) }
50 | var right: Anchor<AnchorType.Edge, AnchorAxis.Horizontal> { Anchor(base, .right) }
| |- error: generic parameter 'Axis' could not be inferred
| `- note: explicitly specify the generic arguments to fix this issue
51 | var leading: Anchor<AnchorType.Edge, AnchorAxis.Horizontal> { Anchor(base, .leading) }
52 | var trailing: Anchor<AnchorType.Edge, AnchorAxis.Horizontal> { Anchor(base, .trailing) }
:
97 | /// An anchor represents one of the view's layout attributes (e.g. `left`,
98 | /// `centerX`, `width`, etc). Use the anchor’s methods to construct constraints.
99 | internal struct Anchor<Type, Axis> { // type and axis are phantom types
| `- note: 'Axis' declared as parameter to type 'Anchor'
100 | let item: LayoutItem
101 | fileprivate let attribute: NSLayoutConstraint.Attribute
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Internal/Align.swift:51:67: error: generic parameter 'Type' could not be inferred
49 | var left: Anchor<AnchorType.Edge, AnchorAxis.Horizontal> { Anchor(base, .left) }
50 | var right: Anchor<AnchorType.Edge, AnchorAxis.Horizontal> { Anchor(base, .right) }
51 | var leading: Anchor<AnchorType.Edge, AnchorAxis.Horizontal> { Anchor(base, .leading) }
| `- error: generic parameter 'Type' could not be inferred
52 | var trailing: Anchor<AnchorType.Edge, AnchorAxis.Horizontal> { Anchor(base, .trailing) }
53 |
:
97 | /// An anchor represents one of the view's layout attributes (e.g. `left`,
98 | /// `centerX`, `width`, etc). Use the anchor’s methods to construct constraints.
99 | internal struct Anchor<Type, Axis> { // type and axis are phantom types
| `- note: 'Type' declared as parameter to type 'Anchor'
100 | let item: LayoutItem
101 | fileprivate let attribute: NSLayoutConstraint.Attribute
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Internal/Align.swift:51:67: error: generic parameter 'Axis' could not be inferred
49 | var left: Anchor<AnchorType.Edge, AnchorAxis.Horizontal> { Anchor(base, .left) }
50 | var right: Anchor<AnchorType.Edge, AnchorAxis.Horizontal> { Anchor(base, .right) }
51 | var leading: Anchor<AnchorType.Edge, AnchorAxis.Horizontal> { Anchor(base, .leading) }
| |- error: generic parameter 'Axis' could not be inferred
| `- note: explicitly specify the generic arguments to fix this issue
52 | var trailing: Anchor<AnchorType.Edge, AnchorAxis.Horizontal> { Anchor(base, .trailing) }
53 |
:
97 | /// An anchor represents one of the view's layout attributes (e.g. `left`,
98 | /// `centerX`, `width`, etc). Use the anchor’s methods to construct constraints.
99 | internal struct Anchor<Type, Axis> { // type and axis are phantom types
| `- note: 'Axis' declared as parameter to type 'Anchor'
100 | let item: LayoutItem
101 | fileprivate let attribute: NSLayoutConstraint.Attribute
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Internal/Align.swift:52:68: error: generic parameter 'Type' could not be inferred
50 | var right: Anchor<AnchorType.Edge, AnchorAxis.Horizontal> { Anchor(base, .right) }
51 | var leading: Anchor<AnchorType.Edge, AnchorAxis.Horizontal> { Anchor(base, .leading) }
52 | var trailing: Anchor<AnchorType.Edge, AnchorAxis.Horizontal> { Anchor(base, .trailing) }
| `- error: generic parameter 'Type' could not be inferred
53 |
54 | var centerX: Anchor<AnchorType.Center, AnchorAxis.Horizontal> { Anchor(base, .centerX) }
:
97 | /// An anchor represents one of the view's layout attributes (e.g. `left`,
98 | /// `centerX`, `width`, etc). Use the anchor’s methods to construct constraints.
99 | internal struct Anchor<Type, Axis> { // type and axis are phantom types
| `- note: 'Type' declared as parameter to type 'Anchor'
100 | let item: LayoutItem
101 | fileprivate let attribute: NSLayoutConstraint.Attribute
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Internal/Align.swift:52:68: error: generic parameter 'Axis' could not be inferred
50 | var right: Anchor<AnchorType.Edge, AnchorAxis.Horizontal> { Anchor(base, .right) }
51 | var leading: Anchor<AnchorType.Edge, AnchorAxis.Horizontal> { Anchor(base, .leading) }
52 | var trailing: Anchor<AnchorType.Edge, AnchorAxis.Horizontal> { Anchor(base, .trailing) }
| |- error: generic parameter 'Axis' could not be inferred
| `- note: explicitly specify the generic arguments to fix this issue
53 |
54 | var centerX: Anchor<AnchorType.Center, AnchorAxis.Horizontal> { Anchor(base, .centerX) }
:
97 | /// An anchor represents one of the view's layout attributes (e.g. `left`,
98 | /// `centerX`, `width`, etc). Use the anchor’s methods to construct constraints.
99 | internal struct Anchor<Type, Axis> { // type and axis are phantom types
| `- note: 'Axis' declared as parameter to type 'Anchor'
100 | let item: LayoutItem
101 | fileprivate let attribute: NSLayoutConstraint.Attribute
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Internal/Align.swift:54:69: error: generic parameter 'Type' could not be inferred
52 | var trailing: Anchor<AnchorType.Edge, AnchorAxis.Horizontal> { Anchor(base, .trailing) }
53 |
54 | var centerX: Anchor<AnchorType.Center, AnchorAxis.Horizontal> { Anchor(base, .centerX) }
| `- error: generic parameter 'Type' could not be inferred
55 | var centerY: Anchor<AnchorType.Center, AnchorAxis.Vertical> { Anchor(base, .centerY) }
56 |
:
97 | /// An anchor represents one of the view's layout attributes (e.g. `left`,
98 | /// `centerX`, `width`, etc). Use the anchor’s methods to construct constraints.
99 | internal struct Anchor<Type, Axis> { // type and axis are phantom types
| `- note: 'Type' declared as parameter to type 'Anchor'
100 | let item: LayoutItem
101 | fileprivate let attribute: NSLayoutConstraint.Attribute
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Internal/Align.swift:54:69: error: generic parameter 'Axis' could not be inferred
52 | var trailing: Anchor<AnchorType.Edge, AnchorAxis.Horizontal> { Anchor(base, .trailing) }
53 |
54 | var centerX: Anchor<AnchorType.Center, AnchorAxis.Horizontal> { Anchor(base, .centerX) }
| |- error: generic parameter 'Axis' could not be inferred
| `- note: explicitly specify the generic arguments to fix this issue
55 | var centerY: Anchor<AnchorType.Center, AnchorAxis.Vertical> { Anchor(base, .centerY) }
56 |
:
97 | /// An anchor represents one of the view's layout attributes (e.g. `left`,
98 | /// `centerX`, `width`, etc). Use the anchor’s methods to construct constraints.
99 | internal struct Anchor<Type, Axis> { // type and axis are phantom types
| `- note: 'Axis' declared as parameter to type 'Anchor'
100 | let item: LayoutItem
101 | fileprivate let attribute: NSLayoutConstraint.Attribute
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Internal/Align.swift:55:67: error: generic parameter 'Type' could not be inferred
53 |
54 | var centerX: Anchor<AnchorType.Center, AnchorAxis.Horizontal> { Anchor(base, .centerX) }
55 | var centerY: Anchor<AnchorType.Center, AnchorAxis.Vertical> { Anchor(base, .centerY) }
| `- error: generic parameter 'Type' could not be inferred
56 |
57 | var firstBaseline: Anchor<AnchorType.Baseline, AnchorAxis.Vertical> { Anchor(base, .firstBaseline) }
:
97 | /// An anchor represents one of the view's layout attributes (e.g. `left`,
98 | /// `centerX`, `width`, etc). Use the anchor’s methods to construct constraints.
99 | internal struct Anchor<Type, Axis> { // type and axis are phantom types
| `- note: 'Type' declared as parameter to type 'Anchor'
100 | let item: LayoutItem
101 | fileprivate let attribute: NSLayoutConstraint.Attribute
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Internal/Align.swift:55:67: error: generic parameter 'Axis' could not be inferred
53 |
54 | var centerX: Anchor<AnchorType.Center, AnchorAxis.Horizontal> { Anchor(base, .centerX) }
55 | var centerY: Anchor<AnchorType.Center, AnchorAxis.Vertical> { Anchor(base, .centerY) }
| |- error: generic parameter 'Axis' could not be inferred
| `- note: explicitly specify the generic arguments to fix this issue
56 |
57 | var firstBaseline: Anchor<AnchorType.Baseline, AnchorAxis.Vertical> { Anchor(base, .firstBaseline) }
:
97 | /// An anchor represents one of the view's layout attributes (e.g. `left`,
98 | /// `centerX`, `width`, etc). Use the anchor’s methods to construct constraints.
99 | internal struct Anchor<Type, Axis> { // type and axis are phantom types
| `- note: 'Axis' declared as parameter to type 'Anchor'
100 | let item: LayoutItem
101 | fileprivate let attribute: NSLayoutConstraint.Attribute
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Internal/Align.swift:57:75: error: generic parameter 'Type' could not be inferred
55 | var centerY: Anchor<AnchorType.Center, AnchorAxis.Vertical> { Anchor(base, .centerY) }
56 |
57 | var firstBaseline: Anchor<AnchorType.Baseline, AnchorAxis.Vertical> { Anchor(base, .firstBaseline) }
| `- error: generic parameter 'Type' could not be inferred
58 | var lastBaseline: Anchor<AnchorType.Baseline, AnchorAxis.Vertical> { Anchor(base, .lastBaseline) }
59 |
:
97 | /// An anchor represents one of the view's layout attributes (e.g. `left`,
98 | /// `centerX`, `width`, etc). Use the anchor’s methods to construct constraints.
99 | internal struct Anchor<Type, Axis> { // type and axis are phantom types
| `- note: 'Type' declared as parameter to type 'Anchor'
100 | let item: LayoutItem
101 | fileprivate let attribute: NSLayoutConstraint.Attribute
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Internal/Align.swift:57:75: error: generic parameter 'Axis' could not be inferred
55 | var centerY: Anchor<AnchorType.Center, AnchorAxis.Vertical> { Anchor(base, .centerY) }
56 |
57 | var firstBaseline: Anchor<AnchorType.Baseline, AnchorAxis.Vertical> { Anchor(base, .firstBaseline) }
| |- error: generic parameter 'Axis' could not be inferred
| `- note: explicitly specify the generic arguments to fix this issue
58 | var lastBaseline: Anchor<AnchorType.Baseline, AnchorAxis.Vertical> { Anchor(base, .lastBaseline) }
59 |
:
97 | /// An anchor represents one of the view's layout attributes (e.g. `left`,
98 | /// `centerX`, `width`, etc). Use the anchor’s methods to construct constraints.
99 | internal struct Anchor<Type, Axis> { // type and axis are phantom types
| `- note: 'Axis' declared as parameter to type 'Anchor'
100 | let item: LayoutItem
101 | fileprivate let attribute: NSLayoutConstraint.Attribute
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Internal/Align.swift:58:74: error: generic parameter 'Type' could not be inferred
56 |
57 | var firstBaseline: Anchor<AnchorType.Baseline, AnchorAxis.Vertical> { Anchor(base, .firstBaseline) }
58 | var lastBaseline: Anchor<AnchorType.Baseline, AnchorAxis.Vertical> { Anchor(base, .lastBaseline) }
| `- error: generic parameter 'Type' could not be inferred
59 |
60 | var width: Anchor<AnchorType.Dimension, AnchorAxis.Horizontal> { Anchor(base, .width) }
:
97 | /// An anchor represents one of the view's layout attributes (e.g. `left`,
98 | /// `centerX`, `width`, etc). Use the anchor’s methods to construct constraints.
99 | internal struct Anchor<Type, Axis> { // type and axis are phantom types
| `- note: 'Type' declared as parameter to type 'Anchor'
100 | let item: LayoutItem
101 | fileprivate let attribute: NSLayoutConstraint.Attribute
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Internal/Align.swift:58:74: error: generic parameter 'Axis' could not be inferred
56 |
57 | var firstBaseline: Anchor<AnchorType.Baseline, AnchorAxis.Vertical> { Anchor(base, .firstBaseline) }
58 | var lastBaseline: Anchor<AnchorType.Baseline, AnchorAxis.Vertical> { Anchor(base, .lastBaseline) }
| |- error: generic parameter 'Axis' could not be inferred
| `- note: explicitly specify the generic arguments to fix this issue
59 |
60 | var width: Anchor<AnchorType.Dimension, AnchorAxis.Horizontal> { Anchor(base, .width) }
:
97 | /// An anchor represents one of the view's layout attributes (e.g. `left`,
98 | /// `centerX`, `width`, etc). Use the anchor’s methods to construct constraints.
99 | internal struct Anchor<Type, Axis> { // type and axis are phantom types
| `- note: 'Axis' declared as parameter to type 'Anchor'
100 | let item: LayoutItem
101 | fileprivate let attribute: NSLayoutConstraint.Attribute
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Internal/Align.swift:60:70: error: generic parameter 'Type' could not be inferred
58 | var lastBaseline: Anchor<AnchorType.Baseline, AnchorAxis.Vertical> { Anchor(base, .lastBaseline) }
59 |
60 | var width: Anchor<AnchorType.Dimension, AnchorAxis.Horizontal> { Anchor(base, .width) }
| `- error: generic parameter 'Type' could not be inferred
61 | var height: Anchor<AnchorType.Dimension, AnchorAxis.Vertical> { Anchor(base, .height) }
62 |
:
97 | /// An anchor represents one of the view's layout attributes (e.g. `left`,
98 | /// `centerX`, `width`, etc). Use the anchor’s methods to construct constraints.
99 | internal struct Anchor<Type, Axis> { // type and axis are phantom types
| `- note: 'Type' declared as parameter to type 'Anchor'
100 | let item: LayoutItem
101 | fileprivate let attribute: NSLayoutConstraint.Attribute
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Internal/Align.swift:60:70: error: generic parameter 'Axis' could not be inferred
58 | var lastBaseline: Anchor<AnchorType.Baseline, AnchorAxis.Vertical> { Anchor(base, .lastBaseline) }
59 |
60 | var width: Anchor<AnchorType.Dimension, AnchorAxis.Horizontal> { Anchor(base, .width) }
| |- error: generic parameter 'Axis' could not be inferred
| `- note: explicitly specify the generic arguments to fix this issue
61 | var height: Anchor<AnchorType.Dimension, AnchorAxis.Vertical> { Anchor(base, .height) }
62 |
:
97 | /// An anchor represents one of the view's layout attributes (e.g. `left`,
98 | /// `centerX`, `width`, etc). Use the anchor’s methods to construct constraints.
99 | internal struct Anchor<Type, Axis> { // type and axis are phantom types
| `- note: 'Axis' declared as parameter to type 'Anchor'
100 | let item: LayoutItem
101 | fileprivate let attribute: NSLayoutConstraint.Attribute
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Internal/Align.swift:61:69: error: generic parameter 'Type' could not be inferred
59 |
60 | var width: Anchor<AnchorType.Dimension, AnchorAxis.Horizontal> { Anchor(base, .width) }
61 | var height: Anchor<AnchorType.Dimension, AnchorAxis.Vertical> { Anchor(base, .height) }
| `- error: generic parameter 'Type' could not be inferred
62 |
63 | // MARK: Anchor Collections
:
97 | /// An anchor represents one of the view's layout attributes (e.g. `left`,
98 | /// `centerX`, `width`, etc). Use the anchor’s methods to construct constraints.
99 | internal struct Anchor<Type, Axis> { // type and axis are phantom types
| `- note: 'Type' declared as parameter to type 'Anchor'
100 | let item: LayoutItem
101 | fileprivate let attribute: NSLayoutConstraint.Attribute
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Internal/Align.swift:61:69: error: generic parameter 'Axis' could not be inferred
59 |
60 | var width: Anchor<AnchorType.Dimension, AnchorAxis.Horizontal> { Anchor(base, .width) }
61 | var height: Anchor<AnchorType.Dimension, AnchorAxis.Vertical> { Anchor(base, .height) }
| |- error: generic parameter 'Axis' could not be inferred
| `- note: explicitly specify the generic arguments to fix this issue
62 |
63 | // MARK: Anchor Collections
:
97 | /// An anchor represents one of the view's layout attributes (e.g. `left`,
98 | /// `centerX`, `width`, etc). Use the anchor’s methods to construct constraints.
99 | internal struct Anchor<Type, Axis> { // type and axis are phantom types
| `- note: 'Axis' declared as parameter to type 'Anchor'
100 | let item: LayoutItem
101 | fileprivate let attribute: NSLayoutConstraint.Attribute
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Internal/Align.swift:189:55: error: failed to produce diagnostic for expression; please submit a bug report (https://swift.org/contributing/#reporting-bugs)
187 | /// Pins the edge to the respected edges of the given container.
188 | @discardableResult internal func pin(to container: LayoutItem?, inset: CGFloat = 0) -> NSLayoutConstraint {
189 | let isInverted = [.trailing, .right, .bottom].contains(attribute)
| `- error: failed to produce diagnostic for expression; please submit a bug report (https://swift.org/contributing/#reporting-bugs)
190 | return Constraints.constrain(self, toItem: container ?? item.superview!, attribute: attribute, constant: (isInverted ? -inset : inset))
191 | }
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Internal/Align.swift:268:19: error: cannot find type 'NSLayoutConstraint' in scope
266 | @discardableResult internal func pin(to item2: LayoutItem? = nil, insets: EdgeInsets = .zero, alignment: Alignmment = .fill) -> [NSLayoutConstraint] {
267 | let item2 = item2 ?? item.superview!
268 | let left: NSLayoutConstraint.Attribute = isAbsolute ? .left : .leading
| `- error: cannot find type 'NSLayoutConstraint' in scope
269 | let right: NSLayoutConstraint.Attribute = isAbsolute ? .right : .trailing
270 | var constraints = [NSLayoutConstraint]()
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Internal/Align.swift:269:20: error: cannot find type 'NSLayoutConstraint' in scope
267 | let item2 = item2 ?? item.superview!
268 | let left: NSLayoutConstraint.Attribute = isAbsolute ? .left : .leading
269 | let right: NSLayoutConstraint.Attribute = isAbsolute ? .right : .trailing
| `- error: cannot find type 'NSLayoutConstraint' in scope
270 | var constraints = [NSLayoutConstraint]()
271 |
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Internal/Align.swift:270:28: error: cannot find 'NSLayoutConstraint' in scope
268 | let left: NSLayoutConstraint.Attribute = isAbsolute ? .left : .leading
269 | let right: NSLayoutConstraint.Attribute = isAbsolute ? .right : .trailing
270 | var constraints = [NSLayoutConstraint]()
| `- error: cannot find 'NSLayoutConstraint' in scope
271 |
272 | func constrain(attribute: NSLayoutConstraint.Attribute, relation: NSLayoutConstraint.Relation, constant: CGFloat) {
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Internal/Align.swift:270:27: error: cannot call value of non-function type '[Element]'
268 | let left: NSLayoutConstraint.Attribute = isAbsolute ? .left : .leading
269 | let right: NSLayoutConstraint.Attribute = isAbsolute ? .right : .trailing
270 | var constraints = [NSLayoutConstraint]()
| `- error: cannot call value of non-function type '[Element]'
271 |
272 | func constrain(attribute: NSLayoutConstraint.Attribute, relation: NSLayoutConstraint.Relation, constant: CGFloat) {
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Internal/Align.swift:272:35: error: cannot find type 'NSLayoutConstraint' in scope
270 | var constraints = [NSLayoutConstraint]()
271 |
272 | func constrain(attribute: NSLayoutConstraint.Attribute, relation: NSLayoutConstraint.Relation, constant: CGFloat) {
| `- error: cannot find type 'NSLayoutConstraint' in scope
273 | constraints.append(Constraints.constrain(item: item, attribute: attribute, relatedBy: relation, toItem: item2, attribute: attribute, multiplier: 1, constant: constant))
274 | }
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Internal/Align.swift:272:75: error: cannot find type 'NSLayoutConstraint' in scope
270 | var constraints = [NSLayoutConstraint]()
271 |
272 | func constrain(attribute: NSLayoutConstraint.Attribute, relation: NSLayoutConstraint.Relation, constant: CGFloat) {
| `- error: cannot find type 'NSLayoutConstraint' in scope
273 | constraints.append(Constraints.constrain(item: item, attribute: attribute, relatedBy: relation, toItem: item2, attribute: attribute, multiplier: 1, constant: constant))
274 | }
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Internal/Align.swift:272:114: error: cannot find type 'CGFloat' in scope; did you mean to use 'CGFloat'?
270 | var constraints = [NSLayoutConstraint]()
271 |
272 | func constrain(attribute: NSLayoutConstraint.Attribute, relation: NSLayoutConstraint.Relation, constant: CGFloat) {
| `- error: cannot find type 'CGFloat' in scope; did you mean to use 'CGFloat'?
273 | constraints.append(Constraints.constrain(item: item, attribute: attribute, relatedBy: relation, toItem: item2, attribute: attribute, multiplier: 1, constant: constant))
274 | }
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Internal/Align.swift:316:23: error: value of type 'Item' has no member 'anchors'
314 | /// Makes the axis equal to the other collection of axis.
315 | @discardableResult internal func align<Item: LayoutItem>(with item: Item) -> [NSLayoutConstraint] {
316 | [x.equal(item.anchors.centerX), y.equal(item.anchors.centerY)]
| `- error: value of type 'Item' has no member 'anchors'
317 | }
318 | }
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Internal/Align.swift:316:54: error: value of type 'Item' has no member 'anchors'
314 | /// Makes the axis equal to the other collection of axis.
315 | @discardableResult internal func align<Item: LayoutItem>(with item: Item) -> [NSLayoutConstraint] {
316 | [x.equal(item.anchors.centerX), y.equal(item.anchors.centerY)]
| `- error: value of type 'Item' has no member 'anchors'
317 | }
318 | }
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Internal/Align.swift:343:27: error: value of type 'Item' has no member 'anchors'
341 | /// Makes the size of the item equal to the size of the other item.
342 | @discardableResult internal func equal<Item: LayoutItem>(_ item: Item, insets: CGSize = .zero, multiplier: CGFloat = 1) -> [NSLayoutConstraint] {
343 | [width.equal(item.anchors.width * multiplier - insets.width), height.equal(item.anchors.height * multiplier - insets.height)]
| `- error: value of type 'Item' has no member 'anchors'
344 | }
345 |
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Internal/Align.swift:343:89: error: value of type 'Item' has no member 'anchors'
341 | /// Makes the size of the item equal to the size of the other item.
342 | @discardableResult internal func equal<Item: LayoutItem>(_ item: Item, insets: CGSize = .zero, multiplier: CGFloat = 1) -> [NSLayoutConstraint] {
343 | [width.equal(item.anchors.width * multiplier - insets.width), height.equal(item.anchors.height * multiplier - insets.height)]
| `- error: value of type 'Item' has no member 'anchors'
344 | }
345 |
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Internal/Align.swift:347:40: error: value of type 'Item' has no member 'anchors'
345 |
346 | @discardableResult internal func greaterThanOrEqual<Item: LayoutItem>(_ item: Item, insets: CGSize = .zero, multiplier: CGFloat = 1) -> [NSLayoutConstraint] {
347 | [width.greaterThanOrEqual(item.anchors.width * multiplier - insets.width), height.greaterThanOrEqual(item.anchors.height * multiplier - insets.height)]
| `- error: value of type 'Item' has no member 'anchors'
348 | }
349 |
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Internal/Align.swift:347:115: error: value of type 'Item' has no member 'anchors'
345 |
346 | @discardableResult internal func greaterThanOrEqual<Item: LayoutItem>(_ item: Item, insets: CGSize = .zero, multiplier: CGFloat = 1) -> [NSLayoutConstraint] {
347 | [width.greaterThanOrEqual(item.anchors.width * multiplier - insets.width), height.greaterThanOrEqual(item.anchors.height * multiplier - insets.height)]
| `- error: value of type 'Item' has no member 'anchors'
348 | }
349 |
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Internal/Align.swift:351:37: error: value of type 'Item' has no member 'anchors'
349 |
350 | @discardableResult internal func lessThanOrEqual<Item: LayoutItem>(_ item: Item, insets: CGSize = .zero, multiplier: CGFloat = 1) -> [NSLayoutConstraint] {
351 | [width.lessThanOrEqual(item.anchors.width * multiplier - insets.width), height.lessThanOrEqual(item.anchors.height * multiplier - insets.height)]
| `- error: value of type 'Item' has no member 'anchors'
352 | }
353 | }
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Internal/Align.swift:351:109: error: value of type 'Item' has no member 'anchors'
349 |
350 | @discardableResult internal func lessThanOrEqual<Item: LayoutItem>(_ item: Item, insets: CGSize = .zero, multiplier: CGFloat = 1) -> [NSLayoutConstraint] {
351 | [width.lessThanOrEqual(item.anchors.width * multiplier - insets.width), height.lessThanOrEqual(item.anchors.height * multiplier - insets.height)]
| `- error: value of type 'Item' has no member 'anchors'
352 | }
353 | }
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Internal/Align.swift:372:23: error: cannot find 'NSLayoutConstraint' in scope
370 | closure() // create constraints
371 | Constraints._stack.removeLast()
372 | if activate { NSLayoutConstraint.activate(constraints) }
| `- error: cannot find 'NSLayoutConstraint' in scope
373 | }
374 |
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Internal/Align.swift:377:22: error: cannot find 'Thread' in scope
375 | /// Creates and automatically installs a constraint.
376 | fileprivate static func constrain(item item1: Any, attribute attr1: NSLayoutConstraint.Attribute, relatedBy relation: NSLayoutConstraint.Relation = .equal, toItem item2: Any? = nil, attribute attr2: NSLayoutConstraint.Attribute? = nil, multiplier: CGFloat = 1, constant: CGFloat = 0) -> NSLayoutConstraint {
377 | precondition(Thread.isMainThread, "Align APIs can only be used from the main thread")
| `- error: cannot find 'Thread' in scope
378 | #if os(iOS) || os(tvOS)
379 | (item1 as? UIView)?.translatesAutoresizingMaskIntoConstraints = false
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Internal/Align.swift:383:26: error: cannot find 'NSLayoutConstraint' in scope
381 | (item1 as? NSView)?.translatesAutoresizingMaskIntoConstraints = false
382 | #endif
383 | let constraint = NSLayoutConstraint(item: item1, attribute: attr1, relatedBy: relation, toItem: item2, attribute: attr2 ?? .notAnAttribute, multiplier: multiplier, constant: constant)
| `- error: cannot find 'NSLayoutConstraint' in scope
384 | _install(constraint)
385 | return constraint
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Internal/Align.swift:412:31: error: value of type 'A' has no member 'anchors'
410 | extension Constraints {
411 | @discardableResult internal convenience init<A: LayoutItem>(for a: A, _ closure: (LayoutAnchors<A>) -> Void) {
412 | self.init { closure(a.anchors) }
| `- error: value of type 'A' has no member 'anchors'
413 | }
414 |
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Internal/Align.swift:416:31: error: value of type 'A' has no member 'anchors'
414 |
415 | @discardableResult internal convenience init<A: LayoutItem, B: LayoutItem>(for a: A, _ b: B, _ closure: (LayoutAnchors<A>, LayoutAnchors<B>) -> Void) {
416 | self.init { closure(a.anchors, b.anchors) }
| `- error: value of type 'A' has no member 'anchors'
417 | }
418 |
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Internal/Align.swift:416:42: error: value of type 'B' has no member 'anchors'
414 |
415 | @discardableResult internal convenience init<A: LayoutItem, B: LayoutItem>(for a: A, _ b: B, _ closure: (LayoutAnchors<A>, LayoutAnchors<B>) -> Void) {
416 | self.init { closure(a.anchors, b.anchors) }
| `- error: value of type 'B' has no member 'anchors'
417 | }
418 |
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Internal/Align.swift:420:31: error: value of type 'A' has no member 'anchors'
418 |
419 | @discardableResult internal convenience init<A: LayoutItem, B: LayoutItem, C: LayoutItem>(for a: A, _ b: B, _ c: C, _ closure: (LayoutAnchors<A>, LayoutAnchors<B>, LayoutAnchors<C>) -> Void) {
420 | self.init { closure(a.anchors, b.anchors, c.anchors) }
| `- error: value of type 'A' has no member 'anchors'
421 | }
422 |
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Internal/Align.swift:420:42: error: value of type 'B' has no member 'anchors'
418 |
419 | @discardableResult internal convenience init<A: LayoutItem, B: LayoutItem, C: LayoutItem>(for a: A, _ b: B, _ c: C, _ closure: (LayoutAnchors<A>, LayoutAnchors<B>, LayoutAnchors<C>) -> Void) {
420 | self.init { closure(a.anchors, b.anchors, c.anchors) }
| `- error: value of type 'B' has no member 'anchors'
421 | }
422 |
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/Subviews/Internal/Align.swift (in target 'Subviews' from project 'Subviews')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile Align.swift
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Internal/Align.swift:420:53: error: value of type 'C' has no member 'anchors'
418 |
419 | @discardableResult internal convenience init<A: LayoutItem, B: LayoutItem, C: LayoutItem>(for a: A, _ b: B, _ c: C, _ closure: (LayoutAnchors<A>, LayoutAnchors<B>, LayoutAnchors<C>) -> Void) {
420 | self.init { closure(a.anchors, b.anchors, c.anchors) }
| `- error: value of type 'C' has no member 'anchors'
421 | }
422 |
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Internal/Align.swift:424:31: error: value of type 'A' has no member 'anchors'
422 |
423 | @discardableResult internal convenience init<A: LayoutItem, B: LayoutItem, C: LayoutItem, D: LayoutItem>(for a: A, _ b: B, _ c: C, _ d: D, _ closure: (LayoutAnchors<A>, LayoutAnchors<B>, LayoutAnchors<C>, LayoutAnchors<D>) -> Void) {
424 | self.init { closure(a.anchors, b.anchors, c.anchors, d.anchors) }
| `- error: value of type 'A' has no member 'anchors'
425 | }
426 | }
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Internal/Align.swift:424:42: error: value of type 'B' has no member 'anchors'
422 |
423 | @discardableResult internal convenience init<A: LayoutItem, B: LayoutItem, C: LayoutItem, D: LayoutItem>(for a: A, _ b: B, _ c: C, _ d: D, _ closure: (LayoutAnchors<A>, LayoutAnchors<B>, LayoutAnchors<C>, LayoutAnchors<D>) -> Void) {
424 | self.init { closure(a.anchors, b.anchors, c.anchors, d.anchors) }
| `- error: value of type 'B' has no member 'anchors'
425 | }
426 | }
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Internal/Align.swift:424:53: error: value of type 'C' has no member 'anchors'
422 |
423 | @discardableResult internal convenience init<A: LayoutItem, B: LayoutItem, C: LayoutItem, D: LayoutItem>(for a: A, _ b: B, _ c: C, _ d: D, _ closure: (LayoutAnchors<A>, LayoutAnchors<B>, LayoutAnchors<C>, LayoutAnchors<D>) -> Void) {
424 | self.init { closure(a.anchors, b.anchors, c.anchors, d.anchors) }
| `- error: value of type 'C' has no member 'anchors'
425 | }
426 | }
SwiftCompile normal arm64_32 Compiling\ Subview.swift /Users/admin/builder/spi-builder-workspace/Sources/Subviews/Subview.swift (in target 'Subviews' from project 'Subviews')
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Subview.swift:4:44: error: 'UIView' is unavailable in watchOS
2 |
3 | public protocol SuperviewContainer {
4 | static var defaultSuperview: (Self) -> UIView { get }
| `- error: 'UIView' is unavailable in watchOS
5 | }
6 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Subview.swift:8:34: error: 'UIView' is unavailable in watchOS
6 |
7 | public protocol AddsSubviews: Enclosing, SuperviewContainer {
8 | typealias Subview<Superview: UIView, View: UIView> = AnySubview<Self, Superview, View>
| `- error: 'UIView' is unavailable in watchOS
9 | typealias ArrangedSubview<Stack: UIStackView, View: UIView> = AnyArrangedSubview<Self, Stack, View>
10 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Subview.swift:8:48: error: 'UIView' is unavailable in watchOS
6 |
7 | public protocol AddsSubviews: Enclosing, SuperviewContainer {
8 | typealias Subview<Superview: UIView, View: UIView> = AnySubview<Self, Superview, View>
| `- error: 'UIView' is unavailable in watchOS
9 | typealias ArrangedSubview<Stack: UIStackView, View: UIView> = AnyArrangedSubview<Self, Stack, View>
10 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Subview.swift:9:38: error: 'UIStackView' is unavailable in watchOS
7 | public protocol AddsSubviews: Enclosing, SuperviewContainer {
8 | typealias Subview<Superview: UIView, View: UIView> = AnySubview<Self, Superview, View>
9 | typealias ArrangedSubview<Stack: UIStackView, View: UIView> = AnyArrangedSubview<Self, Stack, View>
| `- error: 'UIStackView' is unavailable in watchOS
10 | }
11 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIStackView.h:124:12: note: 'UIStackView' has been explicitly marked unavailable here
122 | NS_HEADER_AUDIT_BEGIN(nullability, sendability)
123 | UIKIT_EXTERN API_AVAILABLE(ios(9.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
124 | @interface UIStackView : UIView
| `- note: 'UIStackView' has been explicitly marked unavailable here
125 |
126 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Subview.swift:9:57: error: 'UIView' is unavailable in watchOS
7 | public protocol AddsSubviews: Enclosing, SuperviewContainer {
8 | typealias Subview<Superview: UIView, View: UIView> = AnySubview<Self, Superview, View>
9 | typealias ArrangedSubview<Stack: UIStackView, View: UIView> = AnyArrangedSubview<Self, Stack, View>
| `- error: 'UIView' is unavailable in watchOS
10 | }
11 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Subview.swift:19:42: error: 'UIView' is unavailable in watchOS
17 |
18 | extension UIView: SuperviewContainer {
19 | public static var defaultSuperview: (UIView) -> UIView {
| `- error: 'UIView' is unavailable in watchOS
20 | return \.self
21 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Subview.swift:19:53: error: 'UIView' is unavailable in watchOS
17 |
18 | extension UIView: SuperviewContainer {
19 | public static var defaultSuperview: (UIView) -> UIView {
| `- error: 'UIView' is unavailable in watchOS
20 | return \.self
21 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Subview.swift:18:11: error: 'UIView' is unavailable in watchOS
16 | }
17 |
18 | extension UIView: SuperviewContainer {
| `- error: 'UIView' is unavailable in watchOS
19 | public static var defaultSuperview: (UIView) -> UIView {
20 | return \.self
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Subview.swift:25:66: error: 'UIView' is unavailable in watchOS
23 |
24 | @propertyWrapper
25 | public struct AnySubview<EnclosingSelf: AddsSubviews, Superview: UIView, View: UIView>: Enclosed {
| `- error: 'UIView' is unavailable in watchOS
26 |
27 | public static subscript(
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Subview.swift:25:80: error: 'UIView' is unavailable in watchOS
23 |
24 | @propertyWrapper
25 | public struct AnySubview<EnclosingSelf: AddsSubviews, Superview: UIView, View: UIView>: Enclosed {
| `- error: 'UIView' is unavailable in watchOS
26 |
27 | public static subscript(
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Subview.swift:182:41: error: 'UIView' is unavailable in watchOS
180 | }
181 |
182 | extension AnySubview where Superview == UIView {
| `- error: 'UIView' is unavailable in watchOS
183 | @_disfavoredOverload
184 | public init(
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Subview.swift:259:74: error: 'UIStackView' is unavailable in watchOS
257 |
258 | @propertyWrapper
259 | public struct AnyArrangedSubview<EnclosingSelf: AddsSubviews, Superview: UIStackView, View: UIView>: Enclosed {
| `- error: 'UIStackView' is unavailable in watchOS
260 |
261 | public static subscript(
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIStackView.h:124:12: note: 'UIStackView' has been explicitly marked unavailable here
122 | NS_HEADER_AUDIT_BEGIN(nullability, sendability)
123 | UIKIT_EXTERN API_AVAILABLE(ios(9.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
124 | @interface UIStackView : UIView
| `- note: 'UIStackView' has been explicitly marked unavailable here
125 |
126 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Subview.swift:259:93: error: 'UIView' is unavailable in watchOS
257 |
258 | @propertyWrapper
259 | public struct AnyArrangedSubview<EnclosingSelf: AddsSubviews, Superview: UIStackView, View: UIView>: Enclosed {
| `- error: 'UIView' is unavailable in watchOS
260 |
261 | public static subscript(
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Subview.swift:391:15: error: 'UIView' is unavailable in watchOS
389 |
390 | public struct SubviewReplaceBehavior {
391 | let new: (UIView) -> Void
| `- error: 'UIView' is unavailable in watchOS
392 | let old: (UIView) -> Void
393 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos)
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/Subviews/Subview.swift (in target 'Subviews' from project 'Subviews')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile Subview.swift
NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Subview.swift:392:15: error: 'UIView' is unavailable in watchOS
390 | public struct SubviewReplaceBehavior {
391 | let new: (UIView) -> Void
392 | let old: (UIView) -> Void
| `- error: 'UIView' is unavailable in watchOS
393 |
394 | public init(new: @escaping (UIView) -> Void, old: @escaping (UIView) -> Void) {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Subview.swift:394:33: error: 'UIView' is unavailable in watchOS
392 | let old: (UIView) -> Void
393 |
394 | public init(new: @escaping (UIView) -> Void, old: @escaping (UIView) -> Void) {
| `- error: 'UIView' is unavailable in watchOS
395 | self.new = new
396 | self.old = old
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Subview.swift:394:66: error: 'UIView' is unavailable in watchOS
392 | let old: (UIView) -> Void
393 |
394 | public init(new: @escaping (UIView) -> Void, old: @escaping (UIView) -> Void) {
| `- error: 'UIView' is unavailable in watchOS
395 | self.new = new
396 | self.old = old
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Subview.swift:415:9: error: 'UIView' is unavailable in watchOS
413 | public static let _removeAndFadeIn = SubviewReplaceBehavior { newVc in
414 | newVc.alpha = 0.0
415 | UIView.animate(withDuration: 0.3, delay: 0, options: .curveEaseInOut) {
| `- error: 'UIView' is unavailable in watchOS
416 | newVc.alpha = 1.0
417 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Subview.swift:424:9: error: 'UIView' is unavailable in watchOS
422 | public static let _fadeOutAndFadeIn = SubviewReplaceBehavior { newVc in
423 | newVc.alpha = 0.0
424 | UIView.animate(withDuration: 0.33, delay: 0.4, options: .curveEaseInOut) {
| `- error: 'UIView' is unavailable in watchOS
425 | newVc.alpha = 1.0
426 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Subview.swift:428:9: error: 'UIView' is unavailable in watchOS
426 | }
427 | } old: { oldVc in
428 | UIView.animate(withDuration: 0.33, delay: 0, options: .curveEaseInOut) {
| `- error: 'UIView' is unavailable in watchOS
429 | oldVc.alpha = 0.0
430 | } completion: { _ in
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Subview.swift:437:9: error: 'UIView' is unavailable in watchOS
435 | public static let _crossFade = SubviewReplaceBehavior { newVc in
436 | newVc.alpha = 0.0
437 | UIView.animate(withDuration: 0.33, delay: 0, options: .curveEaseInOut) {
| `- error: 'UIView' is unavailable in watchOS
438 | newVc.alpha = 1.0
439 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
SwiftCompile normal arm64_32 Compiling\ Enclosed.swift /Users/admin/builder/spi-builder-workspace/Sources/Subviews/Enclosed.swift (in target 'Subviews' from project 'Subviews')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/Subviews/Enclosed.swift (in target 'Subviews' from project 'Subviews')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile Enclosed.swift
SwiftCompile normal arm64_32 Compiling\ Stacks.swift /Users/admin/builder/spi-builder-workspace/Sources/Subviews/Stacks.swift (in target 'Subviews' from project 'Subviews')
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Stacks.swift:4:62: error: 'UIEvent' is unavailable in watchOS
2 |
3 | internal class TouchTransparentStackView: UIStackView {
4 | override open func hitTest(_ point: CGPoint, with event: UIEvent?) -> UIView? {
| `- error: 'UIEvent' is unavailable in watchOS
5 | let subview = super.hitTest(point, with: event)
6 | return subview !== self ? subview : nil
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIEvent.h:62:12: note: 'UIEvent' has been explicitly marked unavailable here
60 |
61 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
62 | @interface UIEvent : NSObject
| `- note: 'UIEvent' has been explicitly marked unavailable here
63 |
64 | @property(nonatomic,readonly) UIEventType type API_AVAILABLE(ios(3.0));
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Stacks.swift:4:75: error: 'UIView' is unavailable in watchOS
2 |
3 | internal class TouchTransparentStackView: UIStackView {
4 | override open func hitTest(_ point: CGPoint, with event: UIEvent?) -> UIView? {
| `- error: 'UIView' is unavailable in watchOS
5 | let subview = super.hitTest(point, with: event)
6 | return subview !== self ? subview : nil
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Stacks.swift:3:43: error: 'UIStackView' is unavailable in watchOS
1 | import UIKit
2 |
3 | internal class TouchTransparentStackView: UIStackView {
| `- error: 'UIStackView' is unavailable in watchOS
4 | override open func hitTest(_ point: CGPoint, with event: UIEvent?) -> UIView? {
5 | let subview = super.hitTest(point, with: event)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIStackView.h:124:12: note: 'UIStackView' has been explicitly marked unavailable here
122 | NS_HEADER_AUDIT_BEGIN(nullability, sendability)
123 | UIKIT_EXTERN API_AVAILABLE(ios(9.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
124 | @interface UIStackView : UIView
| `- note: 'UIStackView' has been explicitly marked unavailable here
125 |
126 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Stacks.swift:36:60: error: 'UIStackView' is unavailable in watchOS
34 | // MARK: - Specialized / Enclosed
35 |
36 | public func _StackView<EnclosingSelf: AddsSubviews, Stack: UIStackView>(
| `- error: 'UIStackView' is unavailable in watchOS
37 | _ stackViewType: Stack.Type,
38 | @StackBuilder _ subviews: @escaping (EnclosingSelf) -> [UIView]
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIStackView.h:124:12: note: 'UIStackView' has been explicitly marked unavailable here
122 | NS_HEADER_AUDIT_BEGIN(nullability, sendability)
123 | UIKIT_EXTERN API_AVAILABLE(ios(9.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
124 | @interface UIStackView : UIView
| `- note: 'UIStackView' has been explicitly marked unavailable here
125 |
126 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Stacks.swift:38:61: error: 'UIView' is unavailable in watchOS
36 | public func _StackView<EnclosingSelf: AddsSubviews, Stack: UIStackView>(
37 | _ stackViewType: Stack.Type,
38 | @StackBuilder _ subviews: @escaping (EnclosingSelf) -> [UIView]
| `- error: 'UIView' is unavailable in watchOS
39 | // setup: @escaping (UIStackView) -> Void
40 | ) -> (EnclosingSelf) -> UIStackView {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Stacks.swift:40:25: error: 'UIStackView' is unavailable in watchOS
38 | @StackBuilder _ subviews: @escaping (EnclosingSelf) -> [UIView]
39 | // setup: @escaping (UIStackView) -> Void
40 | ) -> (EnclosingSelf) -> UIStackView {
| `- error: 'UIStackView' is unavailable in watchOS
41 | return { (self) in
42 | let stack = Stack(frame: .zero)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIStackView.h:124:12: note: 'UIStackView' has been explicitly marked unavailable here
122 | NS_HEADER_AUDIT_BEGIN(nullability, sendability)
123 | UIKIT_EXTERN API_AVAILABLE(ios(9.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
124 | @interface UIStackView : UIView
| `- note: 'UIStackView' has been explicitly marked unavailable here
125 |
126 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Stacks.swift:53:71: error: 'UIView' is unavailable in watchOS
51 |
52 | public func _VerticalStack<EnclosingSelf: AddsSubviews>(
53 | @StackBuilder _ subviews: @escaping (_ `self`: EnclosingSelf) -> [UIView]
| `- error: 'UIView' is unavailable in watchOS
54 | ) -> (EnclosingSelf) -> UIStackView {
55 | _StackView(VerticalStackView.self, subviews)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Stacks.swift:54:25: error: 'UIStackView' is unavailable in watchOS
52 | public func _VerticalStack<EnclosingSelf: AddsSubviews>(
53 | @StackBuilder _ subviews: @escaping (_ `self`: EnclosingSelf) -> [UIView]
54 | ) -> (EnclosingSelf) -> UIStackView {
| `- error: 'UIStackView' is unavailable in watchOS
55 | _StackView(VerticalStackView.self, subviews)
56 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIStackView.h:124:12: note: 'UIStackView' has been explicitly marked unavailable here
122 | NS_HEADER_AUDIT_BEGIN(nullability, sendability)
123 | UIKIT_EXTERN API_AVAILABLE(ios(9.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
124 | @interface UIStackView : UIView
| `- note: 'UIStackView' has been explicitly marked unavailable here
125 |
126 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Stacks.swift:66:71: error: 'UIView' is unavailable in watchOS
64 |
65 | public func _HorizontalStack<EnclosingSelf: AddsSubviews>(
66 | @StackBuilder _ subviews: @escaping (_ `self`: EnclosingSelf) -> [UIView]
| `- error: 'UIView' is unavailable in watchOS
67 | ) -> (EnclosingSelf) -> UIStackView {
68 | _StackView(HorizontalStackView.self, subviews)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Stacks.swift:67:25: error: 'UIStackView' is unavailable in watchOS
65 | public func _HorizontalStack<EnclosingSelf: AddsSubviews>(
66 | @StackBuilder _ subviews: @escaping (_ `self`: EnclosingSelf) -> [UIView]
67 | ) -> (EnclosingSelf) -> UIStackView {
| `- error: 'UIStackView' is unavailable in watchOS
68 | _StackView(HorizontalStackView.self, subviews)
69 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIStackView.h:124:12: note: 'UIStackView' has been explicitly marked unavailable here
122 | NS_HEADER_AUDIT_BEGIN(nullability, sendability)
123 | UIKIT_EXTERN API_AVAILABLE(ios(9.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
124 | @interface UIStackView : UIView
| `- note: 'UIStackView' has been explicitly marked unavailable here
125 |
126 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Stacks.swift:80:35: error: 'UIView' is unavailable in watchOS
78 | @resultBuilder
79 | public enum StackBuilder {
80 | public typealias Expression = UIView
| `- error: 'UIView' is unavailable in watchOS
81 |
82 | public typealias Component = [UIView]
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/Subviews/Stacks.swift (in target 'Subviews' from project 'Subviews')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile Stacks.swift
SwiftCompile normal arm64_32 Compiling\ Extensions.swift /Users/admin/builder/spi-builder-workspace/Sources/Subviews/Extensions.swift (in target 'Subviews' from project 'Subviews')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/Subviews/Extensions.swift (in target 'Subviews' from project 'Subviews')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile Extensions.swift
SwiftCompile normal arm64_32 Compiling\ Child.swift /Users/admin/builder/spi-builder-workspace/Sources/Subviews/Child.swift (in target 'Subviews' from project 'Subviews')
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Child.swift:7:42: error: 'UIViewController' is unavailable in watchOS
5 |
6 | extension UIViewController: SuperviewContainer {
7 | public static var defaultSuperview: (UIViewController) -> UIView {
| `- error: 'UIViewController' is unavailable in watchOS
8 | return \.view
9 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Child.swift:7:63: error: 'UIView' is unavailable in watchOS
5 |
6 | extension UIViewController: SuperviewContainer {
7 | public static var defaultSuperview: (UIViewController) -> UIView {
| `- error: 'UIView' is unavailable in watchOS
8 | return \.view
9 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Child.swift:6:11: error: 'UIViewController' is unavailable in watchOS
4 | }
5 |
6 | extension UIViewController: SuperviewContainer {
| `- error: 'UIViewController' is unavailable in watchOS
7 | public static var defaultSuperview: (UIViewController) -> UIView {
8 | return \.view
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Child.swift:13:39: error: 'UIView' is unavailable in watchOS
11 |
12 | extension AddsChildrenViewControllers where Self: UIViewController {
13 | public typealias Child<Superview: UIView, ViewController: UIViewController> = AnyChild<Self, Superview, ViewController>
| `- error: 'UIView' is unavailable in watchOS
14 | }
15 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Child.swift:13:63: error: 'UIViewController' is unavailable in watchOS
11 |
12 | extension AddsChildrenViewControllers where Self: UIViewController {
13 | public typealias Child<Superview: UIView, ViewController: UIViewController> = AnyChild<Self, Superview, ViewController>
| `- error: 'UIViewController' is unavailable in watchOS
14 | }
15 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Child.swift:12:51: error: 'UIViewController' is unavailable in watchOS
10 | }
11 |
12 | extension AddsChildrenViewControllers where Self: UIViewController {
| `- error: 'UIViewController' is unavailable in watchOS
13 | public typealias Child<Superview: UIView, ViewController: UIViewController> = AnyChild<Self, Superview, ViewController>
14 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Child.swift:23:69: error: 'UIViewController' is unavailable in watchOS
21 |
22 | @propertyWrapper
23 | public struct AnyChild<EnclosingSelf: AddsChildrenViewControllers & UIViewController, Superview: UIView, ViewController: UIViewController>: Enclosed {
| `- error: 'UIViewController' is unavailable in watchOS
24 |
25 | public static subscript(
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Child.swift:23:98: error: 'UIView' is unavailable in watchOS
21 |
22 | @propertyWrapper
23 | public struct AnyChild<EnclosingSelf: AddsChildrenViewControllers & UIViewController, Superview: UIView, ViewController: UIViewController>: Enclosed {
| `- error: 'UIView' is unavailable in watchOS
24 |
25 | public static subscript(
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Child.swift:23:122: error: 'UIViewController' is unavailable in watchOS
21 |
22 | @propertyWrapper
23 | public struct AnyChild<EnclosingSelf: AddsChildrenViewControllers & UIViewController, Superview: UIView, ViewController: UIViewController>: Enclosed {
| `- error: 'UIViewController' is unavailable in watchOS
24 |
25 | public static subscript(
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Child.swift:202:39: error: 'UIView' is unavailable in watchOS
200 | // MARK: - Default Superview extensions
201 |
202 | extension AnyChild where Superview == UIView {
| `- error: 'UIView' is unavailable in watchOS
203 | @_disfavoredOverload
204 | public init(
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Child.swift:295:15: error: 'UIViewController' is unavailable in watchOS
293 |
294 | public struct ChildReplaceBehavior {
295 | let new: (UIViewController) -> Void
| `- error: 'UIViewController' is unavailable in watchOS
296 | let old: (UIViewController) -> Void
297 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Child.swift:296:15: error: 'UIViewController' is unavailable in watchOS
294 | public struct ChildReplaceBehavior {
295 | let new: (UIViewController) -> Void
296 | let old: (UIViewController) -> Void
| `- error: 'UIViewController' is unavailable in watchOS
297 |
298 | public init(new: @escaping (UIViewController) -> Void, old: @escaping (UIViewController) -> Void) {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Child.swift:298:33: error: 'UIViewController' is unavailable in watchOS
296 | let old: (UIViewController) -> Void
297 |
298 | public init(new: @escaping (UIViewController) -> Void, old: @escaping (UIViewController) -> Void) {
| `- error: 'UIViewController' is unavailable in watchOS
299 | self.new = new
300 | self.old = old
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Child.swift:298:76: error: 'UIViewController' is unavailable in watchOS
296 | let old: (UIViewController) -> Void
297 |
298 | public init(new: @escaping (UIViewController) -> Void, old: @escaping (UIViewController) -> Void) {
| `- error: 'UIViewController' is unavailable in watchOS
299 | self.new = new
300 | self.old = old
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Child.swift:321:9: error: 'UIView' is unavailable in watchOS
319 | public static let _removeAndFadeIn = ChildReplaceBehavior { newVc in
320 | newVc.view.alpha = 0.0
321 | UIView.animate(withDuration: 0.3, delay: 0, options: .curveEaseInOut) {
| `- error: 'UIView' is unavailable in watchOS
322 | newVc.view.alpha = 1.0
323 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Child.swift:330:9: error: 'UIView' is unavailable in watchOS
328 | public static let _fadeOutAndFadeIn = ChildReplaceBehavior { newVc in
329 | newVc.view.alpha = 0.0
330 | UIView.animate(withDuration: 0.33, delay: 0.4, options: .curveEaseInOut) {
| `- error: 'UIView' is unavailable in watchOS
331 | newVc.view.alpha = 1.0
332 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Child.swift:334:9: error: 'UIView' is unavailable in watchOS
332 | }
333 | } old: { oldVc in
334 | UIView.animate(withDuration: 0.33, delay: 0, options: .curveEaseInOut) {
| `- error: 'UIView' is unavailable in watchOS
335 | oldVc.view.alpha = 0.0
336 | } completion: { _ in
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Child.swift:343:9: error: 'UIView' is unavailable in watchOS
341 | public static let _crossFade = ChildReplaceBehavior { newVc in
342 | newVc.view.alpha = 0.0
343 | UIView.animate(withDuration: 0.33, delay: 0, options: .curveEaseInOut) {
| `- error: 'UIView' is unavailable in watchOS
344 | newVc.view.alpha = 1.0
345 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/Subviews/Child.swift (in target 'Subviews' from project 'Subviews')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile Child.swift
SwiftCompile normal arm64_32 Compiling\ ViewLayoutOption.swift /Users/admin/builder/spi-builder-workspace/Sources/Subviews/ViewLayoutOption.swift (in target 'Subviews' from project 'Subviews')
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/ViewLayoutOption.swift:4:29: error: 'UIView' is unavailable in watchOS
2 |
3 | public protocol ViewLayoutParent {
4 | func addSubview(_ view: UIView)
| `- error: 'UIView' is unavailable in watchOS
5 | }
6 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/ViewLayoutOption.swift:7:11: error: 'UIView' is unavailable in watchOS
5 | }
6 |
7 | extension UIView: ViewLayoutParent { }
| `- error: 'UIView' is unavailable in watchOS
8 |
9 | extension ViewLayoutParent {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/ViewLayoutOption.swift:10:37: error: 'UIView' is unavailable in watchOS
8 |
9 | extension ViewLayoutParent {
10 | public func addSubview<Subview: UIView>(_ view: Subview, _ viewLayoutOptions: ViewLayoutOption = [], configure: (Subview) -> () = { _ in }) {
| `- error: 'UIView' is unavailable in watchOS
11 | addSubview(view)
12 | viewLayoutOptions.layout(view)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/ViewLayoutOption.swift:18:25: error: 'UIView' is unavailable in watchOS
16 |
17 | public protocol ViewLayoutSupporting: AnyObject {
18 | var _viewForLayout: UIView { get }
| `- error: 'UIView' is unavailable in watchOS
19 | }
20 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/ViewLayoutOption.swift:22:32: error: 'UIView' is unavailable in watchOS
20 |
21 | extension UIView: ViewLayoutSupporting {
22 | public var _viewForLayout: UIView { self }
| `- error: 'UIView' is unavailable in watchOS
23 | }
24 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/ViewLayoutOption.swift:21:11: error: 'UIView' is unavailable in watchOS
19 | }
20 |
21 | extension UIView: ViewLayoutSupporting {
| `- error: 'UIView' is unavailable in watchOS
22 | public var _viewForLayout: UIView { self }
23 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/ViewLayoutOption.swift:26:32: error: 'UIView' is unavailable in watchOS
24 |
25 | extension UIViewController: ViewLayoutSupporting {
26 | public var _viewForLayout: UIView { self.view }
| `- error: 'UIView' is unavailable in watchOS
27 | }
28 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/ViewLayoutOption.swift:25:11: error: 'UIViewController' is unavailable in watchOS
23 | }
24 |
25 | extension UIViewController: ViewLayoutSupporting {
| `- error: 'UIViewController' is unavailable in watchOS
26 | public var _viewForLayout: UIView { self.view }
27 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/ViewLayoutOption.swift:33:36: error: 'UIView' is unavailable in watchOS
31 | // MARK: Internals
32 |
33 | public init(layout: @escaping (UIView) -> Void) {
| `- error: 'UIView' is unavailable in watchOS
34 | self.layout = layout
35 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/ViewLayoutOption.swift:43:59: error: 'UIView' is unavailable in watchOS
41 | }
42 |
43 | public static func withSuperview(_ layout: @escaping (UIView, _ superview: UIView) -> Void) -> ViewLayoutOption {
| `- error: 'UIView' is unavailable in watchOS
44 | ViewLayoutOption {
45 | guard let superview = $0.superview else {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/ViewLayoutOption.swift:43:80: error: 'UIView' is unavailable in watchOS
41 | }
42 |
43 | public static func withSuperview(_ layout: @escaping (UIView, _ superview: UIView) -> Void) -> ViewLayoutOption {
| `- error: 'UIView' is unavailable in watchOS
44 | ViewLayoutOption {
45 | guard let superview = $0.superview else {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/ViewLayoutOption.swift:54:25: error: 'UIView' is unavailable in watchOS
52 | public typealias ArrayLiteralElement = ViewLayoutOption
53 |
54 | public var layout: (UIView) -> ()
| `- error: 'UIView' is unavailable in watchOS
55 |
56 | // MARK: Public Quick Layout Options
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/ViewLayoutOption.swift:129:70: error: 'UIView' is unavailable in watchOS
127 | Self { $0.anchors.verticalEdges.pin() }
128 | }
129 | internal static func pinEdge<Axis>(_ edge: KeyPath<LayoutAnchors<UIView>, Anchor<AnchorType.Edge, Axis>>, inset: CGFloat = 0) -> Self {
| `- error: 'UIView' is unavailable in watchOS
130 | return Self { $0.anchors[keyPath: edge].pin(inset: inset) }
131 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/ViewLayoutOption.swift:177:77: error: 'UIView' is unavailable in watchOS
175 | Self { $0.anchors.verticalEdges.marginsPin() }
176 | }
177 | internal static func marginsPinEdge<Axis>(_ edge: KeyPath<LayoutAnchors<UIView>, Anchor<AnchorType.Edge, Axis>>, inset: CGFloat = 0) -> Self {
| `- error: 'UIView' is unavailable in watchOS
178 | return Self { $0.anchors[keyPath: edge].marginsPin(inset: inset) }
179 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/ViewLayoutOption.swift:225:78: error: 'UIView' is unavailable in watchOS
223 | Self { $0.anchors.verticalEdges.safeAreaPin() }
224 | }
225 | internal static func safeAreaPinEdge<Axis>(_ edge: KeyPath<LayoutAnchors<UIView>, Anchor<AnchorType.Edge, Axis>>, inset: CGFloat = 0) -> Self {
| `- error: 'UIView' is unavailable in watchOS
226 | return Self { $0.anchors[keyPath: edge].safeAreaPin(inset: inset) }
227 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/ViewLayoutOption.swift:273:85: error: 'UIView' is unavailable in watchOS
271 | Self { $0.anchors.verticalEdges.readableContentPin() }
272 | }
273 | internal static func readableContentPinEdge<Axis>(_ edge: KeyPath<LayoutAnchors<UIView>, Anchor<AnchorType.Edge, Axis>>, inset: CGFloat = 0) -> Self {
| `- error: 'UIView' is unavailable in watchOS
274 | return Self { $0.anchors[keyPath: edge].readableContentPin(inset: inset) }
275 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/ViewLayoutOption.swift:61:19: error: value of type 'UIView' has no member 'anchors'
59 |
60 | public static var alignCenter: Self {
61 | Self { $0.anchors.center.align() }
| `- error: value of type 'UIView' has no member 'anchors'
62 | }
63 | public static var alignCenterX: Self {
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/ViewLayoutOption.swift:64:19: error: value of type 'UIView' has no member 'anchors'
62 | }
63 | public static var alignCenterX: Self {
64 | Self { $0.anchors.centerX.align() }
| `- error: value of type 'UIView' has no member 'anchors'
65 | }
66 | public static var alignCenterY: Self {
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/ViewLayoutOption.swift:67:19: error: value of type 'UIView' has no member 'anchors'
65 | }
66 | public static var alignCenterY: Self {
67 | Self { $0.anchors.centerY.align() }
| `- error: value of type 'UIView' has no member 'anchors'
68 | }
69 |
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/ViewLayoutOption.swift:74:16: error: value of type 'UIView' has no member 'anchors'
72 | public static func alignCenter(offset: CGSize) -> ViewLayoutOption {
73 | ViewLayoutOption {
74 | $0.anchors.centerX.align(offset: offset.width)
| `- error: value of type 'UIView' has no member 'anchors'
75 | $0.anchors.centerY.align(offset: offset.height)
76 | }
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/ViewLayoutOption.swift:79:31: error: value of type 'UIView' has no member 'anchors'
77 | }
78 | public static func alignCenterX(offset: CGFloat) -> ViewLayoutOption {
79 | ViewLayoutOption { $0.anchors.centerX.align(offset: offset) }
| `- error: value of type 'UIView' has no member 'anchors'
80 | }
81 | public static func alignCenterY(offset: CGFloat) -> ViewLayoutOption {
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/ViewLayoutOption.swift:82:31: error: value of type 'UIView' has no member 'anchors'
80 | }
81 | public static func alignCenterY(offset: CGFloat) -> ViewLayoutOption {
82 | ViewLayoutOption { $0.anchors.centerY.align(offset: offset) }
| `- error: value of type 'UIView' has no member 'anchors'
83 | }
84 |
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/ViewLayoutOption.swift:88:31: error: value of type 'UIView' has no member 'anchors'
86 |
87 | public static func size(_ size: CGSize) -> ViewLayoutOption {
88 | ViewLayoutOption { $0.anchors.size.equal(size) }
| `- error: value of type 'UIView' has no member 'anchors'
89 | }
90 | public static func height(_ height: CGFloat) -> ViewLayoutOption {
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/ViewLayoutOption.swift:91:31: error: value of type 'UIView' has no member 'anchors'
89 | }
90 | public static func height(_ height: CGFloat) -> ViewLayoutOption {
91 | ViewLayoutOption { $0.anchors.height.equal(height) }
| `- error: value of type 'UIView' has no member 'anchors'
92 | }
93 | public static func width(_ width: CGFloat) -> ViewLayoutOption {
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/ViewLayoutOption.swift:94:31: error: value of type 'UIView' has no member 'anchors'
92 | }
93 | public static func width(_ width: CGFloat) -> ViewLayoutOption {
94 | ViewLayoutOption { $0.anchors.width.equal(width) }
| `- error: value of type 'UIView' has no member 'anchors'
95 | }
96 | public static func aspectRatio(_ widthToHeight: CGFloat) -> ViewLayoutOption {
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/ViewLayoutOption.swift:97:31: error: value of type 'UIView' has no member 'anchors'
95 | }
96 | public static func aspectRatio(_ widthToHeight: CGFloat) -> ViewLayoutOption {
97 | ViewLayoutOption { $0.anchors.width.equal($0.anchors.height.multiplied(by: widthToHeight)) }
| `- error: value of type 'UIView' has no member 'anchors'
98 | }
99 | public static var aspectRatioSquare: ViewLayoutOption {
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/ViewLayoutOption.swift:97:54: error: value of type 'UIView' has no member 'anchors'
95 | }
96 | public static func aspectRatio(_ widthToHeight: CGFloat) -> ViewLayoutOption {
97 | ViewLayoutOption { $0.anchors.width.equal($0.anchors.height.multiplied(by: widthToHeight)) }
| `- error: value of type 'UIView' has no member 'anchors'
98 | }
99 | public static var aspectRatioSquare: ViewLayoutOption {
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/ViewLayoutOption.swift:105:16: error: value of type 'UIView' has no member 'anchors'
103 | public static func relativeSize(_ relativeSize: CGSize) -> ViewLayoutOption {
104 | .withSuperview {
105 | $0.anchors.height.equal($1.anchors.height.multiplied(by: relativeSize.height))
| `- error: value of type 'UIView' has no member 'anchors'
106 | $0.anchors.width.equal($1.anchors.width.multiplied(by: relativeSize.width))
107 | }
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/ViewLayoutOption.swift:105:40: error: value of type 'UIView' has no member 'anchors'
103 | public static func relativeSize(_ relativeSize: CGSize) -> ViewLayoutOption {
104 | .withSuperview {
105 | $0.anchors.height.equal($1.anchors.height.multiplied(by: relativeSize.height))
| `- error: value of type 'UIView' has no member 'anchors'
106 | $0.anchors.width.equal($1.anchors.width.multiplied(by: relativeSize.width))
107 | }
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/ViewLayoutOption.swift:111:18: error: value of type 'UIView' has no member 'anchors'
109 | public static func relativeHeight(_ relativeHeight: CGFloat) -> ViewLayoutOption {
110 | .withSuperview { view, superview in
111 | view.anchors.height.equal(superview.anchors.height.multiplied(by: relativeHeight))
| `- error: value of type 'UIView' has no member 'anchors'
112 | }
113 | }
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/ViewLayoutOption.swift:111:49: error: value of type 'UIView' has no member 'anchors'
109 | public static func relativeHeight(_ relativeHeight: CGFloat) -> ViewLayoutOption {
110 | .withSuperview { view, superview in
111 | view.anchors.height.equal(superview.anchors.height.multiplied(by: relativeHeight))
| `- error: value of type 'UIView' has no member 'anchors'
112 | }
113 | }
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/ViewLayoutOption.swift:116:18: error: value of type 'UIView' has no member 'anchors'
114 | public static func relativeWidth(_ relativeWidth: CGFloat) -> ViewLayoutOption {
115 | .withSuperview { view, superview in
116 | view.anchors.width.equal(superview.anchors.width.multiplied(by: relativeWidth))
| `- error: value of type 'UIView' has no member 'anchors'
117 | }
118 | }
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/ViewLayoutOption.swift:116:48: error: value of type 'UIView' has no member 'anchors'
114 | public static func relativeWidth(_ relativeWidth: CGFloat) -> ViewLayoutOption {
115 | .withSuperview { view, superview in
116 | view.anchors.width.equal(superview.anchors.width.multiplied(by: relativeWidth))
| `- error: value of type 'UIView' has no member 'anchors'
117 | }
118 | }
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/ViewLayoutOption.swift:122:45: error: value of type 'UIView' has no member 'anchors'
120 | // MARK: Pin
121 |
122 | public static var pin: Self { Self { $0.anchors.edges.pin() } }
| `- error: value of type 'UIView' has no member 'anchors'
123 | public static var pinHorizontally: Self {
124 | Self { $0.anchors.horizontalEdges.pin() }
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/ViewLayoutOption.swift:124:19: error: value of type 'UIView' has no member 'anchors'
122 | public static var pin: Self { Self { $0.anchors.edges.pin() } }
123 | public static var pinHorizontally: Self {
124 | Self { $0.anchors.horizontalEdges.pin() }
| `- error: value of type 'UIView' has no member 'anchors'
125 | }
126 | public static var pinVertically: Self {
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/ViewLayoutOption.swift:127:19: error: value of type 'UIView' has no member 'anchors'
125 | }
126 | public static var pinVertically: Self {
127 | Self { $0.anchors.verticalEdges.pin() }
| `- error: value of type 'UIView' has no member 'anchors'
128 | }
129 | internal static func pinEdge<Axis>(_ edge: KeyPath<LayoutAnchors<UIView>, Anchor<AnchorType.Edge, Axis>>, inset: CGFloat = 0) -> Self {
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/ViewLayoutOption.swift:130:26: error: value of type 'UIView' has no member 'anchors'
128 | }
129 | internal static func pinEdge<Axis>(_ edge: KeyPath<LayoutAnchors<UIView>, Anchor<AnchorType.Edge, Axis>>, inset: CGFloat = 0) -> Self {
130 | return Self { $0.anchors[keyPath: edge].pin(inset: inset) }
| `- error: value of type 'UIView' has no member 'anchors'
131 | }
132 | public static var pinBottom: Self { Self.pinEdge(\.bottom) }
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Internal/Align.swift:43:46: error: cannot find type 'LayoutItem' in scope
41 | }
42 |
43 | internal extension LayoutAnchors where Base: LayoutItem {
| `- error: cannot find type 'LayoutItem' in scope
44 |
45 | // MARK: Anchors
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/ViewLayoutOption.swift:140:31: error: value of type 'UIView' has no member 'anchors'
138 |
139 | public static func pin(insets: UIEdgeInsets) -> ViewLayoutOption {
140 | ViewLayoutOption { $0.anchors.edges.pin(insets: insets) }
| `- error: value of type 'UIView' has no member 'anchors'
141 | }
142 | public static func pin(inset: CGFloat) -> ViewLayoutOption {
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/ViewLayoutOption.swift:147:31: error: value of type 'UIView' has no member 'anchors'
145 |
146 | public static func pinHorizontally(insets: HorizontalInsets) -> ViewLayoutOption {
147 | ViewLayoutOption { $0.anchors.horizontalEdges.pin(insets: .init(horizontal: insets)) }
| `- error: value of type 'UIView' has no member 'anchors'
148 | }
149 | public static func pinVertically(insets: VerticalInsets) -> ViewLayoutOption {
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/ViewLayoutOption.swift:150:31: error: value of type 'UIView' has no member 'anchors'
148 | }
149 | public static func pinVertically(insets: VerticalInsets) -> ViewLayoutOption {
150 | ViewLayoutOption { $0.anchors.verticalEdges.pin(insets: .init(vertical: insets)) }
| `- error: value of type 'UIView' has no member 'anchors'
151 | }
152 |
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/ViewLayoutOption.swift:169:19: error: value of type 'UIView' has no member 'anchors'
167 |
168 | public static var marginsPin: Self {
169 | Self { $0.anchors.edges.marginsPin() }
| `- error: value of type 'UIView' has no member 'anchors'
170 | }
171 | public static var marginsPinHorizontally: Self {
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/ViewLayoutOption.swift:172:19: error: value of type 'UIView' has no member 'anchors'
170 | }
171 | public static var marginsPinHorizontally: Self {
172 | Self { $0.anchors.horizontalEdges.marginsPin() }
| `- error: value of type 'UIView' has no member 'anchors'
173 | }
174 | public static var marginsPinVertically: Self {
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/ViewLayoutOption.swift:175:19: error: value of type 'UIView' has no member 'anchors'
173 | }
174 | public static var marginsPinVertically: Self {
175 | Self { $0.anchors.verticalEdges.marginsPin() }
| `- error: value of type 'UIView' has no member 'anchors'
176 | }
177 | internal static func marginsPinEdge<Axis>(_ edge: KeyPath<LayoutAnchors<UIView>, Anchor<AnchorType.Edge, Axis>>, inset: CGFloat = 0) -> Self {
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/ViewLayoutOption.swift:178:26: error: value of type 'UIView' has no member 'anchors'
176 | }
177 | internal static func marginsPinEdge<Axis>(_ edge: KeyPath<LayoutAnchors<UIView>, Anchor<AnchorType.Edge, Axis>>, inset: CGFloat = 0) -> Self {
178 | return Self { $0.anchors[keyPath: edge].marginsPin(inset: inset) }
| `- error: value of type 'UIView' has no member 'anchors'
179 | }
180 | public static var marginsPinBottom: Self { Self.marginsPinEdge(\.bottom) }
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/ViewLayoutOption.swift:188:31: error: value of type 'UIView' has no member 'anchors'
186 |
187 | public static func marginsPin(insets: UIEdgeInsets) -> ViewLayoutOption {
188 | ViewLayoutOption { $0.anchors.edges.marginsPin(insets: insets) }
| `- error: value of type 'UIView' has no member 'anchors'
189 | }
190 | public static func marginsPin(inset: CGFloat) -> ViewLayoutOption {
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/ViewLayoutOption.swift:195:31: error: value of type 'UIView' has no member 'anchors'
193 |
194 | public static func marginsPinHorizontally(insets: HorizontalInsets) -> ViewLayoutOption {
195 | ViewLayoutOption { $0.anchors.horizontalEdges.marginsPin(insets: .init(horizontal: insets)) }
| `- error: value of type 'UIView' has no member 'anchors'
196 | }
197 | public static func marginsPinVertically(insets: VerticalInsets) -> ViewLayoutOption {
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/ViewLayoutOption.swift:198:31: error: value of type 'UIView' has no member 'anchors'
196 | }
197 | public static func marginsPinVertically(insets: VerticalInsets) -> ViewLayoutOption {
198 | ViewLayoutOption { $0.anchors.verticalEdges.marginsPin(insets: .init(vertical: insets)) }
| `- error: value of type 'UIView' has no member 'anchors'
199 | }
200 |
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/ViewLayoutOption.swift:217:19: error: value of type 'UIView' has no member 'anchors'
215 |
216 | public static var safeAreaPin: Self {
217 | Self { $0.anchors.edges.safeAreaPin() }
| `- error: value of type 'UIView' has no member 'anchors'
218 | }
219 | public static var safeAreaPinHorizontally: Self {
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/ViewLayoutOption.swift:220:19: error: value of type 'UIView' has no member 'anchors'
218 | }
219 | public static var safeAreaPinHorizontally: Self {
220 | Self { $0.anchors.horizontalEdges.safeAreaPin() }
| `- error: value of type 'UIView' has no member 'anchors'
221 | }
222 | public static var safeAreaPinVertically: Self {
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/ViewLayoutOption.swift:223:19: error: value of type 'UIView' has no member 'anchors'
221 | }
222 | public static var safeAreaPinVertically: Self {
223 | Self { $0.anchors.verticalEdges.safeAreaPin() }
| `- error: value of type 'UIView' has no member 'anchors'
224 | }
225 | internal static func safeAreaPinEdge<Axis>(_ edge: KeyPath<LayoutAnchors<UIView>, Anchor<AnchorType.Edge, Axis>>, inset: CGFloat = 0) -> Self {
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/ViewLayoutOption.swift:226:26: error: value of type 'UIView' has no member 'anchors'
224 | }
225 | internal static func safeAreaPinEdge<Axis>(_ edge: KeyPath<LayoutAnchors<UIView>, Anchor<AnchorType.Edge, Axis>>, inset: CGFloat = 0) -> Self {
226 | return Self { $0.anchors[keyPath: edge].safeAreaPin(inset: inset) }
| `- error: value of type 'UIView' has no member 'anchors'
227 | }
228 | public static var safeAreaPinBottom: Self { Self.safeAreaPinEdge(\.bottom) }
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/ViewLayoutOption.swift:236:31: error: value of type 'UIView' has no member 'anchors'
234 |
235 | public static func safeAreaPin(insets: UIEdgeInsets) -> ViewLayoutOption {
236 | ViewLayoutOption { $0.anchors.edges.safeAreaPin(insets: insets) }
| `- error: value of type 'UIView' has no member 'anchors'
237 | }
238 | public static func safeAreaPin(inset: CGFloat) -> ViewLayoutOption {
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/ViewLayoutOption.swift:243:31: error: value of type 'UIView' has no member 'anchors'
241 |
242 | public static func safeAreaPinHorizontally(insets: HorizontalInsets) -> ViewLayoutOption {
243 | ViewLayoutOption { $0.anchors.horizontalEdges.safeAreaPin(insets: .init(horizontal: insets)) }
| `- error: value of type 'UIView' has no member 'anchors'
244 | }
245 | public static func safeAreaPinVertically(insets: VerticalInsets) -> ViewLayoutOption {
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/ViewLayoutOption.swift:246:31: error: value of type 'UIView' has no member 'anchors'
244 | }
245 | public static func safeAreaPinVertically(insets: VerticalInsets) -> ViewLayoutOption {
246 | ViewLayoutOption { $0.anchors.verticalEdges.safeAreaPin(insets: .init(vertical: insets)) }
| `- error: value of type 'UIView' has no member 'anchors'
247 | }
248 |
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/ViewLayoutOption.swift:265:19: error: value of type 'UIView' has no member 'anchors'
263 |
264 | public static var readableContentPin: Self {
265 | Self { $0.anchors.edges.readableContentPin() }
| `- error: value of type 'UIView' has no member 'anchors'
266 | }
267 | public static var readableContentPinHorizontally: Self {
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/ViewLayoutOption.swift:268:19: error: value of type 'UIView' has no member 'anchors'
266 | }
267 | public static var readableContentPinHorizontally: Self {
268 | Self { $0.anchors.horizontalEdges.readableContentPin() }
| `- error: value of type 'UIView' has no member 'anchors'
269 | }
270 | public static var readableContentPinVertically: Self {
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/ViewLayoutOption.swift:271:19: error: value of type 'UIView' has no member 'anchors'
269 | }
270 | public static var readableContentPinVertically: Self {
271 | Self { $0.anchors.verticalEdges.readableContentPin() }
| `- error: value of type 'UIView' has no member 'anchors'
272 | }
273 | internal static func readableContentPinEdge<Axis>(_ edge: KeyPath<LayoutAnchors<UIView>, Anchor<AnchorType.Edge, Axis>>, inset: CGFloat = 0) -> Self {
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/ViewLayoutOption.swift:274:26: error: value of type 'UIView' has no member 'anchors'
272 | }
273 | internal static func readableContentPinEdge<Axis>(_ edge: KeyPath<LayoutAnchors<UIView>, Anchor<AnchorType.Edge, Axis>>, inset: CGFloat = 0) -> Self {
274 | return Self { $0.anchors[keyPath: edge].readableContentPin(inset: inset) }
| `- error: value of type 'UIView' has no member 'anchors'
275 | }
276 | public static var readableContentPinBottom: Self { Self.readableContentPinEdge(\.bottom) }
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/ViewLayoutOption.swift:284:31: error: value of type 'UIView' has no member 'anchors'
282 |
283 | public static func readableContentPin(insets: UIEdgeInsets) -> ViewLayoutOption {
284 | ViewLayoutOption { $0.anchors.edges.readableContentPin(insets: insets) }
| `- error: value of type 'UIView' has no member 'anchors'
285 | }
286 | public static func readableContentPin(inset: CGFloat) -> ViewLayoutOption {
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/ViewLayoutOption.swift:291:31: error: value of type 'UIView' has no member 'anchors'
289 |
290 | public static func readableContentPinHorizontally(insets: HorizontalInsets) -> ViewLayoutOption {
291 | ViewLayoutOption { $0.anchors.horizontalEdges.readableContentPin(insets: .init(horizontal: insets)) }
| `- error: value of type 'UIView' has no member 'anchors'
292 | }
293 | public static func readableContentPinVertically(insets: VerticalInsets) -> ViewLayoutOption {
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/Subviews/ViewLayoutOption.swift (in target 'Subviews' from project 'Subviews')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile ViewLayoutOption.swift
SwiftCompile normal arm64_32 Compiling\ Creatable.swift /Users/admin/builder/spi-builder-workspace/Sources/Subviews/Internal/Creatable.swift (in target 'Subviews' from project 'Subviews')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/Subviews/Internal/Creatable.swift (in target 'Subviews' from project 'Subviews')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile Creatable.swift
SwiftCompile normal arm64_32 Compiling\ AutoSuperview.swift /Users/admin/builder/spi-builder-workspace/Sources/Subviews/AutoSuperview.swift (in target 'Subviews' from project 'Subviews')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/Subviews/AutoSuperview.swift (in target 'Subviews' from project 'Subviews')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile AutoSuperview.swift
SwiftEmitModule normal arm64 Emitting\ module\ for\ Subviews (in target 'Subviews' from project 'Subviews')
SwiftCompile normal arm64 (in target 'Subviews' from project 'Subviews')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules
2026-09-19 05:15:24.495 xcodebuild[789:4758] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
** BUILD FAILED **
The following build commands failed:
SwiftCompile normal arm64_32 (in target 'Subviews' from project 'Subviews')
SwiftEmitModule normal arm64_32 Emitting\ module\ for\ Subviews (in target 'Subviews' from project 'Subviews')
Building workspace Subviews with scheme Subviews
(3 failures)
BUILD FAILURE 6.4 watchOS