Build Information
Failed to build Pinnable, reference main (2fa7b4), with Swift 6.4 for watchOS using Xcode 27.0 on 21 Sep 2026 07:34:03 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 Pinnable -destination generic/platform=watchOSBuild Log
SwiftCompile normal arm64 (in target 'Pinnable' from project 'Pinnable')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftEmitModule normal arm64_32 Emitting\ module\ for\ Pinnable (in target 'Pinnable' from project 'Pinnable')
/Users/admin/builder/spi-builder-workspace/Sources/Pinnable/NSLayoutAnchor+Extensions.swift:21:20: error: 'NSLayoutAnchor' is unavailable in watchOS
19 | /// - Returns: The constraint that was created.
20 | @objc @discardableResult public func pin(
21 | to anchor: NSLayoutAnchor<AnchorType>,
| `- error: 'NSLayoutAnchor' is unavailable in watchOS
22 | constant: CGFloat = 0,
23 | priority: UILayoutPriority = .required
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutAnchor.h:34:12: note: 'NSLayoutAnchor' has been explicitly marked unavailable here
32 | */
33 | NSLAYOUTANCHOR_EXTERN API_AVAILABLE(macos(10.11), ios(9.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
34 | @interface NSLayoutAnchor<AnchorType> : NSObject
| `- note: 'NSLayoutAnchor' has been explicitly marked unavailable here
35 | // NSLayoutAnchor conforms to <NSCopying> and <NSCoding> on macOS 10.12, iOS 10, and tvOS 10
36 | #if (__MAC_OS_X_VERSION_MIN_REQUIRED >= 101200) || \
/Users/admin/builder/spi-builder-workspace/Sources/Pinnable/NSLayoutAnchor+Extensions.swift:23:19: error: 'UILayoutPriority' is unavailable in watchOS
21 | to anchor: NSLayoutAnchor<AnchorType>,
22 | constant: CGFloat = 0,
23 | priority: UILayoutPriority = .required
| `- error: 'UILayoutPriority' is unavailable in watchOS
24 | ) -> NSLayoutConstraint {
25 | constraint(equalTo: anchor, constant: constant)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutConstraint.h:17:15: note: 'UILayoutPriority' has been explicitly marked unavailable here
15 | @class NSArray, NSDictionary, NSLayoutAnchor;
16 |
17 | typedef float UILayoutPriority NS_TYPED_EXTENSIBLE_ENUM API_UNAVAILABLE(watchos);
| `- note: 'UILayoutPriority' has been explicitly marked unavailable here
18 | static const UILayoutPriority UILayoutPriorityRequired API_AVAILABLE(ios(6.0)) API_UNAVAILABLE(watchos) = 1000; // A required constraint. Do not exceed this.
19 | static const UILayoutPriority UILayoutPriorityDefaultHigh API_AVAILABLE(ios(6.0)) API_UNAVAILABLE(watchos) = 750; // This is the priority level with which a button resists compressing its content.
/Users/admin/builder/spi-builder-workspace/Sources/Pinnable/NSLayoutAnchor+Extensions.swift:24:10: error: 'NSLayoutConstraint' is unavailable in watchOS
22 | constant: CGFloat = 0,
23 | priority: UILayoutPriority = .required
24 | ) -> NSLayoutConstraint {
| `- error: 'NSLayoutConstraint' is unavailable in watchOS
25 | constraint(equalTo: anchor, constant: constant)
26 | .prioritize(priority)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutConstraint.h:126:12: note: 'NSLayoutConstraint' has been explicitly marked unavailable here
124 |
125 | NSLAYOUTCONSTRAINT_EXTERN API_AVAILABLE(macos(10.7), ios(6.0), tvos(9.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
126 | @interface NSLayoutConstraint : NSObject
| `- note: 'NSLayoutConstraint' has been explicitly marked unavailable here
127 |
128 | /* Create an array of constraints using an ASCII-art-like visual format string. The values of the `metrics` dictionary should be NSNumber (or some other type that responds to -doubleValue and returns a double).
/Users/admin/builder/spi-builder-workspace/Sources/Pinnable/NSLayoutAnchor+Extensions.swift:23:39: error: 'required' is unavailable in watchOS
21 | to anchor: NSLayoutAnchor<AnchorType>,
22 | constant: CGFloat = 0,
23 | priority: UILayoutPriority = .required
| `- error: 'required' is unavailable in watchOS
24 | ) -> NSLayoutConstraint {
25 | constraint(equalTo: anchor, constant: constant)
UIKit.UILayoutPriority.required:3:21: note: 'required' has been explicitly marked unavailable here
1 | struct UILayoutPriority {
2 | @available(watchOS, unavailable)
3 | public static var required: UILayoutPriority { get }}
| `- note: 'required' has been explicitly marked unavailable here
4 |
/Users/admin/builder/spi-builder-workspace/Sources/Pinnable/NSLayoutAnchor+Extensions.swift:40:29: error: 'NSLayoutAnchor' is unavailable in watchOS
38 | /// - Returns: The constraint that was created.
39 | @objc @discardableResult public func pin(
40 | greaterThan anchor: NSLayoutAnchor<AnchorType>,
| `- error: 'NSLayoutAnchor' is unavailable in watchOS
41 | constant: CGFloat = 0,
42 | priority: UILayoutPriority = .required
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutAnchor.h:34:12: note: 'NSLayoutAnchor' has been explicitly marked unavailable here
32 | */
33 | NSLAYOUTANCHOR_EXTERN API_AVAILABLE(macos(10.11), ios(9.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
34 | @interface NSLayoutAnchor<AnchorType> : NSObject
| `- note: 'NSLayoutAnchor' has been explicitly marked unavailable here
35 | // NSLayoutAnchor conforms to <NSCopying> and <NSCoding> on macOS 10.12, iOS 10, and tvOS 10
36 | #if (__MAC_OS_X_VERSION_MIN_REQUIRED >= 101200) || \
/Users/admin/builder/spi-builder-workspace/Sources/Pinnable/NSLayoutAnchor+Extensions.swift:42:19: error: 'UILayoutPriority' is unavailable in watchOS
40 | greaterThan anchor: NSLayoutAnchor<AnchorType>,
41 | constant: CGFloat = 0,
42 | priority: UILayoutPriority = .required
| `- error: 'UILayoutPriority' is unavailable in watchOS
43 | ) -> NSLayoutConstraint {
44 | constraint(greaterThanOrEqualTo: anchor, constant: constant)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutConstraint.h:17:15: note: 'UILayoutPriority' has been explicitly marked unavailable here
15 | @class NSArray, NSDictionary, NSLayoutAnchor;
16 |
17 | typedef float UILayoutPriority NS_TYPED_EXTENSIBLE_ENUM API_UNAVAILABLE(watchos);
| `- note: 'UILayoutPriority' has been explicitly marked unavailable here
18 | static const UILayoutPriority UILayoutPriorityRequired API_AVAILABLE(ios(6.0)) API_UNAVAILABLE(watchos) = 1000; // A required constraint. Do not exceed this.
19 | static const UILayoutPriority UILayoutPriorityDefaultHigh API_AVAILABLE(ios(6.0)) API_UNAVAILABLE(watchos) = 750; // This is the priority level with which a button resists compressing its content.
/Users/admin/builder/spi-builder-workspace/Sources/Pinnable/NSLayoutAnchor+Extensions.swift:43:10: error: 'NSLayoutConstraint' is unavailable in watchOS
41 | constant: CGFloat = 0,
42 | priority: UILayoutPriority = .required
43 | ) -> NSLayoutConstraint {
| `- error: 'NSLayoutConstraint' is unavailable in watchOS
44 | constraint(greaterThanOrEqualTo: anchor, constant: constant)
45 | .prioritize(priority)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutConstraint.h:126:12: note: 'NSLayoutConstraint' has been explicitly marked unavailable here
124 |
125 | NSLAYOUTCONSTRAINT_EXTERN API_AVAILABLE(macos(10.7), ios(6.0), tvos(9.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
126 | @interface NSLayoutConstraint : NSObject
| `- note: 'NSLayoutConstraint' has been explicitly marked unavailable here
127 |
128 | /* Create an array of constraints using an ASCII-art-like visual format string. The values of the `metrics` dictionary should be NSNumber (or some other type that responds to -doubleValue and returns a double).
/Users/admin/builder/spi-builder-workspace/Sources/Pinnable/NSLayoutAnchor+Extensions.swift:42:39: error: 'required' is unavailable in watchOS
40 | greaterThan anchor: NSLayoutAnchor<AnchorType>,
41 | constant: CGFloat = 0,
42 | priority: UILayoutPriority = .required
| `- error: 'required' is unavailable in watchOS
43 | ) -> NSLayoutConstraint {
44 | constraint(greaterThanOrEqualTo: anchor, constant: constant)
UIKit.UILayoutPriority.required:3:21: note: 'required' has been explicitly marked unavailable here
1 | struct UILayoutPriority {
2 | @available(watchOS, unavailable)
3 | public static var required: UILayoutPriority { get }}
| `- note: 'required' has been explicitly marked unavailable here
4 |
/Users/admin/builder/spi-builder-workspace/Sources/Pinnable/NSLayoutAnchor+Extensions.swift:59:26: error: 'NSLayoutAnchor' is unavailable in watchOS
57 | /// - Returns: The constraint that was created.
58 | @objc @discardableResult public func pin(
59 | lessThan anchor: NSLayoutAnchor<AnchorType>,
| `- error: 'NSLayoutAnchor' is unavailable in watchOS
60 | constant: CGFloat = 0,
61 | priority: UILayoutPriority = .required
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutAnchor.h:34:12: note: 'NSLayoutAnchor' has been explicitly marked unavailable here
32 | */
33 | NSLAYOUTANCHOR_EXTERN API_AVAILABLE(macos(10.11), ios(9.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
34 | @interface NSLayoutAnchor<AnchorType> : NSObject
| `- note: 'NSLayoutAnchor' has been explicitly marked unavailable here
35 | // NSLayoutAnchor conforms to <NSCopying> and <NSCoding> on macOS 10.12, iOS 10, and tvOS 10
36 | #if (__MAC_OS_X_VERSION_MIN_REQUIRED >= 101200) || \
/Users/admin/builder/spi-builder-workspace/Sources/Pinnable/NSLayoutAnchor+Extensions.swift:61:19: error: 'UILayoutPriority' is unavailable in watchOS
59 | lessThan anchor: NSLayoutAnchor<AnchorType>,
60 | constant: CGFloat = 0,
61 | priority: UILayoutPriority = .required
| `- error: 'UILayoutPriority' is unavailable in watchOS
62 | ) -> NSLayoutConstraint {
63 | constraint(lessThanOrEqualTo: anchor, constant: constant)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutConstraint.h:17:15: note: 'UILayoutPriority' has been explicitly marked unavailable here
15 | @class NSArray, NSDictionary, NSLayoutAnchor;
16 |
17 | typedef float UILayoutPriority NS_TYPED_EXTENSIBLE_ENUM API_UNAVAILABLE(watchos);
| `- note: 'UILayoutPriority' has been explicitly marked unavailable here
18 | static const UILayoutPriority UILayoutPriorityRequired API_AVAILABLE(ios(6.0)) API_UNAVAILABLE(watchos) = 1000; // A required constraint. Do not exceed this.
19 | static const UILayoutPriority UILayoutPriorityDefaultHigh API_AVAILABLE(ios(6.0)) API_UNAVAILABLE(watchos) = 750; // This is the priority level with which a button resists compressing its content.
/Users/admin/builder/spi-builder-workspace/Sources/Pinnable/NSLayoutAnchor+Extensions.swift:62:10: error: 'NSLayoutConstraint' is unavailable in watchOS
60 | constant: CGFloat = 0,
61 | priority: UILayoutPriority = .required
62 | ) -> NSLayoutConstraint {
| `- error: 'NSLayoutConstraint' is unavailable in watchOS
63 | constraint(lessThanOrEqualTo: anchor, constant: constant)
64 | .prioritize(priority)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutConstraint.h:126:12: note: 'NSLayoutConstraint' has been explicitly marked unavailable here
124 |
125 | NSLAYOUTCONSTRAINT_EXTERN API_AVAILABLE(macos(10.7), ios(6.0), tvos(9.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
126 | @interface NSLayoutConstraint : NSObject
| `- note: 'NSLayoutConstraint' has been explicitly marked unavailable here
127 |
128 | /* Create an array of constraints using an ASCII-art-like visual format string. The values of the `metrics` dictionary should be NSNumber (or some other type that responds to -doubleValue and returns a double).
/Users/admin/builder/spi-builder-workspace/Sources/Pinnable/NSLayoutAnchor+Extensions.swift:61:39: error: 'required' is unavailable in watchOS
59 | lessThan anchor: NSLayoutAnchor<AnchorType>,
60 | constant: CGFloat = 0,
61 | priority: UILayoutPriority = .required
| `- error: 'required' is unavailable in watchOS
62 | ) -> NSLayoutConstraint {
63 | constraint(lessThanOrEqualTo: anchor, constant: constant)
UIKit.UILayoutPriority.required:3:21: note: 'required' has been explicitly marked unavailable here
1 | struct UILayoutPriority {
2 | @available(watchOS, unavailable)
3 | public static var required: UILayoutPriority { get }}
| `- note: 'required' has been explicitly marked unavailable here
4 |
/Users/admin/builder/spi-builder-workspace/Sources/Pinnable/NSLayoutAnchor+Extensions.swift:10:11: error: 'NSLayoutAnchor' is unavailable in watchOS
8 | import UIKit
9 |
10 | extension NSLayoutAnchor {
| `- error: 'NSLayoutAnchor' is unavailable in watchOS
11 | /// Create an equal-to constraint between the receiver and the provided layout anchor. The constraint is automatically activated.
12 | ///
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutAnchor.h:34:12: note: 'NSLayoutAnchor' has been explicitly marked unavailable here
32 | */
33 | NSLAYOUTANCHOR_EXTERN API_AVAILABLE(macos(10.11), ios(9.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
34 | @interface NSLayoutAnchor<AnchorType> : NSObject
| `- note: 'NSLayoutAnchor' has been explicitly marked unavailable here
35 | // NSLayoutAnchor conforms to <NSCopying> and <NSCoding> on macOS 10.12, iOS 10, and tvOS 10
36 | #if (__MAC_OS_X_VERSION_MIN_REQUIRED >= 101200) || \
/Users/admin/builder/spi-builder-workspace/Sources/Pinnable/NSLayoutConstraint+Extensions.swift:31:59: error: 'UILayoutPriority' is unavailable in watchOS
29 | /// - Parameter priority: The value of the priority.
30 | /// - Returns: self
31 | @discardableResult public func prioritize(_ priority: UILayoutPriority) -> Self {
| `- error: 'UILayoutPriority' is unavailable in watchOS
32 | self.priority = priority
33 | 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/NSLayoutConstraint.h:17:15: note: 'UILayoutPriority' has been explicitly marked unavailable here
15 | @class NSArray, NSDictionary, NSLayoutAnchor;
16 |
17 | typedef float UILayoutPriority NS_TYPED_EXTENSIBLE_ENUM API_UNAVAILABLE(watchos);
| `- note: 'UILayoutPriority' has been explicitly marked unavailable here
18 | static const UILayoutPriority UILayoutPriorityRequired API_AVAILABLE(ios(6.0)) API_UNAVAILABLE(watchos) = 1000; // A required constraint. Do not exceed this.
19 | static const UILayoutPriority UILayoutPriorityDefaultHigh API_AVAILABLE(ios(6.0)) API_UNAVAILABLE(watchos) = 750; // This is the priority level with which a button resists compressing its content.
/Users/admin/builder/spi-builder-workspace/Sources/Pinnable/NSLayoutConstraint+Extensions.swift:36:30: error: 'NSLayoutConstraint' is unavailable in watchOS
34 | }
35 |
36 | internal func setUp() -> NSLayoutConstraint {
| `- error: 'NSLayoutConstraint' is unavailable in watchOS
37 | (firstItem as? UIView)?.translatesAutoresizingMaskIntoConstraints = false
38 | activate()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutConstraint.h:126:12: note: 'NSLayoutConstraint' has been explicitly marked unavailable here
124 |
125 | NSLAYOUTCONSTRAINT_EXTERN API_AVAILABLE(macos(10.7), ios(6.0), tvos(9.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
126 | @interface NSLayoutConstraint : NSObject
| `- note: 'NSLayoutConstraint' has been explicitly marked unavailable here
127 |
128 | /* Create an array of constraints using an ASCII-art-like visual format string. The values of the `metrics` dictionary should be NSNumber (or some other type that responds to -doubleValue and returns a double).
/Users/admin/builder/spi-builder-workspace/Sources/Pinnable/NSLayoutConstraint+Extensions.swift:10:11: error: 'NSLayoutConstraint' is unavailable in watchOS
8 | import UIKit
9 |
10 | extension NSLayoutConstraint {
| `- error: 'NSLayoutConstraint' is unavailable in watchOS
11 | /// Set `isActive` to true.
12 | ///
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutConstraint.h:126:12: note: 'NSLayoutConstraint' has been explicitly marked unavailable here
124 |
125 | NSLAYOUTCONSTRAINT_EXTERN API_AVAILABLE(macos(10.7), ios(6.0), tvos(9.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
126 | @interface NSLayoutConstraint : NSObject
| `- note: 'NSLayoutConstraint' has been explicitly marked unavailable here
127 |
128 | /* Create an array of constraints using an ASCII-art-like visual format string. The values of the `metrics` dictionary should be NSNumber (or some other type that responds to -doubleValue and returns a double).
/Users/admin/builder/spi-builder-workspace/Sources/Pinnable/NSLayoutDimension+Extensions.swift:21:19: error: 'UILayoutPriority' is unavailable in watchOS
19 | @objc @discardableResult public func pin(
20 | to constant: CGFloat,
21 | priority: UILayoutPriority = .required
| `- error: 'UILayoutPriority' is unavailable in watchOS
22 | ) -> NSLayoutConstraint {
23 | constraint(equalToConstant: constant)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutConstraint.h:17:15: note: 'UILayoutPriority' has been explicitly marked unavailable here
15 | @class NSArray, NSDictionary, NSLayoutAnchor;
16 |
17 | typedef float UILayoutPriority NS_TYPED_EXTENSIBLE_ENUM API_UNAVAILABLE(watchos);
| `- note: 'UILayoutPriority' has been explicitly marked unavailable here
18 | static const UILayoutPriority UILayoutPriorityRequired API_AVAILABLE(ios(6.0)) API_UNAVAILABLE(watchos) = 1000; // A required constraint. Do not exceed this.
19 | static const UILayoutPriority UILayoutPriorityDefaultHigh API_AVAILABLE(ios(6.0)) API_UNAVAILABLE(watchos) = 750; // This is the priority level with which a button resists compressing its content.
/Users/admin/builder/spi-builder-workspace/Sources/Pinnable/NSLayoutDimension+Extensions.swift:22:10: error: 'NSLayoutConstraint' is unavailable in watchOS
20 | to constant: CGFloat,
21 | priority: UILayoutPriority = .required
22 | ) -> NSLayoutConstraint {
| `- error: 'NSLayoutConstraint' is unavailable in watchOS
23 | constraint(equalToConstant: constant)
24 | .prioritize(priority)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutConstraint.h:126:12: note: 'NSLayoutConstraint' has been explicitly marked unavailable here
124 |
125 | NSLAYOUTCONSTRAINT_EXTERN API_AVAILABLE(macos(10.7), ios(6.0), tvos(9.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
126 | @interface NSLayoutConstraint : NSObject
| `- note: 'NSLayoutConstraint' has been explicitly marked unavailable here
127 |
128 | /* Create an array of constraints using an ASCII-art-like visual format string. The values of the `metrics` dictionary should be NSNumber (or some other type that responds to -doubleValue and returns a double).
/Users/admin/builder/spi-builder-workspace/Sources/Pinnable/NSLayoutDimension+Extensions.swift:21:39: error: 'required' is unavailable in watchOS
19 | @objc @discardableResult public func pin(
20 | to constant: CGFloat,
21 | priority: UILayoutPriority = .required
| `- error: 'required' is unavailable in watchOS
22 | ) -> NSLayoutConstraint {
23 | constraint(equalToConstant: constant)
UIKit.UILayoutPriority.required:3:21: note: 'required' has been explicitly marked unavailable here
1 | struct UILayoutPriority {
2 | @available(watchOS, unavailable)
3 | public static var required: UILayoutPriority { get }}
| `- note: 'required' has been explicitly marked unavailable here
4 |
/Users/admin/builder/spi-builder-workspace/Sources/Pinnable/NSLayoutDimension+Extensions.swift:38:19: error: 'UILayoutPriority' is unavailable in watchOS
36 | @objc @discardableResult public func pin(
37 | greaterThan constant: CGFloat,
38 | priority: UILayoutPriority = .required
| `- error: 'UILayoutPriority' is unavailable in watchOS
39 | ) -> NSLayoutConstraint {
40 | constraint(greaterThanOrEqualToConstant: constant)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutConstraint.h:17:15: note: 'UILayoutPriority' has been explicitly marked unavailable here
15 | @class NSArray, NSDictionary, NSLayoutAnchor;
16 |
17 | typedef float UILayoutPriority NS_TYPED_EXTENSIBLE_ENUM API_UNAVAILABLE(watchos);
| `- note: 'UILayoutPriority' has been explicitly marked unavailable here
18 | static const UILayoutPriority UILayoutPriorityRequired API_AVAILABLE(ios(6.0)) API_UNAVAILABLE(watchos) = 1000; // A required constraint. Do not exceed this.
19 | static const UILayoutPriority UILayoutPriorityDefaultHigh API_AVAILABLE(ios(6.0)) API_UNAVAILABLE(watchos) = 750; // This is the priority level with which a button resists compressing its content.
/Users/admin/builder/spi-builder-workspace/Sources/Pinnable/NSLayoutDimension+Extensions.swift:39:10: error: 'NSLayoutConstraint' is unavailable in watchOS
37 | greaterThan constant: CGFloat,
38 | priority: UILayoutPriority = .required
39 | ) -> NSLayoutConstraint {
| `- error: 'NSLayoutConstraint' is unavailable in watchOS
40 | constraint(greaterThanOrEqualToConstant: constant)
41 | .prioritize(priority)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutConstraint.h:126:12: note: 'NSLayoutConstraint' has been explicitly marked unavailable here
124 |
125 | NSLAYOUTCONSTRAINT_EXTERN API_AVAILABLE(macos(10.7), ios(6.0), tvos(9.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
126 | @interface NSLayoutConstraint : NSObject
| `- note: 'NSLayoutConstraint' has been explicitly marked unavailable here
127 |
128 | /* Create an array of constraints using an ASCII-art-like visual format string. The values of the `metrics` dictionary should be NSNumber (or some other type that responds to -doubleValue and returns a double).
/Users/admin/builder/spi-builder-workspace/Sources/Pinnable/NSLayoutDimension+Extensions.swift:38:39: error: 'required' is unavailable in watchOS
36 | @objc @discardableResult public func pin(
37 | greaterThan constant: CGFloat,
38 | priority: UILayoutPriority = .required
| `- error: 'required' is unavailable in watchOS
39 | ) -> NSLayoutConstraint {
40 | constraint(greaterThanOrEqualToConstant: constant)
UIKit.UILayoutPriority.required:3:21: note: 'required' has been explicitly marked unavailable here
1 | struct UILayoutPriority {
2 | @available(watchOS, unavailable)
3 | public static var required: UILayoutPriority { get }}
| `- note: 'required' has been explicitly marked unavailable here
4 |
/Users/admin/builder/spi-builder-workspace/Sources/Pinnable/NSLayoutDimension+Extensions.swift:55:19: error: 'UILayoutPriority' is unavailable in watchOS
53 | @objc @discardableResult public func pin(
54 | lessThan constant: CGFloat,
55 | priority: UILayoutPriority = .required
| `- error: 'UILayoutPriority' is unavailable in watchOS
56 | ) -> NSLayoutConstraint {
57 | constraint(lessThanOrEqualToConstant: constant)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutConstraint.h:17:15: note: 'UILayoutPriority' has been explicitly marked unavailable here
15 | @class NSArray, NSDictionary, NSLayoutAnchor;
16 |
17 | typedef float UILayoutPriority NS_TYPED_EXTENSIBLE_ENUM API_UNAVAILABLE(watchos);
| `- note: 'UILayoutPriority' has been explicitly marked unavailable here
18 | static const UILayoutPriority UILayoutPriorityRequired API_AVAILABLE(ios(6.0)) API_UNAVAILABLE(watchos) = 1000; // A required constraint. Do not exceed this.
19 | static const UILayoutPriority UILayoutPriorityDefaultHigh API_AVAILABLE(ios(6.0)) API_UNAVAILABLE(watchos) = 750; // This is the priority level with which a button resists compressing its content.
/Users/admin/builder/spi-builder-workspace/Sources/Pinnable/NSLayoutDimension+Extensions.swift:56:10: error: 'NSLayoutConstraint' is unavailable in watchOS
54 | lessThan constant: CGFloat,
55 | priority: UILayoutPriority = .required
56 | ) -> NSLayoutConstraint {
| `- error: 'NSLayoutConstraint' is unavailable in watchOS
57 | constraint(lessThanOrEqualToConstant: constant)
58 | .prioritize(priority)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutConstraint.h:126:12: note: 'NSLayoutConstraint' has been explicitly marked unavailable here
124 |
125 | NSLAYOUTCONSTRAINT_EXTERN API_AVAILABLE(macos(10.7), ios(6.0), tvos(9.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
126 | @interface NSLayoutConstraint : NSObject
| `- note: 'NSLayoutConstraint' has been explicitly marked unavailable here
127 |
128 | /* Create an array of constraints using an ASCII-art-like visual format string. The values of the `metrics` dictionary should be NSNumber (or some other type that responds to -doubleValue and returns a double).
/Users/admin/builder/spi-builder-workspace/Sources/Pinnable/NSLayoutDimension+Extensions.swift:55:39: error: 'required' is unavailable in watchOS
53 | @objc @discardableResult public func pin(
54 | lessThan constant: CGFloat,
55 | priority: UILayoutPriority = .required
| `- error: 'required' is unavailable in watchOS
56 | ) -> NSLayoutConstraint {
57 | constraint(lessThanOrEqualToConstant: constant)
UIKit.UILayoutPriority.required:3:21: note: 'required' has been explicitly marked unavailable here
1 | struct UILayoutPriority {
2 | @available(watchOS, unavailable)
3 | public static var required: UILayoutPriority { get }}
| `- note: 'required' has been explicitly marked unavailable here
4 |
/Users/admin/builder/spi-builder-workspace/Sources/Pinnable/NSLayoutDimension+Extensions.swift:73:20: error: 'NSLayoutDimension' is unavailable in watchOS
71 | /// - Returns: The constraint that was created.
72 | @objc @discardableResult public func pin(
73 | to anchor: NSLayoutDimension,
| `- error: 'NSLayoutDimension' is unavailable in watchOS
74 | multiplier: CGFloat = 1,
75 | constant: CGFloat = 0,
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutAnchor.h:81:12: note: 'NSLayoutDimension' has been explicitly marked unavailable here
79 | // This layout anchor subclass is used for sizes (width & height).
80 | NSLAYOUTANCHOR_EXTERN API_AVAILABLE(macos(10.11), ios(9.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
81 | @interface NSLayoutDimension : NSLayoutAnchor<NSLayoutDimension *>
| `- note: 'NSLayoutDimension' has been explicitly marked unavailable here
82 |
83 | // These methods return an inactive constraint of the form thisVariable = constant.
/Users/admin/builder/spi-builder-workspace/Sources/Pinnable/NSLayoutDimension+Extensions.swift:76:19: error: 'UILayoutPriority' is unavailable in watchOS
74 | multiplier: CGFloat = 1,
75 | constant: CGFloat = 0,
76 | priority: UILayoutPriority = .required
| `- error: 'UILayoutPriority' is unavailable in watchOS
77 | ) -> NSLayoutConstraint {
78 | constraint(equalTo: anchor, multiplier: multiplier, constant: constant)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutConstraint.h:17:15: note: 'UILayoutPriority' has been explicitly marked unavailable here
15 | @class NSArray, NSDictionary, NSLayoutAnchor;
16 |
17 | typedef float UILayoutPriority NS_TYPED_EXTENSIBLE_ENUM API_UNAVAILABLE(watchos);
| `- note: 'UILayoutPriority' has been explicitly marked unavailable here
18 | static const UILayoutPriority UILayoutPriorityRequired API_AVAILABLE(ios(6.0)) API_UNAVAILABLE(watchos) = 1000; // A required constraint. Do not exceed this.
19 | static const UILayoutPriority UILayoutPriorityDefaultHigh API_AVAILABLE(ios(6.0)) API_UNAVAILABLE(watchos) = 750; // This is the priority level with which a button resists compressing its content.
/Users/admin/builder/spi-builder-workspace/Sources/Pinnable/NSLayoutDimension+Extensions.swift:77:10: error: 'NSLayoutConstraint' is unavailable in watchOS
75 | constant: CGFloat = 0,
76 | priority: UILayoutPriority = .required
77 | ) -> NSLayoutConstraint {
| `- error: 'NSLayoutConstraint' is unavailable in watchOS
78 | constraint(equalTo: anchor, multiplier: multiplier, constant: constant)
79 | .prioritize(priority)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutConstraint.h:126:12: note: 'NSLayoutConstraint' has been explicitly marked unavailable here
124 |
125 | NSLAYOUTCONSTRAINT_EXTERN API_AVAILABLE(macos(10.7), ios(6.0), tvos(9.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
126 | @interface NSLayoutConstraint : NSObject
| `- note: 'NSLayoutConstraint' has been explicitly marked unavailable here
127 |
128 | /* Create an array of constraints using an ASCII-art-like visual format string. The values of the `metrics` dictionary should be NSNumber (or some other type that responds to -doubleValue and returns a double).
/Users/admin/builder/spi-builder-workspace/Sources/Pinnable/NSLayoutDimension+Extensions.swift:76:39: error: 'required' is unavailable in watchOS
74 | multiplier: CGFloat = 1,
75 | constant: CGFloat = 0,
76 | priority: UILayoutPriority = .required
| `- error: 'required' is unavailable in watchOS
77 | ) -> NSLayoutConstraint {
78 | constraint(equalTo: anchor, multiplier: multiplier, constant: constant)
UIKit.UILayoutPriority.required:3:21: note: 'required' has been explicitly marked unavailable here
1 | struct UILayoutPriority {
2 | @available(watchOS, unavailable)
3 | public static var required: UILayoutPriority { get }}
| `- note: 'required' has been explicitly marked unavailable here
4 |
/Users/admin/builder/spi-builder-workspace/Sources/Pinnable/NSLayoutDimension+Extensions.swift:94:29: error: 'NSLayoutDimension' is unavailable in watchOS
92 | /// - Returns: The constraint that was created.
93 | @objc @discardableResult public func pin(
94 | greaterThan anchor: NSLayoutDimension,
| `- error: 'NSLayoutDimension' is unavailable in watchOS
95 | multiplier: CGFloat = 1,
96 | constant: CGFloat = 0,
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutAnchor.h:81:12: note: 'NSLayoutDimension' has been explicitly marked unavailable here
79 | // This layout anchor subclass is used for sizes (width & height).
80 | NSLAYOUTANCHOR_EXTERN API_AVAILABLE(macos(10.11), ios(9.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
81 | @interface NSLayoutDimension : NSLayoutAnchor<NSLayoutDimension *>
| `- note: 'NSLayoutDimension' has been explicitly marked unavailable here
82 |
83 | // These methods return an inactive constraint of the form thisVariable = constant.
/Users/admin/builder/spi-builder-workspace/Sources/Pinnable/NSLayoutDimension+Extensions.swift:97:19: error: 'UILayoutPriority' is unavailable in watchOS
95 | multiplier: CGFloat = 1,
96 | constant: CGFloat = 0,
97 | priority: UILayoutPriority = .required
| `- error: 'UILayoutPriority' is unavailable in watchOS
98 | ) -> NSLayoutConstraint {
99 | constraint(greaterThanOrEqualTo: anchor, multiplier: multiplier, constant: constant)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutConstraint.h:17:15: note: 'UILayoutPriority' has been explicitly marked unavailable here
15 | @class NSArray, NSDictionary, NSLayoutAnchor;
16 |
17 | typedef float UILayoutPriority NS_TYPED_EXTENSIBLE_ENUM API_UNAVAILABLE(watchos);
| `- note: 'UILayoutPriority' has been explicitly marked unavailable here
18 | static const UILayoutPriority UILayoutPriorityRequired API_AVAILABLE(ios(6.0)) API_UNAVAILABLE(watchos) = 1000; // A required constraint. Do not exceed this.
19 | static const UILayoutPriority UILayoutPriorityDefaultHigh API_AVAILABLE(ios(6.0)) API_UNAVAILABLE(watchos) = 750; // This is the priority level with which a button resists compressing its content.
/Users/admin/builder/spi-builder-workspace/Sources/Pinnable/NSLayoutDimension+Extensions.swift:98:10: error: 'NSLayoutConstraint' is unavailable in watchOS
96 | constant: CGFloat = 0,
97 | priority: UILayoutPriority = .required
98 | ) -> NSLayoutConstraint {
| `- error: 'NSLayoutConstraint' is unavailable in watchOS
99 | constraint(greaterThanOrEqualTo: anchor, multiplier: multiplier, constant: constant)
100 | .prioritize(priority)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutConstraint.h:126:12: note: 'NSLayoutConstraint' has been explicitly marked unavailable here
124 |
125 | NSLAYOUTCONSTRAINT_EXTERN API_AVAILABLE(macos(10.7), ios(6.0), tvos(9.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
126 | @interface NSLayoutConstraint : NSObject
| `- note: 'NSLayoutConstraint' has been explicitly marked unavailable here
127 |
128 | /* Create an array of constraints using an ASCII-art-like visual format string. The values of the `metrics` dictionary should be NSNumber (or some other type that responds to -doubleValue and returns a double).
/Users/admin/builder/spi-builder-workspace/Sources/Pinnable/NSLayoutDimension+Extensions.swift:97:39: error: 'required' is unavailable in watchOS
95 | multiplier: CGFloat = 1,
96 | constant: CGFloat = 0,
97 | priority: UILayoutPriority = .required
| `- error: 'required' is unavailable in watchOS
98 | ) -> NSLayoutConstraint {
99 | constraint(greaterThanOrEqualTo: anchor, multiplier: multiplier, constant: constant)
UIKit.UILayoutPriority.required:3:21: note: 'required' has been explicitly marked unavailable here
1 | struct UILayoutPriority {
2 | @available(watchOS, unavailable)
3 | public static var required: UILayoutPriority { get }}
| `- note: 'required' has been explicitly marked unavailable here
4 |
/Users/admin/builder/spi-builder-workspace/Sources/Pinnable/NSLayoutDimension+Extensions.swift:115:26: error: 'NSLayoutDimension' is unavailable in watchOS
113 | /// - Returns: The constraint that was created.
114 | @objc @discardableResult public func pin(
115 | lessThan anchor: NSLayoutDimension,
| `- error: 'NSLayoutDimension' is unavailable in watchOS
116 | multiplier: CGFloat = 1, constant: CGFloat = 0,
117 | priority: UILayoutPriority = .required
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutAnchor.h:81:12: note: 'NSLayoutDimension' has been explicitly marked unavailable here
79 | // This layout anchor subclass is used for sizes (width & height).
80 | NSLAYOUTANCHOR_EXTERN API_AVAILABLE(macos(10.11), ios(9.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
81 | @interface NSLayoutDimension : NSLayoutAnchor<NSLayoutDimension *>
| `- note: 'NSLayoutDimension' has been explicitly marked unavailable here
82 |
83 | // These methods return an inactive constraint of the form thisVariable = constant.
/Users/admin/builder/spi-builder-workspace/Sources/Pinnable/NSLayoutDimension+Extensions.swift:117:19: error: 'UILayoutPriority' is unavailable in watchOS
115 | lessThan anchor: NSLayoutDimension,
116 | multiplier: CGFloat = 1, constant: CGFloat = 0,
117 | priority: UILayoutPriority = .required
| `- error: 'UILayoutPriority' is unavailable in watchOS
118 | ) -> NSLayoutConstraint {
119 | constraint(lessThanOrEqualTo: anchor, multiplier: multiplier, constant: constant)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutConstraint.h:17:15: note: 'UILayoutPriority' has been explicitly marked unavailable here
15 | @class NSArray, NSDictionary, NSLayoutAnchor;
16 |
17 | typedef float UILayoutPriority NS_TYPED_EXTENSIBLE_ENUM API_UNAVAILABLE(watchos);
| `- note: 'UILayoutPriority' has been explicitly marked unavailable here
18 | static const UILayoutPriority UILayoutPriorityRequired API_AVAILABLE(ios(6.0)) API_UNAVAILABLE(watchos) = 1000; // A required constraint. Do not exceed this.
19 | static const UILayoutPriority UILayoutPriorityDefaultHigh API_AVAILABLE(ios(6.0)) API_UNAVAILABLE(watchos) = 750; // This is the priority level with which a button resists compressing its content.
/Users/admin/builder/spi-builder-workspace/Sources/Pinnable/NSLayoutDimension+Extensions.swift:118:10: error: 'NSLayoutConstraint' is unavailable in watchOS
116 | multiplier: CGFloat = 1, constant: CGFloat = 0,
117 | priority: UILayoutPriority = .required
118 | ) -> NSLayoutConstraint {
| `- error: 'NSLayoutConstraint' is unavailable in watchOS
119 | constraint(lessThanOrEqualTo: anchor, multiplier: multiplier, constant: constant)
120 | .prioritize(priority)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutConstraint.h:126:12: note: 'NSLayoutConstraint' has been explicitly marked unavailable here
124 |
125 | NSLAYOUTCONSTRAINT_EXTERN API_AVAILABLE(macos(10.7), ios(6.0), tvos(9.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
126 | @interface NSLayoutConstraint : NSObject
| `- note: 'NSLayoutConstraint' has been explicitly marked unavailable here
127 |
128 | /* Create an array of constraints using an ASCII-art-like visual format string. The values of the `metrics` dictionary should be NSNumber (or some other type that responds to -doubleValue and returns a double).
/Users/admin/builder/spi-builder-workspace/Sources/Pinnable/NSLayoutDimension+Extensions.swift:117:39: error: 'required' is unavailable in watchOS
115 | lessThan anchor: NSLayoutDimension,
116 | multiplier: CGFloat = 1, constant: CGFloat = 0,
117 | priority: UILayoutPriority = .required
| `- error: 'required' is unavailable in watchOS
118 | ) -> NSLayoutConstraint {
119 | constraint(lessThanOrEqualTo: anchor, multiplier: multiplier, constant: constant)
UIKit.UILayoutPriority.required:3:21: note: 'required' has been explicitly marked unavailable here
1 | struct UILayoutPriority {
2 | @available(watchOS, unavailable)
3 | public static var required: UILayoutPriority { get }}
| `- note: 'required' has been explicitly marked unavailable here
4 |
/Users/admin/builder/spi-builder-workspace/Sources/Pinnable/NSLayoutDimension+Extensions.swift:10:11: error: 'NSLayoutDimension' is unavailable in watchOS
8 | import UIKit
9 |
10 | extension NSLayoutDimension {
| `- error: 'NSLayoutDimension' is unavailable in watchOS
11 | /// Constrain the receiver to a constant size. The constraint is automatically activated.
12 | ///
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutAnchor.h:81:12: note: 'NSLayoutDimension' has been explicitly marked unavailable here
79 | // This layout anchor subclass is used for sizes (width & height).
80 | NSLAYOUTANCHOR_EXTERN API_AVAILABLE(macos(10.11), ios(9.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
81 | @interface NSLayoutDimension : NSLayoutAnchor<NSLayoutDimension *>
| `- note: 'NSLayoutDimension' has been explicitly marked unavailable here
82 |
83 | // These methods return an inactive constraint of the form thisVariable = constant.
/Users/admin/builder/spi-builder-workspace/Sources/Pinnable/Pinnable.swift:12:20: error: 'NSLayoutYAxisAnchor' is unavailable in watchOS
10 | /// A shared interface for the pinnable properties of `UIView` and `UILayoutGuide`.
11 | @MainActor public protocol Pinnable: AnyObject {
12 | var topAnchor: NSLayoutYAxisAnchor { get }
| `- error: 'NSLayoutYAxisAnchor' is unavailable in watchOS
13 | var leadingAnchor: NSLayoutXAxisAnchor { get }
14 | var trailingAnchor: NSLayoutXAxisAnchor { get }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutAnchor.h:72:12: note: 'NSLayoutYAxisAnchor' has been explicitly marked unavailable here
70 |
71 | NSLAYOUTANCHOR_EXTERN API_AVAILABLE(macos(10.11), ios(9.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
72 | @interface NSLayoutYAxisAnchor : NSLayoutAnchor<NSLayoutYAxisAnchor *>
| `- note: 'NSLayoutYAxisAnchor' has been explicitly marked unavailable here
73 |
74 | // A composite anchor for creating constraints relating vertical distances between locations.
/Users/admin/builder/spi-builder-workspace/Sources/Pinnable/Pinnable.swift:13:24: error: 'NSLayoutXAxisAnchor' is unavailable in watchOS
11 | @MainActor public protocol Pinnable: AnyObject {
12 | var topAnchor: NSLayoutYAxisAnchor { get }
13 | var leadingAnchor: NSLayoutXAxisAnchor { get }
| `- error: 'NSLayoutXAxisAnchor' is unavailable in watchOS
14 | var trailingAnchor: NSLayoutXAxisAnchor { get }
15 | var bottomAnchor: NSLayoutYAxisAnchor { get }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutAnchor.h:64:12: note: 'NSLayoutXAxisAnchor' has been explicitly marked unavailable here
62 |
63 | NSLAYOUTANCHOR_EXTERN API_AVAILABLE(macos(10.11), ios(9.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
64 | @interface NSLayoutXAxisAnchor : NSLayoutAnchor<NSLayoutXAxisAnchor *>
| `- note: 'NSLayoutXAxisAnchor' has been explicitly marked unavailable here
65 |
66 | // A composite anchor for creating constraints relating horizontal distances between locations.
/Users/admin/builder/spi-builder-workspace/Sources/Pinnable/Pinnable.swift:14:25: error: 'NSLayoutXAxisAnchor' is unavailable in watchOS
12 | var topAnchor: NSLayoutYAxisAnchor { get }
13 | var leadingAnchor: NSLayoutXAxisAnchor { get }
14 | var trailingAnchor: NSLayoutXAxisAnchor { get }
| `- error: 'NSLayoutXAxisAnchor' is unavailable in watchOS
15 | var bottomAnchor: NSLayoutYAxisAnchor { get }
16 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutAnchor.h:64:12: note: 'NSLayoutXAxisAnchor' has been explicitly marked unavailable here
62 |
63 | NSLAYOUTANCHOR_EXTERN API_AVAILABLE(macos(10.11), ios(9.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
64 | @interface NSLayoutXAxisAnchor : NSLayoutAnchor<NSLayoutXAxisAnchor *>
| `- note: 'NSLayoutXAxisAnchor' has been explicitly marked unavailable here
65 |
66 | // A composite anchor for creating constraints relating horizontal distances between locations.
/Users/admin/builder/spi-builder-workspace/Sources/Pinnable/Pinnable.swift:15:23: error: 'NSLayoutYAxisAnchor' is unavailable in watchOS
13 | var leadingAnchor: NSLayoutXAxisAnchor { get }
14 | var trailingAnchor: NSLayoutXAxisAnchor { get }
15 | var bottomAnchor: NSLayoutYAxisAnchor { get }
| `- error: 'NSLayoutYAxisAnchor' is unavailable in watchOS
16 |
17 | var firstBaselineAnchor: NSLayoutYAxisAnchor { get }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutAnchor.h:72:12: note: 'NSLayoutYAxisAnchor' has been explicitly marked unavailable here
70 |
71 | NSLAYOUTANCHOR_EXTERN API_AVAILABLE(macos(10.11), ios(9.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
72 | @interface NSLayoutYAxisAnchor : NSLayoutAnchor<NSLayoutYAxisAnchor *>
| `- note: 'NSLayoutYAxisAnchor' has been explicitly marked unavailable here
73 |
74 | // A composite anchor for creating constraints relating vertical distances between locations.
/Users/admin/builder/spi-builder-workspace/Sources/Pinnable/Pinnable.swift:17:30: error: 'NSLayoutYAxisAnchor' is unavailable in watchOS
15 | var bottomAnchor: NSLayoutYAxisAnchor { get }
16 |
17 | var firstBaselineAnchor: NSLayoutYAxisAnchor { get }
| `- error: 'NSLayoutYAxisAnchor' is unavailable in watchOS
18 | var lastBaselineAnchor: NSLayoutYAxisAnchor { get }
19 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutAnchor.h:72:12: note: 'NSLayoutYAxisAnchor' has been explicitly marked unavailable here
70 |
71 | NSLAYOUTANCHOR_EXTERN API_AVAILABLE(macos(10.11), ios(9.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
72 | @interface NSLayoutYAxisAnchor : NSLayoutAnchor<NSLayoutYAxisAnchor *>
| `- note: 'NSLayoutYAxisAnchor' has been explicitly marked unavailable here
73 |
74 | // A composite anchor for creating constraints relating vertical distances between locations.
/Users/admin/builder/spi-builder-workspace/Sources/Pinnable/Pinnable.swift:18:29: error: 'NSLayoutYAxisAnchor' is unavailable in watchOS
16 |
17 | var firstBaselineAnchor: NSLayoutYAxisAnchor { get }
18 | var lastBaselineAnchor: NSLayoutYAxisAnchor { get }
| `- error: 'NSLayoutYAxisAnchor' is unavailable in watchOS
19 |
20 | var centerXAnchor: NSLayoutXAxisAnchor { get }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutAnchor.h:72:12: note: 'NSLayoutYAxisAnchor' has been explicitly marked unavailable here
70 |
71 | NSLAYOUTANCHOR_EXTERN API_AVAILABLE(macos(10.11), ios(9.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
72 | @interface NSLayoutYAxisAnchor : NSLayoutAnchor<NSLayoutYAxisAnchor *>
| `- note: 'NSLayoutYAxisAnchor' has been explicitly marked unavailable here
73 |
74 | // A composite anchor for creating constraints relating vertical distances between locations.
/Users/admin/builder/spi-builder-workspace/Sources/Pinnable/Pinnable.swift:20:24: error: 'NSLayoutXAxisAnchor' is unavailable in watchOS
18 | var lastBaselineAnchor: NSLayoutYAxisAnchor { get }
19 |
20 | var centerXAnchor: NSLayoutXAxisAnchor { get }
| `- error: 'NSLayoutXAxisAnchor' is unavailable in watchOS
21 | var centerYAnchor: NSLayoutYAxisAnchor { get }
22 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutAnchor.h:64:12: note: 'NSLayoutXAxisAnchor' has been explicitly marked unavailable here
62 |
63 | NSLAYOUTANCHOR_EXTERN API_AVAILABLE(macos(10.11), ios(9.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
64 | @interface NSLayoutXAxisAnchor : NSLayoutAnchor<NSLayoutXAxisAnchor *>
| `- note: 'NSLayoutXAxisAnchor' has been explicitly marked unavailable here
65 |
66 | // A composite anchor for creating constraints relating horizontal distances between locations.
/Users/admin/builder/spi-builder-workspace/Sources/Pinnable/Pinnable.swift:21:24: error: 'NSLayoutYAxisAnchor' is unavailable in watchOS
19 |
20 | var centerXAnchor: NSLayoutXAxisAnchor { get }
21 | var centerYAnchor: NSLayoutYAxisAnchor { get }
| `- error: 'NSLayoutYAxisAnchor' is unavailable in watchOS
22 |
23 | var widthAnchor: NSLayoutDimension { get }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutAnchor.h:72:12: note: 'NSLayoutYAxisAnchor' has been explicitly marked unavailable here
70 |
71 | NSLAYOUTANCHOR_EXTERN API_AVAILABLE(macos(10.11), ios(9.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
72 | @interface NSLayoutYAxisAnchor : NSLayoutAnchor<NSLayoutYAxisAnchor *>
| `- note: 'NSLayoutYAxisAnchor' has been explicitly marked unavailable here
73 |
74 | // A composite anchor for creating constraints relating vertical distances between locations.
/Users/admin/builder/spi-builder-workspace/Sources/Pinnable/Pinnable.swift:23:22: error: 'NSLayoutDimension' is unavailable in watchOS
21 | var centerYAnchor: NSLayoutYAxisAnchor { get }
22 |
23 | var widthAnchor: NSLayoutDimension { get }
| `- error: 'NSLayoutDimension' is unavailable in watchOS
24 | var heightAnchor: NSLayoutDimension { get }
25 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutAnchor.h:81:12: note: 'NSLayoutDimension' has been explicitly marked unavailable here
79 | // This layout anchor subclass is used for sizes (width & height).
80 | NSLAYOUTANCHOR_EXTERN API_AVAILABLE(macos(10.11), ios(9.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
81 | @interface NSLayoutDimension : NSLayoutAnchor<NSLayoutDimension *>
| `- note: 'NSLayoutDimension' has been explicitly marked unavailable here
82 |
83 | // These methods return an inactive constraint of the form thisVariable = constant.
/Users/admin/builder/spi-builder-workspace/Sources/Pinnable/Pinnable.swift:24:23: error: 'NSLayoutDimension' is unavailable in watchOS
22 |
23 | var widthAnchor: NSLayoutDimension { get }
24 | var heightAnchor: NSLayoutDimension { get }
| `- error: 'NSLayoutDimension' is unavailable in watchOS
25 |
26 | var superview: UIView? { get }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutAnchor.h:81:12: note: 'NSLayoutDimension' has been explicitly marked unavailable here
79 | // This layout anchor subclass is used for sizes (width & height).
80 | NSLAYOUTANCHOR_EXTERN API_AVAILABLE(macos(10.11), ios(9.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
81 | @interface NSLayoutDimension : NSLayoutAnchor<NSLayoutDimension *>
| `- note: 'NSLayoutDimension' has been explicitly marked unavailable here
82 |
83 | // These methods return an inactive constraint of the form thisVariable = constant.
/Users/admin/builder/spi-builder-workspace/Sources/Pinnable/Pinnable.swift:26:20: error: 'UIView' is unavailable in watchOS
24 | var heightAnchor: NSLayoutDimension { get }
25 |
26 | var superview: UIView? { get }
| `- 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/Pinnable/Pinnable.swift:43:16: error: 'NSLayoutConstraint' is unavailable in watchOS
41 | to object: Pinnable,
42 | insets: UIEdgeInsets = .zero
43 | ) -> (top: NSLayoutConstraint?, leading: NSLayoutConstraint?, bottom: NSLayoutConstraint?, trailing: NSLayoutConstraint?) {
| `- error: 'NSLayoutConstraint' is unavailable in watchOS
44 | let top = edges.contains(.top) ? topAnchor.pin(to: object.topAnchor, constant: insets.top) : nil
45 | let leading = edges.contains(.left) ? leadingAnchor.pin(to: object.leadingAnchor, constant: insets.left) : 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/NSLayoutConstraint.h:126:12: note: 'NSLayoutConstraint' has been explicitly marked unavailable here
124 |
125 | NSLAYOUTCONSTRAINT_EXTERN API_AVAILABLE(macos(10.7), ios(6.0), tvos(9.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
126 | @interface NSLayoutConstraint : NSObject
| `- note: 'NSLayoutConstraint' has been explicitly marked unavailable here
127 |
128 | /* Create an array of constraints using an ASCII-art-like visual format string. The values of the `metrics` dictionary should be NSNumber (or some other type that responds to -doubleValue and returns a double).
/Users/admin/builder/spi-builder-workspace/Sources/Pinnable/Pinnable.swift:43:46: error: 'NSLayoutConstraint' is unavailable in watchOS
41 | to object: Pinnable,
42 | insets: UIEdgeInsets = .zero
43 | ) -> (top: NSLayoutConstraint?, leading: NSLayoutConstraint?, bottom: NSLayoutConstraint?, trailing: NSLayoutConstraint?) {
| `- error: 'NSLayoutConstraint' is unavailable in watchOS
44 | let top = edges.contains(.top) ? topAnchor.pin(to: object.topAnchor, constant: insets.top) : nil
45 | let leading = edges.contains(.left) ? leadingAnchor.pin(to: object.leadingAnchor, constant: insets.left) : 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/NSLayoutConstraint.h:126:12: note: 'NSLayoutConstraint' has been explicitly marked unavailable here
124 |
125 | NSLAYOUTCONSTRAINT_EXTERN API_AVAILABLE(macos(10.7), ios(6.0), tvos(9.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
126 | @interface NSLayoutConstraint : NSObject
| `- note: 'NSLayoutConstraint' has been explicitly marked unavailable here
127 |
128 | /* Create an array of constraints using an ASCII-art-like visual format string. The values of the `metrics` dictionary should be NSNumber (or some other type that responds to -doubleValue and returns a double).
/Users/admin/builder/spi-builder-workspace/Sources/Pinnable/Pinnable.swift:43:75: error: 'NSLayoutConstraint' is unavailable in watchOS
41 | to object: Pinnable,
42 | insets: UIEdgeInsets = .zero
43 | ) -> (top: NSLayoutConstraint?, leading: NSLayoutConstraint?, bottom: NSLayoutConstraint?, trailing: NSLayoutConstraint?) {
| `- error: 'NSLayoutConstraint' is unavailable in watchOS
44 | let top = edges.contains(.top) ? topAnchor.pin(to: object.topAnchor, constant: insets.top) : nil
45 | let leading = edges.contains(.left) ? leadingAnchor.pin(to: object.leadingAnchor, constant: insets.left) : 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/NSLayoutConstraint.h:126:12: note: 'NSLayoutConstraint' has been explicitly marked unavailable here
124 |
125 | NSLAYOUTCONSTRAINT_EXTERN API_AVAILABLE(macos(10.7), ios(6.0), tvos(9.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
126 | @interface NSLayoutConstraint : NSObject
| `- note: 'NSLayoutConstraint' has been explicitly marked unavailable here
127 |
128 | /* Create an array of constraints using an ASCII-art-like visual format string. The values of the `metrics` dictionary should be NSNumber (or some other type that responds to -doubleValue and returns a double).
/Users/admin/builder/spi-builder-workspace/Sources/Pinnable/Pinnable.swift:43:106: error: 'NSLayoutConstraint' is unavailable in watchOS
41 | to object: Pinnable,
42 | insets: UIEdgeInsets = .zero
43 | ) -> (top: NSLayoutConstraint?, leading: NSLayoutConstraint?, bottom: NSLayoutConstraint?, trailing: NSLayoutConstraint?) {
| `- error: 'NSLayoutConstraint' is unavailable in watchOS
44 | let top = edges.contains(.top) ? topAnchor.pin(to: object.topAnchor, constant: insets.top) : nil
45 | let leading = edges.contains(.left) ? leadingAnchor.pin(to: object.leadingAnchor, constant: insets.left) : 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/NSLayoutConstraint.h:126:12: note: 'NSLayoutConstraint' has been explicitly marked unavailable here
124 |
125 | NSLAYOUTCONSTRAINT_EXTERN API_AVAILABLE(macos(10.7), ios(6.0), tvos(9.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
126 | @interface NSLayoutConstraint : NSObject
| `- note: 'NSLayoutConstraint' has been explicitly marked unavailable here
127 |
128 | /* Create an array of constraints using an ASCII-art-like visual format string. The values of the `metrics` dictionary should be NSNumber (or some other type that responds to -doubleValue and returns a double).
/Users/admin/builder/spi-builder-workspace/Sources/Pinnable/Pinnable.swift:66:16: error: 'NSLayoutConstraint' is unavailable in watchOS
64 | _ edges: UIRectEdge = .all,
65 | insets: UIEdgeInsets = .zero
66 | ) -> (top: NSLayoutConstraint?, leading: NSLayoutConstraint?, bottom: NSLayoutConstraint?, trailing: NSLayoutConstraint?) {
| `- error: 'NSLayoutConstraint' is unavailable in watchOS
67 | guard let superview else {
68 | fatalError("Receiver must have a superview to use this method.")
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutConstraint.h:126:12: note: 'NSLayoutConstraint' has been explicitly marked unavailable here
124 |
125 | NSLAYOUTCONSTRAINT_EXTERN API_AVAILABLE(macos(10.7), ios(6.0), tvos(9.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
126 | @interface NSLayoutConstraint : NSObject
| `- note: 'NSLayoutConstraint' has been explicitly marked unavailable here
127 |
128 | /* Create an array of constraints using an ASCII-art-like visual format string. The values of the `metrics` dictionary should be NSNumber (or some other type that responds to -doubleValue and returns a double).
/Users/admin/builder/spi-builder-workspace/Sources/Pinnable/Pinnable.swift:66:46: error: 'NSLayoutConstraint' is unavailable in watchOS
64 | _ edges: UIRectEdge = .all,
65 | insets: UIEdgeInsets = .zero
66 | ) -> (top: NSLayoutConstraint?, leading: NSLayoutConstraint?, bottom: NSLayoutConstraint?, trailing: NSLayoutConstraint?) {
| `- error: 'NSLayoutConstraint' is unavailable in watchOS
67 | guard let superview else {
68 | fatalError("Receiver must have a superview to use this method.")
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutConstraint.h:126:12: note: 'NSLayoutConstraint' has been explicitly marked unavailable here
124 |
125 | NSLAYOUTCONSTRAINT_EXTERN API_AVAILABLE(macos(10.7), ios(6.0), tvos(9.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
126 | @interface NSLayoutConstraint : NSObject
| `- note: 'NSLayoutConstraint' has been explicitly marked unavailable here
127 |
128 | /* Create an array of constraints using an ASCII-art-like visual format string. The values of the `metrics` dictionary should be NSNumber (or some other type that responds to -doubleValue and returns a double).
/Users/admin/builder/spi-builder-workspace/Sources/Pinnable/Pinnable.swift:66:75: error: 'NSLayoutConstraint' is unavailable in watchOS
64 | _ edges: UIRectEdge = .all,
65 | insets: UIEdgeInsets = .zero
66 | ) -> (top: NSLayoutConstraint?, leading: NSLayoutConstraint?, bottom: NSLayoutConstraint?, trailing: NSLayoutConstraint?) {
| `- error: 'NSLayoutConstraint' is unavailable in watchOS
67 | guard let superview else {
68 | fatalError("Receiver must have a superview to use this method.")
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutConstraint.h:126:12: note: 'NSLayoutConstraint' has been explicitly marked unavailable here
124 |
125 | NSLAYOUTCONSTRAINT_EXTERN API_AVAILABLE(macos(10.7), ios(6.0), tvos(9.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
126 | @interface NSLayoutConstraint : NSObject
| `- note: 'NSLayoutConstraint' has been explicitly marked unavailable here
127 |
128 | /* Create an array of constraints using an ASCII-art-like visual format string. The values of the `metrics` dictionary should be NSNumber (or some other type that responds to -doubleValue and returns a double).
/Users/admin/builder/spi-builder-workspace/Sources/Pinnable/Pinnable.swift:66:106: error: 'NSLayoutConstraint' is unavailable in watchOS
64 | _ edges: UIRectEdge = .all,
65 | insets: UIEdgeInsets = .zero
66 | ) -> (top: NSLayoutConstraint?, leading: NSLayoutConstraint?, bottom: NSLayoutConstraint?, trailing: NSLayoutConstraint?) {
| `- error: 'NSLayoutConstraint' is unavailable in watchOS
67 | guard let superview else {
68 | fatalError("Receiver must have a superview to use this method.")
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutConstraint.h:126:12: note: 'NSLayoutConstraint' has been explicitly marked unavailable here
124 |
125 | NSLAYOUTCONSTRAINT_EXTERN API_AVAILABLE(macos(10.7), ios(6.0), tvos(9.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
126 | @interface NSLayoutConstraint : NSObject
| `- note: 'NSLayoutConstraint' has been explicitly marked unavailable here
127 |
128 | /* Create an array of constraints using an ASCII-art-like visual format string. The values of the `metrics` dictionary should be NSNumber (or some other type that responds to -doubleValue and returns a double).
/Users/admin/builder/spi-builder-workspace/Sources/Pinnable/Pinnable.swift:85:16: error: 'NSLayoutConstraint' is unavailable in watchOS
83 | _ edges: UIRectEdge = .all,
84 | insets: UIEdgeInsets = .zero
85 | ) -> (top: NSLayoutConstraint?, leading: NSLayoutConstraint?, bottom: NSLayoutConstraint?, trailing: NSLayoutConstraint?) {
| `- error: 'NSLayoutConstraint' is unavailable in watchOS
86 | guard let superview else {
87 | fatalError("Receiver must have a superview to use this method.")
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutConstraint.h:126:12: note: 'NSLayoutConstraint' has been explicitly marked unavailable here
124 |
125 | NSLAYOUTCONSTRAINT_EXTERN API_AVAILABLE(macos(10.7), ios(6.0), tvos(9.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
126 | @interface NSLayoutConstraint : NSObject
| `- note: 'NSLayoutConstraint' has been explicitly marked unavailable here
127 |
128 | /* Create an array of constraints using an ASCII-art-like visual format string. The values of the `metrics` dictionary should be NSNumber (or some other type that responds to -doubleValue and returns a double).
/Users/admin/builder/spi-builder-workspace/Sources/Pinnable/Pinnable.swift:85:46: error: 'NSLayoutConstraint' is unavailable in watchOS
83 | _ edges: UIRectEdge = .all,
84 | insets: UIEdgeInsets = .zero
85 | ) -> (top: NSLayoutConstraint?, leading: NSLayoutConstraint?, bottom: NSLayoutConstraint?, trailing: NSLayoutConstraint?) {
| `- error: 'NSLayoutConstraint' is unavailable in watchOS
86 | guard let superview else {
87 | fatalError("Receiver must have a superview to use this method.")
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutConstraint.h:126:12: note: 'NSLayoutConstraint' has been explicitly marked unavailable here
124 |
125 | NSLAYOUTCONSTRAINT_EXTERN API_AVAILABLE(macos(10.7), ios(6.0), tvos(9.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
126 | @interface NSLayoutConstraint : NSObject
| `- note: 'NSLayoutConstraint' has been explicitly marked unavailable here
127 |
128 | /* Create an array of constraints using an ASCII-art-like visual format string. The values of the `metrics` dictionary should be NSNumber (or some other type that responds to -doubleValue and returns a double).
/Users/admin/builder/spi-builder-workspace/Sources/Pinnable/Pinnable.swift:85:75: error: 'NSLayoutConstraint' is unavailable in watchOS
83 | _ edges: UIRectEdge = .all,
84 | insets: UIEdgeInsets = .zero
85 | ) -> (top: NSLayoutConstraint?, leading: NSLayoutConstraint?, bottom: NSLayoutConstraint?, trailing: NSLayoutConstraint?) {
| `- error: 'NSLayoutConstraint' is unavailable in watchOS
86 | guard let superview else {
87 | fatalError("Receiver must have a superview to use this method.")
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutConstraint.h:126:12: note: 'NSLayoutConstraint' has been explicitly marked unavailable here
124 |
125 | NSLAYOUTCONSTRAINT_EXTERN API_AVAILABLE(macos(10.7), ios(6.0), tvos(9.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
126 | @interface NSLayoutConstraint : NSObject
| `- note: 'NSLayoutConstraint' has been explicitly marked unavailable here
127 |
128 | /* Create an array of constraints using an ASCII-art-like visual format string. The values of the `metrics` dictionary should be NSNumber (or some other type that responds to -doubleValue and returns a double).
/Users/admin/builder/spi-builder-workspace/Sources/Pinnable/Pinnable.swift:85:106: error: 'NSLayoutConstraint' is unavailable in watchOS
83 | _ edges: UIRectEdge = .all,
84 | insets: UIEdgeInsets = .zero
85 | ) -> (top: NSLayoutConstraint?, leading: NSLayoutConstraint?, bottom: NSLayoutConstraint?, trailing: NSLayoutConstraint?) {
| `- error: 'NSLayoutConstraint' is unavailable in watchOS
86 | guard let superview else {
87 | fatalError("Receiver must have a superview to use this method.")
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutConstraint.h:126:12: note: 'NSLayoutConstraint' has been explicitly marked unavailable here
124 |
125 | NSLAYOUTCONSTRAINT_EXTERN API_AVAILABLE(macos(10.7), ios(6.0), tvos(9.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
126 | @interface NSLayoutConstraint : NSObject
| `- note: 'NSLayoutConstraint' has been explicitly marked unavailable here
127 |
128 | /* Create an array of constraints using an ASCII-art-like visual format string. The values of the `metrics` dictionary should be NSNumber (or some other type that responds to -doubleValue and returns a double).
/Users/admin/builder/spi-builder-workspace/Sources/Pinnable/Pinnable.swift:104:14: error: 'NSLayoutConstraint' is unavailable in watchOS
102 | to object: Pinnable,
103 | offset: UIOffset = .zero
104 | ) -> (x: NSLayoutConstraint, y: NSLayoutConstraint) {
| `- error: 'NSLayoutConstraint' is unavailable in watchOS
105 | let centerX = centerXAnchor.pin(to: object.centerXAnchor, constant: offset.horizontal)
106 | let centerY = centerYAnchor.pin(to: object.centerYAnchor, constant: offset.vertical)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutConstraint.h:126:12: note: 'NSLayoutConstraint' has been explicitly marked unavailable here
124 |
125 | NSLAYOUTCONSTRAINT_EXTERN API_AVAILABLE(macos(10.7), ios(6.0), tvos(9.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
126 | @interface NSLayoutConstraint : NSObject
| `- note: 'NSLayoutConstraint' has been explicitly marked unavailable here
127 |
128 | /* Create an array of constraints using an ASCII-art-like visual format string. The values of the `metrics` dictionary should be NSNumber (or some other type that responds to -doubleValue and returns a double).
/Users/admin/builder/spi-builder-workspace/Sources/Pinnable/Pinnable.swift:104:37: error: 'NSLayoutConstraint' is unavailable in watchOS
102 | to object: Pinnable,
103 | offset: UIOffset = .zero
104 | ) -> (x: NSLayoutConstraint, y: NSLayoutConstraint) {
| `- error: 'NSLayoutConstraint' is unavailable in watchOS
105 | let centerX = centerXAnchor.pin(to: object.centerXAnchor, constant: offset.horizontal)
106 | let centerY = centerYAnchor.pin(to: object.centerYAnchor, constant: offset.vertical)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutConstraint.h:126:12: note: 'NSLayoutConstraint' has been explicitly marked unavailable here
124 |
125 | NSLAYOUTCONSTRAINT_EXTERN API_AVAILABLE(macos(10.7), ios(6.0), tvos(9.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
126 | @interface NSLayoutConstraint : NSObject
| `- note: 'NSLayoutConstraint' has been explicitly marked unavailable here
127 |
128 | /* Create an array of constraints using an ASCII-art-like visual format string. The values of the `metrics` dictionary should be NSNumber (or some other type that responds to -doubleValue and returns a double).
/Users/admin/builder/spi-builder-workspace/Sources/Pinnable/Pinnable.swift:127:18: error: 'NSLayoutConstraint' is unavailable in watchOS
125 | @discardableResult public func pinSize(
126 | to object: Pinnable
127 | ) -> (width: NSLayoutConstraint, height: NSLayoutConstraint) {
| `- error: 'NSLayoutConstraint' is unavailable in watchOS
128 | let height = heightAnchor.pin(to: object.heightAnchor)
129 | let width = widthAnchor.pin(to: object.widthAnchor)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutConstraint.h:126:12: note: 'NSLayoutConstraint' has been explicitly marked unavailable here
124 |
125 | NSLAYOUTCONSTRAINT_EXTERN API_AVAILABLE(macos(10.7), ios(6.0), tvos(9.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
126 | @interface NSLayoutConstraint : NSObject
| `- note: 'NSLayoutConstraint' has been explicitly marked unavailable here
127 |
128 | /* Create an array of constraints using an ASCII-art-like visual format string. The values of the `metrics` dictionary should be NSNumber (or some other type that responds to -doubleValue and returns a double).
/Users/admin/builder/spi-builder-workspace/Sources/Pinnable/Pinnable.swift:127:46: error: 'NSLayoutConstraint' is unavailable in watchOS
125 | @discardableResult public func pinSize(
126 | to object: Pinnable
127 | ) -> (width: NSLayoutConstraint, height: NSLayoutConstraint) {
| `- error: 'NSLayoutConstraint' is unavailable in watchOS
128 | let height = heightAnchor.pin(to: object.heightAnchor)
129 | let width = widthAnchor.pin(to: object.widthAnchor)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutConstraint.h:126:12: note: 'NSLayoutConstraint' has been explicitly marked unavailable here
124 |
125 | NSLAYOUTCONSTRAINT_EXTERN API_AVAILABLE(macos(10.7), ios(6.0), tvos(9.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
126 | @interface NSLayoutConstraint : NSObject
| `- note: 'NSLayoutConstraint' has been explicitly marked unavailable here
127 |
128 | /* Create an array of constraints using an ASCII-art-like visual format string. The values of the `metrics` dictionary should be NSNumber (or some other type that responds to -doubleValue and returns a double).
/Users/admin/builder/spi-builder-workspace/Sources/Pinnable/Pinnable.swift:150:18: error: 'NSLayoutConstraint' is unavailable in watchOS
148 | @discardableResult public func pinSize(
149 | to size: CGSize
150 | ) -> (width: NSLayoutConstraint, height: NSLayoutConstraint) {
| `- error: 'NSLayoutConstraint' is unavailable in watchOS
151 | let height = heightAnchor.pin(to: size.height)
152 | let width = widthAnchor.pin(to: size.width)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutConstraint.h:126:12: note: 'NSLayoutConstraint' has been explicitly marked unavailable here
124 |
125 | NSLAYOUTCONSTRAINT_EXTERN API_AVAILABLE(macos(10.7), ios(6.0), tvos(9.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
126 | @interface NSLayoutConstraint : NSObject
| `- note: 'NSLayoutConstraint' has been explicitly marked unavailable here
127 |
128 | /* Create an array of constraints using an ASCII-art-like visual format string. The values of the `metrics` dictionary should be NSNumber (or some other type that responds to -doubleValue and returns a double).
/Users/admin/builder/spi-builder-workspace/Sources/Pinnable/Pinnable.swift:150:46: error: 'NSLayoutConstraint' is unavailable in watchOS
148 | @discardableResult public func pinSize(
149 | to size: CGSize
150 | ) -> (width: NSLayoutConstraint, height: NSLayoutConstraint) {
| `- error: 'NSLayoutConstraint' is unavailable in watchOS
151 | let height = heightAnchor.pin(to: size.height)
152 | let width = widthAnchor.pin(to: size.width)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutConstraint.h:126:12: note: 'NSLayoutConstraint' has been explicitly marked unavailable here
124 |
125 | NSLAYOUTCONSTRAINT_EXTERN API_AVAILABLE(macos(10.7), ios(6.0), tvos(9.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
126 | @interface NSLayoutConstraint : NSObject
| `- note: 'NSLayoutConstraint' has been explicitly marked unavailable here
127 |
128 | /* Create an array of constraints using an ASCII-art-like visual format string. The values of the `metrics` dictionary should be NSNumber (or some other type that responds to -doubleValue and returns a double).
/Users/admin/builder/spi-builder-workspace/Sources/Pinnable/Pinnable.swift:173:18: error: 'NSLayoutConstraint' is unavailable in watchOS
171 | @discardableResult public func pinSize(
172 | to constant: CGFloat
173 | ) -> (width: NSLayoutConstraint, height: NSLayoutConstraint) {
| `- error: 'NSLayoutConstraint' is unavailable in watchOS
174 | pinSize(to: CGSize(width: constant, height: constant))
175 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutConstraint.h:126:12: note: 'NSLayoutConstraint' has been explicitly marked unavailable here
124 |
125 | NSLAYOUTCONSTRAINT_EXTERN API_AVAILABLE(macos(10.7), ios(6.0), tvos(9.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
126 | @interface NSLayoutConstraint : NSObject
| `- note: 'NSLayoutConstraint' has been explicitly marked unavailable here
127 |
128 | /* Create an array of constraints using an ASCII-art-like visual format string. The values of the `metrics` dictionary should be NSNumber (or some other type that responds to -doubleValue and returns a double).
/Users/admin/builder/spi-builder-workspace/Sources/Pinnable/Pinnable.swift:173:46: error: 'NSLayoutConstraint' is unavailable in watchOS
171 | @discardableResult public func pinSize(
172 | to constant: CGFloat
173 | ) -> (width: NSLayoutConstraint, height: NSLayoutConstraint) {
| `- error: 'NSLayoutConstraint' is unavailable in watchOS
174 | pinSize(to: CGSize(width: constant, height: constant))
175 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutConstraint.h:126:12: note: 'NSLayoutConstraint' has been explicitly marked unavailable here
124 |
125 | NSLAYOUTCONSTRAINT_EXTERN API_AVAILABLE(macos(10.7), ios(6.0), tvos(9.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
126 | @interface NSLayoutConstraint : NSObject
| `- note: 'NSLayoutConstraint' has been explicitly marked unavailable here
127 |
128 | /* Create an array of constraints using an ASCII-art-like visual format string. The values of the `metrics` dictionary should be NSNumber (or some other type that responds to -doubleValue and returns a double).
/Users/admin/builder/spi-builder-workspace/Sources/Pinnable/UILayoutGuide+Pinnable.swift:12:37: error: 'NSLayoutYAxisAnchor' is unavailable in watchOS
10 | extension UILayoutGuide: Pinnable {
11 | /// Equivalent to `bottomAnchor`.
12 | public var firstBaselineAnchor: NSLayoutYAxisAnchor {
| `- error: 'NSLayoutYAxisAnchor' is unavailable in watchOS
13 | bottomAnchor
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/NSLayoutAnchor.h:72:12: note: 'NSLayoutYAxisAnchor' has been explicitly marked unavailable here
70 |
71 | NSLAYOUTANCHOR_EXTERN API_AVAILABLE(macos(10.11), ios(9.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
72 | @interface NSLayoutYAxisAnchor : NSLayoutAnchor<NSLayoutYAxisAnchor *>
| `- note: 'NSLayoutYAxisAnchor' has been explicitly marked unavailable here
73 |
74 | // A composite anchor for creating constraints relating vertical distances between locations.
/Users/admin/builder/spi-builder-workspace/Sources/Pinnable/UILayoutGuide+Pinnable.swift:17:36: error: 'NSLayoutYAxisAnchor' is unavailable in watchOS
15 |
16 | /// Equivalent to `bottomAnchor`.
17 | public var lastBaselineAnchor: NSLayoutYAxisAnchor {
| `- error: 'NSLayoutYAxisAnchor' is unavailable in watchOS
18 | bottomAnchor
19 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutAnchor.h:72:12: note: 'NSLayoutYAxisAnchor' has been explicitly marked unavailable here
70 |
71 | NSLAYOUTANCHOR_EXTERN API_AVAILABLE(macos(10.11), ios(9.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
72 | @interface NSLayoutYAxisAnchor : NSLayoutAnchor<NSLayoutYAxisAnchor *>
| `- note: 'NSLayoutYAxisAnchor' has been explicitly marked unavailable here
73 |
74 | // A composite anchor for creating constraints relating vertical distances between locations.
/Users/admin/builder/spi-builder-workspace/Sources/Pinnable/UILayoutGuide+Pinnable.swift:21:27: error: 'UIView' is unavailable in watchOS
19 | }
20 |
21 | public var superview: UIView? {
| `- error: 'UIView' is unavailable in watchOS
22 | owningView?.superview
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.
SwiftCompile normal arm64_32 (in target 'Pinnable' from project 'Pinnable')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64_32 Compiling\ NSLayoutAnchor+Extensions.swift /Users/admin/builder/spi-builder-workspace/Sources/Pinnable/NSLayoutAnchor+Extensions.swift (in target 'Pinnable' from project 'Pinnable')
/Users/admin/builder/spi-builder-workspace/Sources/Pinnable/NSLayoutAnchor+Extensions.swift:21:20: error: 'NSLayoutAnchor' is unavailable in watchOS
19 | /// - Returns: The constraint that was created.
20 | @objc @discardableResult public func pin(
21 | to anchor: NSLayoutAnchor<AnchorType>,
| `- error: 'NSLayoutAnchor' is unavailable in watchOS
22 | constant: CGFloat = 0,
23 | priority: UILayoutPriority = .required
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutAnchor.h:34:12: note: 'NSLayoutAnchor' has been explicitly marked unavailable here
32 | */
33 | NSLAYOUTANCHOR_EXTERN API_AVAILABLE(macos(10.11), ios(9.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
34 | @interface NSLayoutAnchor<AnchorType> : NSObject
| `- note: 'NSLayoutAnchor' has been explicitly marked unavailable here
35 | // NSLayoutAnchor conforms to <NSCopying> and <NSCoding> on macOS 10.12, iOS 10, and tvOS 10
36 | #if (__MAC_OS_X_VERSION_MIN_REQUIRED >= 101200) || \
/Users/admin/builder/spi-builder-workspace/Sources/Pinnable/NSLayoutAnchor+Extensions.swift:23:19: error: 'UILayoutPriority' is unavailable in watchOS
21 | to anchor: NSLayoutAnchor<AnchorType>,
22 | constant: CGFloat = 0,
23 | priority: UILayoutPriority = .required
| `- error: 'UILayoutPriority' is unavailable in watchOS
24 | ) -> NSLayoutConstraint {
25 | constraint(equalTo: anchor, constant: constant)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutConstraint.h:17:15: note: 'UILayoutPriority' has been explicitly marked unavailable here
15 | @class NSArray, NSDictionary, NSLayoutAnchor;
16 |
17 | typedef float UILayoutPriority NS_TYPED_EXTENSIBLE_ENUM API_UNAVAILABLE(watchos);
| `- note: 'UILayoutPriority' has been explicitly marked unavailable here
18 | static const UILayoutPriority UILayoutPriorityRequired API_AVAILABLE(ios(6.0)) API_UNAVAILABLE(watchos) = 1000; // A required constraint. Do not exceed this.
19 | static const UILayoutPriority UILayoutPriorityDefaultHigh API_AVAILABLE(ios(6.0)) API_UNAVAILABLE(watchos) = 750; // This is the priority level with which a button resists compressing its content.
/Users/admin/builder/spi-builder-workspace/Sources/Pinnable/NSLayoutAnchor+Extensions.swift:24:10: error: 'NSLayoutConstraint' is unavailable in watchOS
22 | constant: CGFloat = 0,
23 | priority: UILayoutPriority = .required
24 | ) -> NSLayoutConstraint {
| `- error: 'NSLayoutConstraint' is unavailable in watchOS
25 | constraint(equalTo: anchor, constant: constant)
26 | .prioritize(priority)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutConstraint.h:126:12: note: 'NSLayoutConstraint' has been explicitly marked unavailable here
124 |
125 | NSLAYOUTCONSTRAINT_EXTERN API_AVAILABLE(macos(10.7), ios(6.0), tvos(9.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
126 | @interface NSLayoutConstraint : NSObject
| `- note: 'NSLayoutConstraint' has been explicitly marked unavailable here
127 |
128 | /* Create an array of constraints using an ASCII-art-like visual format string. The values of the `metrics` dictionary should be NSNumber (or some other type that responds to -doubleValue and returns a double).
/Users/admin/builder/spi-builder-workspace/Sources/Pinnable/NSLayoutAnchor+Extensions.swift:23:39: error: 'required' is unavailable in watchOS
21 | to anchor: NSLayoutAnchor<AnchorType>,
22 | constant: CGFloat = 0,
23 | priority: UILayoutPriority = .required
| `- error: 'required' is unavailable in watchOS
24 | ) -> NSLayoutConstraint {
25 | constraint(equalTo: anchor, constant: constant)
UIKit.UILayoutPriority.required:3:21: note: 'required' has been explicitly marked unavailable here
1 | struct UILayoutPriority {
2 | @available(watchOS, unavailable)
3 | public static var required: UILayoutPriority { get }}
| `- note: 'required' has been explicitly marked unavailable here
4 |
/Users/admin/builder/spi-builder-workspace/Sources/Pinnable/NSLayoutAnchor+Extensions.swift:40:29: error: 'NSLayoutAnchor' is unavailable in watchOS
38 | /// - Returns: The constraint that was created.
39 | @objc @discardableResult public func pin(
40 | greaterThan anchor: NSLayoutAnchor<AnchorType>,
| `- error: 'NSLayoutAnchor' is unavailable in watchOS
41 | constant: CGFloat = 0,
42 | priority: UILayoutPriority = .required
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutAnchor.h:34:12: note: 'NSLayoutAnchor' has been explicitly marked unavailable here
32 | */
33 | NSLAYOUTANCHOR_EXTERN API_AVAILABLE(macos(10.11), ios(9.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
34 | @interface NSLayoutAnchor<AnchorType> : NSObject
| `- note: 'NSLayoutAnchor' has been explicitly marked unavailable here
35 | // NSLayoutAnchor conforms to <NSCopying> and <NSCoding> on macOS 10.12, iOS 10, and tvOS 10
36 | #if (__MAC_OS_X_VERSION_MIN_REQUIRED >= 101200) || \
/Users/admin/builder/spi-builder-workspace/Sources/Pinnable/NSLayoutAnchor+Extensions.swift:42:19: error: 'UILayoutPriority' is unavailable in watchOS
40 | greaterThan anchor: NSLayoutAnchor<AnchorType>,
41 | constant: CGFloat = 0,
42 | priority: UILayoutPriority = .required
| `- error: 'UILayoutPriority' is unavailable in watchOS
43 | ) -> NSLayoutConstraint {
44 | constraint(greaterThanOrEqualTo: anchor, constant: constant)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutConstraint.h:17:15: note: 'UILayoutPriority' has been explicitly marked unavailable here
15 | @class NSArray, NSDictionary, NSLayoutAnchor;
16 |
17 | typedef float UILayoutPriority NS_TYPED_EXTENSIBLE_ENUM API_UNAVAILABLE(watchos);
| `- note: 'UILayoutPriority' has been explicitly marked unavailable here
18 | static const UILayoutPriority UILayoutPriorityRequired API_AVAILABLE(ios(6.0)) API_UNAVAILABLE(watchos) = 1000; // A required constraint. Do not exceed this.
19 | static const UILayoutPriority UILayoutPriorityDefaultHigh API_AVAILABLE(ios(6.0)) API_UNAVAILABLE(watchos) = 750; // This is the priority level with which a button resists compressing its content.
/Users/admin/builder/spi-builder-workspace/Sources/Pinnable/NSLayoutAnchor+Extensions.swift:43:10: error: 'NSLayoutConstraint' is unavailable in watchOS
41 | constant: CGFloat = 0,
42 | priority: UILayoutPriority = .required
43 | ) -> NSLayoutConstraint {
| `- error: 'NSLayoutConstraint' is unavailable in watchOS
44 | constraint(greaterThanOrEqualTo: anchor, constant: constant)
45 | .prioritize(priority)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutConstraint.h:126:12: note: 'NSLayoutConstraint' has been explicitly marked unavailable here
124 |
125 | NSLAYOUTCONSTRAINT_EXTERN API_AVAILABLE(macos(10.7), ios(6.0), tvos(9.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
126 | @interface NSLayoutConstraint : NSObject
| `- note: 'NSLayoutConstraint' has been explicitly marked unavailable here
127 |
128 | /* Create an array of constraints using an ASCII-art-like visual format string. The values of the `metrics` dictionary should be NSNumber (or some other type that responds to -doubleValue and returns a double).
/Users/admin/builder/spi-builder-workspace/Sources/Pinnable/NSLayoutAnchor+Extensions.swift:42:39: error: 'required' is unavailable in watchOS
40 | greaterThan anchor: NSLayoutAnchor<AnchorType>,
41 | constant: CGFloat = 0,
42 | priority: UILayoutPriority = .required
| `- error: 'required' is unavailable in watchOS
43 | ) -> NSLayoutConstraint {
44 | constraint(greaterThanOrEqualTo: anchor, constant: constant)
UIKit.UILayoutPriority.required:3:21: note: 'required' has been explicitly marked unavailable here
1 | struct UILayoutPriority {
2 | @available(watchOS, unavailable)
3 | public static var required: UILayoutPriority { get }}
| `- note: 'required' has been explicitly marked unavailable here
4 |
/Users/admin/builder/spi-builder-workspace/Sources/Pinnable/NSLayoutAnchor+Extensions.swift:59:26: error: 'NSLayoutAnchor' is unavailable in watchOS
57 | /// - Returns: The constraint that was created.
58 | @objc @discardableResult public func pin(
59 | lessThan anchor: NSLayoutAnchor<AnchorType>,
| `- error: 'NSLayoutAnchor' is unavailable in watchOS
60 | constant: CGFloat = 0,
61 | priority: UILayoutPriority = .required
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutAnchor.h:34:12: note: 'NSLayoutAnchor' has been explicitly marked unavailable here
32 | */
33 | NSLAYOUTANCHOR_EXTERN API_AVAILABLE(macos(10.11), ios(9.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
34 | @interface NSLayoutAnchor<AnchorType> : NSObject
| `- note: 'NSLayoutAnchor' has been explicitly marked unavailable here
35 | // NSLayoutAnchor conforms to <NSCopying> and <NSCoding> on macOS 10.12, iOS 10, and tvOS 10
36 | #if (__MAC_OS_X_VERSION_MIN_REQUIRED >= 101200) || \
/Users/admin/builder/spi-builder-workspace/Sources/Pinnable/NSLayoutAnchor+Extensions.swift:61:19: error: 'UILayoutPriority' is unavailable in watchOS
59 | lessThan anchor: NSLayoutAnchor<AnchorType>,
60 | constant: CGFloat = 0,
61 | priority: UILayoutPriority = .required
| `- error: 'UILayoutPriority' is unavailable in watchOS
62 | ) -> NSLayoutConstraint {
63 | constraint(lessThanOrEqualTo: anchor, constant: constant)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutConstraint.h:17:15: note: 'UILayoutPriority' has been explicitly marked unavailable here
15 | @class NSArray, NSDictionary, NSLayoutAnchor;
16 |
17 | typedef float UILayoutPriority NS_TYPED_EXTENSIBLE_ENUM API_UNAVAILABLE(watchos);
| `- note: 'UILayoutPriority' has been explicitly marked unavailable here
18 | static const UILayoutPriority UILayoutPriorityRequired API_AVAILABLE(ios(6.0)) API_UNAVAILABLE(watchos) = 1000; // A required constraint. Do not exceed this.
19 | static const UILayoutPriority UILayoutPriorityDefaultHigh API_AVAILABLE(ios(6.0)) API_UNAVAILABLE(watchos) = 750; // This is the priority level with which a button resists compressing its content.
/Users/admin/builder/spi-builder-workspace/Sources/Pinnable/NSLayoutAnchor+Extensions.swift:62:10: error: 'NSLayoutConstraint' is unavailable in watchOS
60 | constant: CGFloat = 0,
61 | priority: UILayoutPriority = .required
62 | ) -> NSLayoutConstraint {
| `- error: 'NSLayoutConstraint' is unavailable in watchOS
63 | constraint(lessThanOrEqualTo: anchor, constant: constant)
64 | .prioritize(priority)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutConstraint.h:126:12: note: 'NSLayoutConstraint' has been explicitly marked unavailable here
124 |
125 | NSLAYOUTCONSTRAINT_EXTERN API_AVAILABLE(macos(10.7), ios(6.0), tvos(9.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
126 | @interface NSLayoutConstraint : NSObject
| `- note: 'NSLayoutConstraint' has been explicitly marked unavailable here
127 |
128 | /* Create an array of constraints using an ASCII-art-like visual format string. The values of the `metrics` dictionary should be NSNumber (or some other type that responds to -doubleValue and returns a double).
/Users/admin/builder/spi-builder-workspace/Sources/Pinnable/NSLayoutAnchor+Extensions.swift:61:39: error: 'required' is unavailable in watchOS
59 | lessThan anchor: NSLayoutAnchor<AnchorType>,
60 | constant: CGFloat = 0,
61 | priority: UILayoutPriority = .required
| `- error: 'required' is unavailable in watchOS
62 | ) -> NSLayoutConstraint {
63 | constraint(lessThanOrEqualTo: anchor, constant: constant)
UIKit.UILayoutPriority.required:3:21: note: 'required' has been explicitly marked unavailable here
1 | struct UILayoutPriority {
2 | @available(watchOS, unavailable)
3 | public static var required: UILayoutPriority { get }}
| `- note: 'required' has been explicitly marked unavailable here
4 |
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/Pinnable/NSLayoutAnchor+Extensions.swift (in target 'Pinnable' from project 'Pinnable')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile NSLayoutAnchor+Extensions.swift
SwiftCompile normal arm64_32 Compiling\ NSLayoutConstraint+Extensions.swift /Users/admin/builder/spi-builder-workspace/Sources/Pinnable/NSLayoutConstraint+Extensions.swift (in target 'Pinnable' from project 'Pinnable')
/Users/admin/builder/spi-builder-workspace/Sources/Pinnable/NSLayoutConstraint+Extensions.swift:31:59: error: 'UILayoutPriority' is unavailable in watchOS
29 | /// - Parameter priority: The value of the priority.
30 | /// - Returns: self
31 | @discardableResult public func prioritize(_ priority: UILayoutPriority) -> Self {
| `- error: 'UILayoutPriority' is unavailable in watchOS
32 | self.priority = priority
33 | 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/NSLayoutConstraint.h:17:15: note: 'UILayoutPriority' has been explicitly marked unavailable here
15 | @class NSArray, NSDictionary, NSLayoutAnchor;
16 |
17 | typedef float UILayoutPriority NS_TYPED_EXTENSIBLE_ENUM API_UNAVAILABLE(watchos);
| `- note: 'UILayoutPriority' has been explicitly marked unavailable here
18 | static const UILayoutPriority UILayoutPriorityRequired API_AVAILABLE(ios(6.0)) API_UNAVAILABLE(watchos) = 1000; // A required constraint. Do not exceed this.
19 | static const UILayoutPriority UILayoutPriorityDefaultHigh API_AVAILABLE(ios(6.0)) API_UNAVAILABLE(watchos) = 750; // This is the priority level with which a button resists compressing its content.
/Users/admin/builder/spi-builder-workspace/Sources/Pinnable/NSLayoutConstraint+Extensions.swift:36:30: error: 'NSLayoutConstraint' is unavailable in watchOS
34 | }
35 |
36 | internal func setUp() -> NSLayoutConstraint {
| `- error: 'NSLayoutConstraint' is unavailable in watchOS
37 | (firstItem as? UIView)?.translatesAutoresizingMaskIntoConstraints = false
38 | activate()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutConstraint.h:126:12: note: 'NSLayoutConstraint' has been explicitly marked unavailable here
124 |
125 | NSLAYOUTCONSTRAINT_EXTERN API_AVAILABLE(macos(10.7), ios(6.0), tvos(9.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
126 | @interface NSLayoutConstraint : NSObject
| `- note: 'NSLayoutConstraint' has been explicitly marked unavailable here
127 |
128 | /* Create an array of constraints using an ASCII-art-like visual format string. The values of the `metrics` dictionary should be NSNumber (or some other type that responds to -doubleValue and returns a double).
/Users/admin/builder/spi-builder-workspace/Sources/Pinnable/NSLayoutConstraint+Extensions.swift:10:11: error: 'NSLayoutConstraint' is unavailable in watchOS
8 | import UIKit
9 |
10 | extension NSLayoutConstraint {
| `- error: 'NSLayoutConstraint' is unavailable in watchOS
11 | /// Set `isActive` to true.
12 | ///
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutConstraint.h:126:12: note: 'NSLayoutConstraint' has been explicitly marked unavailable here
124 |
125 | NSLAYOUTCONSTRAINT_EXTERN API_AVAILABLE(macos(10.7), ios(6.0), tvos(9.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
126 | @interface NSLayoutConstraint : NSObject
| `- note: 'NSLayoutConstraint' has been explicitly marked unavailable here
127 |
128 | /* Create an array of constraints using an ASCII-art-like visual format string. The values of the `metrics` dictionary should be NSNumber (or some other type that responds to -doubleValue and returns a double).
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/Pinnable/NSLayoutConstraint+Extensions.swift (in target 'Pinnable' from project 'Pinnable')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile NSLayoutConstraint+Extensions.swift
SwiftCompile normal arm64 Compiling\ NSLayoutAnchor+Extensions.swift /Users/admin/builder/spi-builder-workspace/Sources/Pinnable/NSLayoutAnchor+Extensions.swift (in target 'Pinnable' from project 'Pinnable')
/Users/admin/builder/spi-builder-workspace/Sources/Pinnable/NSLayoutAnchor+Extensions.swift:21:20: error: 'NSLayoutAnchor' is unavailable in watchOS
19 | /// - Returns: The constraint that was created.
20 | @objc @discardableResult public func pin(
21 | to anchor: NSLayoutAnchor<AnchorType>,
| `- error: 'NSLayoutAnchor' is unavailable in watchOS
22 | constant: CGFloat = 0,
23 | priority: UILayoutPriority = .required
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutAnchor.h:34:12: note: 'NSLayoutAnchor' has been explicitly marked unavailable here
32 | */
33 | NSLAYOUTANCHOR_EXTERN API_AVAILABLE(macos(10.11), ios(9.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
34 | @interface NSLayoutAnchor<AnchorType> : NSObject
| `- note: 'NSLayoutAnchor' has been explicitly marked unavailable here
35 | // NSLayoutAnchor conforms to <NSCopying> and <NSCoding> on macOS 10.12, iOS 10, and tvOS 10
36 | #if (__MAC_OS_X_VERSION_MIN_REQUIRED >= 101200) || \
/Users/admin/builder/spi-builder-workspace/Sources/Pinnable/NSLayoutAnchor+Extensions.swift:23:19: error: 'UILayoutPriority' is unavailable in watchOS
21 | to anchor: NSLayoutAnchor<AnchorType>,
22 | constant: CGFloat = 0,
23 | priority: UILayoutPriority = .required
| `- error: 'UILayoutPriority' is unavailable in watchOS
24 | ) -> NSLayoutConstraint {
25 | constraint(equalTo: anchor, constant: constant)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutConstraint.h:17:15: note: 'UILayoutPriority' has been explicitly marked unavailable here
15 | @class NSArray, NSDictionary, NSLayoutAnchor;
16 |
17 | typedef float UILayoutPriority NS_TYPED_EXTENSIBLE_ENUM API_UNAVAILABLE(watchos);
| `- note: 'UILayoutPriority' has been explicitly marked unavailable here
18 | static const UILayoutPriority UILayoutPriorityRequired API_AVAILABLE(ios(6.0)) API_UNAVAILABLE(watchos) = 1000; // A required constraint. Do not exceed this.
19 | static const UILayoutPriority UILayoutPriorityDefaultHigh API_AVAILABLE(ios(6.0)) API_UNAVAILABLE(watchos) = 750; // This is the priority level with which a button resists compressing its content.
/Users/admin/builder/spi-builder-workspace/Sources/Pinnable/NSLayoutAnchor+Extensions.swift:24:10: error: 'NSLayoutConstraint' is unavailable in watchOS
22 | constant: CGFloat = 0,
23 | priority: UILayoutPriority = .required
24 | ) -> NSLayoutConstraint {
| `- error: 'NSLayoutConstraint' is unavailable in watchOS
25 | constraint(equalTo: anchor, constant: constant)
26 | .prioritize(priority)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutConstraint.h:126:12: note: 'NSLayoutConstraint' has been explicitly marked unavailable here
124 |
125 | NSLAYOUTCONSTRAINT_EXTERN API_AVAILABLE(macos(10.7), ios(6.0), tvos(9.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
126 | @interface NSLayoutConstraint : NSObject
| `- note: 'NSLayoutConstraint' has been explicitly marked unavailable here
127 |
128 | /* Create an array of constraints using an ASCII-art-like visual format string. The values of the `metrics` dictionary should be NSNumber (or some other type that responds to -doubleValue and returns a double).
/Users/admin/builder/spi-builder-workspace/Sources/Pinnable/NSLayoutAnchor+Extensions.swift:23:39: error: 'required' is unavailable in watchOS
21 | to anchor: NSLayoutAnchor<AnchorType>,
22 | constant: CGFloat = 0,
23 | priority: UILayoutPriority = .required
| `- error: 'required' is unavailable in watchOS
24 | ) -> NSLayoutConstraint {
25 | constraint(equalTo: anchor, constant: constant)
UIKit.UILayoutPriority.required:3:21: note: 'required' has been explicitly marked unavailable here
1 | struct UILayoutPriority {
2 | @available(watchOS, unavailable)
3 | public static var required: UILayoutPriority { get }}
| `- note: 'required' has been explicitly marked unavailable here
4 |
/Users/admin/builder/spi-builder-workspace/Sources/Pinnable/NSLayoutAnchor+Extensions.swift:40:29: error: 'NSLayoutAnchor' is unavailable in watchOS
38 | /// - Returns: The constraint that was created.
39 | @objc @discardableResult public func pin(
40 | greaterThan anchor: NSLayoutAnchor<AnchorType>,
| `- error: 'NSLayoutAnchor' is unavailable in watchOS
41 | constant: CGFloat = 0,
42 | priority: UILayoutPriority = .required
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutAnchor.h:34:12: note: 'NSLayoutAnchor' has been explicitly marked unavailable here
32 | */
33 | NSLAYOUTANCHOR_EXTERN API_AVAILABLE(macos(10.11), ios(9.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
34 | @interface NSLayoutAnchor<AnchorType> : NSObject
| `- note: 'NSLayoutAnchor' has been explicitly marked unavailable here
35 | // NSLayoutAnchor conforms to <NSCopying> and <NSCoding> on macOS 10.12, iOS 10, and tvOS 10
36 | #if (__MAC_OS_X_VERSION_MIN_REQUIRED >= 101200) || \
/Users/admin/builder/spi-builder-workspace/Sources/Pinnable/NSLayoutAnchor+Extensions.swift:42:19: error: 'UILayoutPriority' is unavailable in watchOS
40 | greaterThan anchor: NSLayoutAnchor<AnchorType>,
41 | constant: CGFloat = 0,
42 | priority: UILayoutPriority = .required
| `- error: 'UILayoutPriority' is unavailable in watchOS
43 | ) -> NSLayoutConstraint {
44 | constraint(greaterThanOrEqualTo: anchor, constant: constant)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutConstraint.h:17:15: note: 'UILayoutPriority' has been explicitly marked unavailable here
15 | @class NSArray, NSDictionary, NSLayoutAnchor;
16 |
17 | typedef float UILayoutPriority NS_TYPED_EXTENSIBLE_ENUM API_UNAVAILABLE(watchos);
| `- note: 'UILayoutPriority' has been explicitly marked unavailable here
18 | static const UILayoutPriority UILayoutPriorityRequired API_AVAILABLE(ios(6.0)) API_UNAVAILABLE(watchos) = 1000; // A required constraint. Do not exceed this.
19 | static const UILayoutPriority UILayoutPriorityDefaultHigh API_AVAILABLE(ios(6.0)) API_UNAVAILABLE(watchos) = 750; // This is the priority level with which a button resists compressing its content.
/Users/admin/builder/spi-builder-workspace/Sources/Pinnable/NSLayoutAnchor+Extensions.swift:43:10: error: 'NSLayoutConstraint' is unavailable in watchOS
41 | constant: CGFloat = 0,
42 | priority: UILayoutPriority = .required
43 | ) -> NSLayoutConstraint {
| `- error: 'NSLayoutConstraint' is unavailable in watchOS
44 | constraint(greaterThanOrEqualTo: anchor, constant: constant)
45 | .prioritize(priority)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutConstraint.h:126:12: note: 'NSLayoutConstraint' has been explicitly marked unavailable here
124 |
125 | NSLAYOUTCONSTRAINT_EXTERN API_AVAILABLE(macos(10.7), ios(6.0), tvos(9.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
126 | @interface NSLayoutConstraint : NSObject
| `- note: 'NSLayoutConstraint' has been explicitly marked unavailable here
127 |
128 | /* Create an array of constraints using an ASCII-art-like visual format string. The values of the `metrics` dictionary should be NSNumber (or some other type that responds to -doubleValue and returns a double).
/Users/admin/builder/spi-builder-workspace/Sources/Pinnable/NSLayoutAnchor+Extensions.swift:42:39: error: 'required' is unavailable in watchOS
40 | greaterThan anchor: NSLayoutAnchor<AnchorType>,
41 | constant: CGFloat = 0,
42 | priority: UILayoutPriority = .required
| `- error: 'required' is unavailable in watchOS
43 | ) -> NSLayoutConstraint {
44 | constraint(greaterThanOrEqualTo: anchor, constant: constant)
UIKit.UILayoutPriority.required:3:21: note: 'required' has been explicitly marked unavailable here
1 | struct UILayoutPriority {
2 | @available(watchOS, unavailable)
3 | public static var required: UILayoutPriority { get }}
| `- note: 'required' has been explicitly marked unavailable here
4 |
/Users/admin/builder/spi-builder-workspace/Sources/Pinnable/NSLayoutAnchor+Extensions.swift:59:26: error: 'NSLayoutAnchor' is unavailable in watchOS
57 | /// - Returns: The constraint that was created.
58 | @objc @discardableResult public func pin(
59 | lessThan anchor: NSLayoutAnchor<AnchorType>,
| `- error: 'NSLayoutAnchor' is unavailable in watchOS
60 | constant: CGFloat = 0,
61 | priority: UILayoutPriority = .required
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutAnchor.h:34:12: note: 'NSLayoutAnchor' has been explicitly marked unavailable here
32 | */
33 | NSLAYOUTANCHOR_EXTERN API_AVAILABLE(macos(10.11), ios(9.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
34 | @interface NSLayoutAnchor<AnchorType> : NSObject
| `- note: 'NSLayoutAnchor' has been explicitly marked unavailable here
35 | // NSLayoutAnchor conforms to <NSCopying> and <NSCoding> on macOS 10.12, iOS 10, and tvOS 10
36 | #if (__MAC_OS_X_VERSION_MIN_REQUIRED >= 101200) || \
/Users/admin/builder/spi-builder-workspace/Sources/Pinnable/NSLayoutAnchor+Extensions.swift:61:19: error: 'UILayoutPriority' is unavailable in watchOS
59 | lessThan anchor: NSLayoutAnchor<AnchorType>,
60 | constant: CGFloat = 0,
61 | priority: UILayoutPriority = .required
| `- error: 'UILayoutPriority' is unavailable in watchOS
62 | ) -> NSLayoutConstraint {
63 | constraint(lessThanOrEqualTo: anchor, constant: constant)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutConstraint.h:17:15: note: 'UILayoutPriority' has been explicitly marked unavailable here
15 | @class NSArray, NSDictionary, NSLayoutAnchor;
16 |
17 | typedef float UILayoutPriority NS_TYPED_EXTENSIBLE_ENUM API_UNAVAILABLE(watchos);
| `- note: 'UILayoutPriority' has been explicitly marked unavailable here
18 | static const UILayoutPriority UILayoutPriorityRequired API_AVAILABLE(ios(6.0)) API_UNAVAILABLE(watchos) = 1000; // A required constraint. Do not exceed this.
19 | static const UILayoutPriority UILayoutPriorityDefaultHigh API_AVAILABLE(ios(6.0)) API_UNAVAILABLE(watchos) = 750; // This is the priority level with which a button resists compressing its content.
/Users/admin/builder/spi-builder-workspace/Sources/Pinnable/NSLayoutAnchor+Extensions.swift:62:10: error: 'NSLayoutConstraint' is unavailable in watchOS
60 | constant: CGFloat = 0,
61 | priority: UILayoutPriority = .required
62 | ) -> NSLayoutConstraint {
| `- error: 'NSLayoutConstraint' is unavailable in watchOS
63 | constraint(lessThanOrEqualTo: anchor, constant: constant)
64 | .prioritize(priority)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutConstraint.h:126:12: note: 'NSLayoutConstraint' has been explicitly marked unavailable here
124 |
125 | NSLAYOUTCONSTRAINT_EXTERN API_AVAILABLE(macos(10.7), ios(6.0), tvos(9.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
126 | @interface NSLayoutConstraint : NSObject
| `- note: 'NSLayoutConstraint' has been explicitly marked unavailable here
127 |
128 | /* Create an array of constraints using an ASCII-art-like visual format string. The values of the `metrics` dictionary should be NSNumber (or some other type that responds to -doubleValue and returns a double).
/Users/admin/builder/spi-builder-workspace/Sources/Pinnable/NSLayoutAnchor+Extensions.swift:61:39: error: 'required' is unavailable in watchOS
59 | lessThan anchor: NSLayoutAnchor<AnchorType>,
60 | constant: CGFloat = 0,
61 | priority: UILayoutPriority = .required
| `- error: 'required' is unavailable in watchOS
62 | ) -> NSLayoutConstraint {
63 | constraint(lessThanOrEqualTo: anchor, constant: constant)
UIKit.UILayoutPriority.required:3:21: note: 'required' has been explicitly marked unavailable here
1 | struct UILayoutPriority {
2 | @available(watchOS, unavailable)
3 | public static var required: UILayoutPriority { get }}
| `- note: 'required' has been explicitly marked unavailable here
4 |
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Pinnable/NSLayoutAnchor+Extensions.swift (in target 'Pinnable' from project 'Pinnable')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile NSLayoutAnchor+Extensions.swift
SwiftCompile normal arm64_32 Compiling\ Pinnable.swift /Users/admin/builder/spi-builder-workspace/Sources/Pinnable/Pinnable.swift (in target 'Pinnable' from project 'Pinnable')
/Users/admin/builder/spi-builder-workspace/Sources/Pinnable/Pinnable.swift:12:20: error: 'NSLayoutYAxisAnchor' is unavailable in watchOS
10 | /// A shared interface for the pinnable properties of `UIView` and `UILayoutGuide`.
11 | @MainActor public protocol Pinnable: AnyObject {
12 | var topAnchor: NSLayoutYAxisAnchor { get }
| `- error: 'NSLayoutYAxisAnchor' is unavailable in watchOS
13 | var leadingAnchor: NSLayoutXAxisAnchor { get }
14 | var trailingAnchor: NSLayoutXAxisAnchor { get }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutAnchor.h:72:12: note: 'NSLayoutYAxisAnchor' has been explicitly marked unavailable here
70 |
71 | NSLAYOUTANCHOR_EXTERN API_AVAILABLE(macos(10.11), ios(9.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
72 | @interface NSLayoutYAxisAnchor : NSLayoutAnchor<NSLayoutYAxisAnchor *>
| `- note: 'NSLayoutYAxisAnchor' has been explicitly marked unavailable here
73 |
74 | // A composite anchor for creating constraints relating vertical distances between locations.
/Users/admin/builder/spi-builder-workspace/Sources/Pinnable/Pinnable.swift:13:24: error: 'NSLayoutXAxisAnchor' is unavailable in watchOS
11 | @MainActor public protocol Pinnable: AnyObject {
12 | var topAnchor: NSLayoutYAxisAnchor { get }
13 | var leadingAnchor: NSLayoutXAxisAnchor { get }
| `- error: 'NSLayoutXAxisAnchor' is unavailable in watchOS
14 | var trailingAnchor: NSLayoutXAxisAnchor { get }
15 | var bottomAnchor: NSLayoutYAxisAnchor { get }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutAnchor.h:64:12: note: 'NSLayoutXAxisAnchor' has been explicitly marked unavailable here
62 |
63 | NSLAYOUTANCHOR_EXTERN API_AVAILABLE(macos(10.11), ios(9.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
64 | @interface NSLayoutXAxisAnchor : NSLayoutAnchor<NSLayoutXAxisAnchor *>
| `- note: 'NSLayoutXAxisAnchor' has been explicitly marked unavailable here
65 |
66 | // A composite anchor for creating constraints relating horizontal distances between locations.
/Users/admin/builder/spi-builder-workspace/Sources/Pinnable/Pinnable.swift:14:25: error: 'NSLayoutXAxisAnchor' is unavailable in watchOS
12 | var topAnchor: NSLayoutYAxisAnchor { get }
13 | var leadingAnchor: NSLayoutXAxisAnchor { get }
14 | var trailingAnchor: NSLayoutXAxisAnchor { get }
| `- error: 'NSLayoutXAxisAnchor' is unavailable in watchOS
15 | var bottomAnchor: NSLayoutYAxisAnchor { get }
16 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutAnchor.h:64:12: note: 'NSLayoutXAxisAnchor' has been explicitly marked unavailable here
62 |
63 | NSLAYOUTANCHOR_EXTERN API_AVAILABLE(macos(10.11), ios(9.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
64 | @interface NSLayoutXAxisAnchor : NSLayoutAnchor<NSLayoutXAxisAnchor *>
| `- note: 'NSLayoutXAxisAnchor' has been explicitly marked unavailable here
65 |
66 | // A composite anchor for creating constraints relating horizontal distances between locations.
/Users/admin/builder/spi-builder-workspace/Sources/Pinnable/Pinnable.swift:15:23: error: 'NSLayoutYAxisAnchor' is unavailable in watchOS
13 | var leadingAnchor: NSLayoutXAxisAnchor { get }
14 | var trailingAnchor: NSLayoutXAxisAnchor { get }
15 | var bottomAnchor: NSLayoutYAxisAnchor { get }
| `- error: 'NSLayoutYAxisAnchor' is unavailable in watchOS
16 |
17 | var firstBaselineAnchor: NSLayoutYAxisAnchor { get }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutAnchor.h:72:12: note: 'NSLayoutYAxisAnchor' has been explicitly marked unavailable here
70 |
71 | NSLAYOUTANCHOR_EXTERN API_AVAILABLE(macos(10.11), ios(9.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
72 | @interface NSLayoutYAxisAnchor : NSLayoutAnchor<NSLayoutYAxisAnchor *>
| `- note: 'NSLayoutYAxisAnchor' has been explicitly marked unavailable here
73 |
74 | // A composite anchor for creating constraints relating vertical distances between locations.
/Users/admin/builder/spi-builder-workspace/Sources/Pinnable/Pinnable.swift:17:30: error: 'NSLayoutYAxisAnchor' is unavailable in watchOS
15 | var bottomAnchor: NSLayoutYAxisAnchor { get }
16 |
17 | var firstBaselineAnchor: NSLayoutYAxisAnchor { get }
| `- error: 'NSLayoutYAxisAnchor' is unavailable in watchOS
18 | var lastBaselineAnchor: NSLayoutYAxisAnchor { get }
19 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutAnchor.h:72:12: note: 'NSLayoutYAxisAnchor' has been explicitly marked unavailable here
70 |
71 | NSLAYOUTANCHOR_EXTERN API_AVAILABLE(macos(10.11), ios(9.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
72 | @interface NSLayoutYAxisAnchor : NSLayoutAnchor<NSLayoutYAxisAnchor *>
| `- note: 'NSLayoutYAxisAnchor' has been explicitly marked unavailable here
73 |
74 | // A composite anchor for creating constraints relating vertical distances between locations.
/Users/admin/builder/spi-builder-workspace/Sources/Pinnable/Pinnable.swift:18:29: error: 'NSLayoutYAxisAnchor' is unavailable in watchOS
16 |
17 | var firstBaselineAnchor: NSLayoutYAxisAnchor { get }
18 | var lastBaselineAnchor: NSLayoutYAxisAnchor { get }
| `- error: 'NSLayoutYAxisAnchor' is unavailable in watchOS
19 |
20 | var centerXAnchor: NSLayoutXAxisAnchor { get }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutAnchor.h:72:12: note: 'NSLayoutYAxisAnchor' has been explicitly marked unavailable here
70 |
71 | NSLAYOUTANCHOR_EXTERN API_AVAILABLE(macos(10.11), ios(9.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
72 | @interface NSLayoutYAxisAnchor : NSLayoutAnchor<NSLayoutYAxisAnchor *>
| `- note: 'NSLayoutYAxisAnchor' has been explicitly marked unavailable here
73 |
74 | // A composite anchor for creating constraints relating vertical distances between locations.
/Users/admin/builder/spi-builder-workspace/Sources/Pinnable/Pinnable.swift:20:24: error: 'NSLayoutXAxisAnchor' is unavailable in watchOS
18 | var lastBaselineAnchor: NSLayoutYAxisAnchor { get }
19 |
20 | var centerXAnchor: NSLayoutXAxisAnchor { get }
| `- error: 'NSLayoutXAxisAnchor' is unavailable in watchOS
21 | var centerYAnchor: NSLayoutYAxisAnchor { get }
22 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutAnchor.h:64:12: note: 'NSLayoutXAxisAnchor' has been explicitly marked unavailable here
62 |
63 | NSLAYOUTANCHOR_EXTERN API_AVAILABLE(macos(10.11), ios(9.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
64 | @interface NSLayoutXAxisAnchor : NSLayoutAnchor<NSLayoutXAxisAnchor *>
| `- note: 'NSLayoutXAxisAnchor' has been explicitly marked unavailable here
65 |
66 | // A composite anchor for creating constraints relating horizontal distances between locations.
/Users/admin/builder/spi-builder-workspace/Sources/Pinnable/Pinnable.swift:21:24: error: 'NSLayoutYAxisAnchor' is unavailable in watchOS
19 |
20 | var centerXAnchor: NSLayoutXAxisAnchor { get }
21 | var centerYAnchor: NSLayoutYAxisAnchor { get }
| `- error: 'NSLayoutYAxisAnchor' is unavailable in watchOS
22 |
23 | var widthAnchor: NSLayoutDimension { get }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutAnchor.h:72:12: note: 'NSLayoutYAxisAnchor' has been explicitly marked unavailable here
70 |
71 | NSLAYOUTANCHOR_EXTERN API_AVAILABLE(macos(10.11), ios(9.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
72 | @interface NSLayoutYAxisAnchor : NSLayoutAnchor<NSLayoutYAxisAnchor *>
| `- note: 'NSLayoutYAxisAnchor' has been explicitly marked unavailable here
73 |
74 | // A composite anchor for creating constraints relating vertical distances between locations.
/Users/admin/builder/spi-builder-workspace/Sources/Pinnable/Pinnable.swift:23:22: error: 'NSLayoutDimension' is unavailable in watchOS
21 | var centerYAnchor: NSLayoutYAxisAnchor { get }
22 |
23 | var widthAnchor: NSLayoutDimension { get }
| `- error: 'NSLayoutDimension' is unavailable in watchOS
24 | var heightAnchor: NSLayoutDimension { get }
25 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutAnchor.h:81:12: note: 'NSLayoutDimension' has been explicitly marked unavailable here
79 | // This layout anchor subclass is used for sizes (width & height).
80 | NSLAYOUTANCHOR_EXTERN API_AVAILABLE(macos(10.11), ios(9.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
81 | @interface NSLayoutDimension : NSLayoutAnchor<NSLayoutDimension *>
| `- note: 'NSLayoutDimension' has been explicitly marked unavailable here
82 |
83 | // These methods return an inactive constraint of the form thisVariable = constant.
/Users/admin/builder/spi-builder-workspace/Sources/Pinnable/Pinnable.swift:24:23: error: 'NSLayoutDimension' is unavailable in watchOS
22 |
23 | var widthAnchor: NSLayoutDimension { get }
24 | var heightAnchor: NSLayoutDimension { get }
| `- error: 'NSLayoutDimension' is unavailable in watchOS
25 |
26 | var superview: UIView? { get }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutAnchor.h:81:12: note: 'NSLayoutDimension' has been explicitly marked unavailable here
79 | // This layout anchor subclass is used for sizes (width & height).
80 | NSLAYOUTANCHOR_EXTERN API_AVAILABLE(macos(10.11), ios(9.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
81 | @interface NSLayoutDimension : NSLayoutAnchor<NSLayoutDimension *>
| `- note: 'NSLayoutDimension' has been explicitly marked unavailable here
82 |
83 | // These methods return an inactive constraint of the form thisVariable = constant.
/Users/admin/builder/spi-builder-workspace/Sources/Pinnable/Pinnable.swift:26:20: error: 'UIView' is unavailable in watchOS
24 | var heightAnchor: NSLayoutDimension { get }
25 |
26 | var superview: UIView? { get }
| `- 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/Pinnable/Pinnable.swift:43:16: error: 'NSLayoutConstraint' is unavailable in watchOS
41 | to object: Pinnable,
42 | insets: UIEdgeInsets = .zero
43 | ) -> (top: NSLayoutConstraint?, leading: NSLayoutConstraint?, bottom: NSLayoutConstraint?, trailing: NSLayoutConstraint?) {
| `- error: 'NSLayoutConstraint' is unavailable in watchOS
44 | let top = edges.contains(.top) ? topAnchor.pin(to: object.topAnchor, constant: insets.top) : nil
45 | let leading = edges.contains(.left) ? leadingAnchor.pin(to: object.leadingAnchor, constant: insets.left) : 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/NSLayoutConstraint.h:126:12: note: 'NSLayoutConstraint' has been explicitly marked unavailable here
124 |
125 | NSLAYOUTCONSTRAINT_EXTERN API_AVAILABLE(macos(10.7), ios(6.0), tvos(9.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
126 | @interface NSLayoutConstraint : NSObject
| `- note: 'NSLayoutConstraint' has been explicitly marked unavailable here
127 |
128 | /* Create an array of constraints using an ASCII-art-like visual format string. The values of the `metrics` dictionary should be NSNumber (or some other type that responds to -doubleValue and returns a double).
/Users/admin/builder/spi-builder-workspace/Sources/Pinnable/Pinnable.swift:43:46: error: 'NSLayoutConstraint' is unavailable in watchOS
41 | to object: Pinnable,
42 | insets: UIEdgeInsets = .zero
43 | ) -> (top: NSLayoutConstraint?, leading: NSLayoutConstraint?, bottom: NSLayoutConstraint?, trailing: NSLayoutConstraint?) {
| `- error: 'NSLayoutConstraint' is unavailable in watchOS
44 | let top = edges.contains(.top) ? topAnchor.pin(to: object.topAnchor, constant: insets.top) : nil
45 | let leading = edges.contains(.left) ? leadingAnchor.pin(to: object.leadingAnchor, constant: insets.left) : 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/NSLayoutConstraint.h:126:12: note: 'NSLayoutConstraint' has been explicitly marked unavailable here
124 |
125 | NSLAYOUTCONSTRAINT_EXTERN API_AVAILABLE(macos(10.7), ios(6.0), tvos(9.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
126 | @interface NSLayoutConstraint : NSObject
| `- note: 'NSLayoutConstraint' has been explicitly marked unavailable here
127 |
128 | /* Create an array of constraints using an ASCII-art-like visual format string. The values of the `metrics` dictionary should be NSNumber (or some other type that responds to -doubleValue and returns a double).
/Users/admin/builder/spi-builder-workspace/Sources/Pinnable/Pinnable.swift:43:75: error: 'NSLayoutConstraint' is unavailable in watchOS
41 | to object: Pinnable,
42 | insets: UIEdgeInsets = .zero
43 | ) -> (top: NSLayoutConstraint?, leading: NSLayoutConstraint?, bottom: NSLayoutConstraint?, trailing: NSLayoutConstraint?) {
| `- error: 'NSLayoutConstraint' is unavailable in watchOS
44 | let top = edges.contains(.top) ? topAnchor.pin(to: object.topAnchor, constant: insets.top) : nil
45 | let leading = edges.contains(.left) ? leadingAnchor.pin(to: object.leadingAnchor, constant: insets.left) : 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/NSLayoutConstraint.h:126:12: note: 'NSLayoutConstraint' has been explicitly marked unavailable here
124 |
125 | NSLAYOUTCONSTRAINT_EXTERN API_AVAILABLE(macos(10.7), ios(6.0), tvos(9.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
126 | @interface NSLayoutConstraint : NSObject
| `- note: 'NSLayoutConstraint' has been explicitly marked unavailable here
127 |
128 | /* Create an array of constraints using an ASCII-art-like visual format string. The values of the `metrics` dictionary should be NSNumber (or some other type that responds to -doubleValue and returns a double).
/Users/admin/builder/spi-builder-workspace/Sources/Pinnable/Pinnable.swift:43:106: error: 'NSLayoutConstraint' is unavailable in watchOS
41 | to object: Pinnable,
42 | insets: UIEdgeInsets = .zero
43 | ) -> (top: NSLayoutConstraint?, leading: NSLayoutConstraint?, bottom: NSLayoutConstraint?, trailing: NSLayoutConstraint?) {
| `- error: 'NSLayoutConstraint' is unavailable in watchOS
44 | let top = edges.contains(.top) ? topAnchor.pin(to: object.topAnchor, constant: insets.top) : nil
45 | let leading = edges.contains(.left) ? leadingAnchor.pin(to: object.leadingAnchor, constant: insets.left) : 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/NSLayoutConstraint.h:126:12: note: 'NSLayoutConstraint' has been explicitly marked unavailable here
124 |
125 | NSLAYOUTCONSTRAINT_EXTERN API_AVAILABLE(macos(10.7), ios(6.0), tvos(9.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
126 | @interface NSLayoutConstraint : NSObject
| `- note: 'NSLayoutConstraint' has been explicitly marked unavailable here
127 |
128 | /* Create an array of constraints using an ASCII-art-like visual format string. The values of the `metrics` dictionary should be NSNumber (or some other type that responds to -doubleValue and returns a double).
/Users/admin/builder/spi-builder-workspace/Sources/Pinnable/Pinnable.swift:66:16: error: 'NSLayoutConstraint' is unavailable in watchOS
64 | _ edges: UIRectEdge = .all,
65 | insets: UIEdgeInsets = .zero
66 | ) -> (top: NSLayoutConstraint?, leading: NSLayoutConstraint?, bottom: NSLayoutConstraint?, trailing: NSLayoutConstraint?) {
| `- error: 'NSLayoutConstraint' is unavailable in watchOS
67 | guard let superview else {
68 | fatalError("Receiver must have a superview to use this method.")
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutConstraint.h:126:12: note: 'NSLayoutConstraint' has been explicitly marked unavailable here
124 |
125 | NSLAYOUTCONSTRAINT_EXTERN API_AVAILABLE(macos(10.7), ios(6.0), tvos(9.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
126 | @interface NSLayoutConstraint : NSObject
| `- note: 'NSLayoutConstraint' has been explicitly marked unavailable here
127 |
128 | /* Create an array of constraints using an ASCII-art-like visual format string. The values of the `metrics` dictionary should be NSNumber (or some other type that responds to -doubleValue and returns a double).
/Users/admin/builder/spi-builder-workspace/Sources/Pinnable/Pinnable.swift:66:46: error: 'NSLayoutConstraint' is unavailable in watchOS
64 | _ edges: UIRectEdge = .all,
65 | insets: UIEdgeInsets = .zero
66 | ) -> (top: NSLayoutConstraint?, leading: NSLayoutConstraint?, bottom: NSLayoutConstraint?, trailing: NSLayoutConstraint?) {
| `- error: 'NSLayoutConstraint' is unavailable in watchOS
67 | guard let superview else {
68 | fatalError("Receiver must have a superview to use this method.")
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutConstraint.h:126:12: note: 'NSLayoutConstraint' has been explicitly marked unavailable here
124 |
125 | NSLAYOUTCONSTRAINT_EXTERN API_AVAILABLE(macos(10.7), ios(6.0), tvos(9.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
126 | @interface NSLayoutConstraint : NSObject
| `- note: 'NSLayoutConstraint' has been explicitly marked unavailable here
127 |
128 | /* Create an array of constraints using an ASCII-art-like visual format string. The values of the `metrics` dictionary should be NSNumber (or some other type that responds to -doubleValue and returns a double).
/Users/admin/builder/spi-builder-workspace/Sources/Pinnable/Pinnable.swift:66:75: error: 'NSLayoutConstraint' is unavailable in watchOS
64 | _ edges: UIRectEdge = .all,
65 | insets: UIEdgeInsets = .zero
66 | ) -> (top: NSLayoutConstraint?, leading: NSLayoutConstraint?, bottom: NSLayoutConstraint?, trailing: NSLayoutConstraint?) {
| `- error: 'NSLayoutConstraint' is unavailable in watchOS
67 | guard let superview else {
68 | fatalError("Receiver must have a superview to use this method.")
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutConstraint.h:126:12: note: 'NSLayoutConstraint' has been explicitly marked unavailable here
124 |
125 | NSLAYOUTCONSTRAINT_EXTERN API_AVAILABLE(macos(10.7), ios(6.0), tvos(9.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
126 | @interface NSLayoutConstraint : NSObject
| `- note: 'NSLayoutConstraint' has been explicitly marked unavailable here
127 |
128 | /* Create an array of constraints using an ASCII-art-like visual format string. The values of the `metrics` dictionary should be NSNumber (or some other type that responds to -doubleValue and returns a double).
/Users/admin/builder/spi-builder-workspace/Sources/Pinnable/Pinnable.swift:66:106: error: 'NSLayoutConstraint' is unavailable in watchOS
64 | _ edges: UIRectEdge = .all,
65 | insets: UIEdgeInsets = .zero
66 | ) -> (top: NSLayoutConstraint?, leading: NSLayoutConstraint?, bottom: NSLayoutConstraint?, trailing: NSLayoutConstraint?) {
| `- error: 'NSLayoutConstraint' is unavailable in watchOS
67 | guard let superview else {
68 | fatalError("Receiver must have a superview to use this method.")
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutConstraint.h:126:12: note: 'NSLayoutConstraint' has been explicitly marked unavailable here
124 |
125 | NSLAYOUTCONSTRAINT_EXTERN API_AVAILABLE(macos(10.7), ios(6.0), tvos(9.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
126 | @interface NSLayoutConstraint : NSObject
| `- note: 'NSLayoutConstraint' has been explicitly marked unavailable here
127 |
128 | /* Create an array of constraints using an ASCII-art-like visual format string. The values of the `metrics` dictionary should be NSNumber (or some other type that responds to -doubleValue and returns a double).
/Users/admin/builder/spi-builder-workspace/Sources/Pinnable/Pinnable.swift:85:16: error: 'NSLayoutConstraint' is unavailable in watchOS
83 | _ edges: UIRectEdge = .all,
84 | insets: UIEdgeInsets = .zero
85 | ) -> (top: NSLayoutConstraint?, leading: NSLayoutConstraint?, bottom: NSLayoutConstraint?, trailing: NSLayoutConstraint?) {
| `- error: 'NSLayoutConstraint' is unavailable in watchOS
86 | guard let superview else {
87 | fatalError("Receiver must have a superview to use this method.")
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutConstraint.h:126:12: note: 'NSLayoutConstraint' has been explicitly marked unavailable here
124 |
125 | NSLAYOUTCONSTRAINT_EXTERN API_AVAILABLE(macos(10.7), ios(6.0), tvos(9.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
126 | @interface NSLayoutConstraint : NSObject
| `- note: 'NSLayoutConstraint' has been explicitly marked unavailable here
127 |
128 | /* Create an array of constraints using an ASCII-art-like visual format string. The values of the `metrics` dictionary should be NSNumber (or some other type that responds to -doubleValue and returns a double).
/Users/admin/builder/spi-builder-workspace/Sources/Pinnable/Pinnable.swift:85:46: error: 'NSLayoutConstraint' is unavailable in watchOS
83 | _ edges: UIRectEdge = .all,
84 | insets: UIEdgeInsets = .zero
85 | ) -> (top: NSLayoutConstraint?, leading: NSLayoutConstraint?, bottom: NSLayoutConstraint?, trailing: NSLayoutConstraint?) {
| `- error: 'NSLayoutConstraint' is unavailable in watchOS
86 | guard let superview else {
87 | fatalError("Receiver must have a superview to use this method.")
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutConstraint.h:126:12: note: 'NSLayoutConstraint' has been explicitly marked unavailable here
124 |
125 | NSLAYOUTCONSTRAINT_EXTERN API_AVAILABLE(macos(10.7), ios(6.0), tvos(9.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
126 | @interface NSLayoutConstraint : NSObject
| `- note: 'NSLayoutConstraint' has been explicitly marked unavailable here
127 |
128 | /* Create an array of constraints using an ASCII-art-like visual format string. The values of the `metrics` dictionary should be NSNumber (or some other type that responds to -doubleValue and returns a double).
/Users/admin/builder/spi-builder-workspace/Sources/Pinnable/Pinnable.swift:85:75: error: 'NSLayoutConstraint' is unavailable in watchOS
83 | _ edges: UIRectEdge = .all,
84 | insets: UIEdgeInsets = .zero
85 | ) -> (top: NSLayoutConstraint?, leading: NSLayoutConstraint?, bottom: NSLayoutConstraint?, trailing: NSLayoutConstraint?) {
| `- error: 'NSLayoutConstraint' is unavailable in watchOS
86 | guard let superview else {
87 | fatalError("Receiver must have a superview to use this method.")
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutConstraint.h:126:12: note: 'NSLayoutConstraint' has been explicitly marked unavailable here
124 |
125 | NSLAYOUTCONSTRAINT_EXTERN API_AVAILABLE(macos(10.7), ios(6.0), tvos(9.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
126 | @interface NSLayoutConstraint : NSObject
| `- note: 'NSLayoutConstraint' has been explicitly marked unavailable here
127 |
128 | /* Create an array of constraints using an ASCII-art-like visual format string. The values of the `metrics` dictionary should be NSNumber (or some other type that responds to -doubleValue and returns a double).
/Users/admin/builder/spi-builder-workspace/Sources/Pinnable/Pinnable.swift:85:106: error: 'NSLayoutConstraint' is unavailable in watchOS
83 | _ edges: UIRectEdge = .all,
84 | insets: UIEdgeInsets = .zero
85 | ) -> (top: NSLayoutConstraint?, leading: NSLayoutConstraint?, bottom: NSLayoutConstraint?, trailing: NSLayoutConstraint?) {
| `- error: 'NSLayoutConstraint' is unavailable in watchOS
86 | guard let superview else {
87 | fatalError("Receiver must have a superview to use this method.")
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutConstraint.h:126:12: note: 'NSLayoutConstraint' has been explicitly marked unavailable here
124 |
125 | NSLAYOUTCONSTRAINT_EXTERN API_AVAILABLE(macos(10.7), ios(6.0), tvos(9.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
126 | @interface NSLayoutConstraint : NSObject
| `- note: 'NSLayoutConstraint' has been explicitly marked unavailable here
127 |
128 | /* Create an array of constraints using an ASCII-art-like visual format string. The values of the `metrics` dictionary should be NSNumber (or some other type that responds to -doubleValue and returns a double).
/Users/admin/builder/spi-builder-workspace/Sources/Pinnable/Pinnable.swift:104:14: error: 'NSLayoutConstraint' is unavailable in watchOS
102 | to object: Pinnable,
103 | offset: UIOffset = .zero
104 | ) -> (x: NSLayoutConstraint, y: NSLayoutConstraint) {
| `- error: 'NSLayoutConstraint' is unavailable in watchOS
105 | let centerX = centerXAnchor.pin(to: object.centerXAnchor, constant: offset.horizontal)
106 | let centerY = centerYAnchor.pin(to: object.centerYAnchor, constant: offset.vertical)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutConstraint.h:126:12: note: 'NSLayoutConstraint' has been explicitly marked unavailable here
124 |
125 | NSLAYOUTCONSTRAINT_EXTERN API_AVAILABLE(macos(10.7), ios(6.0), tvos(9.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
126 | @interface NSLayoutConstraint : NSObject
| `- note: 'NSLayoutConstraint' has been explicitly marked unavailable here
127 |
128 | /* Create an array of constraints using an ASCII-art-like visual format string. The values of the `metrics` dictionary should be NSNumber (or some other type that responds to -doubleValue and returns a double).
/Users/admin/builder/spi-builder-workspace/Sources/Pinnable/Pinnable.swift:104:37: error: 'NSLayoutConstraint' is unavailable in watchOS
102 | to object: Pinnable,
103 | offset: UIOffset = .zero
104 | ) -> (x: NSLayoutConstraint, y: NSLayoutConstraint) {
| `- error: 'NSLayoutConstraint' is unavailable in watchOS
105 | let centerX = centerXAnchor.pin(to: object.centerXAnchor, constant: offset.horizontal)
106 | let centerY = centerYAnchor.pin(to: object.centerYAnchor, constant: offset.vertical)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutConstraint.h:126:12: note: 'NSLayoutConstraint' has been explicitly marked unavailable here
124 |
125 | NSLAYOUTCONSTRAINT_EXTERN API_AVAILABLE(macos(10.7), ios(6.0), tvos(9.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
126 | @interface NSLayoutConstraint : NSObject
| `- note: 'NSLayoutConstraint' has been explicitly marked unavailable here
127 |
128 | /* Create an array of constraints using an ASCII-art-like visual format string. The values of the `metrics` dictionary should be NSNumber (or some other type that responds to -doubleValue and returns a double).
/Users/admin/builder/spi-builder-workspace/Sources/Pinnable/Pinnable.swift:127:18: error: 'NSLayoutConstraint' is unavailable in watchOS
125 | @discardableResult public func pinSize(
126 | to object: Pinnable
127 | ) -> (width: NSLayoutConstraint, height: NSLayoutConstraint) {
| `- error: 'NSLayoutConstraint' is unavailable in watchOS
128 | let height = heightAnchor.pin(to: object.heightAnchor)
129 | let width = widthAnchor.pin(to: object.widthAnchor)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutConstraint.h:126:12: note: 'NSLayoutConstraint' has been explicitly marked unavailable here
124 |
125 | NSLAYOUTCONSTRAINT_EXTERN API_AVAILABLE(macos(10.7), ios(6.0), tvos(9.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
126 | @interface NSLayoutConstraint : NSObject
| `- note: 'NSLayoutConstraint' has been explicitly marked unavailable here
127 |
128 | /* Create an array of constraints using an ASCII-art-like visual format string. The values of the `metrics` dictionary should be NSNumber (or some other type that responds to -doubleValue and returns a double).
/Users/admin/builder/spi-builder-workspace/Sources/Pinnable/Pinnable.swift:127:46: error: 'NSLayoutConstraint' is unavailable in watchOS
125 | @discardableResult public func pinSize(
126 | to object: Pinnable
127 | ) -> (width: NSLayoutConstraint, height: NSLayoutConstraint) {
| `- error: 'NSLayoutConstraint' is unavailable in watchOS
128 | let height = heightAnchor.pin(to: object.heightAnchor)
129 | let width = widthAnchor.pin(to: object.widthAnchor)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutConstraint.h:126:12: note: 'NSLayoutConstraint' has been explicitly marked unavailable here
124 |
125 | NSLAYOUTCONSTRAINT_EXTERN API_AVAILABLE(macos(10.7), ios(6.0), tvos(9.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
126 | @interface NSLayoutConstraint : NSObject
| `- note: 'NSLayoutConstraint' has been explicitly marked unavailable here
127 |
128 | /* Create an array of constraints using an ASCII-art-like visual format string. The values of the `metrics` dictionary should be NSNumber (or some other type that responds to -doubleValue and returns a double).
/Users/admin/builder/spi-builder-workspace/Sources/Pinnable/Pinnable.swift:150:18: error: 'NSLayoutConstraint' is unavailable in watchOS
148 | @discardableResult public func pinSize(
149 | to size: CGSize
150 | ) -> (width: NSLayoutConstraint, height: NSLayoutConstraint) {
| `- error: 'NSLayoutConstraint' is unavailable in watchOS
151 | let height = heightAnchor.pin(to: size.height)
152 | let width = widthAnchor.pin(to: size.width)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutConstraint.h:126:12: note: 'NSLayoutConstraint' has been explicitly marked unavailable here
124 |
125 | NSLAYOUTCONSTRAINT_EXTERN API_AVAILABLE(macos(10.7), ios(6.0), tvos(9.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
126 | @interface NSLayoutConstraint : NSObject
| `- note: 'NSLayoutConstraint' has been explicitly marked unavailable here
127 |
128 | /* Create an array of constraints using an ASCII-art-like visual format string. The values of the `metrics` dictionary should be NSNumber (or some other type that responds to -doubleValue and returns a double).
/Users/admin/builder/spi-builder-workspace/Sources/Pinnable/Pinnable.swift:150:46: error: 'NSLayoutConstraint' is unavailable in watchOS
148 | @discardableResult public func pinSize(
149 | to size: CGSize
150 | ) -> (width: NSLayoutConstraint, height: NSLayoutConstraint) {
| `- error: 'NSLayoutConstraint' is unavailable in watchOS
151 | let height = heightAnchor.pin(to: size.height)
152 | let width = widthAnchor.pin(to: size.width)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutConstraint.h:126:12: note: 'NSLayoutConstraint' has been explicitly marked unavailable here
124 |
125 | NSLAYOUTCONSTRAINT_EXTERN API_AVAILABLE(macos(10.7), ios(6.0), tvos(9.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
126 | @interface NSLayoutConstraint : NSObject
| `- note: 'NSLayoutConstraint' has been explicitly marked unavailable here
127 |
128 | /* Create an array of constraints using an ASCII-art-like visual format string. The values of the `metrics` dictionary should be NSNumber (or some other type that responds to -doubleValue and returns a double).
/Users/admin/builder/spi-builder-workspace/Sources/Pinnable/Pinnable.swift:173:18: error: 'NSLayoutConstraint' is unavailable in watchOS
171 | @discardableResult public func pinSize(
172 | to constant: CGFloat
173 | ) -> (width: NSLayoutConstraint, height: NSLayoutConstraint) {
| `- error: 'NSLayoutConstraint' is unavailable in watchOS
174 | pinSize(to: CGSize(width: constant, height: constant))
175 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutConstraint.h:126:12: note: 'NSLayoutConstraint' has been explicitly marked unavailable here
124 |
125 | NSLAYOUTCONSTRAINT_EXTERN API_AVAILABLE(macos(10.7), ios(6.0), tvos(9.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
126 | @interface NSLayoutConstraint : NSObject
| `- note: 'NSLayoutConstraint' has been explicitly marked unavailable here
127 |
128 | /* Create an array of constraints using an ASCII-art-like visual format string. The values of the `metrics` dictionary should be NSNumber (or some other type that responds to -doubleValue and returns a double).
/Users/admin/builder/spi-builder-workspace/Sources/Pinnable/Pinnable.swift:173:46: error: 'NSLayoutConstraint' is unavailable in watchOS
171 | @discardableResult public func pinSize(
172 | to constant: CGFloat
173 | ) -> (width: NSLayoutConstraint, height: NSLayoutConstraint) {
| `- error: 'NSLayoutConstraint' is unavailable in watchOS
174 | pinSize(to: CGSize(width: constant, height: constant))
175 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutConstraint.h:126:12: note: 'NSLayoutConstraint' has been explicitly marked unavailable here
124 |
125 | NSLAYOUTCONSTRAINT_EXTERN API_AVAILABLE(macos(10.7), ios(6.0), tvos(9.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
126 | @interface NSLayoutConstraint : NSObject
| `- note: 'NSLayoutConstraint' has been explicitly marked unavailable here
127 |
128 | /* Create an array of constraints using an ASCII-art-like visual format string. The values of the `metrics` dictionary should be NSNumber (or some other type that responds to -doubleValue and returns a double).
/Users/admin/builder/spi-builder-workspace/Sources/Pinnable/Pinnable.swift:50:9: error: 'NSLayoutConstraint' is unavailable in watchOS
48 |
49 | disableTranslatesAutoresizingMaskIntoConstraintsIfNeeded()
50 | NSLayoutConstraint.activate([top, leading, bottom, trailing].compactMap { $0 })
| `- error: 'NSLayoutConstraint' is unavailable in watchOS
51 |
52 | return (top: top, leading: leading, bottom: bottom, trailing: trailing)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutConstraint.h:126:12: note: 'NSLayoutConstraint' has been explicitly marked unavailable here
124 |
125 | NSLAYOUTCONSTRAINT_EXTERN API_AVAILABLE(macos(10.7), ios(6.0), tvos(9.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
126 | @interface NSLayoutConstraint : NSObject
| `- note: 'NSLayoutConstraint' has been explicitly marked unavailable here
127 |
128 | /* Create an array of constraints using an ASCII-art-like visual format string. The values of the `metrics` dictionary should be NSNumber (or some other type that responds to -doubleValue and returns a double).
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/Pinnable/Pinnable.swift (in target 'Pinnable' from project 'Pinnable')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile Pinnable.swift
SwiftCompile normal arm64 Compiling\ NSLayoutDimension+Extensions.swift /Users/admin/builder/spi-builder-workspace/Sources/Pinnable/NSLayoutDimension+Extensions.swift (in target 'Pinnable' from project 'Pinnable')
/Users/admin/builder/spi-builder-workspace/Sources/Pinnable/NSLayoutDimension+Extensions.swift:21:19: error: 'UILayoutPriority' is unavailable in watchOS
19 | @objc @discardableResult public func pin(
20 | to constant: CGFloat,
21 | priority: UILayoutPriority = .required
| `- error: 'UILayoutPriority' is unavailable in watchOS
22 | ) -> NSLayoutConstraint {
23 | constraint(equalToConstant: constant)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutConstraint.h:17:15: note: 'UILayoutPriority' has been explicitly marked unavailable here
15 | @class NSArray, NSDictionary, NSLayoutAnchor;
16 |
17 | typedef float UILayoutPriority NS_TYPED_EXTENSIBLE_ENUM API_UNAVAILABLE(watchos);
| `- note: 'UILayoutPriority' has been explicitly marked unavailable here
18 | static const UILayoutPriority UILayoutPriorityRequired API_AVAILABLE(ios(6.0)) API_UNAVAILABLE(watchos) = 1000; // A required constraint. Do not exceed this.
19 | static const UILayoutPriority UILayoutPriorityDefaultHigh API_AVAILABLE(ios(6.0)) API_UNAVAILABLE(watchos) = 750; // This is the priority level with which a button resists compressing its content.
/Users/admin/builder/spi-builder-workspace/Sources/Pinnable/NSLayoutDimension+Extensions.swift:22:10: error: 'NSLayoutConstraint' is unavailable in watchOS
20 | to constant: CGFloat,
21 | priority: UILayoutPriority = .required
22 | ) -> NSLayoutConstraint {
| `- error: 'NSLayoutConstraint' is unavailable in watchOS
23 | constraint(equalToConstant: constant)
24 | .prioritize(priority)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutConstraint.h:126:12: note: 'NSLayoutConstraint' has been explicitly marked unavailable here
124 |
125 | NSLAYOUTCONSTRAINT_EXTERN API_AVAILABLE(macos(10.7), ios(6.0), tvos(9.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
126 | @interface NSLayoutConstraint : NSObject
| `- note: 'NSLayoutConstraint' has been explicitly marked unavailable here
127 |
128 | /* Create an array of constraints using an ASCII-art-like visual format string. The values of the `metrics` dictionary should be NSNumber (or some other type that responds to -doubleValue and returns a double).
/Users/admin/builder/spi-builder-workspace/Sources/Pinnable/NSLayoutDimension+Extensions.swift:21:39: error: 'required' is unavailable in watchOS
19 | @objc @discardableResult public func pin(
20 | to constant: CGFloat,
21 | priority: UILayoutPriority = .required
| `- error: 'required' is unavailable in watchOS
22 | ) -> NSLayoutConstraint {
23 | constraint(equalToConstant: constant)
UIKit.UILayoutPriority.required:3:21: note: 'required' has been explicitly marked unavailable here
1 | struct UILayoutPriority {
2 | @available(watchOS, unavailable)
3 | public static var required: UILayoutPriority { get }}
| `- note: 'required' has been explicitly marked unavailable here
4 |
/Users/admin/builder/spi-builder-workspace/Sources/Pinnable/NSLayoutDimension+Extensions.swift:38:19: error: 'UILayoutPriority' is unavailable in watchOS
36 | @objc @discardableResult public func pin(
37 | greaterThan constant: CGFloat,
38 | priority: UILayoutPriority = .required
| `- error: 'UILayoutPriority' is unavailable in watchOS
39 | ) -> NSLayoutConstraint {
40 | constraint(greaterThanOrEqualToConstant: constant)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutConstraint.h:17:15: note: 'UILayoutPriority' has been explicitly marked unavailable here
15 | @class NSArray, NSDictionary, NSLayoutAnchor;
16 |
17 | typedef float UILayoutPriority NS_TYPED_EXTENSIBLE_ENUM API_UNAVAILABLE(watchos);
| `- note: 'UILayoutPriority' has been explicitly marked unavailable here
18 | static const UILayoutPriority UILayoutPriorityRequired API_AVAILABLE(ios(6.0)) API_UNAVAILABLE(watchos) = 1000; // A required constraint. Do not exceed this.
19 | static const UILayoutPriority UILayoutPriorityDefaultHigh API_AVAILABLE(ios(6.0)) API_UNAVAILABLE(watchos) = 750; // This is the priority level with which a button resists compressing its content.
/Users/admin/builder/spi-builder-workspace/Sources/Pinnable/NSLayoutDimension+Extensions.swift:39:10: error: 'NSLayoutConstraint' is unavailable in watchOS
37 | greaterThan constant: CGFloat,
38 | priority: UILayoutPriority = .required
39 | ) -> NSLayoutConstraint {
| `- error: 'NSLayoutConstraint' is unavailable in watchOS
40 | constraint(greaterThanOrEqualToConstant: constant)
41 | .prioritize(priority)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutConstraint.h:126:12: note: 'NSLayoutConstraint' has been explicitly marked unavailable here
124 |
125 | NSLAYOUTCONSTRAINT_EXTERN API_AVAILABLE(macos(10.7), ios(6.0), tvos(9.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
126 | @interface NSLayoutConstraint : NSObject
| `- note: 'NSLayoutConstraint' has been explicitly marked unavailable here
127 |
128 | /* Create an array of constraints using an ASCII-art-like visual format string. The values of the `metrics` dictionary should be NSNumber (or some other type that responds to -doubleValue and returns a double).
/Users/admin/builder/spi-builder-workspace/Sources/Pinnable/NSLayoutDimension+Extensions.swift:38:39: error: 'required' is unavailable in watchOS
36 | @objc @discardableResult public func pin(
37 | greaterThan constant: CGFloat,
38 | priority: UILayoutPriority = .required
| `- error: 'required' is unavailable in watchOS
39 | ) -> NSLayoutConstraint {
40 | constraint(greaterThanOrEqualToConstant: constant)
UIKit.UILayoutPriority.required:3:21: note: 'required' has been explicitly marked unavailable here
1 | struct UILayoutPriority {
2 | @available(watchOS, unavailable)
3 | public static var required: UILayoutPriority { get }}
| `- note: 'required' has been explicitly marked unavailable here
4 |
/Users/admin/builder/spi-builder-workspace/Sources/Pinnable/NSLayoutDimension+Extensions.swift:55:19: error: 'UILayoutPriority' is unavailable in watchOS
53 | @objc @discardableResult public func pin(
54 | lessThan constant: CGFloat,
55 | priority: UILayoutPriority = .required
| `- error: 'UILayoutPriority' is unavailable in watchOS
56 | ) -> NSLayoutConstraint {
57 | constraint(lessThanOrEqualToConstant: constant)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutConstraint.h:17:15: note: 'UILayoutPriority' has been explicitly marked unavailable here
15 | @class NSArray, NSDictionary, NSLayoutAnchor;
16 |
17 | typedef float UILayoutPriority NS_TYPED_EXTENSIBLE_ENUM API_UNAVAILABLE(watchos);
| `- note: 'UILayoutPriority' has been explicitly marked unavailable here
18 | static const UILayoutPriority UILayoutPriorityRequired API_AVAILABLE(ios(6.0)) API_UNAVAILABLE(watchos) = 1000; // A required constraint. Do not exceed this.
19 | static const UILayoutPriority UILayoutPriorityDefaultHigh API_AVAILABLE(ios(6.0)) API_UNAVAILABLE(watchos) = 750; // This is the priority level with which a button resists compressing its content.
/Users/admin/builder/spi-builder-workspace/Sources/Pinnable/NSLayoutDimension+Extensions.swift:56:10: error: 'NSLayoutConstraint' is unavailable in watchOS
54 | lessThan constant: CGFloat,
55 | priority: UILayoutPriority = .required
56 | ) -> NSLayoutConstraint {
| `- error: 'NSLayoutConstraint' is unavailable in watchOS
57 | constraint(lessThanOrEqualToConstant: constant)
58 | .prioritize(priority)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutConstraint.h:126:12: note: 'NSLayoutConstraint' has been explicitly marked unavailable here
124 |
125 | NSLAYOUTCONSTRAINT_EXTERN API_AVAILABLE(macos(10.7), ios(6.0), tvos(9.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
126 | @interface NSLayoutConstraint : NSObject
| `- note: 'NSLayoutConstraint' has been explicitly marked unavailable here
127 |
128 | /* Create an array of constraints using an ASCII-art-like visual format string. The values of the `metrics` dictionary should be NSNumber (or some other type that responds to -doubleValue and returns a double).
/Users/admin/builder/spi-builder-workspace/Sources/Pinnable/NSLayoutDimension+Extensions.swift:55:39: error: 'required' is unavailable in watchOS
53 | @objc @discardableResult public func pin(
54 | lessThan constant: CGFloat,
55 | priority: UILayoutPriority = .required
| `- error: 'required' is unavailable in watchOS
56 | ) -> NSLayoutConstraint {
57 | constraint(lessThanOrEqualToConstant: constant)
UIKit.UILayoutPriority.required:3:21: note: 'required' has been explicitly marked unavailable here
1 | struct UILayoutPriority {
2 | @available(watchOS, unavailable)
3 | public static var required: UILayoutPriority { get }}
| `- note: 'required' has been explicitly marked unavailable here
4 |
/Users/admin/builder/spi-builder-workspace/Sources/Pinnable/NSLayoutDimension+Extensions.swift:73:20: error: 'NSLayoutDimension' is unavailable in watchOS
71 | /// - Returns: The constraint that was created.
72 | @objc @discardableResult public func pin(
73 | to anchor: NSLayoutDimension,
| `- error: 'NSLayoutDimension' is unavailable in watchOS
74 | multiplier: CGFloat = 1,
75 | constant: CGFloat = 0,
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutAnchor.h:81:12: note: 'NSLayoutDimension' has been explicitly marked unavailable here
79 | // This layout anchor subclass is used for sizes (width & height).
80 | NSLAYOUTANCHOR_EXTERN API_AVAILABLE(macos(10.11), ios(9.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
81 | @interface NSLayoutDimension : NSLayoutAnchor<NSLayoutDimension *>
| `- note: 'NSLayoutDimension' has been explicitly marked unavailable here
82 |
83 | // These methods return an inactive constraint of the form thisVariable = constant.
/Users/admin/builder/spi-builder-workspace/Sources/Pinnable/NSLayoutDimension+Extensions.swift:76:19: error: 'UILayoutPriority' is unavailable in watchOS
74 | multiplier: CGFloat = 1,
75 | constant: CGFloat = 0,
76 | priority: UILayoutPriority = .required
| `- error: 'UILayoutPriority' is unavailable in watchOS
77 | ) -> NSLayoutConstraint {
78 | constraint(equalTo: anchor, multiplier: multiplier, constant: constant)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutConstraint.h:17:15: note: 'UILayoutPriority' has been explicitly marked unavailable here
15 | @class NSArray, NSDictionary, NSLayoutAnchor;
16 |
17 | typedef float UILayoutPriority NS_TYPED_EXTENSIBLE_ENUM API_UNAVAILABLE(watchos);
| `- note: 'UILayoutPriority' has been explicitly marked unavailable here
18 | static const UILayoutPriority UILayoutPriorityRequired API_AVAILABLE(ios(6.0)) API_UNAVAILABLE(watchos) = 1000; // A required constraint. Do not exceed this.
19 | static const UILayoutPriority UILayoutPriorityDefaultHigh API_AVAILABLE(ios(6.0)) API_UNAVAILABLE(watchos) = 750; // This is the priority level with which a button resists compressing its content.
/Users/admin/builder/spi-builder-workspace/Sources/Pinnable/NSLayoutDimension+Extensions.swift:77:10: error: 'NSLayoutConstraint' is unavailable in watchOS
75 | constant: CGFloat = 0,
76 | priority: UILayoutPriority = .required
77 | ) -> NSLayoutConstraint {
| `- error: 'NSLayoutConstraint' is unavailable in watchOS
78 | constraint(equalTo: anchor, multiplier: multiplier, constant: constant)
79 | .prioritize(priority)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutConstraint.h:126:12: note: 'NSLayoutConstraint' has been explicitly marked unavailable here
124 |
125 | NSLAYOUTCONSTRAINT_EXTERN API_AVAILABLE(macos(10.7), ios(6.0), tvos(9.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
126 | @interface NSLayoutConstraint : NSObject
| `- note: 'NSLayoutConstraint' has been explicitly marked unavailable here
127 |
128 | /* Create an array of constraints using an ASCII-art-like visual format string. The values of the `metrics` dictionary should be NSNumber (or some other type that responds to -doubleValue and returns a double).
/Users/admin/builder/spi-builder-workspace/Sources/Pinnable/NSLayoutDimension+Extensions.swift:76:39: error: 'required' is unavailable in watchOS
74 | multiplier: CGFloat = 1,
75 | constant: CGFloat = 0,
76 | priority: UILayoutPriority = .required
| `- error: 'required' is unavailable in watchOS
77 | ) -> NSLayoutConstraint {
78 | constraint(equalTo: anchor, multiplier: multiplier, constant: constant)
UIKit.UILayoutPriority.required:3:21: note: 'required' has been explicitly marked unavailable here
1 | struct UILayoutPriority {
2 | @available(watchOS, unavailable)
3 | public static var required: UILayoutPriority { get }}
| `- note: 'required' has been explicitly marked unavailable here
4 |
/Users/admin/builder/spi-builder-workspace/Sources/Pinnable/NSLayoutDimension+Extensions.swift:94:29: error: 'NSLayoutDimension' is unavailable in watchOS
92 | /// - Returns: The constraint that was created.
93 | @objc @discardableResult public func pin(
94 | greaterThan anchor: NSLayoutDimension,
| `- error: 'NSLayoutDimension' is unavailable in watchOS
95 | multiplier: CGFloat = 1,
96 | constant: CGFloat = 0,
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutAnchor.h:81:12: note: 'NSLayoutDimension' has been explicitly marked unavailable here
79 | // This layout anchor subclass is used for sizes (width & height).
80 | NSLAYOUTANCHOR_EXTERN API_AVAILABLE(macos(10.11), ios(9.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
81 | @interface NSLayoutDimension : NSLayoutAnchor<NSLayoutDimension *>
| `- note: 'NSLayoutDimension' has been explicitly marked unavailable here
82 |
83 | // These methods return an inactive constraint of the form thisVariable = constant.
/Users/admin/builder/spi-builder-workspace/Sources/Pinnable/NSLayoutDimension+Extensions.swift:97:19: error: 'UILayoutPriority' is unavailable in watchOS
95 | multiplier: CGFloat = 1,
96 | constant: CGFloat = 0,
97 | priority: UILayoutPriority = .required
| `- error: 'UILayoutPriority' is unavailable in watchOS
98 | ) -> NSLayoutConstraint {
99 | constraint(greaterThanOrEqualTo: anchor, multiplier: multiplier, constant: constant)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutConstraint.h:17:15: note: 'UILayoutPriority' has been explicitly marked unavailable here
15 | @class NSArray, NSDictionary, NSLayoutAnchor;
16 |
17 | typedef float UILayoutPriority NS_TYPED_EXTENSIBLE_ENUM API_UNAVAILABLE(watchos);
| `- note: 'UILayoutPriority' has been explicitly marked unavailable here
18 | static const UILayoutPriority UILayoutPriorityRequired API_AVAILABLE(ios(6.0)) API_UNAVAILABLE(watchos) = 1000; // A required constraint. Do not exceed this.
19 | static const UILayoutPriority UILayoutPriorityDefaultHigh API_AVAILABLE(ios(6.0)) API_UNAVAILABLE(watchos) = 750; // This is the priority level with which a button resists compressing its content.
/Users/admin/builder/spi-builder-workspace/Sources/Pinnable/NSLayoutDimension+Extensions.swift:98:10: error: 'NSLayoutConstraint' is unavailable in watchOS
96 | constant: CGFloat = 0,
97 | priority: UILayoutPriority = .required
98 | ) -> NSLayoutConstraint {
| `- error: 'NSLayoutConstraint' is unavailable in watchOS
99 | constraint(greaterThanOrEqualTo: anchor, multiplier: multiplier, constant: constant)
100 | .prioritize(priority)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutConstraint.h:126:12: note: 'NSLayoutConstraint' has been explicitly marked unavailable here
124 |
125 | NSLAYOUTCONSTRAINT_EXTERN API_AVAILABLE(macos(10.7), ios(6.0), tvos(9.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
126 | @interface NSLayoutConstraint : NSObject
| `- note: 'NSLayoutConstraint' has been explicitly marked unavailable here
127 |
128 | /* Create an array of constraints using an ASCII-art-like visual format string. The values of the `metrics` dictionary should be NSNumber (or some other type that responds to -doubleValue and returns a double).
/Users/admin/builder/spi-builder-workspace/Sources/Pinnable/NSLayoutDimension+Extensions.swift:97:39: error: 'required' is unavailable in watchOS
95 | multiplier: CGFloat = 1,
96 | constant: CGFloat = 0,
97 | priority: UILayoutPriority = .required
| `- error: 'required' is unavailable in watchOS
98 | ) -> NSLayoutConstraint {
99 | constraint(greaterThanOrEqualTo: anchor, multiplier: multiplier, constant: constant)
UIKit.UILayoutPriority.required:3:21: note: 'required' has been explicitly marked unavailable here
1 | struct UILayoutPriority {
2 | @available(watchOS, unavailable)
3 | public static var required: UILayoutPriority { get }}
| `- note: 'required' has been explicitly marked unavailable here
4 |
/Users/admin/builder/spi-builder-workspace/Sources/Pinnable/NSLayoutDimension+Extensions.swift:115:26: error: 'NSLayoutDimension' is unavailable in watchOS
113 | /// - Returns: The constraint that was created.
114 | @objc @discardableResult public func pin(
115 | lessThan anchor: NSLayoutDimension,
| `- error: 'NSLayoutDimension' is unavailable in watchOS
116 | multiplier: CGFloat = 1, constant: CGFloat = 0,
117 | priority: UILayoutPriority = .required
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutAnchor.h:81:12: note: 'NSLayoutDimension' has been explicitly marked unavailable here
79 | // This layout anchor subclass is used for sizes (width & height).
80 | NSLAYOUTANCHOR_EXTERN API_AVAILABLE(macos(10.11), ios(9.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
81 | @interface NSLayoutDimension : NSLayoutAnchor<NSLayoutDimension *>
| `- note: 'NSLayoutDimension' has been explicitly marked unavailable here
82 |
83 | // These methods return an inactive constraint of the form thisVariable = constant.
/Users/admin/builder/spi-builder-workspace/Sources/Pinnable/NSLayoutDimension+Extensions.swift:117:19: error: 'UILayoutPriority' is unavailable in watchOS
115 | lessThan anchor: NSLayoutDimension,
116 | multiplier: CGFloat = 1, constant: CGFloat = 0,
117 | priority: UILayoutPriority = .required
| `- error: 'UILayoutPriority' is unavailable in watchOS
118 | ) -> NSLayoutConstraint {
119 | constraint(lessThanOrEqualTo: anchor, multiplier: multiplier, constant: constant)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutConstraint.h:17:15: note: 'UILayoutPriority' has been explicitly marked unavailable here
15 | @class NSArray, NSDictionary, NSLayoutAnchor;
16 |
17 | typedef float UILayoutPriority NS_TYPED_EXTENSIBLE_ENUM API_UNAVAILABLE(watchos);
| `- note: 'UILayoutPriority' has been explicitly marked unavailable here
18 | static const UILayoutPriority UILayoutPriorityRequired API_AVAILABLE(ios(6.0)) API_UNAVAILABLE(watchos) = 1000; // A required constraint. Do not exceed this.
19 | static const UILayoutPriority UILayoutPriorityDefaultHigh API_AVAILABLE(ios(6.0)) API_UNAVAILABLE(watchos) = 750; // This is the priority level with which a button resists compressing its content.
/Users/admin/builder/spi-builder-workspace/Sources/Pinnable/NSLayoutDimension+Extensions.swift:118:10: error: 'NSLayoutConstraint' is unavailable in watchOS
116 | multiplier: CGFloat = 1, constant: CGFloat = 0,
117 | priority: UILayoutPriority = .required
118 | ) -> NSLayoutConstraint {
| `- error: 'NSLayoutConstraint' is unavailable in watchOS
119 | constraint(lessThanOrEqualTo: anchor, multiplier: multiplier, constant: constant)
120 | .prioritize(priority)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutConstraint.h:126:12: note: 'NSLayoutConstraint' has been explicitly marked unavailable here
124 |
125 | NSLAYOUTCONSTRAINT_EXTERN API_AVAILABLE(macos(10.7), ios(6.0), tvos(9.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
126 | @interface NSLayoutConstraint : NSObject
| `- note: 'NSLayoutConstraint' has been explicitly marked unavailable here
127 |
128 | /* Create an array of constraints using an ASCII-art-like visual format string. The values of the `metrics` dictionary should be NSNumber (or some other type that responds to -doubleValue and returns a double).
/Users/admin/builder/spi-builder-workspace/Sources/Pinnable/NSLayoutDimension+Extensions.swift:117:39: error: 'required' is unavailable in watchOS
115 | lessThan anchor: NSLayoutDimension,
116 | multiplier: CGFloat = 1, constant: CGFloat = 0,
117 | priority: UILayoutPriority = .required
| `- error: 'required' is unavailable in watchOS
118 | ) -> NSLayoutConstraint {
119 | constraint(lessThanOrEqualTo: anchor, multiplier: multiplier, constant: constant)
UIKit.UILayoutPriority.required:3:21: note: 'required' has been explicitly marked unavailable here
1 | struct UILayoutPriority {
2 | @available(watchOS, unavailable)
3 | public static var required: UILayoutPriority { get }}
| `- note: 'required' has been explicitly marked unavailable here
4 |
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Pinnable/NSLayoutDimension+Extensions.swift (in target 'Pinnable' from project 'Pinnable')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile NSLayoutDimension+Extensions.swift
SwiftCompile normal arm64 Compiling\ NSLayoutConstraint+Extensions.swift /Users/admin/builder/spi-builder-workspace/Sources/Pinnable/NSLayoutConstraint+Extensions.swift (in target 'Pinnable' from project 'Pinnable')
/Users/admin/builder/spi-builder-workspace/Sources/Pinnable/NSLayoutConstraint+Extensions.swift:31:59: error: 'UILayoutPriority' is unavailable in watchOS
29 | /// - Parameter priority: The value of the priority.
30 | /// - Returns: self
31 | @discardableResult public func prioritize(_ priority: UILayoutPriority) -> Self {
| `- error: 'UILayoutPriority' is unavailable in watchOS
32 | self.priority = priority
33 | 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/NSLayoutConstraint.h:17:15: note: 'UILayoutPriority' has been explicitly marked unavailable here
15 | @class NSArray, NSDictionary, NSLayoutAnchor;
16 |
17 | typedef float UILayoutPriority NS_TYPED_EXTENSIBLE_ENUM API_UNAVAILABLE(watchos);
| `- note: 'UILayoutPriority' has been explicitly marked unavailable here
18 | static const UILayoutPriority UILayoutPriorityRequired API_AVAILABLE(ios(6.0)) API_UNAVAILABLE(watchos) = 1000; // A required constraint. Do not exceed this.
19 | static const UILayoutPriority UILayoutPriorityDefaultHigh API_AVAILABLE(ios(6.0)) API_UNAVAILABLE(watchos) = 750; // This is the priority level with which a button resists compressing its content.
/Users/admin/builder/spi-builder-workspace/Sources/Pinnable/NSLayoutConstraint+Extensions.swift:36:30: error: 'NSLayoutConstraint' is unavailable in watchOS
34 | }
35 |
36 | internal func setUp() -> NSLayoutConstraint {
| `- error: 'NSLayoutConstraint' is unavailable in watchOS
37 | (firstItem as? UIView)?.translatesAutoresizingMaskIntoConstraints = false
38 | activate()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutConstraint.h:126:12: note: 'NSLayoutConstraint' has been explicitly marked unavailable here
124 |
125 | NSLAYOUTCONSTRAINT_EXTERN API_AVAILABLE(macos(10.7), ios(6.0), tvos(9.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
126 | @interface NSLayoutConstraint : NSObject
| `- note: 'NSLayoutConstraint' has been explicitly marked unavailable here
127 |
128 | /* Create an array of constraints using an ASCII-art-like visual format string. The values of the `metrics` dictionary should be NSNumber (or some other type that responds to -doubleValue and returns a double).
/Users/admin/builder/spi-builder-workspace/Sources/Pinnable/NSLayoutConstraint+Extensions.swift:10:11: error: 'NSLayoutConstraint' is unavailable in watchOS
8 | import UIKit
9 |
10 | extension NSLayoutConstraint {
| `- error: 'NSLayoutConstraint' is unavailable in watchOS
11 | /// Set `isActive` to true.
12 | ///
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutConstraint.h:126:12: note: 'NSLayoutConstraint' has been explicitly marked unavailable here
124 |
125 | NSLAYOUTCONSTRAINT_EXTERN API_AVAILABLE(macos(10.7), ios(6.0), tvos(9.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
126 | @interface NSLayoutConstraint : NSObject
| `- note: 'NSLayoutConstraint' has been explicitly marked unavailable here
127 |
128 | /* Create an array of constraints using an ASCII-art-like visual format string. The values of the `metrics` dictionary should be NSNumber (or some other type that responds to -doubleValue and returns a double).
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Pinnable/NSLayoutConstraint+Extensions.swift (in target 'Pinnable' from project 'Pinnable')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile NSLayoutConstraint+Extensions.swift
SwiftCompile normal arm64_32 Compiling\ UILayoutGuide+Pinnable.swift /Users/admin/builder/spi-builder-workspace/Sources/Pinnable/UILayoutGuide+Pinnable.swift (in target 'Pinnable' from project 'Pinnable')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/Pinnable/UILayoutGuide+Pinnable.swift (in target 'Pinnable' from project 'Pinnable')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile UILayoutGuide+Pinnable.swift
/Users/admin/builder/spi-builder-workspace/Sources/Pinnable/UILayoutGuide+Pinnable.swift:12:37: error: 'NSLayoutYAxisAnchor' is unavailable in watchOS
10 | extension UILayoutGuide: Pinnable {
11 | /// Equivalent to `bottomAnchor`.
12 | public var firstBaselineAnchor: NSLayoutYAxisAnchor {
| `- error: 'NSLayoutYAxisAnchor' is unavailable in watchOS
13 | bottomAnchor
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/NSLayoutAnchor.h:72:12: note: 'NSLayoutYAxisAnchor' has been explicitly marked unavailable here
70 |
71 | NSLAYOUTANCHOR_EXTERN API_AVAILABLE(macos(10.11), ios(9.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
72 | @interface NSLayoutYAxisAnchor : NSLayoutAnchor<NSLayoutYAxisAnchor *>
| `- note: 'NSLayoutYAxisAnchor' has been explicitly marked unavailable here
73 |
74 | // A composite anchor for creating constraints relating vertical distances between locations.
/Users/admin/builder/spi-builder-workspace/Sources/Pinnable/UILayoutGuide+Pinnable.swift:17:36: error: 'NSLayoutYAxisAnchor' is unavailable in watchOS
15 |
16 | /// Equivalent to `bottomAnchor`.
17 | public var lastBaselineAnchor: NSLayoutYAxisAnchor {
| `- error: 'NSLayoutYAxisAnchor' is unavailable in watchOS
18 | bottomAnchor
19 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutAnchor.h:72:12: note: 'NSLayoutYAxisAnchor' has been explicitly marked unavailable here
70 |
71 | NSLAYOUTANCHOR_EXTERN API_AVAILABLE(macos(10.11), ios(9.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
72 | @interface NSLayoutYAxisAnchor : NSLayoutAnchor<NSLayoutYAxisAnchor *>
| `- note: 'NSLayoutYAxisAnchor' has been explicitly marked unavailable here
73 |
74 | // A composite anchor for creating constraints relating vertical distances between locations.
/Users/admin/builder/spi-builder-workspace/Sources/Pinnable/UILayoutGuide+Pinnable.swift:21:27: error: 'UIView' is unavailable in watchOS
19 | }
20 |
21 | public var superview: UIView? {
| `- error: 'UIView' is unavailable in watchOS
22 | owningView?.superview
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.
SwiftCompile normal arm64_32 Compiling\ UIView+Pinnable.swift /Users/admin/builder/spi-builder-workspace/Sources/Pinnable/UIView+Pinnable.swift (in target 'Pinnable' from project 'Pinnable')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/Pinnable/UIView+Pinnable.swift (in target 'Pinnable' from project 'Pinnable')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile UIView+Pinnable.swift
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules
2026-09-21 03:34:02.701 xcodebuild[786:4759] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
** BUILD FAILED **
The following build commands failed:
SwiftEmitModule normal arm64 Emitting\ module\ for\ Pinnable (in target 'Pinnable' from project 'Pinnable')
SwiftCompile normal arm64 (in target 'Pinnable' from project 'Pinnable')
Building workspace Pinnable with scheme Pinnable
(3 failures)
BUILD FAILURE 6.4 watchOS