Build Information
Failed to build WWAutolayoutConstraint, reference main (5bc412), with Swift 6.4 for watchOS using Xcode 27.0 on 23 Sep 2026 11:17:18 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 WWAutolayoutConstraint -destination generic/platform=watchOSBuild Log
| `- error: 'NSLayoutConstraint' is unavailable in watchOS
263 |
264 | var constraint: NSLayoutConstraint? = 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/WWAutolayoutConstraint/Utility/Extension.swift:256:11: error: 'UIView' is unavailable in watchOS
254 |
255 | // MARK: - 更新約束
256 | extension UIView {
| `- error: 'UIView' is unavailable in watchOS
257 |
258 | /// 搜尋約束
/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/WWAutolayoutConstraint/Utility/Extension.swift:22:9: error: 'NSLayoutConstraint' is unavailable in watchOS
20 | translatesAutoresizingMaskIntoConstraints = false
21 |
22 | NSLayoutConstraint.activate([
| `- error: 'NSLayoutConstraint' is unavailable in watchOS
23 | topAnchor.constraint(equalTo: superView.topAnchor),
24 | bottomAnchor.constraint(equalTo: superView.bottomAnchor),
/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/WWAutolayoutConstraint/Utility/Extension.swift:50:9: error: 'NSLayoutConstraint' is unavailable in watchOS
48 | if let leading = leading { constraints.append(leftAnchor.constraint(equalTo: superView.leftAnchor, constant: leading)) }
49 |
50 | NSLayoutConstraint.activate(constraints)
| `- error: 'NSLayoutConstraint' is unavailable in watchOS
51 | }
52 | }
/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/WWAutolayoutConstraint/Utility/Extension.swift:64:27: error: 'NSLayoutConstraint' is unavailable in watchOS
62 | func _top(by otherView: UIView, yAxis: WWAutolayoutWrapper<UIView>.YAxisType, useSafeArea: Bool) {
63 |
64 | let constraints: [NSLayoutConstraint]
| `- error: 'NSLayoutConstraint' is unavailable in watchOS
65 |
66 | switch yAxis {
/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/WWAutolayoutConstraint/Utility/Extension.swift:68:54: error: 'safeAreaLayoutGuide' is unavailable in watchOS
66 | switch yAxis {
67 | case .top(let offset):
68 | let _topAnchor = useSafeArea ? otherView.safeAreaLayoutGuide.topAnchor : otherView.topAnchor
| `- error: 'safeAreaLayoutGuide' is unavailable in watchOS
69 | constraints = [topAnchor.constraint(equalTo: _topAnchor, constant: offset)]
70 | case .bottom(let offset):
/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:306:53: note: 'safeAreaLayoutGuide' has been explicitly marked unavailable here
304 | the status bar or navigation bar, if present). Similarly for the other edges.
305 | */
306 | @property(nonatomic,readonly,strong) UILayoutGuide *safeAreaLayoutGuide API_AVAILABLE(ios(11.0), tvos(11.0)) API_UNAVAILABLE(watchos);
| `- note: 'safeAreaLayoutGuide' has been explicitly marked unavailable here
307 |
308 | /// Follows the keyboard when on screen and docked. See UIKeyboardLayoutGuide.h for additional options.
/Users/admin/builder/spi-builder-workspace/Sources/WWAutolayoutConstraint/Utility/Extension.swift:71:57: error: 'safeAreaLayoutGuide' is unavailable in watchOS
69 | constraints = [topAnchor.constraint(equalTo: _topAnchor, constant: offset)]
70 | case .bottom(let offset):
71 | let _bottomAnchor = useSafeArea ? otherView.safeAreaLayoutGuide.bottomAnchor : otherView.bottomAnchor
| `- error: 'safeAreaLayoutGuide' is unavailable in watchOS
72 | constraints = [topAnchor.constraint(equalTo: _bottomAnchor, constant: offset)]
73 | }
/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:306:53: note: 'safeAreaLayoutGuide' has been explicitly marked unavailable here
304 | the status bar or navigation bar, if present). Similarly for the other edges.
305 | */
306 | @property(nonatomic,readonly,strong) UILayoutGuide *safeAreaLayoutGuide API_AVAILABLE(ios(11.0), tvos(11.0)) API_UNAVAILABLE(watchos);
| `- note: 'safeAreaLayoutGuide' has been explicitly marked unavailable here
307 |
308 | /// Follows the keyboard when on screen and docked. See UIKeyboardLayoutGuide.h for additional options.
/Users/admin/builder/spi-builder-workspace/Sources/WWAutolayoutConstraint/Utility/Extension.swift:75:9: error: 'NSLayoutConstraint' is unavailable in watchOS
73 | }
74 |
75 | NSLayoutConstraint.activate(constraints)
| `- error: 'NSLayoutConstraint' is unavailable in watchOS
76 | }
77 |
/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/WWAutolayoutConstraint/Utility/Extension.swift:85:27: error: 'NSLayoutConstraint' is unavailable in watchOS
83 | func _bottom(by otherView: UIView, yAxis: WWAutolayoutWrapper<UIView>.YAxisType, useSafeArea: Bool) {
84 |
85 | let constraints: [NSLayoutConstraint]
| `- error: 'NSLayoutConstraint' is unavailable in watchOS
86 |
87 | switch yAxis {
/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/WWAutolayoutConstraint/Utility/Extension.swift:89:54: error: 'safeAreaLayoutGuide' is unavailable in watchOS
87 | switch yAxis {
88 | case .top(let offset):
89 | let _topAnchor = useSafeArea ? otherView.safeAreaLayoutGuide.topAnchor : otherView.topAnchor
| `- error: 'safeAreaLayoutGuide' is unavailable in watchOS
90 | constraints = [bottomAnchor.constraint(equalTo: _topAnchor, constant: offset)]
91 | case .bottom(let offset):
/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:306:53: note: 'safeAreaLayoutGuide' has been explicitly marked unavailable here
304 | the status bar or navigation bar, if present). Similarly for the other edges.
305 | */
306 | @property(nonatomic,readonly,strong) UILayoutGuide *safeAreaLayoutGuide API_AVAILABLE(ios(11.0), tvos(11.0)) API_UNAVAILABLE(watchos);
| `- note: 'safeAreaLayoutGuide' has been explicitly marked unavailable here
307 |
308 | /// Follows the keyboard when on screen and docked. See UIKeyboardLayoutGuide.h for additional options.
/Users/admin/builder/spi-builder-workspace/Sources/WWAutolayoutConstraint/Utility/Extension.swift:92:57: error: 'safeAreaLayoutGuide' is unavailable in watchOS
90 | constraints = [bottomAnchor.constraint(equalTo: _topAnchor, constant: offset)]
91 | case .bottom(let offset):
92 | let _bottomAnchor = useSafeArea ? otherView.safeAreaLayoutGuide.bottomAnchor : otherView.bottomAnchor
| `- error: 'safeAreaLayoutGuide' is unavailable in watchOS
93 | constraints = [bottomAnchor.constraint(equalTo: _bottomAnchor, constant: offset)]
94 | }
/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:306:53: note: 'safeAreaLayoutGuide' has been explicitly marked unavailable here
304 | the status bar or navigation bar, if present). Similarly for the other edges.
305 | */
306 | @property(nonatomic,readonly,strong) UILayoutGuide *safeAreaLayoutGuide API_AVAILABLE(ios(11.0), tvos(11.0)) API_UNAVAILABLE(watchos);
| `- note: 'safeAreaLayoutGuide' has been explicitly marked unavailable here
307 |
308 | /// Follows the keyboard when on screen and docked. See UIKeyboardLayoutGuide.h for additional options.
/Users/admin/builder/spi-builder-workspace/Sources/WWAutolayoutConstraint/Utility/Extension.swift:96:9: error: 'NSLayoutConstraint' is unavailable in watchOS
94 | }
95 |
96 | NSLayoutConstraint.activate(constraints)
| `- error: 'NSLayoutConstraint' is unavailable in watchOS
97 | }
98 |
/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/WWAutolayoutConstraint/Utility/Extension.swift:106:27: error: 'NSLayoutConstraint' is unavailable in watchOS
104 | func _leading(by otherView: UIView, xAxis: WWAutolayoutWrapper<UIView>.XAxisType, useSafeArea: Bool) {
105 |
106 | let constraints: [NSLayoutConstraint]
| `- error: 'NSLayoutConstraint' is unavailable in watchOS
107 |
108 | switch xAxis {
/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/WWAutolayoutConstraint/Utility/Extension.swift:110:58: error: 'safeAreaLayoutGuide' is unavailable in watchOS
108 | switch xAxis {
109 | case .leading(let offset):
110 | let _leadingAnchor = useSafeArea ? otherView.safeAreaLayoutGuide.leadingAnchor : otherView.leadingAnchor
| `- error: 'safeAreaLayoutGuide' is unavailable in watchOS
111 | constraints = [leadingAnchor.constraint(equalTo: _leadingAnchor, constant: offset)]
112 | case .trailing(let offset):
/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:306:53: note: 'safeAreaLayoutGuide' has been explicitly marked unavailable here
304 | the status bar or navigation bar, if present). Similarly for the other edges.
305 | */
306 | @property(nonatomic,readonly,strong) UILayoutGuide *safeAreaLayoutGuide API_AVAILABLE(ios(11.0), tvos(11.0)) API_UNAVAILABLE(watchos);
| `- note: 'safeAreaLayoutGuide' has been explicitly marked unavailable here
307 |
308 | /// Follows the keyboard when on screen and docked. See UIKeyboardLayoutGuide.h for additional options.
/Users/admin/builder/spi-builder-workspace/Sources/WWAutolayoutConstraint/Utility/Extension.swift:113:59: error: 'safeAreaLayoutGuide' is unavailable in watchOS
111 | constraints = [leadingAnchor.constraint(equalTo: _leadingAnchor, constant: offset)]
112 | case .trailing(let offset):
113 | let _trailingAnchor = useSafeArea ? otherView.safeAreaLayoutGuide.trailingAnchor : otherView.trailingAnchor
| `- error: 'safeAreaLayoutGuide' is unavailable in watchOS
114 | constraints = [leadingAnchor.constraint(equalTo: _trailingAnchor, constant: offset)]
115 | }
/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:306:53: note: 'safeAreaLayoutGuide' has been explicitly marked unavailable here
304 | the status bar or navigation bar, if present). Similarly for the other edges.
305 | */
306 | @property(nonatomic,readonly,strong) UILayoutGuide *safeAreaLayoutGuide API_AVAILABLE(ios(11.0), tvos(11.0)) API_UNAVAILABLE(watchos);
| `- note: 'safeAreaLayoutGuide' has been explicitly marked unavailable here
307 |
308 | /// Follows the keyboard when on screen and docked. See UIKeyboardLayoutGuide.h for additional options.
/Users/admin/builder/spi-builder-workspace/Sources/WWAutolayoutConstraint/Utility/Extension.swift:117:9: error: 'NSLayoutConstraint' is unavailable in watchOS
115 | }
116 |
117 | NSLayoutConstraint.activate(constraints)
| `- error: 'NSLayoutConstraint' is unavailable in watchOS
118 | }
119 |
/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/WWAutolayoutConstraint/Utility/Extension.swift:127:27: error: 'NSLayoutConstraint' is unavailable in watchOS
125 | func _trailing(by otherView: UIView, xAxis: WWAutolayoutWrapper<UIView>.XAxisType, useSafeArea: Bool) {
126 |
127 | let constraints: [NSLayoutConstraint]
| `- error: 'NSLayoutConstraint' is unavailable in watchOS
128 |
129 | switch xAxis {
/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/WWAutolayoutConstraint/Utility/Extension.swift:131:48: error: 'safeAreaLayoutGuide' is unavailable in watchOS
129 | switch xAxis {
130 | case .leading(let offset):
131 | let _leadingAnchor = useSafeArea ? safeAreaLayoutGuide.leadingAnchor : otherView.leadingAnchor
| `- error: 'safeAreaLayoutGuide' is unavailable in watchOS
132 | constraints = [trailingAnchor.constraint(equalTo: _leadingAnchor, constant: offset)]
133 | case .trailing(let offset):
/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:306:53: note: 'safeAreaLayoutGuide' has been explicitly marked unavailable here
304 | the status bar or navigation bar, if present). Similarly for the other edges.
305 | */
306 | @property(nonatomic,readonly,strong) UILayoutGuide *safeAreaLayoutGuide API_AVAILABLE(ios(11.0), tvos(11.0)) API_UNAVAILABLE(watchos);
| `- note: 'safeAreaLayoutGuide' has been explicitly marked unavailable here
307 |
308 | /// Follows the keyboard when on screen and docked. See UIKeyboardLayoutGuide.h for additional options.
/Users/admin/builder/spi-builder-workspace/Sources/WWAutolayoutConstraint/Utility/Extension.swift:134:49: error: 'safeAreaLayoutGuide' is unavailable in watchOS
132 | constraints = [trailingAnchor.constraint(equalTo: _leadingAnchor, constant: offset)]
133 | case .trailing(let offset):
134 | let _trailingAnchor = useSafeArea ? safeAreaLayoutGuide.trailingAnchor : otherView.trailingAnchor
| `- error: 'safeAreaLayoutGuide' is unavailable in watchOS
135 | constraints = [trailingAnchor.constraint(equalTo: _trailingAnchor, constant: offset)]
136 | }
/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:306:53: note: 'safeAreaLayoutGuide' has been explicitly marked unavailable here
304 | the status bar or navigation bar, if present). Similarly for the other edges.
305 | */
306 | @property(nonatomic,readonly,strong) UILayoutGuide *safeAreaLayoutGuide API_AVAILABLE(ios(11.0), tvos(11.0)) API_UNAVAILABLE(watchos);
| `- note: 'safeAreaLayoutGuide' has been explicitly marked unavailable here
307 |
308 | /// Follows the keyboard when on screen and docked. See UIKeyboardLayoutGuide.h for additional options.
/Users/admin/builder/spi-builder-workspace/Sources/WWAutolayoutConstraint/Utility/Extension.swift:138:9: error: 'NSLayoutConstraint' is unavailable in watchOS
136 | }
137 |
138 | NSLayoutConstraint.activate(constraints)
| `- error: 'NSLayoutConstraint' is unavailable in watchOS
139 | }
140 |
/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/WWAutolayoutConstraint/Utility/Extension.swift:145:9: error: 'NSLayoutConstraint' is unavailable in watchOS
143 | func _height(with height: CGFloat) {
144 | let constraints = [heightAnchor.constraint(equalToConstant: height)]
145 | NSLayoutConstraint.activate(constraints)
| `- error: 'NSLayoutConstraint' is unavailable in watchOS
146 | }
147 |
/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/WWAutolayoutConstraint/Utility/Extension.swift:152:9: error: 'NSLayoutConstraint' is unavailable in watchOS
150 | func _width(with width: CGFloat) {
151 | let constraints = [widthAnchor.constraint(equalToConstant: width)]
152 | NSLayoutConstraint.activate(constraints)
| `- error: 'NSLayoutConstraint' is unavailable in watchOS
153 | }
154 |
/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/WWAutolayoutConstraint/Utility/Extension.swift:162:26: error: 'NSLayoutConstraint' is unavailable in watchOS
160 | func _height(by otherView: UIView, ratio: CGFloat, offset: CGFloat) {
161 |
162 | let constraint = NSLayoutConstraint(
| `- error: 'NSLayoutConstraint' is unavailable in watchOS
163 | item: self,
164 | attribute: .height,
/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/WWAutolayoutConstraint/Utility/Extension.swift:172:9: error: 'NSLayoutConstraint' is unavailable in watchOS
170 | )
171 |
172 | NSLayoutConstraint.activate([constraint])
| `- error: 'NSLayoutConstraint' is unavailable in watchOS
173 | }
174 |
/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/WWAutolayoutConstraint/Utility/Extension.swift:182:26: error: 'NSLayoutConstraint' is unavailable in watchOS
180 | func _width(by otherView: UIView, ratio: CGFloat, offset: CGFloat) {
181 |
182 | let constraint = NSLayoutConstraint(
| `- error: 'NSLayoutConstraint' is unavailable in watchOS
183 | item: self,
184 | attribute: .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/WWAutolayoutConstraint/Utility/Extension.swift:192:9: error: 'NSLayoutConstraint' is unavailable in watchOS
190 | )
191 |
192 | NSLayoutConstraint.activate([constraint])
| `- error: 'NSLayoutConstraint' is unavailable in watchOS
193 | }
194 |
/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/WWAutolayoutConstraint/Utility/Extension.swift:202:26: error: 'NSLayoutConstraint' is unavailable in watchOS
200 | func _centerX(by otherView: UIView, multiplier: CGFloat, offset: CGFloat) {
201 |
202 | let constraint = NSLayoutConstraint(
| `- error: 'NSLayoutConstraint' is unavailable in watchOS
203 | item: self,
204 | attribute: .centerX,
/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/WWAutolayoutConstraint/Utility/Extension.swift:212:9: error: 'NSLayoutConstraint' is unavailable in watchOS
210 | )
211 |
212 | NSLayoutConstraint.activate([constraint])
| `- error: 'NSLayoutConstraint' is unavailable in watchOS
213 | }
214 |
/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/WWAutolayoutConstraint/Utility/Extension.swift:222:26: error: 'NSLayoutConstraint' is unavailable in watchOS
220 | func _centerY(by otherView: UIView, multiplier: CGFloat, offset: CGFloat) {
221 |
222 | let constraint = NSLayoutConstraint(
| `- error: 'NSLayoutConstraint' is unavailable in watchOS
223 | item: self,
224 | attribute: .centerY,
/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/WWAutolayoutConstraint/Utility/Extension.swift:232:9: error: 'NSLayoutConstraint' is unavailable in watchOS
230 | )
231 |
232 | NSLayoutConstraint.activate([constraint])
| `- error: 'NSLayoutConstraint' is unavailable in watchOS
233 | }
234 |
/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/WWAutolayoutConstraint/Utility/Extension.swift:241:26: error: 'NSLayoutConstraint' is unavailable in watchOS
239 | func _aspectRatio(_ ratio: CGFloat, offset: CGFloat) {
240 |
241 | let constraint = NSLayoutConstraint(
| `- error: 'NSLayoutConstraint' is unavailable in watchOS
242 | item: self,
243 | attribute: .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/WWAutolayoutConstraint/Utility/Extension.swift:251:9: error: 'NSLayoutConstraint' is unavailable in watchOS
249 | )
250 |
251 | NSLayoutConstraint.activate([constraint])
| `- error: 'NSLayoutConstraint' is unavailable in watchOS
252 | }
253 | }
/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/WWAutolayoutConstraint/Utility/Extension.swift (in target 'WWAutolayoutConstraint' from project 'WWAutolayoutConstraint')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile Extension.swift
SwiftCompile normal arm64 Compiling\ resource_bundle_accessor.swift /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWAutolayoutConstraint.build/Debug-watchos/WWAutolayoutConstraint-t.build/DerivedSources/resource_bundle_accessor.swift (in target 'WWAutolayoutConstraint' from project 'WWAutolayoutConstraint')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWAutolayoutConstraint.build/Debug-watchos/WWAutolayoutConstraint-t.build/DerivedSources/resource_bundle_accessor.swift (in target 'WWAutolayoutConstraint' from project 'WWAutolayoutConstraint')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile resource_bundle_accessor.swift
SwiftEmitModule normal arm64_32 Emitting\ module\ for\ WWAutolayoutConstraint (in target 'WWAutolayoutConstraint' from project 'WWAutolayoutConstraint')
/Users/admin/builder/spi-builder-workspace/Sources/WWAutolayoutConstraint/Utility/Constant.swift:13:46: error: 'NSLayoutConstraint' is unavailable in watchOS
11 | public extension WWAutolayoutWrapper {
12 |
13 | typealias ConstraintInformation = (type: NSLayoutConstraint.Attribute, value: CGFloat) // 約束 (類型, 數值)
| `- error: 'NSLayoutConstraint' is unavailable in watchOS
14 | }
15 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/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/WWAutolayoutConstraint/Utility/Constant.swift:33:33: error: 'UIView' is unavailable in watchOS
31 | /// 函數類型
32 | enum FunctionType {
33 | case cover(_ superView: UIView)
| `- error: 'UIView' is unavailable in watchOS
34 | case center(_ superView: UIView, _ top: CGFloat?, _ left: CGFloat?)
35 | case top(_ superView: UIView, _ yAxis: WWAutolayoutWrapper<UIView>.YAxisType, _ useSafeArea: Bool)
/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/WWAutolayoutConstraint/Utility/Constant.swift:34:34: error: 'UIView' is unavailable in watchOS
32 | enum FunctionType {
33 | case cover(_ superView: UIView)
34 | case center(_ superView: UIView, _ top: CGFloat?, _ left: CGFloat?)
| `- error: 'UIView' is unavailable in watchOS
35 | case top(_ superView: UIView, _ yAxis: WWAutolayoutWrapper<UIView>.YAxisType, _ useSafeArea: Bool)
36 | case bottom(_ superView: UIView, _ yAxis: WWAutolayoutWrapper<UIView>.YAxisType, _ useSafeArea: Bool)
/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/WWAutolayoutConstraint/Utility/Constant.swift:35:31: error: 'UIView' is unavailable in watchOS
33 | case cover(_ superView: UIView)
34 | case center(_ superView: UIView, _ top: CGFloat?, _ left: CGFloat?)
35 | case top(_ superView: UIView, _ yAxis: WWAutolayoutWrapper<UIView>.YAxisType, _ useSafeArea: Bool)
| `- error: 'UIView' is unavailable in watchOS
36 | case bottom(_ superView: UIView, _ yAxis: WWAutolayoutWrapper<UIView>.YAxisType, _ useSafeArea: Bool)
37 | case leading(_ superView: UIView, _ xAxis: WWAutolayoutWrapper<UIView>.XAxisType, _ useSafeArea: Bool)
/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/WWAutolayoutConstraint/Utility/Constant.swift:35:68: error: 'UIView' is unavailable in watchOS
33 | case cover(_ superView: UIView)
34 | case center(_ superView: UIView, _ top: CGFloat?, _ left: CGFloat?)
35 | case top(_ superView: UIView, _ yAxis: WWAutolayoutWrapper<UIView>.YAxisType, _ useSafeArea: Bool)
| `- error: 'UIView' is unavailable in watchOS
36 | case bottom(_ superView: UIView, _ yAxis: WWAutolayoutWrapper<UIView>.YAxisType, _ useSafeArea: Bool)
37 | case leading(_ superView: UIView, _ xAxis: WWAutolayoutWrapper<UIView>.XAxisType, _ useSafeArea: Bool)
/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/WWAutolayoutConstraint/Utility/Constant.swift:36:34: error: 'UIView' is unavailable in watchOS
34 | case center(_ superView: UIView, _ top: CGFloat?, _ left: CGFloat?)
35 | case top(_ superView: UIView, _ yAxis: WWAutolayoutWrapper<UIView>.YAxisType, _ useSafeArea: Bool)
36 | case bottom(_ superView: UIView, _ yAxis: WWAutolayoutWrapper<UIView>.YAxisType, _ useSafeArea: Bool)
| `- error: 'UIView' is unavailable in watchOS
37 | case leading(_ superView: UIView, _ xAxis: WWAutolayoutWrapper<UIView>.XAxisType, _ useSafeArea: Bool)
38 | case trailing(_ superView: UIView, _ xAxis: WWAutolayoutWrapper<UIView>.XAxisType, _ useSafeArea: Bool)
/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/WWAutolayoutConstraint/Utility/Constant.swift:36:71: error: 'UIView' is unavailable in watchOS
34 | case center(_ superView: UIView, _ top: CGFloat?, _ left: CGFloat?)
35 | case top(_ superView: UIView, _ yAxis: WWAutolayoutWrapper<UIView>.YAxisType, _ useSafeArea: Bool)
36 | case bottom(_ superView: UIView, _ yAxis: WWAutolayoutWrapper<UIView>.YAxisType, _ useSafeArea: Bool)
| `- error: 'UIView' is unavailable in watchOS
37 | case leading(_ superView: UIView, _ xAxis: WWAutolayoutWrapper<UIView>.XAxisType, _ useSafeArea: Bool)
38 | case trailing(_ superView: UIView, _ xAxis: WWAutolayoutWrapper<UIView>.XAxisType, _ useSafeArea: Bool)
/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/WWAutolayoutConstraint/Utility/Constant.swift:37:35: error: 'UIView' is unavailable in watchOS
35 | case top(_ superView: UIView, _ yAxis: WWAutolayoutWrapper<UIView>.YAxisType, _ useSafeArea: Bool)
36 | case bottom(_ superView: UIView, _ yAxis: WWAutolayoutWrapper<UIView>.YAxisType, _ useSafeArea: Bool)
37 | case leading(_ superView: UIView, _ xAxis: WWAutolayoutWrapper<UIView>.XAxisType, _ useSafeArea: Bool)
| `- error: 'UIView' is unavailable in watchOS
38 | case trailing(_ superView: UIView, _ xAxis: WWAutolayoutWrapper<UIView>.XAxisType, _ useSafeArea: Bool)
39 | case height(_ height: CGFloat)
/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/WWAutolayoutConstraint/Utility/Constant.swift:37:72: error: 'UIView' is unavailable in watchOS
35 | case top(_ superView: UIView, _ yAxis: WWAutolayoutWrapper<UIView>.YAxisType, _ useSafeArea: Bool)
36 | case bottom(_ superView: UIView, _ yAxis: WWAutolayoutWrapper<UIView>.YAxisType, _ useSafeArea: Bool)
37 | case leading(_ superView: UIView, _ xAxis: WWAutolayoutWrapper<UIView>.XAxisType, _ useSafeArea: Bool)
| `- error: 'UIView' is unavailable in watchOS
38 | case trailing(_ superView: UIView, _ xAxis: WWAutolayoutWrapper<UIView>.XAxisType, _ useSafeArea: Bool)
39 | case height(_ height: CGFloat)
/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/WWAutolayoutConstraint/Utility/Constant.swift:38:36: error: 'UIView' is unavailable in watchOS
36 | case bottom(_ superView: UIView, _ yAxis: WWAutolayoutWrapper<UIView>.YAxisType, _ useSafeArea: Bool)
37 | case leading(_ superView: UIView, _ xAxis: WWAutolayoutWrapper<UIView>.XAxisType, _ useSafeArea: Bool)
38 | case trailing(_ superView: UIView, _ xAxis: WWAutolayoutWrapper<UIView>.XAxisType, _ useSafeArea: Bool)
| `- error: 'UIView' is unavailable in watchOS
39 | case height(_ height: CGFloat)
40 | case width(_ width: CGFloat)
/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/WWAutolayoutConstraint/Utility/Constant.swift:38:73: error: 'UIView' is unavailable in watchOS
36 | case bottom(_ superView: UIView, _ yAxis: WWAutolayoutWrapper<UIView>.YAxisType, _ useSafeArea: Bool)
37 | case leading(_ superView: UIView, _ xAxis: WWAutolayoutWrapper<UIView>.XAxisType, _ useSafeArea: Bool)
38 | case trailing(_ superView: UIView, _ xAxis: WWAutolayoutWrapper<UIView>.XAxisType, _ useSafeArea: Bool)
| `- error: 'UIView' is unavailable in watchOS
39 | case height(_ height: CGFloat)
40 | case width(_ width: CGFloat)
/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/WWAutolayoutConstraint/Utility/Constant.swift:41:39: error: 'UIView' is unavailable in watchOS
39 | case height(_ height: CGFloat)
40 | case width(_ width: CGFloat)
41 | case heightRatio(_ otherView: UIView, _ ratio: CGFloat, _ offset: CGFloat)
| `- error: 'UIView' is unavailable in watchOS
42 | case widthRatio(_ otherView: UIView, _ ratio: CGFloat, _ offset: CGFloat)
43 | case aspectRatio(_ ratio: CGFloat, _ offset: CGFloat)
/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/WWAutolayoutConstraint/Utility/Constant.swift:42:38: error: 'UIView' is unavailable in watchOS
40 | case width(_ width: CGFloat)
41 | case heightRatio(_ otherView: UIView, _ ratio: CGFloat, _ offset: CGFloat)
42 | case widthRatio(_ otherView: UIView, _ ratio: CGFloat, _ offset: CGFloat)
| `- error: 'UIView' is unavailable in watchOS
43 | case aspectRatio(_ ratio: CGFloat, _ offset: CGFloat)
44 | case centerX(_ otherView: UIView, _ multiplier: CGFloat, _ offset: CGFloat)
/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/WWAutolayoutConstraint/Utility/Constant.swift:44:35: error: 'UIView' is unavailable in watchOS
42 | case widthRatio(_ otherView: UIView, _ ratio: CGFloat, _ offset: CGFloat)
43 | case aspectRatio(_ ratio: CGFloat, _ offset: CGFloat)
44 | case centerX(_ otherView: UIView, _ multiplier: CGFloat, _ offset: CGFloat)
| `- error: 'UIView' is unavailable in watchOS
45 | case centerY(_ otherView: UIView, _ multiplier: CGFloat, _ offset: CGFloat)
46 | case update(_ info: ConstraintInformation)
/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/WWAutolayoutConstraint/Utility/Constant.swift:45:35: error: 'UIView' is unavailable in watchOS
43 | case aspectRatio(_ ratio: CGFloat, _ offset: CGFloat)
44 | case centerX(_ otherView: UIView, _ multiplier: CGFloat, _ offset: CGFloat)
45 | case centerY(_ otherView: UIView, _ multiplier: CGFloat, _ offset: CGFloat)
| `- error: 'UIView' is unavailable in watchOS
46 | case update(_ info: ConstraintInformation)
47 | }
/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/WWAutolayoutConstraint/Utility/Extension.swift:15:36: error: 'UIView' is unavailable in watchOS
13 | /// [設定LayoutConstraint => 不能加frame](https://zonble.gitbooks.io/kkbox-ios-dev/content/autolayout/intrinsic_content_size.html)
14 | /// - Parameter superView: [此View的SuperView](https://www.appcoda.com.tw/auto-layout-programmatically/)
15 | func _autolayout(on superView: UIView) {
| `- error: 'UIView' is unavailable in watchOS
16 |
17 | removeFromSuperview()
/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/WWAutolayoutConstraint/Utility/Extension.swift:35:42: error: 'UIView' is unavailable in watchOS
33 | /// - top: 向上的間隔數值
34 | /// - leading: 向左的間隔數值
35 | func _autolayout(centerOn superView: UIView, top: CGFloat?, leading: CGFloat?) {
| `- error: 'UIView' is unavailable in watchOS
36 |
37 | removeFromSuperview()
/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/WWAutolayoutConstraint/Utility/Extension.swift:11:11: error: 'UIView' is unavailable in watchOS
9 |
10 | // MARK: - UIView
11 | extension UIView {
| `- error: 'UIView' is unavailable in watchOS
12 |
13 | /// [設定LayoutConstraint => 不能加frame](https://zonble.gitbooks.io/kkbox-ios-dev/content/autolayout/intrinsic_content_size.html)
/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/WWAutolayoutConstraint/Utility/Extension.swift:62:29: error: 'UIView' is unavailable in watchOS
60 | /// - yAxis: 對齊的位置
61 | /// - useSafearea: 使用安全區域
62 | func _top(by otherView: UIView, yAxis: WWAutolayoutWrapper<UIView>.YAxisType, useSafeArea: Bool) {
| `- error: 'UIView' is unavailable in watchOS
63 |
64 | let constraints: [NSLayoutConstraint]
/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/WWAutolayoutConstraint/Utility/Extension.swift:62:64: error: 'UIView' is unavailable in watchOS
60 | /// - yAxis: 對齊的位置
61 | /// - useSafearea: 使用安全區域
62 | func _top(by otherView: UIView, yAxis: WWAutolayoutWrapper<UIView>.YAxisType, useSafeArea: Bool) {
| `- error: 'UIView' is unavailable in watchOS
63 |
64 | let constraints: [NSLayoutConstraint]
/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/WWAutolayoutConstraint/Utility/Extension.swift:83:32: error: 'UIView' is unavailable in watchOS
81 | /// - yAxis: 對齊的位置
82 | /// - useSafearea: 使用安全區域
83 | func _bottom(by otherView: UIView, yAxis: WWAutolayoutWrapper<UIView>.YAxisType, useSafeArea: Bool) {
| `- error: 'UIView' is unavailable in watchOS
84 |
85 | let constraints: [NSLayoutConstraint]
/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/WWAutolayoutConstraint/Utility/Extension.swift:83:67: error: 'UIView' is unavailable in watchOS
81 | /// - yAxis: 對齊的位置
82 | /// - useSafearea: 使用安全區域
83 | func _bottom(by otherView: UIView, yAxis: WWAutolayoutWrapper<UIView>.YAxisType, useSafeArea: Bool) {
| `- error: 'UIView' is unavailable in watchOS
84 |
85 | let constraints: [NSLayoutConstraint]
/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/WWAutolayoutConstraint/Utility/Extension.swift:104:33: error: 'UIView' is unavailable in watchOS
102 | /// - xAxis: 對齊的位置
103 | /// - useSafearea: 使用安全區域
104 | func _leading(by otherView: UIView, xAxis: WWAutolayoutWrapper<UIView>.XAxisType, useSafeArea: Bool) {
| `- error: 'UIView' is unavailable in watchOS
105 |
106 | let constraints: [NSLayoutConstraint]
/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/WWAutolayoutConstraint/Utility/Extension.swift:104:68: error: 'UIView' is unavailable in watchOS
102 | /// - xAxis: 對齊的位置
103 | /// - useSafearea: 使用安全區域
104 | func _leading(by otherView: UIView, xAxis: WWAutolayoutWrapper<UIView>.XAxisType, useSafeArea: Bool) {
| `- error: 'UIView' is unavailable in watchOS
105 |
106 | let constraints: [NSLayoutConstraint]
/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/WWAutolayoutConstraint/Utility/Extension.swift:125:34: error: 'UIView' is unavailable in watchOS
123 | /// - xAxis: 對齊的位置
124 | /// - useSafearea: 使用安全區域
125 | func _trailing(by otherView: UIView, xAxis: WWAutolayoutWrapper<UIView>.XAxisType, useSafeArea: Bool) {
| `- error: 'UIView' is unavailable in watchOS
126 |
127 | let constraints: [NSLayoutConstraint]
/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/WWAutolayoutConstraint/Utility/Extension.swift:125:69: error: 'UIView' is unavailable in watchOS
123 | /// - xAxis: 對齊的位置
124 | /// - useSafearea: 使用安全區域
125 | func _trailing(by otherView: UIView, xAxis: WWAutolayoutWrapper<UIView>.XAxisType, useSafeArea: Bool) {
| `- error: 'UIView' is unavailable in watchOS
126 |
127 | let constraints: [NSLayoutConstraint]
/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/WWAutolayoutConstraint/Utility/Extension.swift:160:32: error: 'UIView' is unavailable in watchOS
158 | /// - ratio: 倍率
159 | /// - offset: 偏移量
160 | func _height(by otherView: UIView, ratio: CGFloat, offset: CGFloat) {
| `- error: 'UIView' is unavailable in watchOS
161 |
162 | let constraint = NSLayoutConstraint(
/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/WWAutolayoutConstraint/Utility/Extension.swift:180:31: error: 'UIView' is unavailable in watchOS
178 | /// - ratio: 倍率
179 | /// - offset: 偏移量
180 | func _width(by otherView: UIView, ratio: CGFloat, offset: CGFloat) {
| `- error: 'UIView' is unavailable in watchOS
181 |
182 | let constraint = NSLayoutConstraint(
/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/WWAutolayoutConstraint/Utility/Extension.swift:200:33: error: 'UIView' is unavailable in watchOS
198 | /// - multiplier: 倍率
199 | /// - offset: 偏移量
200 | func _centerX(by otherView: UIView, multiplier: CGFloat, offset: CGFloat) {
| `- error: 'UIView' is unavailable in watchOS
201 |
202 | let constraint = NSLayoutConstraint(
/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/WWAutolayoutConstraint/Utility/Extension.swift:220:33: error: 'UIView' is unavailable in watchOS
218 | /// - multiplier: 倍率
219 | /// - offset: 偏移量
220 | func _centerY(by otherView: UIView, multiplier: CGFloat, offset: CGFloat) {
| `- error: 'UIView' is unavailable in watchOS
221 |
222 | let constraint = NSLayoutConstraint(
/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/WWAutolayoutConstraint/Utility/Extension.swift:55:11: error: 'UIView' is unavailable in watchOS
53 |
54 | // MARK: - UIView
55 | extension UIView {
| `- error: 'UIView' is unavailable in watchOS
56 |
57 | /// 跟上下方的間距
/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/WWAutolayoutConstraint/Utility/Extension.swift:262:37: error: 'NSLayoutConstraint' is unavailable in watchOS
260 | /// - firstAttribute: 要更新的屬性
261 | /// - clourse: 更新的動作
262 | func _findConstraint(attribute: NSLayoutConstraint.Attribute, clourse: (NSLayoutConstraint?) -> Void) {
| `- error: 'NSLayoutConstraint' is unavailable in watchOS
263 |
264 | var constraint: NSLayoutConstraint? = 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/WWAutolayoutConstraint/Utility/Extension.swift:262:77: error: 'NSLayoutConstraint' is unavailable in watchOS
260 | /// - firstAttribute: 要更新的屬性
261 | /// - clourse: 更新的動作
262 | func _findConstraint(attribute: NSLayoutConstraint.Attribute, clourse: (NSLayoutConstraint?) -> Void) {
| `- error: 'NSLayoutConstraint' is unavailable in watchOS
263 |
264 | var constraint: NSLayoutConstraint? = 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/WWAutolayoutConstraint/Utility/Extension.swift:256:11: error: 'UIView' is unavailable in watchOS
254 |
255 | // MARK: - 更新約束
256 | extension UIView {
| `- error: 'UIView' is unavailable in watchOS
257 |
258 | /// 搜尋約束
/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/WWAutolayoutConstraint/Utility/Protocol.swift:11:39: error: 'UIView' is unavailable in watchOS
9 |
10 | // MARK: - WWAutolayoutProtocol
11 | public protocol WWAutolayoutProtocol: UIView {}
| `- error: 'UIView' is unavailable in watchOS
12 |
13 | // MARK: - WWAutolayoutProtocol
/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/WWAutolayoutConstraint/Utility/Protocol.swift:19:11: error: 'UIView' is unavailable in watchOS
17 |
18 | // MARK: - UIView + WWAutolayoutProtocol
19 | extension UIView: WWAutolayoutProtocol {}
| `- error: 'UIView' is unavailable in watchOS
20 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/WWAutolayoutConstraint/WWAutolayoutConstraint.swift:11:35: error: 'UIView' is unavailable in watchOS
9 |
10 | // MARK: - 簡單的使用NSLayoutConstraint
11 | open class WWAutolayoutWrapper<T: UIView> {
| `- error: 'UIView' is unavailable in watchOS
12 |
13 | private var view: T
/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/WWAutolayoutConstraint/WWAutolayoutConstraint.swift:36:28: error: 'UIView' is unavailable in watchOS
34 | /// - useSafearea: 使用安全區域
35 | /// - Returns: Self
36 | func top(by otherView: UIView, yAxis: WWAutolayoutWrapper<UIView>.YAxisType = .top(0), useSafeArea: Bool = false) -> Self {
| `- error: 'UIView' is unavailable in watchOS
37 | finish()
38 | functionType = .top(otherView, yAxis, useSafeArea)
/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/WWAutolayoutConstraint/WWAutolayoutConstraint.swift:36:63: error: 'UIView' is unavailable in watchOS
34 | /// - useSafearea: 使用安全區域
35 | /// - Returns: Self
36 | func top(by otherView: UIView, yAxis: WWAutolayoutWrapper<UIView>.YAxisType = .top(0), useSafeArea: Bool = false) -> Self {
| `- error: 'UIView' is unavailable in watchOS
37 | finish()
38 | functionType = .top(otherView, yAxis, useSafeArea)
/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/WWAutolayoutConstraint/WWAutolayoutConstraint.swift:48:31: error: 'UIView' is unavailable in watchOS
46 | /// - useSafearea: 使用安全區域
47 | /// - Returns: Self
48 | func bottom(by otherView: UIView, yAxis: WWAutolayoutWrapper<UIView>.YAxisType = .bottom(0), useSafeArea: Bool = false) -> Self {
| `- error: 'UIView' is unavailable in watchOS
49 | finish()
50 | functionType = .bottom(otherView, yAxis, useSafeArea)
/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/WWAutolayoutConstraint/WWAutolayoutConstraint.swift:48:66: error: 'UIView' is unavailable in watchOS
46 | /// - useSafearea: 使用安全區域
47 | /// - Returns: Self
48 | func bottom(by otherView: UIView, yAxis: WWAutolayoutWrapper<UIView>.YAxisType = .bottom(0), useSafeArea: Bool = false) -> Self {
| `- error: 'UIView' is unavailable in watchOS
49 | finish()
50 | functionType = .bottom(otherView, yAxis, useSafeArea)
/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/WWAutolayoutConstraint/WWAutolayoutConstraint.swift:60:32: error: 'UIView' is unavailable in watchOS
58 | /// - useSafearea: 使用安全區域
59 | /// - Returns: Self
60 | func leading(by otherView: UIView, xAxis: WWAutolayoutWrapper<UIView>.XAxisType = .leading(0), useSafeArea: Bool = false) -> Self {
| `- error: 'UIView' is unavailable in watchOS
61 | finish()
62 | functionType = .leading(otherView, xAxis, useSafeArea)
/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/WWAutolayoutConstraint/WWAutolayoutConstraint.swift:60:67: error: 'UIView' is unavailable in watchOS
58 | /// - useSafearea: 使用安全區域
59 | /// - Returns: Self
60 | func leading(by otherView: UIView, xAxis: WWAutolayoutWrapper<UIView>.XAxisType = .leading(0), useSafeArea: Bool = false) -> Self {
| `- error: 'UIView' is unavailable in watchOS
61 | finish()
62 | functionType = .leading(otherView, xAxis, useSafeArea)
/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/WWAutolayoutConstraint/WWAutolayoutConstraint.swift:72:33: error: 'UIView' is unavailable in watchOS
70 | /// - useSafearea: 使用安全區域
71 | /// - Returns: Self
72 | func trailing(by otherView: UIView, xAxis: WWAutolayoutWrapper<UIView>.XAxisType = .trailing(0), useSafeArea: Bool = false) -> Self {
| `- error: 'UIView' is unavailable in watchOS
73 | finish()
74 | functionType = .trailing(otherView, xAxis, useSafeArea)
/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/WWAutolayoutConstraint/WWAutolayoutConstraint.swift:72:68: error: 'UIView' is unavailable in watchOS
70 | /// - useSafearea: 使用安全區域
71 | /// - Returns: Self
72 | func trailing(by otherView: UIView, xAxis: WWAutolayoutWrapper<UIView>.XAxisType = .trailing(0), useSafeArea: Bool = false) -> Self {
| `- error: 'UIView' is unavailable in watchOS
73 | finish()
74 | functionType = .trailing(otherView, xAxis, useSafeArea)
/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/WWAutolayoutConstraint/WWAutolayoutConstraint.swift:102:31: error: 'UIView' is unavailable in watchOS
100 | /// - offset: 偏差值
101 | /// - Returns: Self
102 | func height(by otherView: UIView, ratio: CGFloat = 1.0, offset: CGFloat = 0) -> Self {
| `- error: 'UIView' is unavailable in watchOS
103 | finish()
104 | functionType = .heightRatio(otherView, ratio, offset)
/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/WWAutolayoutConstraint/WWAutolayoutConstraint.swift:114:30: error: 'UIView' is unavailable in watchOS
112 | /// - offset: 偏差值
113 | /// - Returns: Self
114 | func width(by otherView: UIView, ratio: CGFloat = 1.0, offset: CGFloat = 0) -> Self {
| `- error: 'UIView' is unavailable in watchOS
115 | finish()
116 | functionType = .widthRatio(otherView, ratio, offset)
/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/WWAutolayoutConstraint/WWAutolayoutConstraint.swift:137:32: error: 'UIView' is unavailable in watchOS
135 | /// - offset: 偏差值
136 | /// - Returns: Self
137 | func centerX(by otherView: UIView, multiplier: CGFloat = 1.0, offset: CGFloat = 0) -> Self {
| `- error: 'UIView' is unavailable in watchOS
138 | finish()
139 | functionType = .centerX(otherView, multiplier, offset)
/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/WWAutolayoutConstraint/WWAutolayoutConstraint.swift:149:32: error: 'UIView' is unavailable in watchOS
147 | /// - offset: 偏差值
148 | /// - Returns: Self
149 | func centerY(by otherView: UIView, multiplier: CGFloat = 1.0, offset: CGFloat = 0) -> Self {
| `- error: 'UIView' is unavailable in watchOS
150 | finish()
151 | functionType = .centerY(otherView, multiplier, offset)
/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/WWAutolayoutConstraint/WWAutolayoutConstraint.swift:230:30: error: 'UIView' is unavailable in watchOS
228 | /// - Parameter superview: UIView
229 | /// - Returns: Self
230 | func cover(on superview: UIView) {
| `- error: 'UIView' is unavailable in watchOS
231 | functionType = .cover(superview)
232 | finish()
/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/WWAutolayoutConstraint/WWAutolayoutConstraint.swift:241:31: error: 'UIView' is unavailable in watchOS
239 | /// - leading: CGFloat?
240 | /// - Returns: Self
241 | func center(on superView: UIView, top: CGFloat? = nil, leading: CGFloat? = nil) {
| `- error: 'UIView' is unavailable in watchOS
242 | functionType = .center(superView, top, leading)
243 | finish()
/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.
Failed frontend command:
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWAutolayoutConstraint.build/Debug-watchos/WWAutolayoutConstraint-t.build/DerivedSources/resource_bundle_accessor.swift /Users/admin/builder/spi-builder-workspace/Sources/WWAutolayoutConstraint/Utility/Constant.swift /Users/admin/builder/spi-builder-workspace/Sources/WWAutolayoutConstraint/Utility/Extension.swift /Users/admin/builder/spi-builder-workspace/Sources/WWAutolayoutConstraint/Utility/Protocol.swift /Users/admin/builder/spi-builder-workspace/Sources/WWAutolayoutConstraint/WWAutolayoutConstraint.swift -target arm64_32-apple-watchos9.0 -disable-cross-import-overlay-search -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libFoundationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#FoundationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libObservationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#ObservationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libSwiftMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#SwiftMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libSwiftUIMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#SwiftUIMacros -disable-implicit-swift-modules -Xcc -fno-implicit-modules -Xcc -fno-implicit-module-maps -explicit-swift-module-map-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWAutolayoutConstraint.build/Debug-watchos/WWAutolayoutConstraint-t.build/Objects-normal/arm64_32/WWAutolayoutConstraint-dependencies-1.json -enable-objc-interop -sdk /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/Developer/Library/Frameworks -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules -no-color-diagnostics -Xcc -fno-color-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -swift-version 5 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_AVAILABLE -D Xcode -serialize-debugging-options -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -enable-anonymous-context-mangled-names -file-compilation-dir /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos27.0-24R360-e829b21a6f8c9b70876ba0858053c04477534ef55a1706bf4c1112bbb242f0a2.sdkstatcache -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWAutolayoutConstraint.build/Debug-watchos/WWAutolayoutConstraint-t.build/DerivedSources-normal/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWAutolayoutConstraint.build/Debug-watchos/WWAutolayoutConstraint-t.build/DerivedSources/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWAutolayoutConstraint.build/Debug-watchos/WWAutolayoutConstraint-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name WWAutolayoutConstraint -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWAutolayoutConstraint.build/Debug-watchos/WWAutolayoutConstraint-t.build/Objects-normal/arm64_32/WWAutolayoutConstraint_const_extract_protocols.json -disable-clang-spi -clang-target arm64_32-apple-watchos27.0 -target-sdk-version 27.0 -target-sdk-name watchos27.0 -in-process-plugin-server-path /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/libSwiftInProcPluginServer.dylib -emit-module-doc-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWAutolayoutConstraint.build/Debug-watchos/WWAutolayoutConstraint-t.build/Objects-normal/arm64_32/WWAutolayoutConstraint.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWAutolayoutConstraint.build/Debug-watchos/WWAutolayoutConstraint-t.build/Objects-normal/arm64_32/WWAutolayoutConstraint.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWAutolayoutConstraint.build/Debug-watchos/WWAutolayoutConstraint-t.build/Objects-normal/arm64_32/WWAutolayoutConstraint-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWAutolayoutConstraint.build/Debug-watchos/WWAutolayoutConstraint-t.build/Objects-normal/arm64_32/WWAutolayoutConstraint-primary-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWAutolayoutConstraint.build/Debug-watchos/WWAutolayoutConstraint-t.build/Objects-normal/arm64_32/WWAutolayoutConstraint-primary-emit-module.d -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWAutolayoutConstraint.build/Debug-watchos/WWAutolayoutConstraint-t.build/Objects-normal/arm64_32/WWAutolayoutConstraint.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWAutolayoutConstraint.build/Debug-watchos/WWAutolayoutConstraint-t.build/Objects-normal/arm64_32/WWAutolayoutConstraint.abi.json
SwiftCompile normal arm64_32 (in target 'WWAutolayoutConstraint' from project 'WWAutolayoutConstraint')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64_32 Compiling\ resource_bundle_accessor.swift /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWAutolayoutConstraint.build/Debug-watchos/WWAutolayoutConstraint-t.build/DerivedSources/resource_bundle_accessor.swift (in target 'WWAutolayoutConstraint' from project 'WWAutolayoutConstraint')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/WWAutolayoutConstraint.build/Debug-watchos/WWAutolayoutConstraint-t.build/DerivedSources/resource_bundle_accessor.swift (in target 'WWAutolayoutConstraint' from project 'WWAutolayoutConstraint')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile resource_bundle_accessor.swift
SwiftCompile normal arm64_32 Compiling\ Extension.swift /Users/admin/builder/spi-builder-workspace/Sources/WWAutolayoutConstraint/Utility/Extension.swift (in target 'WWAutolayoutConstraint' from project 'WWAutolayoutConstraint')
/Users/admin/builder/spi-builder-workspace/Sources/WWAutolayoutConstraint/Utility/Extension.swift:15:36: error: 'UIView' is unavailable in watchOS
13 | /// [設定LayoutConstraint => 不能加frame](https://zonble.gitbooks.io/kkbox-ios-dev/content/autolayout/intrinsic_content_size.html)
14 | /// - Parameter superView: [此View的SuperView](https://www.appcoda.com.tw/auto-layout-programmatically/)
15 | func _autolayout(on superView: UIView) {
| `- error: 'UIView' is unavailable in watchOS
16 |
17 | removeFromSuperview()
/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/WWAutolayoutConstraint/Utility/Extension.swift:35:42: error: 'UIView' is unavailable in watchOS
33 | /// - top: 向上的間隔數值
34 | /// - leading: 向左的間隔數值
35 | func _autolayout(centerOn superView: UIView, top: CGFloat?, leading: CGFloat?) {
| `- error: 'UIView' is unavailable in watchOS
36 |
37 | removeFromSuperview()
/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/WWAutolayoutConstraint/Utility/Extension.swift:11:11: error: 'UIView' is unavailable in watchOS
9 |
10 | // MARK: - UIView
11 | extension UIView {
| `- error: 'UIView' is unavailable in watchOS
12 |
13 | /// [設定LayoutConstraint => 不能加frame](https://zonble.gitbooks.io/kkbox-ios-dev/content/autolayout/intrinsic_content_size.html)
/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/WWAutolayoutConstraint/Utility/Extension.swift:62:29: error: 'UIView' is unavailable in watchOS
60 | /// - yAxis: 對齊的位置
61 | /// - useSafearea: 使用安全區域
62 | func _top(by otherView: UIView, yAxis: WWAutolayoutWrapper<UIView>.YAxisType, useSafeArea: Bool) {
| `- error: 'UIView' is unavailable in watchOS
63 |
64 | let constraints: [NSLayoutConstraint]
/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/WWAutolayoutConstraint/Utility/Extension.swift:62:64: error: 'UIView' is unavailable in watchOS
60 | /// - yAxis: 對齊的位置
61 | /// - useSafearea: 使用安全區域
62 | func _top(by otherView: UIView, yAxis: WWAutolayoutWrapper<UIView>.YAxisType, useSafeArea: Bool) {
| `- error: 'UIView' is unavailable in watchOS
63 |
64 | let constraints: [NSLayoutConstraint]
/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/WWAutolayoutConstraint/Utility/Extension.swift:83:32: error: 'UIView' is unavailable in watchOS
81 | /// - yAxis: 對齊的位置
82 | /// - useSafearea: 使用安全區域
83 | func _bottom(by otherView: UIView, yAxis: WWAutolayoutWrapper<UIView>.YAxisType, useSafeArea: Bool) {
| `- error: 'UIView' is unavailable in watchOS
84 |
85 | let constraints: [NSLayoutConstraint]
/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/WWAutolayoutConstraint/Utility/Extension.swift:83:67: error: 'UIView' is unavailable in watchOS
81 | /// - yAxis: 對齊的位置
82 | /// - useSafearea: 使用安全區域
83 | func _bottom(by otherView: UIView, yAxis: WWAutolayoutWrapper<UIView>.YAxisType, useSafeArea: Bool) {
| `- error: 'UIView' is unavailable in watchOS
84 |
85 | let constraints: [NSLayoutConstraint]
/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/WWAutolayoutConstraint/Utility/Extension.swift:104:33: error: 'UIView' is unavailable in watchOS
102 | /// - xAxis: 對齊的位置
103 | /// - useSafearea: 使用安全區域
104 | func _leading(by otherView: UIView, xAxis: WWAutolayoutWrapper<UIView>.XAxisType, useSafeArea: Bool) {
| `- error: 'UIView' is unavailable in watchOS
105 |
106 | let constraints: [NSLayoutConstraint]
/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/WWAutolayoutConstraint/Utility/Extension.swift:104:68: error: 'UIView' is unavailable in watchOS
102 | /// - xAxis: 對齊的位置
103 | /// - useSafearea: 使用安全區域
104 | func _leading(by otherView: UIView, xAxis: WWAutolayoutWrapper<UIView>.XAxisType, useSafeArea: Bool) {
| `- error: 'UIView' is unavailable in watchOS
105 |
106 | let constraints: [NSLayoutConstraint]
/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/WWAutolayoutConstraint/Utility/Extension.swift:125:34: error: 'UIView' is unavailable in watchOS
123 | /// - xAxis: 對齊的位置
124 | /// - useSafearea: 使用安全區域
125 | func _trailing(by otherView: UIView, xAxis: WWAutolayoutWrapper<UIView>.XAxisType, useSafeArea: Bool) {
| `- error: 'UIView' is unavailable in watchOS
126 |
127 | let constraints: [NSLayoutConstraint]
/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/WWAutolayoutConstraint/Utility/Extension.swift:125:69: error: 'UIView' is unavailable in watchOS
123 | /// - xAxis: 對齊的位置
124 | /// - useSafearea: 使用安全區域
125 | func _trailing(by otherView: UIView, xAxis: WWAutolayoutWrapper<UIView>.XAxisType, useSafeArea: Bool) {
| `- error: 'UIView' is unavailable in watchOS
126 |
127 | let constraints: [NSLayoutConstraint]
/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/WWAutolayoutConstraint/Utility/Extension.swift:160:32: error: 'UIView' is unavailable in watchOS
158 | /// - ratio: 倍率
159 | /// - offset: 偏移量
160 | func _height(by otherView: UIView, ratio: CGFloat, offset: CGFloat) {
| `- error: 'UIView' is unavailable in watchOS
161 |
162 | let constraint = NSLayoutConstraint(
/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/WWAutolayoutConstraint/Utility/Extension.swift:180:31: error: 'UIView' is unavailable in watchOS
178 | /// - ratio: 倍率
179 | /// - offset: 偏移量
180 | func _width(by otherView: UIView, ratio: CGFloat, offset: CGFloat) {
| `- error: 'UIView' is unavailable in watchOS
181 |
182 | let constraint = NSLayoutConstraint(
/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/WWAutolayoutConstraint/Utility/Extension.swift:200:33: error: 'UIView' is unavailable in watchOS
198 | /// - multiplier: 倍率
199 | /// - offset: 偏移量
200 | func _centerX(by otherView: UIView, multiplier: CGFloat, offset: CGFloat) {
| `- error: 'UIView' is unavailable in watchOS
201 |
202 | let constraint = NSLayoutConstraint(
/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/WWAutolayoutConstraint/Utility/Extension.swift:220:33: error: 'UIView' is unavailable in watchOS
218 | /// - multiplier: 倍率
219 | /// - offset: 偏移量
220 | func _centerY(by otherView: UIView, multiplier: CGFloat, offset: CGFloat) {
| `- error: 'UIView' is unavailable in watchOS
221 |
222 | let constraint = NSLayoutConstraint(
/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/WWAutolayoutConstraint/Utility/Extension.swift:55:11: error: 'UIView' is unavailable in watchOS
53 |
54 | // MARK: - UIView
55 | extension UIView {
| `- error: 'UIView' is unavailable in watchOS
56 |
57 | /// 跟上下方的間距
/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/WWAutolayoutConstraint/Utility/Extension.swift:262:37: error: 'NSLayoutConstraint' is unavailable in watchOS
260 | /// - firstAttribute: 要更新的屬性
261 | /// - clourse: 更新的動作
262 | func _findConstraint(attribute: NSLayoutConstraint.Attribute, clourse: (NSLayoutConstraint?) -> Void) {
| `- error: 'NSLayoutConstraint' is unavailable in watchOS
263 |
264 | var constraint: NSLayoutConstraint? = 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/WWAutolayoutConstraint/Utility/Extension.swift:262:77: error: 'NSLayoutConstraint' is unavailable in watchOS
260 | /// - firstAttribute: 要更新的屬性
261 | /// - clourse: 更新的動作
262 | func _findConstraint(attribute: NSLayoutConstraint.Attribute, clourse: (NSLayoutConstraint?) -> Void) {
| `- error: 'NSLayoutConstraint' is unavailable in watchOS
263 |
264 | var constraint: NSLayoutConstraint? = 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/WWAutolayoutConstraint/Utility/Extension.swift:256:11: error: 'UIView' is unavailable in watchOS
254 |
255 | // MARK: - 更新約束
256 | extension UIView {
| `- error: 'UIView' is unavailable in watchOS
257 |
258 | /// 搜尋約束
/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/WWAutolayoutConstraint/Utility/Extension.swift:22:9: error: 'NSLayoutConstraint' is unavailable in watchOS
20 | translatesAutoresizingMaskIntoConstraints = false
21 |
22 | NSLayoutConstraint.activate([
| `- error: 'NSLayoutConstraint' is unavailable in watchOS
23 | topAnchor.constraint(equalTo: superView.topAnchor),
24 | bottomAnchor.constraint(equalTo: superView.bottomAnchor),
/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/WWAutolayoutConstraint/Utility/Extension.swift:50:9: error: 'NSLayoutConstraint' is unavailable in watchOS
48 | if let leading = leading { constraints.append(leftAnchor.constraint(equalTo: superView.leftAnchor, constant: leading)) }
49 |
50 | NSLayoutConstraint.activate(constraints)
| `- error: 'NSLayoutConstraint' is unavailable in watchOS
51 | }
52 | }
/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/WWAutolayoutConstraint/Utility/Extension.swift:64:27: error: 'NSLayoutConstraint' is unavailable in watchOS
62 | func _top(by otherView: UIView, yAxis: WWAutolayoutWrapper<UIView>.YAxisType, useSafeArea: Bool) {
63 |
64 | let constraints: [NSLayoutConstraint]
| `- error: 'NSLayoutConstraint' is unavailable in watchOS
65 |
66 | switch yAxis {
/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/WWAutolayoutConstraint/Utility/Extension.swift:68:54: error: 'safeAreaLayoutGuide' is unavailable in watchOS
66 | switch yAxis {
67 | case .top(let offset):
68 | let _topAnchor = useSafeArea ? otherView.safeAreaLayoutGuide.topAnchor : otherView.topAnchor
| `- error: 'safeAreaLayoutGuide' is unavailable in watchOS
69 | constraints = [topAnchor.constraint(equalTo: _topAnchor, constant: offset)]
70 | case .bottom(let offset):
/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:306:53: note: 'safeAreaLayoutGuide' has been explicitly marked unavailable here
304 | the status bar or navigation bar, if present). Similarly for the other edges.
305 | */
306 | @property(nonatomic,readonly,strong) UILayoutGuide *safeAreaLayoutGuide API_AVAILABLE(ios(11.0), tvos(11.0)) API_UNAVAILABLE(watchos);
| `- note: 'safeAreaLayoutGuide' has been explicitly marked unavailable here
307 |
308 | /// Follows the keyboard when on screen and docked. See UIKeyboardLayoutGuide.h for additional options.
/Users/admin/builder/spi-builder-workspace/Sources/WWAutolayoutConstraint/Utility/Extension.swift:71:57: error: 'safeAreaLayoutGuide' is unavailable in watchOS
69 | constraints = [topAnchor.constraint(equalTo: _topAnchor, constant: offset)]
70 | case .bottom(let offset):
71 | let _bottomAnchor = useSafeArea ? otherView.safeAreaLayoutGuide.bottomAnchor : otherView.bottomAnchor
| `- error: 'safeAreaLayoutGuide' is unavailable in watchOS
72 | constraints = [topAnchor.constraint(equalTo: _bottomAnchor, constant: offset)]
73 | }
/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:306:53: note: 'safeAreaLayoutGuide' has been explicitly marked unavailable here
304 | the status bar or navigation bar, if present). Similarly for the other edges.
305 | */
306 | @property(nonatomic,readonly,strong) UILayoutGuide *safeAreaLayoutGuide API_AVAILABLE(ios(11.0), tvos(11.0)) API_UNAVAILABLE(watchos);
| `- note: 'safeAreaLayoutGuide' has been explicitly marked unavailable here
307 |
308 | /// Follows the keyboard when on screen and docked. See UIKeyboardLayoutGuide.h for additional options.
/Users/admin/builder/spi-builder-workspace/Sources/WWAutolayoutConstraint/Utility/Extension.swift:75:9: error: 'NSLayoutConstraint' is unavailable in watchOS
73 | }
74 |
75 | NSLayoutConstraint.activate(constraints)
| `- error: 'NSLayoutConstraint' is unavailable in watchOS
76 | }
77 |
/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/WWAutolayoutConstraint/Utility/Extension.swift:85:27: error: 'NSLayoutConstraint' is unavailable in watchOS
83 | func _bottom(by otherView: UIView, yAxis: WWAutolayoutWrapper<UIView>.YAxisType, useSafeArea: Bool) {
84 |
85 | let constraints: [NSLayoutConstraint]
| `- error: 'NSLayoutConstraint' is unavailable in watchOS
86 |
87 | switch yAxis {
/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/WWAutolayoutConstraint/Utility/Extension.swift:89:54: error: 'safeAreaLayoutGuide' is unavailable in watchOS
87 | switch yAxis {
88 | case .top(let offset):
89 | let _topAnchor = useSafeArea ? otherView.safeAreaLayoutGuide.topAnchor : otherView.topAnchor
| `- error: 'safeAreaLayoutGuide' is unavailable in watchOS
90 | constraints = [bottomAnchor.constraint(equalTo: _topAnchor, constant: offset)]
91 | case .bottom(let offset):
/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:306:53: note: 'safeAreaLayoutGuide' has been explicitly marked unavailable here
304 | the status bar or navigation bar, if present). Similarly for the other edges.
305 | */
306 | @property(nonatomic,readonly,strong) UILayoutGuide *safeAreaLayoutGuide API_AVAILABLE(ios(11.0), tvos(11.0)) API_UNAVAILABLE(watchos);
| `- note: 'safeAreaLayoutGuide' has been explicitly marked unavailable here
307 |
308 | /// Follows the keyboard when on screen and docked. See UIKeyboardLayoutGuide.h for additional options.
/Users/admin/builder/spi-builder-workspace/Sources/WWAutolayoutConstraint/Utility/Extension.swift:92:57: error: 'safeAreaLayoutGuide' is unavailable in watchOS
90 | constraints = [bottomAnchor.constraint(equalTo: _topAnchor, constant: offset)]
91 | case .bottom(let offset):
92 | let _bottomAnchor = useSafeArea ? otherView.safeAreaLayoutGuide.bottomAnchor : otherView.bottomAnchor
| `- error: 'safeAreaLayoutGuide' is unavailable in watchOS
93 | constraints = [bottomAnchor.constraint(equalTo: _bottomAnchor, constant: offset)]
94 | }
/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:306:53: note: 'safeAreaLayoutGuide' has been explicitly marked unavailable here
304 | the status bar or navigation bar, if present). Similarly for the other edges.
305 | */
306 | @property(nonatomic,readonly,strong) UILayoutGuide *safeAreaLayoutGuide API_AVAILABLE(ios(11.0), tvos(11.0)) API_UNAVAILABLE(watchos);
| `- note: 'safeAreaLayoutGuide' has been explicitly marked unavailable here
307 |
308 | /// Follows the keyboard when on screen and docked. See UIKeyboardLayoutGuide.h for additional options.
/Users/admin/builder/spi-builder-workspace/Sources/WWAutolayoutConstraint/Utility/Extension.swift:96:9: error: 'NSLayoutConstraint' is unavailable in watchOS
94 | }
95 |
96 | NSLayoutConstraint.activate(constraints)
| `- error: 'NSLayoutConstraint' is unavailable in watchOS
97 | }
98 |
/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/WWAutolayoutConstraint/Utility/Extension.swift:106:27: error: 'NSLayoutConstraint' is unavailable in watchOS
104 | func _leading(by otherView: UIView, xAxis: WWAutolayoutWrapper<UIView>.XAxisType, useSafeArea: Bool) {
105 |
106 | let constraints: [NSLayoutConstraint]
| `- error: 'NSLayoutConstraint' is unavailable in watchOS
107 |
108 | switch xAxis {
/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/WWAutolayoutConstraint/Utility/Extension.swift:110:58: error: 'safeAreaLayoutGuide' is unavailable in watchOS
108 | switch xAxis {
109 | case .leading(let offset):
110 | let _leadingAnchor = useSafeArea ? otherView.safeAreaLayoutGuide.leadingAnchor : otherView.leadingAnchor
| `- error: 'safeAreaLayoutGuide' is unavailable in watchOS
111 | constraints = [leadingAnchor.constraint(equalTo: _leadingAnchor, constant: offset)]
112 | case .trailing(let offset):
/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:306:53: note: 'safeAreaLayoutGuide' has been explicitly marked unavailable here
304 | the status bar or navigation bar, if present). Similarly for the other edges.
305 | */
306 | @property(nonatomic,readonly,strong) UILayoutGuide *safeAreaLayoutGuide API_AVAILABLE(ios(11.0), tvos(11.0)) API_UNAVAILABLE(watchos);
| `- note: 'safeAreaLayoutGuide' has been explicitly marked unavailable here
307 |
308 | /// Follows the keyboard when on screen and docked. See UIKeyboardLayoutGuide.h for additional options.
/Users/admin/builder/spi-builder-workspace/Sources/WWAutolayoutConstraint/Utility/Extension.swift:113:59: error: 'safeAreaLayoutGuide' is unavailable in watchOS
111 | constraints = [leadingAnchor.constraint(equalTo: _leadingAnchor, constant: offset)]
112 | case .trailing(let offset):
113 | let _trailingAnchor = useSafeArea ? otherView.safeAreaLayoutGuide.trailingAnchor : otherView.trailingAnchor
| `- error: 'safeAreaLayoutGuide' is unavailable in watchOS
114 | constraints = [leadingAnchor.constraint(equalTo: _trailingAnchor, constant: offset)]
115 | }
/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:306:53: note: 'safeAreaLayoutGuide' has been explicitly marked unavailable here
304 | the status bar or navigation bar, if present). Similarly for the other edges.
305 | */
306 | @property(nonatomic,readonly,strong) UILayoutGuide *safeAreaLayoutGuide API_AVAILABLE(ios(11.0), tvos(11.0)) API_UNAVAILABLE(watchos);
| `- note: 'safeAreaLayoutGuide' has been explicitly marked unavailable here
307 |
308 | /// Follows the keyboard when on screen and docked. See UIKeyboardLayoutGuide.h for additional options.
/Users/admin/builder/spi-builder-workspace/Sources/WWAutolayoutConstraint/Utility/Extension.swift:117:9: error: 'NSLayoutConstraint' is unavailable in watchOS
115 | }
116 |
117 | NSLayoutConstraint.activate(constraints)
| `- error: 'NSLayoutConstraint' is unavailable in watchOS
118 | }
119 |
/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/WWAutolayoutConstraint/Utility/Extension.swift:127:27: error: 'NSLayoutConstraint' is unavailable in watchOS
125 | func _trailing(by otherView: UIView, xAxis: WWAutolayoutWrapper<UIView>.XAxisType, useSafeArea: Bool) {
126 |
127 | let constraints: [NSLayoutConstraint]
| `- error: 'NSLayoutConstraint' is unavailable in watchOS
128 |
129 | switch xAxis {
/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/WWAutolayoutConstraint/Utility/Extension.swift:131:48: error: 'safeAreaLayoutGuide' is unavailable in watchOS
129 | switch xAxis {
130 | case .leading(let offset):
131 | let _leadingAnchor = useSafeArea ? safeAreaLayoutGuide.leadingAnchor : otherView.leadingAnchor
| `- error: 'safeAreaLayoutGuide' is unavailable in watchOS
132 | constraints = [trailingAnchor.constraint(equalTo: _leadingAnchor, constant: offset)]
133 | case .trailing(let offset):
/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:306:53: note: 'safeAreaLayoutGuide' has been explicitly marked unavailable here
304 | the status bar or navigation bar, if present). Similarly for the other edges.
305 | */
306 | @property(nonatomic,readonly,strong) UILayoutGuide *safeAreaLayoutGuide API_AVAILABLE(ios(11.0), tvos(11.0)) API_UNAVAILABLE(watchos);
| `- note: 'safeAreaLayoutGuide' has been explicitly marked unavailable here
307 |
308 | /// Follows the keyboard when on screen and docked. See UIKeyboardLayoutGuide.h for additional options.
/Users/admin/builder/spi-builder-workspace/Sources/WWAutolayoutConstraint/Utility/Extension.swift:134:49: error: 'safeAreaLayoutGuide' is unavailable in watchOS
132 | constraints = [trailingAnchor.constraint(equalTo: _leadingAnchor, constant: offset)]
133 | case .trailing(let offset):
134 | let _trailingAnchor = useSafeArea ? safeAreaLayoutGuide.trailingAnchor : otherView.trailingAnchor
| `- error: 'safeAreaLayoutGuide' is unavailable in watchOS
135 | constraints = [trailingAnchor.constraint(equalTo: _trailingAnchor, constant: offset)]
136 | }
/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:306:53: note: 'safeAreaLayoutGuide' has been explicitly marked unavailable here
304 | the status bar or navigation bar, if present). Similarly for the other edges.
305 | */
306 | @property(nonatomic,readonly,strong) UILayoutGuide *safeAreaLayoutGuide API_AVAILABLE(ios(11.0), tvos(11.0)) API_UNAVAILABLE(watchos);
| `- note: 'safeAreaLayoutGuide' has been explicitly marked unavailable here
307 |
308 | /// Follows the keyboard when on screen and docked. See UIKeyboardLayoutGuide.h for additional options.
/Users/admin/builder/spi-builder-workspace/Sources/WWAutolayoutConstraint/Utility/Extension.swift:138:9: error: 'NSLayoutConstraint' is unavailable in watchOS
136 | }
137 |
138 | NSLayoutConstraint.activate(constraints)
| `- error: 'NSLayoutConstraint' is unavailable in watchOS
139 | }
140 |
/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/WWAutolayoutConstraint/Utility/Extension.swift:145:9: error: 'NSLayoutConstraint' is unavailable in watchOS
143 | func _height(with height: CGFloat) {
144 | let constraints = [heightAnchor.constraint(equalToConstant: height)]
145 | NSLayoutConstraint.activate(constraints)
| `- error: 'NSLayoutConstraint' is unavailable in watchOS
146 | }
147 |
/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/WWAutolayoutConstraint/Utility/Extension.swift:152:9: error: 'NSLayoutConstraint' is unavailable in watchOS
150 | func _width(with width: CGFloat) {
151 | let constraints = [widthAnchor.constraint(equalToConstant: width)]
152 | NSLayoutConstraint.activate(constraints)
| `- error: 'NSLayoutConstraint' is unavailable in watchOS
153 | }
154 |
/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/WWAutolayoutConstraint/Utility/Extension.swift:162:26: error: 'NSLayoutConstraint' is unavailable in watchOS
160 | func _height(by otherView: UIView, ratio: CGFloat, offset: CGFloat) {
161 |
162 | let constraint = NSLayoutConstraint(
| `- error: 'NSLayoutConstraint' is unavailable in watchOS
163 | item: self,
164 | attribute: .height,
/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/WWAutolayoutConstraint/Utility/Extension.swift:172:9: error: 'NSLayoutConstraint' is unavailable in watchOS
170 | )
171 |
172 | NSLayoutConstraint.activate([constraint])
| `- error: 'NSLayoutConstraint' is unavailable in watchOS
173 | }
174 |
/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/WWAutolayoutConstraint/Utility/Extension.swift:182:26: error: 'NSLayoutConstraint' is unavailable in watchOS
180 | func _width(by otherView: UIView, ratio: CGFloat, offset: CGFloat) {
181 |
182 | let constraint = NSLayoutConstraint(
| `- error: 'NSLayoutConstraint' is unavailable in watchOS
183 | item: self,
184 | attribute: .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/WWAutolayoutConstraint/Utility/Extension.swift:192:9: error: 'NSLayoutConstraint' is unavailable in watchOS
190 | )
191 |
192 | NSLayoutConstraint.activate([constraint])
| `- error: 'NSLayoutConstraint' is unavailable in watchOS
193 | }
194 |
/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/WWAutolayoutConstraint/Utility/Extension.swift:202:26: error: 'NSLayoutConstraint' is unavailable in watchOS
200 | func _centerX(by otherView: UIView, multiplier: CGFloat, offset: CGFloat) {
201 |
202 | let constraint = NSLayoutConstraint(
| `- error: 'NSLayoutConstraint' is unavailable in watchOS
203 | item: self,
204 | attribute: .centerX,
/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/WWAutolayoutConstraint/Utility/Extension.swift:212:9: error: 'NSLayoutConstraint' is unavailable in watchOS
210 | )
211 |
212 | NSLayoutConstraint.activate([constraint])
| `- error: 'NSLayoutConstraint' is unavailable in watchOS
213 | }
214 |
/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/WWAutolayoutConstraint/Utility/Extension.swift:222:26: error: 'NSLayoutConstraint' is unavailable in watchOS
220 | func _centerY(by otherView: UIView, multiplier: CGFloat, offset: CGFloat) {
221 |
222 | let constraint = NSLayoutConstraint(
| `- error: 'NSLayoutConstraint' is unavailable in watchOS
223 | item: self,
224 | attribute: .centerY,
/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/WWAutolayoutConstraint/Utility/Extension.swift:232:9: error: 'NSLayoutConstraint' is unavailable in watchOS
230 | )
231 |
232 | NSLayoutConstraint.activate([constraint])
| `- error: 'NSLayoutConstraint' is unavailable in watchOS
233 | }
234 |
/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/WWAutolayoutConstraint/Utility/Extension.swift:241:26: error: 'NSLayoutConstraint' is unavailable in watchOS
239 | func _aspectRatio(_ ratio: CGFloat, offset: CGFloat) {
240 |
241 | let constraint = NSLayoutConstraint(
| `- error: 'NSLayoutConstraint' is unavailable in watchOS
242 | item: self,
243 | attribute: .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/WWAutolayoutConstraint/Utility/Extension.swift:251:9: error: 'NSLayoutConstraint' is unavailable in watchOS
249 | )
250 |
251 | NSLayoutConstraint.activate([constraint])
| `- error: 'NSLayoutConstraint' is unavailable in watchOS
252 | }
253 | }
/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/WWAutolayoutConstraint/Utility/Extension.swift (in target 'WWAutolayoutConstraint' from project 'WWAutolayoutConstraint')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile Extension.swift
SwiftCompile normal arm64_32 Compiling\ WWAutolayoutConstraint.swift /Users/admin/builder/spi-builder-workspace/Sources/WWAutolayoutConstraint/WWAutolayoutConstraint.swift (in target 'WWAutolayoutConstraint' from project 'WWAutolayoutConstraint')
/Users/admin/builder/spi-builder-workspace/Sources/WWAutolayoutConstraint/WWAutolayoutConstraint.swift:11:35: error: 'UIView' is unavailable in watchOS
9 |
10 | // MARK: - 簡單的使用NSLayoutConstraint
11 | open class WWAutolayoutWrapper<T: UIView> {
| `- error: 'UIView' is unavailable in watchOS
12 |
13 | private var view: T
/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/WWAutolayoutConstraint/WWAutolayoutConstraint.swift:36:28: error: 'UIView' is unavailable in watchOS
34 | /// - useSafearea: 使用安全區域
35 | /// - Returns: Self
36 | func top(by otherView: UIView, yAxis: WWAutolayoutWrapper<UIView>.YAxisType = .top(0), useSafeArea: Bool = false) -> Self {
| `- error: 'UIView' is unavailable in watchOS
37 | finish()
38 | functionType = .top(otherView, yAxis, useSafeArea)
/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/WWAutolayoutConstraint/WWAutolayoutConstraint.swift:36:63: error: 'UIView' is unavailable in watchOS
34 | /// - useSafearea: 使用安全區域
35 | /// - Returns: Self
36 | func top(by otherView: UIView, yAxis: WWAutolayoutWrapper<UIView>.YAxisType = .top(0), useSafeArea: Bool = false) -> Self {
| `- error: 'UIView' is unavailable in watchOS
37 | finish()
38 | functionType = .top(otherView, yAxis, useSafeArea)
/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/WWAutolayoutConstraint/WWAutolayoutConstraint.swift:48:31: error: 'UIView' is unavailable in watchOS
46 | /// - useSafearea: 使用安全區域
47 | /// - Returns: Self
48 | func bottom(by otherView: UIView, yAxis: WWAutolayoutWrapper<UIView>.YAxisType = .bottom(0), useSafeArea: Bool = false) -> Self {
| `- error: 'UIView' is unavailable in watchOS
49 | finish()
50 | functionType = .bottom(otherView, yAxis, useSafeArea)
/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/WWAutolayoutConstraint/WWAutolayoutConstraint.swift:48:66: error: 'UIView' is unavailable in watchOS
46 | /// - useSafearea: 使用安全區域
47 | /// - Returns: Self
48 | func bottom(by otherView: UIView, yAxis: WWAutolayoutWrapper<UIView>.YAxisType = .bottom(0), useSafeArea: Bool = false) -> Self {
| `- error: 'UIView' is unavailable in watchOS
49 | finish()
50 | functionType = .bottom(otherView, yAxis, useSafeArea)
/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/WWAutolayoutConstraint/WWAutolayoutConstraint.swift:60:32: error: 'UIView' is unavailable in watchOS
58 | /// - useSafearea: 使用安全區域
59 | /// - Returns: Self
60 | func leading(by otherView: UIView, xAxis: WWAutolayoutWrapper<UIView>.XAxisType = .leading(0), useSafeArea: Bool = false) -> Self {
| `- error: 'UIView' is unavailable in watchOS
61 | finish()
62 | functionType = .leading(otherView, xAxis, useSafeArea)
/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/WWAutolayoutConstraint/WWAutolayoutConstraint.swift:60:67: error: 'UIView' is unavailable in watchOS
58 | /// - useSafearea: 使用安全區域
59 | /// - Returns: Self
60 | func leading(by otherView: UIView, xAxis: WWAutolayoutWrapper<UIView>.XAxisType = .leading(0), useSafeArea: Bool = false) -> Self {
| `- error: 'UIView' is unavailable in watchOS
61 | finish()
62 | functionType = .leading(otherView, xAxis, useSafeArea)
/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/WWAutolayoutConstraint/WWAutolayoutConstraint.swift:72:33: error: 'UIView' is unavailable in watchOS
70 | /// - useSafearea: 使用安全區域
71 | /// - Returns: Self
72 | func trailing(by otherView: UIView, xAxis: WWAutolayoutWrapper<UIView>.XAxisType = .trailing(0), useSafeArea: Bool = false) -> Self {
| `- error: 'UIView' is unavailable in watchOS
73 | finish()
74 | functionType = .trailing(otherView, xAxis, useSafeArea)
/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/WWAutolayoutConstraint/WWAutolayoutConstraint.swift:72:68: error: 'UIView' is unavailable in watchOS
70 | /// - useSafearea: 使用安全區域
71 | /// - Returns: Self
72 | func trailing(by otherView: UIView, xAxis: WWAutolayoutWrapper<UIView>.XAxisType = .trailing(0), useSafeArea: Bool = false) -> Self {
| `- error: 'UIView' is unavailable in watchOS
73 | finish()
74 | functionType = .trailing(otherView, xAxis, useSafeArea)
/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/WWAutolayoutConstraint/WWAutolayoutConstraint.swift:102:31: error: 'UIView' is unavailable in watchOS
100 | /// - offset: 偏差值
101 | /// - Returns: Self
102 | func height(by otherView: UIView, ratio: CGFloat = 1.0, offset: CGFloat = 0) -> Self {
| `- error: 'UIView' is unavailable in watchOS
103 | finish()
104 | functionType = .heightRatio(otherView, ratio, offset)
/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/WWAutolayoutConstraint/WWAutolayoutConstraint.swift:114:30: error: 'UIView' is unavailable in watchOS
112 | /// - offset: 偏差值
113 | /// - Returns: Self
114 | func width(by otherView: UIView, ratio: CGFloat = 1.0, offset: CGFloat = 0) -> Self {
| `- error: 'UIView' is unavailable in watchOS
115 | finish()
116 | functionType = .widthRatio(otherView, ratio, offset)
/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/WWAutolayoutConstraint/WWAutolayoutConstraint.swift:137:32: error: 'UIView' is unavailable in watchOS
135 | /// - offset: 偏差值
136 | /// - Returns: Self
137 | func centerX(by otherView: UIView, multiplier: CGFloat = 1.0, offset: CGFloat = 0) -> Self {
| `- error: 'UIView' is unavailable in watchOS
138 | finish()
139 | functionType = .centerX(otherView, multiplier, offset)
/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/WWAutolayoutConstraint/WWAutolayoutConstraint.swift:149:32: error: 'UIView' is unavailable in watchOS
147 | /// - offset: 偏差值
148 | /// - Returns: Self
149 | func centerY(by otherView: UIView, multiplier: CGFloat = 1.0, offset: CGFloat = 0) -> Self {
| `- error: 'UIView' is unavailable in watchOS
150 | finish()
151 | functionType = .centerY(otherView, multiplier, offset)
/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/WWAutolayoutConstraint/WWAutolayoutConstraint.swift:230:30: error: 'UIView' is unavailable in watchOS
228 | /// - Parameter superview: UIView
229 | /// - Returns: Self
230 | func cover(on superview: UIView) {
| `- error: 'UIView' is unavailable in watchOS
231 | functionType = .cover(superview)
232 | finish()
/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/WWAutolayoutConstraint/WWAutolayoutConstraint.swift:241:31: error: 'UIView' is unavailable in watchOS
239 | /// - leading: CGFloat?
240 | /// - Returns: Self
241 | func center(on superView: UIView, top: CGFloat? = nil, leading: CGFloat? = nil) {
| `- error: 'UIView' is unavailable in watchOS
242 | functionType = .center(superView, top, leading)
243 | finish()
/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/WWAutolayoutConstraint/WWAutolayoutConstraint.swift:283:24: error: 'NSLayoutConstraint' is unavailable in watchOS
281 | func updateConstraint(with info: WWAutolayoutWrapper<T>.ConstraintInformation) {
282 |
283 | let attribute: NSLayoutConstraint.Attribute
| `- error: 'NSLayoutConstraint' is unavailable in watchOS
284 | let constant: CGFloat
285 |
/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/WWAutolayoutConstraint/WWAutolayoutConstraint.swift:283:13: warning: immutable value 'attribute' was never used; consider replacing with '_' or removing it [#NoUsage]
281 | func updateConstraint(with info: WWAutolayoutWrapper<T>.ConstraintInformation) {
282 |
283 | let attribute: NSLayoutConstraint.Attribute
| `- warning: immutable value 'attribute' was never used; consider replacing with '_' or removing it [#NoUsage]
284 | let constant: CGFloat
285 |
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/WWAutolayoutConstraint/WWAutolayoutConstraint.swift (in target 'WWAutolayoutConstraint' from project 'WWAutolayoutConstraint')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile WWAutolayoutConstraint.swift
SwiftCompile normal arm64_32 Compiling\ Constant.swift /Users/admin/builder/spi-builder-workspace/Sources/WWAutolayoutConstraint/Utility/Constant.swift (in target 'WWAutolayoutConstraint' from project 'WWAutolayoutConstraint')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/WWAutolayoutConstraint/Utility/Constant.swift (in target 'WWAutolayoutConstraint' from project 'WWAutolayoutConstraint')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile Constant.swift
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules
2026-09-23 07:17:17.373 xcodebuild[793:4796] [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\ WWAutolayoutConstraint (in target 'WWAutolayoutConstraint' from project 'WWAutolayoutConstraint')
SwiftCompile normal arm64 (in target 'WWAutolayoutConstraint' from project 'WWAutolayoutConstraint')
SwiftEmitModule normal arm64_32 Emitting\ module\ for\ WWAutolayoutConstraint (in target 'WWAutolayoutConstraint' from project 'WWAutolayoutConstraint')
SwiftCompile normal arm64_32 (in target 'WWAutolayoutConstraint' from project 'WWAutolayoutConstraint')
Building workspace WWAutolayoutConstraint with scheme WWAutolayoutConstraint
(5 failures)
BUILD FAILURE 6.4 watchOS