Build Information
Failed to build LabelKit, reference 2.1.0 (51cb5c), with Swift 6.4 for watchOS using Xcode 27.0 on 17 Sep 2026 22:12:23 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 LabelKit -destination generic/platform=watchOSBuild Log
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile LKLabel.swift
SwiftCompile normal arm64_32 Compiling\ LKLabelLayer.swift /Users/admin/builder/spi-builder-workspace/Sources/LabelKit/LKLabelLayer.swift (in target 'LabelKit' from project 'LabelKit')
/Users/admin/builder/spi-builder-workspace/Sources/LabelKit/LKLabelLayer.swift:78:56: error: 'CAAction' is unavailable in watchOS
76 | /// If layer is used without `LKLabel`, also triggers supporting bounds change action.
77 | @objc
78 | override open func action(forKey event: String) -> CAAction? {
| `- error: 'CAAction' is unavailable in watchOS
79 | if event == keyPath(\LKLabelLayer.attributedText) {
80 | let action = textPresentationLayer?.currentTextDidChangeAnimation
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CALayer.h:945:11: note: 'CAAction' has been explicitly marked unavailable here
943 |
944 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
945 | @protocol CAAction
| `- note: 'CAAction' has been explicitly marked unavailable here
946 |
947 | /* Called to trigger the event named 'path' on the receiver. The object
/Users/admin/builder/spi-builder-workspace/Sources/LabelKit/LKLabelLayer.swift:38:26: error: 'CALayer' is unavailable in watchOS
36 |
37 | @objc
38 | open class LKLabelLayer: CALayer {
| `- error: 'CALayer' is unavailable in watchOS
39 | fileprivate var stringDrawingContext: NSStringDrawingContext!
40 | fileprivate var stringDrawingOptions: NSStringDrawingOptions!
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CALayer.h:117:12: note: 'CALayer' has been explicitly marked unavailable here
115 |
116 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
117 | @interface CALayer : NSObject <NSSecureCoding, CAMediaTiming>
| `- note: 'CALayer' has been explicitly marked unavailable here
118 |
119 | /** Layer creation and initialization. **/
/Users/admin/builder/spi-builder-workspace/Sources/LabelKit/LKLabelLayer.swift:224:76: error: 'UITraitCollection' is unavailable in watchOS
222 | }
223 |
224 | override open func traitCollectionDidChange(_ previousTraitCollection: UITraitCollection?) {
| `- error: 'UITraitCollection' is unavailable in watchOS
225 | let actionsDisabled = CATransaction.disableActions()
226 | CATransaction.setDisableActions(true)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITraitCollection.h:23:12: note: 'UITraitCollection' has been explicitly marked unavailable here
21 |
22 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_SENDABLE
23 | @interface UITraitCollection : NSObject <NSCopying, NSSecureCoding>
| `- note: 'UITraitCollection' has been explicitly marked unavailable here
24 |
25 | - (instancetype)init NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/LabelKit/LKLabelLayer.swift:224:24: error: cannot override 'traitCollectionDidChange' which has been marked unavailable
222 | }
223 |
224 | override open func traitCollectionDidChange(_ previousTraitCollection: UITraitCollection?) {
| |- error: cannot override 'traitCollectionDidChange' which has been marked unavailable
| `- note: remove 'override' modifier to declare a new 'traitCollectionDidChange'
225 | let actionsDisabled = CATransaction.disableActions()
226 | CATransaction.setDisableActions(true)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITraitCollection.h:221:1: note: 'traitCollectionDidChange' has been explicitly marked unavailable here
219 |
220 | /*! To be overridden as needed to provide custom behavior when the environment's traits change. */
221 | - (void)traitCollectionDidChange:(nullable UITraitCollection *)previousTraitCollection API_DEPRECATED("Use the trait change registration APIs declared in the UITraitChangeObservable protocol", ios(8.0, 17.0), visionos(1.0, 1.0)) API_UNAVAILABLE(watchos);
| `- note: 'traitCollectionDidChange' has been explicitly marked unavailable here
222 | @end
223 |
/Users/admin/builder/spi-builder-workspace/Sources/LabelKit/LKLabelLayer.swift:87:15: error: 'UIView' is unavailable in watchOS
85 | guard event == keyPath(\CALayer.bounds),
86 | type(of: superAction) != LKCompositeAction.self,
87 | UIView.inheritedAnimationDuration > 0 else { return superAction }
| `- error: 'UIView' is unavailable in watchOS
88 | let textDrawingBoundsAction = LKBoundsDidChangeAction(fromBounds: bounds)
89 | let action: CAAction = superAction != nil ? LKCompositeAction(actions: [superAction!, textDrawingBoundsAction]) : textDrawingBoundsAction
/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/LabelKit/LKLabelLayer.swift:89:21: error: 'CAAction' is unavailable in watchOS
87 | UIView.inheritedAnimationDuration > 0 else { return superAction }
88 | let textDrawingBoundsAction = LKBoundsDidChangeAction(fromBounds: bounds)
89 | let action: CAAction = superAction != nil ? LKCompositeAction(actions: [superAction!, textDrawingBoundsAction]) : textDrawingBoundsAction
| `- error: 'CAAction' is unavailable in watchOS
90 | return action
91 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CALayer.h:945:11: note: 'CAAction' has been explicitly marked unavailable here
943 |
944 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
945 | @protocol CAAction
| `- note: 'CAAction' has been explicitly marked unavailable here
946 |
947 | /* Called to trigger the event named 'path' on the receiver. The object
/Users/admin/builder/spi-builder-workspace/Sources/LabelKit/LKLabelLayer.swift:164:112: error: 'contentsScale' is unavailable in watchOS
162 | if stringDrawingOptions.contains(.usesLineFragmentOrigin) {
163 | if adjustsTextForCustomLineHeight, let lastParagraphStyle = text.attribute(.paragraphStyle, at: text.length - 1, effectiveRange: nil) as? NSParagraphStyle {
164 | result.origin.y = roundToPixels(result.origin.y + lastParagraphStyle.lineSpacing / 2.0, scale: contentsScale)
| `- error: 'contentsScale' is unavailable in watchOS
165 | }
166 | } else {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CALayer.h:406:19: note: 'contentsScale' has been explicitly marked unavailable here
404 | * as large as the layer bounds). Defaults to one. Animatable. */
405 |
406 | @property CGFloat contentsScale
| `- note: 'contentsScale' has been explicitly marked unavailable here
407 | API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0)) API_UNAVAILABLE(watchos);
408 |
/Users/admin/builder/spi-builder-workspace/Sources/LabelKit/LKLabelLayer.swift:170:125: error: 'contentsScale' is unavailable in watchOS
168 | let firstFont = text.attribute(.font, at: 0, effectiveRange: nil) as? UIFont {
169 | let lineHeightCompensation = adjustsTextForCustomLineHeight && firstParagraphStyle.lineHeightMultiple > 0 ? firstParagraphStyle.lineHeightMultiple * firstFont.lineHeight - firstFont.lineHeight : 0.0
170 | result.origin.y = roundToPixels(result.origin.y + lineHeightCompensation * 1.5 + firstFont.ascender, scale: contentsScale)
| `- error: 'contentsScale' is unavailable in watchOS
171 | }
172 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CALayer.h:406:19: note: 'contentsScale' has been explicitly marked unavailable here
404 | * as large as the layer bounds). Defaults to one. Animatable. */
405 |
406 | @property CGFloat contentsScale
| `- note: 'contentsScale' has been explicitly marked unavailable here
407 | API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0)) API_UNAVAILABLE(watchos);
408 |
/Users/admin/builder/spi-builder-workspace/Sources/LabelKit/LKLabelLayer.swift:225:31: error: 'CATransaction' is unavailable in watchOS
223 |
224 | override open func traitCollectionDidChange(_ previousTraitCollection: UITraitCollection?) {
225 | let actionsDisabled = CATransaction.disableActions()
| `- error: 'CATransaction' is unavailable in watchOS
226 | CATransaction.setDisableActions(true)
227 | super.traitCollectionDidChange(previousTraitCollection)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CATransaction.h:34:12: note: 'CATransaction' has been explicitly marked unavailable here
32 |
33 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
34 | @interface CATransaction : NSObject
| `- note: 'CATransaction' has been explicitly marked unavailable here
35 |
36 | /* Begin a new transaction for the current thread; nests. */
/Users/admin/builder/spi-builder-workspace/Sources/LabelKit/LKLabelLayer.swift:226:9: error: 'CATransaction' is unavailable in watchOS
224 | override open func traitCollectionDidChange(_ previousTraitCollection: UITraitCollection?) {
225 | let actionsDisabled = CATransaction.disableActions()
226 | CATransaction.setDisableActions(true)
| `- error: 'CATransaction' is unavailable in watchOS
227 | super.traitCollectionDidChange(previousTraitCollection)
228 | CATransaction.setDisableActions(actionsDisabled)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CATransaction.h:34:12: note: 'CATransaction' has been explicitly marked unavailable here
32 |
33 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
34 | @interface CATransaction : NSObject
| `- note: 'CATransaction' has been explicitly marked unavailable here
35 |
36 | /* Begin a new transaction for the current thread; nests. */
/Users/admin/builder/spi-builder-workspace/Sources/LabelKit/LKLabelLayer.swift:227:15: error: 'traitCollectionDidChange' is unavailable in watchOS
225 | let actionsDisabled = CATransaction.disableActions()
226 | CATransaction.setDisableActions(true)
227 | super.traitCollectionDidChange(previousTraitCollection)
| `- error: 'traitCollectionDidChange' is unavailable in watchOS
228 | CATransaction.setDisableActions(actionsDisabled)
229 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITraitCollection.h:221:1: note: 'traitCollectionDidChange' has been explicitly marked unavailable here
219 |
220 | /*! To be overridden as needed to provide custom behavior when the environment's traits change. */
221 | - (void)traitCollectionDidChange:(nullable UITraitCollection *)previousTraitCollection API_DEPRECATED("Use the trait change registration APIs declared in the UITraitChangeObservable protocol", ios(8.0, 17.0), visionos(1.0, 1.0)) API_UNAVAILABLE(watchos);
| `- note: 'traitCollectionDidChange' has been explicitly marked unavailable here
222 | @end
223 |
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/LabelKit/LKLabelLayer.swift (in target 'LabelKit' from project 'LabelKit')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile LKLabelLayer.swift
SwiftCompile normal arm64_32 Compiling\ LKExtensions.swift /Users/admin/builder/spi-builder-workspace/Sources/LabelKit/LKExtensions.swift (in target 'LabelKit' from project 'LabelKit')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/LabelKit/LKExtensions.swift (in target 'LabelKit' from project 'LabelKit')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile LKExtensions.swift
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/SwiftUI-APXDH8ULYLM6FD17YRA73TULO.pcm
SwiftEmitModule normal arm64 Emitting\ module\ for\ LabelKit (in target 'LabelKit' from project 'LabelKit')
/Users/admin/builder/spi-builder-workspace/Sources/LabelKit/LKBoundsDidChangeAction.swift:37:35: error: 'CABasicAnimation' is unavailable in watchOS
35 | import UIKit
36 |
37 | class LKBoundsDidChangeAnimation: CABasicAnimation {
| `- error: 'CABasicAnimation' is unavailable in watchOS
38 | @objc var bounds = CGRect.zero
39 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAAnimation.h:130:12: note: 'CABasicAnimation' has been explicitly marked unavailable here
128 |
129 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
130 | @interface CABasicAnimation : CAPropertyAnimation
| `- note: 'CABasicAnimation' has been explicitly marked unavailable here
131 |
132 | /* The objects defining the property values being interpolated between.
/Users/admin/builder/spi-builder-workspace/Sources/LabelKit/LKBoundsDidChangeAction.swift:50:32: error: 'CAAction' is unavailable in watchOS
48 | }
49 |
50 | class LKBoundsDidChangeAction: CAAction {
| `- error: 'CAAction' is unavailable in watchOS
51 | var pendingAnimation: LKBoundsDidChangeAnimation
52 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CALayer.h:945:11: note: 'CAAction' has been explicitly marked unavailable here
943 |
944 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
945 | @protocol CAAction
| `- note: 'CAAction' has been explicitly marked unavailable here
946 |
947 | /* Called to trigger the event named 'path' on the receiver. The object
/Users/admin/builder/spi-builder-workspace/Sources/LabelKit/LKBoundsDidChangeAction.swift:74:19: error: 'CAAction' is unavailable in watchOS
72 |
73 | class LKCompositeAction: CAAction {
74 | var actions: [CAAction]
| `- error: 'CAAction' is unavailable in watchOS
75 | init(actions: [CAAction]) {
76 | self.actions = actions
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CALayer.h:945:11: note: 'CAAction' has been explicitly marked unavailable here
943 |
944 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
945 | @protocol CAAction
| `- note: 'CAAction' has been explicitly marked unavailable here
946 |
947 | /* Called to trigger the event named 'path' on the receiver. The object
/Users/admin/builder/spi-builder-workspace/Sources/LabelKit/LKBoundsDidChangeAction.swift:75:20: error: 'CAAction' is unavailable in watchOS
73 | class LKCompositeAction: CAAction {
74 | var actions: [CAAction]
75 | init(actions: [CAAction]) {
| `- error: 'CAAction' is unavailable in watchOS
76 | self.actions = actions
77 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CALayer.h:945:11: note: 'CAAction' has been explicitly marked unavailable here
943 |
944 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
945 | @protocol CAAction
| `- note: 'CAAction' has been explicitly marked unavailable here
946 |
947 | /* Called to trigger the event named 'path' on the receiver. The object
/Users/admin/builder/spi-builder-workspace/Sources/LabelKit/LKBoundsDidChangeAction.swift:73:26: error: 'CAAction' is unavailable in watchOS
71 | }
72 |
73 | class LKCompositeAction: CAAction {
| `- error: 'CAAction' is unavailable in watchOS
74 | var actions: [CAAction]
75 | init(actions: [CAAction]) {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CALayer.h:945:11: note: 'CAAction' has been explicitly marked unavailable here
943 |
944 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
945 | @protocol CAAction
| `- note: 'CAAction' has been explicitly marked unavailable here
946 |
947 | /* Called to trigger the event named 'path' on the receiver. The object
/Users/admin/builder/spi-builder-workspace/Sources/LabelKit/LKExtensions.swift:178:11: error: 'CABasicAnimation' is unavailable in watchOS
176 | }
177 |
178 | extension CABasicAnimation {
| `- error: 'CABasicAnimation' is unavailable in watchOS
179 | convenience init(forKeyPath keyPath: String, fromValue: Any?, toValue: Any?, duration: TimeInterval) {
180 | self.init(keyPath: keyPath)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAAnimation.h:130:12: note: 'CABasicAnimation' has been explicitly marked unavailable here
128 |
129 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
130 | @interface CABasicAnimation : CAPropertyAnimation
| `- note: 'CABasicAnimation' has been explicitly marked unavailable here
131 |
132 | /* The objects defining the property values being interpolated between.
/Users/admin/builder/spi-builder-workspace/Sources/LabelKit/LKLabel.swift:108:42: error: 'CALayer' is unavailable in watchOS
106 | /// Triggers bounds animation which provides public access to interpolated bounds during the text animation.
107 | @objc
108 | override open func action(for layer: CALayer, forKey event: String) -> CAAction? {
| `- error: 'CALayer' is unavailable in watchOS
109 | let result = super.action(for: layer, forKey: event)
110 | if event == keyPath(\CALayer.bounds), result != nil, UIView.inheritedAnimationDuration > 0 {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CALayer.h:117:12: note: 'CALayer' has been explicitly marked unavailable here
115 |
116 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
117 | @interface CALayer : NSObject <NSSecureCoding, CAMediaTiming>
| `- note: 'CALayer' has been explicitly marked unavailable here
118 |
119 | /** Layer creation and initialization. **/
/Users/admin/builder/spi-builder-workspace/Sources/LabelKit/LKLabel.swift:108:76: error: 'CAAction' is unavailable in watchOS
106 | /// Triggers bounds animation which provides public access to interpolated bounds during the text animation.
107 | @objc
108 | override open func action(for layer: CALayer, forKey event: String) -> CAAction? {
| `- error: 'CAAction' is unavailable in watchOS
109 | let result = super.action(for: layer, forKey: event)
110 | if event == keyPath(\CALayer.bounds), result != nil, UIView.inheritedAnimationDuration > 0 {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CALayer.h:945:11: note: 'CAAction' has been explicitly marked unavailable here
943 |
944 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
945 | @protocol CAAction
| `- note: 'CAAction' has been explicitly marked unavailable here
946 |
947 | /* Called to trigger the event named 'path' on the receiver. The object
/Users/admin/builder/spi-builder-workspace/Sources/LabelKit/LKLabel.swift:120:41: error: 'CALayer' is unavailable in watchOS
118 | /// Draws the text. Called by the layer, must not be explicitly called by consumers.
119 | @objc
120 | override open func display(_ layer: CALayer) {
| `- error: 'CALayer' is unavailable in watchOS
121 | if let labelLayer = layer as? LKLabelLayer {
122 | let textDrawingBoundsAction = labelLayer.currentBoundsDidChangeAnimation
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CALayer.h:117:12: note: 'CALayer' has been explicitly marked unavailable here
115 |
116 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
117 | @interface CALayer : NSObject <NSSecureCoding, CAMediaTiming>
| `- note: 'CALayer' has been explicitly marked unavailable here
118 |
119 | /** Layer creation and initialization. **/
/Users/admin/builder/spi-builder-workspace/Sources/LabelKit/LKLabel.swift:40:21: error: 'UILabel' is unavailable in watchOS
38 | /// Only `.byTruncatingTail` line break mode is supported.
39 | @objc
40 | open class LKLabel: UILabel {
| `- error: 'UILabel' is unavailable in watchOS
41 | @objc
42 | public weak var delegate: AnyObject?
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILabel.h:33:12: note: 'UILabel' has been explicitly marked unavailable here
31 |
32 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
33 | @interface UILabel : UIView <NSCoding, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
| `- note: 'UILabel' has been explicitly marked unavailable here
34 |
35 | @property(nullable, nonatomic,copy) NSString *text; // default is nil
/Users/admin/builder/spi-builder-workspace/Sources/LabelKit/LKLabel.swift:80:13: error: 'CATransaction' is unavailable in watchOS
78 | @objc override open var attributedText: NSAttributedString? {
79 | didSet(previousValue) {
80 | CATransaction.begin()
| `- error: 'CATransaction' is unavailable in watchOS
81 | CATransaction.setAnimationDuration(UIView.inheritedAnimationDuration)
82 | labelLayer?.attributedText = alignedAttributedText(attributedText, defaultFont: font)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CATransaction.h:34:12: note: 'CATransaction' has been explicitly marked unavailable here
32 |
33 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
34 | @interface CATransaction : NSObject
| `- note: 'CATransaction' has been explicitly marked unavailable here
35 |
36 | /* Begin a new transaction for the current thread; nests. */
/Users/admin/builder/spi-builder-workspace/Sources/LabelKit/LKLabel.swift:81:13: error: 'CATransaction' is unavailable in watchOS
79 | didSet(previousValue) {
80 | CATransaction.begin()
81 | CATransaction.setAnimationDuration(UIView.inheritedAnimationDuration)
| `- error: 'CATransaction' is unavailable in watchOS
82 | labelLayer?.attributedText = alignedAttributedText(attributedText, defaultFont: font)
83 | CATransaction.commit()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CATransaction.h:34:12: note: 'CATransaction' has been explicitly marked unavailable here
32 |
33 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
34 | @interface CATransaction : NSObject
| `- note: 'CATransaction' has been explicitly marked unavailable here
35 |
36 | /* Begin a new transaction for the current thread; nests. */
/Users/admin/builder/spi-builder-workspace/Sources/LabelKit/LKLabel.swift:81:48: error: 'UIView' is unavailable in watchOS
79 | didSet(previousValue) {
80 | CATransaction.begin()
81 | CATransaction.setAnimationDuration(UIView.inheritedAnimationDuration)
| `- error: 'UIView' is unavailable in watchOS
82 | labelLayer?.attributedText = alignedAttributedText(attributedText, defaultFont: font)
83 | CATransaction.commit()
/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/LabelKit/LKLabel.swift:83:13: error: 'CATransaction' is unavailable in watchOS
81 | CATransaction.setAnimationDuration(UIView.inheritedAnimationDuration)
82 | labelLayer?.attributedText = alignedAttributedText(attributedText, defaultFont: font)
83 | CATransaction.commit()
| `- error: 'CATransaction' is unavailable in watchOS
84 | }
85 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CATransaction.h:34:12: note: 'CATransaction' has been explicitly marked unavailable here
32 |
33 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
34 | @interface CATransaction : NSObject
| `- note: 'CATransaction' has been explicitly marked unavailable here
35 |
36 | /* Begin a new transaction for the current thread; nests. */
/Users/admin/builder/spi-builder-workspace/Sources/LabelKit/LKLabel.swift:92:13: error: 'CATransaction' is unavailable in watchOS
90 | override open var text: String? {
91 | didSet(previousValue) {
92 | CATransaction.begin()
| `- error: 'CATransaction' is unavailable in watchOS
93 | CATransaction.setAnimationDuration(UIView.inheritedAnimationDuration)
94 | labelLayer?.attributedText = alignedAttributedText(attributedText, defaultFont: font)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CATransaction.h:34:12: note: 'CATransaction' has been explicitly marked unavailable here
32 |
33 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
34 | @interface CATransaction : NSObject
| `- note: 'CATransaction' has been explicitly marked unavailable here
35 |
36 | /* Begin a new transaction for the current thread; nests. */
/Users/admin/builder/spi-builder-workspace/Sources/LabelKit/LKLabel.swift:93:13: error: 'CATransaction' is unavailable in watchOS
91 | didSet(previousValue) {
92 | CATransaction.begin()
93 | CATransaction.setAnimationDuration(UIView.inheritedAnimationDuration)
| `- error: 'CATransaction' is unavailable in watchOS
94 | labelLayer?.attributedText = alignedAttributedText(attributedText, defaultFont: font)
95 | CATransaction.commit()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CATransaction.h:34:12: note: 'CATransaction' has been explicitly marked unavailable here
32 |
33 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
34 | @interface CATransaction : NSObject
| `- note: 'CATransaction' has been explicitly marked unavailable here
35 |
36 | /* Begin a new transaction for the current thread; nests. */
/Users/admin/builder/spi-builder-workspace/Sources/LabelKit/LKLabel.swift:93:48: error: 'UIView' is unavailable in watchOS
91 | didSet(previousValue) {
92 | CATransaction.begin()
93 | CATransaction.setAnimationDuration(UIView.inheritedAnimationDuration)
| `- error: 'UIView' is unavailable in watchOS
94 | labelLayer?.attributedText = alignedAttributedText(attributedText, defaultFont: font)
95 | CATransaction.commit()
/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/LabelKit/LKLabel.swift:95:13: error: 'CATransaction' is unavailable in watchOS
93 | CATransaction.setAnimationDuration(UIView.inheritedAnimationDuration)
94 | labelLayer?.attributedText = alignedAttributedText(attributedText, defaultFont: font)
95 | CATransaction.commit()
| `- error: 'CATransaction' is unavailable in watchOS
96 | }
97 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CATransaction.h:34:12: note: 'CATransaction' has been explicitly marked unavailable here
32 |
33 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
34 | @interface CATransaction : NSObject
| `- note: 'CATransaction' has been explicitly marked unavailable here
35 |
36 | /* Begin a new transaction for the current thread; nests. */
/Users/admin/builder/spi-builder-workspace/Sources/LabelKit/LKLabelLayer.swift:78:56: error: 'CAAction' is unavailable in watchOS
76 | /// If layer is used without `LKLabel`, also triggers supporting bounds change action.
77 | @objc
78 | override open func action(forKey event: String) -> CAAction? {
| `- error: 'CAAction' is unavailable in watchOS
79 | if event == keyPath(\LKLabelLayer.attributedText) {
80 | let action = textPresentationLayer?.currentTextDidChangeAnimation
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CALayer.h:945:11: note: 'CAAction' has been explicitly marked unavailable here
943 |
944 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
945 | @protocol CAAction
| `- note: 'CAAction' has been explicitly marked unavailable here
946 |
947 | /* Called to trigger the event named 'path' on the receiver. The object
SwiftCompile normal arm64 (in target 'LabelKit' from project 'LabelKit')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 Compiling\ Utils.swift /Users/admin/builder/spi-builder-workspace/Sources/LabelKit/Utils.swift (in target 'LabelKit' from project 'LabelKit')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/LabelKit/Utils.swift (in target 'LabelKit' from project 'LabelKit')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile Utils.swift
SwiftCompile normal arm64 Compiling\ LabelView.swift /Users/admin/builder/spi-builder-workspace/Sources/LabelKit/LabelView.swift (in target 'LabelKit' from project 'LabelKit')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/LabelKit/LabelView.swift (in target 'LabelKit' from project 'LabelKit')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile LabelView.swift
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules
2026-09-17 18:12:13.115 xcodebuild[625:4017] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
** BUILD FAILED **
The following build commands failed:
SwiftEmitModule normal arm64_32 Emitting\ module\ for\ LabelKit (in target 'LabelKit' from project 'LabelKit')
SwiftCompile normal arm64_32 (in target 'LabelKit' from project 'LabelKit')
Building workspace LabelKit with scheme LabelKit
(3 failures)
Command line invocation:
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -resolvePackageDependencies
Resolve Package Graph
Resolved source packages:
LabelKit: /Users/admin/builder/spi-builder-workspace
resolved source packages: LabelKit
2026-09-17 18:12:19.982 xcodebuild[799:4778] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
{
"dependencies" : [
],
"manifest_display_name" : "LabelKit",
"name" : "LabelKit",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "LabelKit",
"targets" : [
"LabelKit"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "LabelKitTests",
"module_type" : "SwiftTarget",
"name" : "LabelKitTests",
"path" : "Tests/LabelKitTests",
"sources" : [
"LabelKitTests.swift",
"XCTestManifests.swift"
],
"target_dependencies" : [
"LabelKit"
],
"type" : "test"
},
{
"c99name" : "LabelKit",
"module_type" : "SwiftTarget",
"name" : "LabelKit",
"path" : "Sources/LabelKit",
"product_memberships" : [
"LabelKit"
],
"sources" : [
"LKBoundsDidChangeAction.swift",
"LKExtensions.swift",
"LKLabel.swift",
"LKLabelLayer.swift",
"LKTextDidChangeAction.swift",
"LabelView.swift",
"Utils.swift"
],
"type" : "library"
}
],
"tools_version" : "5.0"
}
{
"workspace" : {
"name" : "LabelKit",
"schemes" : [
"LabelKit"
]
}
}
2026-09-17 18:12:21.235 xcodebuild[807:4852] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme LabelKit -destination generic/platform=watchOS
Command line invocation:
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath /Users/admin/builder/spi-builder-workspace/.derivedData build -scheme LabelKit -destination generic/platform=watchOS
Resolve Package Graph
Resolved source packages:
LabelKit: /Users/admin/builder/spi-builder-workspace
ComputePackagePrebuildTargetDependencyGraph
Prepare packages
CreateBuildRequest
SendProjectDescription
CreateBuildOperation
ComputeTargetDependencyGraph
note: Building targets in dependency order
note: Target dependency graph (2 targets)
Target 'LabelKit-product' in project 'LabelKit'
➜ Explicit dependency on target 'LabelKit' in project 'LabelKit'
Target 'LabelKit' in project 'LabelKit' (no dependencies)
GatherProvisioningInputs
CreateBuildDescription
ClangStatCache /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang-stat-cache /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos27.0-24R360-e829b21a6f8c9b70876ba0858053c04477534ef55a1706bf4c1112bbb242f0a2.sdkstatcache
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang-stat-cache /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk -o /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos27.0-24R360-e829b21a6f8c9b70876ba0858053c04477534ef55a1706bf4c1112bbb242f0a2.sdkstatcache
SwiftDriver LabelKit normal arm64 com.apple.xcode.tools.swift.compiler (in target 'LabelKit' from project 'LabelKit')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftDriver -- /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -parse-as-library -module-name LabelKit -Onone @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LabelKit.build/Debug-watchos/LabelKit-t.build/Objects-normal/arm64/LabelKit.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -DSWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -DXcode -plugin-path /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -enable-experimental-feature DebugDescriptionMacro -sdk /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk -target arm64-apple-watchos9.0 -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -Xfrontend -serialize-debugging-options -profile-coverage-mapping -profile-generate -enable-testing -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -swift-version 5 -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 -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos27.0-24R360-e829b21a6f8c9b70876ba0858053c04477534ef55a1706bf4c1112bbb242f0a2.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LabelKit.build/Debug-watchos/LabelKit-t.build/Objects-normal/arm64/LabelKit-OutputFileMap.json -save-temps -no-color-diagnostics -explicit-module-build -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules -clang-scanner-module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -sdk-module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules -emit-dependencies -emit-module -emit-module-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LabelKit.build/Debug-watchos/LabelKit-t.build/Objects-normal/arm64/LabelKit.swiftmodule -serialize-diagnostics -dependency-scan-serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LabelKit.build/Debug-watchos/LabelKit-t.build/Objects-normal/arm64/LabelKit-dependency-scan.dia -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -emit-const-values -const-gather-protocols-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LabelKit.build/Debug-watchos/LabelKit-t.build/Objects-normal/arm64/LabelKit_const_extract_protocols.json -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/LabelKit.build/Debug-watchos/LabelKit-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LabelKit.build/Debug-watchos/LabelKit-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LabelKit.build/Debug-watchos/LabelKit-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -emit-objc-header -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LabelKit.build/Debug-watchos/LabelKit-t.build/Objects-normal/arm64/LabelKit-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
SwiftDriver LabelKit normal arm64_32 com.apple.xcode.tools.swift.compiler (in target 'LabelKit' from project 'LabelKit')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftDriver -- /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -parse-as-library -module-name LabelKit -Onone @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LabelKit.build/Debug-watchos/LabelKit-t.build/Objects-normal/arm64_32/LabelKit.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -DSWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -DXcode -plugin-path /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -enable-experimental-feature DebugDescriptionMacro -sdk /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk -target arm64_32-apple-watchos9.0 -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -Xfrontend -serialize-debugging-options -profile-coverage-mapping -profile-generate -enable-testing -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -swift-version 5 -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 -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos27.0-24R360-e829b21a6f8c9b70876ba0858053c04477534ef55a1706bf4c1112bbb242f0a2.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LabelKit.build/Debug-watchos/LabelKit-t.build/Objects-normal/arm64_32/LabelKit-OutputFileMap.json -save-temps -no-color-diagnostics -explicit-module-build -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules -clang-scanner-module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -sdk-module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules -emit-dependencies -emit-module -emit-module-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LabelKit.build/Debug-watchos/LabelKit-t.build/Objects-normal/arm64_32/LabelKit.swiftmodule -serialize-diagnostics -dependency-scan-serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LabelKit.build/Debug-watchos/LabelKit-t.build/Objects-normal/arm64_32/LabelKit-dependency-scan.dia -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -emit-const-values -const-gather-protocols-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LabelKit.build/Debug-watchos/LabelKit-t.build/Objects-normal/arm64_32/LabelKit_const_extract_protocols.json -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/LabelKit.build/Debug-watchos/LabelKit-t.build/DerivedSources-normal/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LabelKit.build/Debug-watchos/LabelKit-t.build/DerivedSources/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LabelKit.build/Debug-watchos/LabelKit-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -emit-objc-header -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LabelKit.build/Debug-watchos/LabelKit-t.build/Objects-normal/arm64_32/LabelKit-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
SwiftEmitModule normal arm64_32 Emitting\ module\ for\ LabelKit (in target 'LabelKit' from project 'LabelKit')
/Users/admin/builder/spi-builder-workspace/Sources/LabelKit/LKBoundsDidChangeAction.swift:37:35: error: 'CABasicAnimation' is unavailable in watchOS
35 | import UIKit
36 |
37 | class LKBoundsDidChangeAnimation: CABasicAnimation {
| `- error: 'CABasicAnimation' is unavailable in watchOS
38 | @objc var bounds = CGRect.zero
39 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAAnimation.h:130:12: note: 'CABasicAnimation' has been explicitly marked unavailable here
128 |
129 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
130 | @interface CABasicAnimation : CAPropertyAnimation
| `- note: 'CABasicAnimation' has been explicitly marked unavailable here
131 |
132 | /* The objects defining the property values being interpolated between.
/Users/admin/builder/spi-builder-workspace/Sources/LabelKit/LKBoundsDidChangeAction.swift:50:32: error: 'CAAction' is unavailable in watchOS
48 | }
49 |
50 | class LKBoundsDidChangeAction: CAAction {
| `- error: 'CAAction' is unavailable in watchOS
51 | var pendingAnimation: LKBoundsDidChangeAnimation
52 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CALayer.h:945:11: note: 'CAAction' has been explicitly marked unavailable here
943 |
944 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
945 | @protocol CAAction
| `- note: 'CAAction' has been explicitly marked unavailable here
946 |
947 | /* Called to trigger the event named 'path' on the receiver. The object
/Users/admin/builder/spi-builder-workspace/Sources/LabelKit/LKBoundsDidChangeAction.swift:74:19: error: 'CAAction' is unavailable in watchOS
72 |
73 | class LKCompositeAction: CAAction {
74 | var actions: [CAAction]
| `- error: 'CAAction' is unavailable in watchOS
75 | init(actions: [CAAction]) {
76 | self.actions = actions
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CALayer.h:945:11: note: 'CAAction' has been explicitly marked unavailable here
943 |
944 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
945 | @protocol CAAction
| `- note: 'CAAction' has been explicitly marked unavailable here
946 |
947 | /* Called to trigger the event named 'path' on the receiver. The object
/Users/admin/builder/spi-builder-workspace/Sources/LabelKit/LKBoundsDidChangeAction.swift:75:20: error: 'CAAction' is unavailable in watchOS
73 | class LKCompositeAction: CAAction {
74 | var actions: [CAAction]
75 | init(actions: [CAAction]) {
| `- error: 'CAAction' is unavailable in watchOS
76 | self.actions = actions
77 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CALayer.h:945:11: note: 'CAAction' has been explicitly marked unavailable here
943 |
944 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
945 | @protocol CAAction
| `- note: 'CAAction' has been explicitly marked unavailable here
946 |
947 | /* Called to trigger the event named 'path' on the receiver. The object
/Users/admin/builder/spi-builder-workspace/Sources/LabelKit/LKBoundsDidChangeAction.swift:73:26: error: 'CAAction' is unavailable in watchOS
71 | }
72 |
73 | class LKCompositeAction: CAAction {
| `- error: 'CAAction' is unavailable in watchOS
74 | var actions: [CAAction]
75 | init(actions: [CAAction]) {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CALayer.h:945:11: note: 'CAAction' has been explicitly marked unavailable here
943 |
944 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
945 | @protocol CAAction
| `- note: 'CAAction' has been explicitly marked unavailable here
946 |
947 | /* Called to trigger the event named 'path' on the receiver. The object
/Users/admin/builder/spi-builder-workspace/Sources/LabelKit/LKExtensions.swift:178:11: error: 'CABasicAnimation' is unavailable in watchOS
176 | }
177 |
178 | extension CABasicAnimation {
| `- error: 'CABasicAnimation' is unavailable in watchOS
179 | convenience init(forKeyPath keyPath: String, fromValue: Any?, toValue: Any?, duration: TimeInterval) {
180 | self.init(keyPath: keyPath)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAAnimation.h:130:12: note: 'CABasicAnimation' has been explicitly marked unavailable here
128 |
129 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
130 | @interface CABasicAnimation : CAPropertyAnimation
| `- note: 'CABasicAnimation' has been explicitly marked unavailable here
131 |
132 | /* The objects defining the property values being interpolated between.
/Users/admin/builder/spi-builder-workspace/Sources/LabelKit/LKLabel.swift:108:42: error: 'CALayer' is unavailable in watchOS
106 | /// Triggers bounds animation which provides public access to interpolated bounds during the text animation.
107 | @objc
108 | override open func action(for layer: CALayer, forKey event: String) -> CAAction? {
| `- error: 'CALayer' is unavailable in watchOS
109 | let result = super.action(for: layer, forKey: event)
110 | if event == keyPath(\CALayer.bounds), result != nil, UIView.inheritedAnimationDuration > 0 {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CALayer.h:117:12: note: 'CALayer' has been explicitly marked unavailable here
115 |
116 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
117 | @interface CALayer : NSObject <NSSecureCoding, CAMediaTiming>
| `- note: 'CALayer' has been explicitly marked unavailable here
118 |
119 | /** Layer creation and initialization. **/
/Users/admin/builder/spi-builder-workspace/Sources/LabelKit/LKLabel.swift:108:76: error: 'CAAction' is unavailable in watchOS
106 | /// Triggers bounds animation which provides public access to interpolated bounds during the text animation.
107 | @objc
108 | override open func action(for layer: CALayer, forKey event: String) -> CAAction? {
| `- error: 'CAAction' is unavailable in watchOS
109 | let result = super.action(for: layer, forKey: event)
110 | if event == keyPath(\CALayer.bounds), result != nil, UIView.inheritedAnimationDuration > 0 {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CALayer.h:945:11: note: 'CAAction' has been explicitly marked unavailable here
943 |
944 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
945 | @protocol CAAction
| `- note: 'CAAction' has been explicitly marked unavailable here
946 |
947 | /* Called to trigger the event named 'path' on the receiver. The object
/Users/admin/builder/spi-builder-workspace/Sources/LabelKit/LKLabel.swift:120:41: error: 'CALayer' is unavailable in watchOS
118 | /// Draws the text. Called by the layer, must not be explicitly called by consumers.
119 | @objc
120 | override open func display(_ layer: CALayer) {
| `- error: 'CALayer' is unavailable in watchOS
121 | if let labelLayer = layer as? LKLabelLayer {
122 | let textDrawingBoundsAction = labelLayer.currentBoundsDidChangeAnimation
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CALayer.h:117:12: note: 'CALayer' has been explicitly marked unavailable here
115 |
116 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
117 | @interface CALayer : NSObject <NSSecureCoding, CAMediaTiming>
| `- note: 'CALayer' has been explicitly marked unavailable here
118 |
119 | /** Layer creation and initialization. **/
/Users/admin/builder/spi-builder-workspace/Sources/LabelKit/LKLabel.swift:40:21: error: 'UILabel' is unavailable in watchOS
38 | /// Only `.byTruncatingTail` line break mode is supported.
39 | @objc
40 | open class LKLabel: UILabel {
| `- error: 'UILabel' is unavailable in watchOS
41 | @objc
42 | public weak var delegate: AnyObject?
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILabel.h:33:12: note: 'UILabel' has been explicitly marked unavailable here
31 |
32 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
33 | @interface UILabel : UIView <NSCoding, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
| `- note: 'UILabel' has been explicitly marked unavailable here
34 |
35 | @property(nullable, nonatomic,copy) NSString *text; // default is nil
/Users/admin/builder/spi-builder-workspace/Sources/LabelKit/LKLabel.swift:80:13: error: 'CATransaction' is unavailable in watchOS
78 | @objc override open var attributedText: NSAttributedString? {
79 | didSet(previousValue) {
80 | CATransaction.begin()
| `- error: 'CATransaction' is unavailable in watchOS
81 | CATransaction.setAnimationDuration(UIView.inheritedAnimationDuration)
82 | labelLayer?.attributedText = alignedAttributedText(attributedText, defaultFont: font)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CATransaction.h:34:12: note: 'CATransaction' has been explicitly marked unavailable here
32 |
33 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
34 | @interface CATransaction : NSObject
| `- note: 'CATransaction' has been explicitly marked unavailable here
35 |
36 | /* Begin a new transaction for the current thread; nests. */
/Users/admin/builder/spi-builder-workspace/Sources/LabelKit/LKLabel.swift:81:13: error: 'CATransaction' is unavailable in watchOS
79 | didSet(previousValue) {
80 | CATransaction.begin()
81 | CATransaction.setAnimationDuration(UIView.inheritedAnimationDuration)
| `- error: 'CATransaction' is unavailable in watchOS
82 | labelLayer?.attributedText = alignedAttributedText(attributedText, defaultFont: font)
83 | CATransaction.commit()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CATransaction.h:34:12: note: 'CATransaction' has been explicitly marked unavailable here
32 |
33 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
34 | @interface CATransaction : NSObject
| `- note: 'CATransaction' has been explicitly marked unavailable here
35 |
36 | /* Begin a new transaction for the current thread; nests. */
/Users/admin/builder/spi-builder-workspace/Sources/LabelKit/LKLabel.swift:81:48: error: 'UIView' is unavailable in watchOS
79 | didSet(previousValue) {
80 | CATransaction.begin()
81 | CATransaction.setAnimationDuration(UIView.inheritedAnimationDuration)
| `- error: 'UIView' is unavailable in watchOS
82 | labelLayer?.attributedText = alignedAttributedText(attributedText, defaultFont: font)
83 | CATransaction.commit()
/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/LabelKit/LKLabel.swift:83:13: error: 'CATransaction' is unavailable in watchOS
81 | CATransaction.setAnimationDuration(UIView.inheritedAnimationDuration)
82 | labelLayer?.attributedText = alignedAttributedText(attributedText, defaultFont: font)
83 | CATransaction.commit()
| `- error: 'CATransaction' is unavailable in watchOS
84 | }
85 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CATransaction.h:34:12: note: 'CATransaction' has been explicitly marked unavailable here
32 |
33 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
34 | @interface CATransaction : NSObject
| `- note: 'CATransaction' has been explicitly marked unavailable here
35 |
36 | /* Begin a new transaction for the current thread; nests. */
/Users/admin/builder/spi-builder-workspace/Sources/LabelKit/LKLabel.swift:92:13: error: 'CATransaction' is unavailable in watchOS
90 | override open var text: String? {
91 | didSet(previousValue) {
92 | CATransaction.begin()
| `- error: 'CATransaction' is unavailable in watchOS
93 | CATransaction.setAnimationDuration(UIView.inheritedAnimationDuration)
94 | labelLayer?.attributedText = alignedAttributedText(attributedText, defaultFont: font)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CATransaction.h:34:12: note: 'CATransaction' has been explicitly marked unavailable here
32 |
33 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
34 | @interface CATransaction : NSObject
| `- note: 'CATransaction' has been explicitly marked unavailable here
35 |
36 | /* Begin a new transaction for the current thread; nests. */
/Users/admin/builder/spi-builder-workspace/Sources/LabelKit/LKLabel.swift:93:13: error: 'CATransaction' is unavailable in watchOS
91 | didSet(previousValue) {
92 | CATransaction.begin()
93 | CATransaction.setAnimationDuration(UIView.inheritedAnimationDuration)
| `- error: 'CATransaction' is unavailable in watchOS
94 | labelLayer?.attributedText = alignedAttributedText(attributedText, defaultFont: font)
95 | CATransaction.commit()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CATransaction.h:34:12: note: 'CATransaction' has been explicitly marked unavailable here
32 |
33 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
34 | @interface CATransaction : NSObject
| `- note: 'CATransaction' has been explicitly marked unavailable here
35 |
36 | /* Begin a new transaction for the current thread; nests. */
/Users/admin/builder/spi-builder-workspace/Sources/LabelKit/LKLabel.swift:93:48: error: 'UIView' is unavailable in watchOS
91 | didSet(previousValue) {
92 | CATransaction.begin()
93 | CATransaction.setAnimationDuration(UIView.inheritedAnimationDuration)
| `- error: 'UIView' is unavailable in watchOS
94 | labelLayer?.attributedText = alignedAttributedText(attributedText, defaultFont: font)
95 | CATransaction.commit()
/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/LabelKit/LKLabel.swift:95:13: error: 'CATransaction' is unavailable in watchOS
93 | CATransaction.setAnimationDuration(UIView.inheritedAnimationDuration)
94 | labelLayer?.attributedText = alignedAttributedText(attributedText, defaultFont: font)
95 | CATransaction.commit()
| `- error: 'CATransaction' is unavailable in watchOS
96 | }
97 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CATransaction.h:34:12: note: 'CATransaction' has been explicitly marked unavailable here
32 |
33 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
34 | @interface CATransaction : NSObject
| `- note: 'CATransaction' has been explicitly marked unavailable here
35 |
36 | /* Begin a new transaction for the current thread; nests. */
/Users/admin/builder/spi-builder-workspace/Sources/LabelKit/LKLabelLayer.swift:78:56: error: 'CAAction' is unavailable in watchOS
76 | /// If layer is used without `LKLabel`, also triggers supporting bounds change action.
77 | @objc
78 | override open func action(forKey event: String) -> CAAction? {
| `- error: 'CAAction' is unavailable in watchOS
79 | if event == keyPath(\LKLabelLayer.attributedText) {
80 | let action = textPresentationLayer?.currentTextDidChangeAnimation
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CALayer.h:945:11: note: 'CAAction' has been explicitly marked unavailable here
943 |
944 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
945 | @protocol CAAction
| `- note: 'CAAction' has been explicitly marked unavailable here
946 |
947 | /* Called to trigger the event named 'path' on the receiver. The object
/Users/admin/builder/spi-builder-workspace/Sources/LabelKit/LKLabelLayer.swift:38:26: error: 'CALayer' is unavailable in watchOS
36 |
37 | @objc
38 | open class LKLabelLayer: CALayer {
| `- error: 'CALayer' is unavailable in watchOS
39 | fileprivate var stringDrawingContext: NSStringDrawingContext!
40 | fileprivate var stringDrawingOptions: NSStringDrawingOptions!
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CALayer.h:117:12: note: 'CALayer' has been explicitly marked unavailable here
115 |
116 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
117 | @interface CALayer : NSObject <NSSecureCoding, CAMediaTiming>
| `- note: 'CALayer' has been explicitly marked unavailable here
118 |
119 | /** Layer creation and initialization. **/
/Users/admin/builder/spi-builder-workspace/Sources/LabelKit/LKLabelLayer.swift:224:76: error: 'UITraitCollection' is unavailable in watchOS
222 | }
223 |
224 | override open func traitCollectionDidChange(_ previousTraitCollection: UITraitCollection?) {
| `- error: 'UITraitCollection' is unavailable in watchOS
225 | let actionsDisabled = CATransaction.disableActions()
226 | CATransaction.setDisableActions(true)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITraitCollection.h:23:12: note: 'UITraitCollection' has been explicitly marked unavailable here
21 |
22 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_SENDABLE
23 | @interface UITraitCollection : NSObject <NSCopying, NSSecureCoding>
| `- note: 'UITraitCollection' has been explicitly marked unavailable here
24 |
25 | - (instancetype)init NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/LabelKit/LKLabelLayer.swift:224:24: error: cannot override 'traitCollectionDidChange' which has been marked unavailable
222 | }
223 |
224 | override open func traitCollectionDidChange(_ previousTraitCollection: UITraitCollection?) {
| |- error: cannot override 'traitCollectionDidChange' which has been marked unavailable
| `- note: remove 'override' modifier to declare a new 'traitCollectionDidChange'
225 | let actionsDisabled = CATransaction.disableActions()
226 | CATransaction.setDisableActions(true)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITraitCollection.h:221:1: note: 'traitCollectionDidChange' has been explicitly marked unavailable here
219 |
220 | /*! To be overridden as needed to provide custom behavior when the environment's traits change. */
221 | - (void)traitCollectionDidChange:(nullable UITraitCollection *)previousTraitCollection API_DEPRECATED("Use the trait change registration APIs declared in the UITraitChangeObservable protocol", ios(8.0, 17.0), visionos(1.0, 1.0)) API_UNAVAILABLE(watchos);
| `- note: 'traitCollectionDidChange' has been explicitly marked unavailable here
222 | @end
223 |
/Users/admin/builder/spi-builder-workspace/Sources/LabelKit/LKTextDidChangeAction.swift:183:80: error: 'CABasicAnimation' is unavailable in watchOS
181 | in diffRange: NSRange,
182 | attributeStates: NSMutableDictionary,
183 | duration: TimeInterval) -> [CABasicAnimation]
| `- error: 'CABasicAnimation' is unavailable in watchOS
184 | {
185 | var animations = [CABasicAnimation]()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAAnimation.h:130:12: note: 'CABasicAnimation' has been explicitly marked unavailable here
128 |
129 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
130 | @interface CABasicAnimation : CAPropertyAnimation
| `- note: 'CABasicAnimation' has been explicitly marked unavailable here
131 |
132 | /* The objects defining the property values being interpolated between.
/Users/admin/builder/spi-builder-workspace/Sources/LabelKit/LKTextDidChangeAction.swift:238:112: error: 'CABasicAnimation' is unavailable in watchOS
236 | }
237 |
238 | private static func animationsForAlphaSwap(forKeyPath keyPath: String, fromValue: Any?, toValue: Any?) -> [CABasicAnimation] {
| `- error: 'CABasicAnimation' is unavailable in watchOS
239 | let duration = CATransaction.animationDuration()
240 | guard duration > 0 else { return [CABasicAnimation]() }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAAnimation.h:130:12: note: 'CABasicAnimation' has been explicitly marked unavailable here
128 |
129 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
130 | @interface CABasicAnimation : CAPropertyAnimation
| `- note: 'CABasicAnimation' has been explicitly marked unavailable here
131 |
132 | /* The objects defining the property values being interpolated between.
/Users/admin/builder/spi-builder-workspace/Sources/LabelKit/LKTextDidChangeAction.swift:37:30: error: 'CAAnimationGroup' is unavailable in watchOS
35 | import UIKit
36 |
37 | class LKTextDidChangeAction: CAAnimationGroup {
| `- error: 'CAAnimationGroup' is unavailable in watchOS
38 | private static let LabelLayerFromToAlphaSwapAnimationDuration: TimeInterval = 1.0
39 | private static let attributedStringKeys: [String] = [NSAttributedString.Key.font.rawValue,
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAAnimation.h:383:12: note: 'CAAnimationGroup' has been explicitly marked unavailable here
381 |
382 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
383 | @interface CAAnimationGroup : CAAnimation
| `- note: 'CAAnimationGroup' has been explicitly marked unavailable here
384 |
385 | /* An array of CAAnimation objects. Each member of the array will run
/Users/admin/builder/spi-builder-workspace/Sources/LabelKit/LabelView.swift:79:30: error: cannot find type 'Context' in scope
77 | }
78 |
79 | func makeUIView(context: Context) -> UIViewType {
| `- error: cannot find type 'Context' in scope
80 | let label = UIViewType()
81 | UIView.performWithoutAnimation {
/Users/admin/builder/spi-builder-workspace/Sources/LabelKit/LabelView.swift:89:53: error: cannot find type 'Context' in scope
87 | }
88 |
89 | func updateUIView(_ label: UIViewType, context: Context) {
| `- error: cannot find type 'Context' in scope
90 | label.numberOfLines = numberOfLines
91 | let transaction = context.transaction
/Users/admin/builder/spi-builder-workspace/Sources/LabelKit/LabelView.swift:65:35: error: cannot find type 'UIViewRepresentable' in scope
63 | @available(iOS 13.0.0, *)
64 | @available(tvOS 13.0.0, *)
65 | private struct InternalLabelView: UIViewRepresentable {
| `- error: cannot find type 'UIViewRepresentable' in scope
66 | private static let durationRegEx = try? NSRegularExpression(pattern: "duration: ([\\d\\.]*),",
67 | options: [.caseInsensitive])
Failed frontend command:
SwiftCompile normal arm64_32 (in target 'LabelKit' from project 'LabelKit')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/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/Sources/LabelKit/LKBoundsDidChangeAction.swift /Users/admin/builder/spi-builder-workspace/Sources/LabelKit/LKExtensions.swift /Users/admin/builder/spi-builder-workspace/Sources/LabelKit/LKLabel.swift /Users/admin/builder/spi-builder-workspace/Sources/LabelKit/LKLabelLayer.swift /Users/admin/builder/spi-builder-workspace/Sources/LabelKit/LKTextDidChangeAction.swift /Users/admin/builder/spi-builder-workspace/Sources/LabelKit/LabelView.swift /Users/admin/builder/spi-builder-workspace/Sources/LabelKit/Utils.swift -target arm64_32-apple-watchos9.0 -module-can-import-version SwiftUI 8.0.84.1 8.0.84 -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/libPreviewsMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#PreviewsMacros -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/LabelKit.build/Debug-watchos/LabelKit-t.build/Objects-normal/arm64_32/LabelKit-dependencies-2.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 -profile-generate -profile-coverage-mapping -swift-version 5 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -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/LabelKit.build/Debug-watchos/LabelKit-t.build/DerivedSources-normal/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LabelKit.build/Debug-watchos/LabelKit-t.build/DerivedSources/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LabelKit.build/Debug-watchos/LabelKit-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name LabelKit -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LabelKit.build/Debug-watchos/LabelKit-t.build/Objects-normal/arm64_32/LabelKit_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/LabelKit.build/Debug-watchos/LabelKit-t.build/Objects-normal/arm64_32/LabelKit.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LabelKit.build/Debug-watchos/LabelKit-t.build/Objects-normal/arm64_32/LabelKit.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LabelKit.build/Debug-watchos/LabelKit-t.build/Objects-normal/arm64_32/LabelKit-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LabelKit.build/Debug-watchos/LabelKit-t.build/Objects-normal/arm64_32/LabelKit-primary-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LabelKit.build/Debug-watchos/LabelKit-t.build/Objects-normal/arm64_32/LabelKit-primary-emit-module.d -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LabelKit.build/Debug-watchos/LabelKit-t.build/Objects-normal/arm64_32/LabelKit.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LabelKit.build/Debug-watchos/LabelKit-t.build/Objects-normal/arm64_32/LabelKit.abi.json
SwiftCompile normal arm64_32 Compiling\ LKBoundsDidChangeAction.swift /Users/admin/builder/spi-builder-workspace/Sources/LabelKit/LKBoundsDidChangeAction.swift (in target 'LabelKit' from project 'LabelKit')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/LabelKit/LKBoundsDidChangeAction.swift (in target 'LabelKit' from project 'LabelKit')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile LKBoundsDidChangeAction.swift
/Users/admin/builder/spi-builder-workspace/Sources/LabelKit/LKBoundsDidChangeAction.swift:37:35: error: 'CABasicAnimation' is unavailable in watchOS
35 | import UIKit
36 |
37 | class LKBoundsDidChangeAnimation: CABasicAnimation {
| `- error: 'CABasicAnimation' is unavailable in watchOS
38 | @objc var bounds = CGRect.zero
39 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAAnimation.h:130:12: note: 'CABasicAnimation' has been explicitly marked unavailable here
128 |
129 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
130 | @interface CABasicAnimation : CAPropertyAnimation
| `- note: 'CABasicAnimation' has been explicitly marked unavailable here
131 |
132 | /* The objects defining the property values being interpolated between.
/Users/admin/builder/spi-builder-workspace/Sources/LabelKit/LKBoundsDidChangeAction.swift:50:32: error: 'CAAction' is unavailable in watchOS
48 | }
49 |
50 | class LKBoundsDidChangeAction: CAAction {
| `- error: 'CAAction' is unavailable in watchOS
51 | var pendingAnimation: LKBoundsDidChangeAnimation
52 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CALayer.h:945:11: note: 'CAAction' has been explicitly marked unavailable here
943 |
944 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
945 | @protocol CAAction
| `- note: 'CAAction' has been explicitly marked unavailable here
946 |
947 | /* Called to trigger the event named 'path' on the receiver. The object
/Users/admin/builder/spi-builder-workspace/Sources/LabelKit/LKBoundsDidChangeAction.swift:74:19: error: 'CAAction' is unavailable in watchOS
72 |
73 | class LKCompositeAction: CAAction {
74 | var actions: [CAAction]
| `- error: 'CAAction' is unavailable in watchOS
75 | init(actions: [CAAction]) {
76 | self.actions = actions
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CALayer.h:945:11: note: 'CAAction' has been explicitly marked unavailable here
943 |
944 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
945 | @protocol CAAction
| `- note: 'CAAction' has been explicitly marked unavailable here
946 |
947 | /* Called to trigger the event named 'path' on the receiver. The object
/Users/admin/builder/spi-builder-workspace/Sources/LabelKit/LKBoundsDidChangeAction.swift:75:20: error: 'CAAction' is unavailable in watchOS
73 | class LKCompositeAction: CAAction {
74 | var actions: [CAAction]
75 | init(actions: [CAAction]) {
| `- error: 'CAAction' is unavailable in watchOS
76 | self.actions = actions
77 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CALayer.h:945:11: note: 'CAAction' has been explicitly marked unavailable here
943 |
944 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
945 | @protocol CAAction
| `- note: 'CAAction' has been explicitly marked unavailable here
946 |
947 | /* Called to trigger the event named 'path' on the receiver. The object
/Users/admin/builder/spi-builder-workspace/Sources/LabelKit/LKBoundsDidChangeAction.swift:73:26: error: 'CAAction' is unavailable in watchOS
71 | }
72 |
73 | class LKCompositeAction: CAAction {
| `- error: 'CAAction' is unavailable in watchOS
74 | var actions: [CAAction]
75 | init(actions: [CAAction]) {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CALayer.h:945:11: note: 'CAAction' has been explicitly marked unavailable here
943 |
944 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
945 | @protocol CAAction
| `- note: 'CAAction' has been explicitly marked unavailable here
946 |
947 | /* Called to trigger the event named 'path' on the receiver. The object
/Users/admin/builder/spi-builder-workspace/Sources/LabelKit/LKBoundsDidChangeAction.swift:58:30: error: 'UIView' is unavailable in watchOS
56 | keyPath(rootContextKey, suffix: keyPath(\LKBoundsDidChangeAnimation.bounds)))
57 | animation.fromValue = fromBounds
58 | animation.duration = UIView.inheritedAnimationDuration > 0 ? UIView.inheritedAnimationDuration : CATransaction.animationDuration()
| `- error: 'UIView' is unavailable in watchOS
59 | animation.bounds = fromBounds
60 | animation.timingFunction = CAMediaTimingFunction(name: .easeInEaseOut)
/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/LabelKit/LKBoundsDidChangeAction.swift:58:70: error: 'UIView' is unavailable in watchOS
56 | keyPath(rootContextKey, suffix: keyPath(\LKBoundsDidChangeAnimation.bounds)))
57 | animation.fromValue = fromBounds
58 | animation.duration = UIView.inheritedAnimationDuration > 0 ? UIView.inheritedAnimationDuration : CATransaction.animationDuration()
| `- error: 'UIView' is unavailable in watchOS
59 | animation.bounds = fromBounds
60 | animation.timingFunction = CAMediaTimingFunction(name: .easeInEaseOut)
/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/LabelKit/LKBoundsDidChangeAction.swift:58:106: error: 'CATransaction' is unavailable in watchOS
56 | keyPath(rootContextKey, suffix: keyPath(\LKBoundsDidChangeAnimation.bounds)))
57 | animation.fromValue = fromBounds
58 | animation.duration = UIView.inheritedAnimationDuration > 0 ? UIView.inheritedAnimationDuration : CATransaction.animationDuration()
| `- error: 'CATransaction' is unavailable in watchOS
59 | animation.bounds = fromBounds
60 | animation.timingFunction = CAMediaTimingFunction(name: .easeInEaseOut)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CATransaction.h:34:12: note: 'CATransaction' has been explicitly marked unavailable here
32 |
33 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
34 | @interface CATransaction : NSObject
| `- note: 'CATransaction' has been explicitly marked unavailable here
35 |
36 | /* Begin a new transaction for the current thread; nests. */
/Users/admin/builder/spi-builder-workspace/Sources/LabelKit/LKBoundsDidChangeAction.swift:60:36: error: 'CAMediaTimingFunction' is unavailable in watchOS
58 | animation.duration = UIView.inheritedAnimationDuration > 0 ? UIView.inheritedAnimationDuration : CATransaction.animationDuration()
59 | animation.bounds = fromBounds
60 | animation.timingFunction = CAMediaTimingFunction(name: .easeInEaseOut)
| `- error: 'CAMediaTimingFunction' is unavailable in watchOS
61 | pendingAnimation = animation
62 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAMediaTimingFunction.h:24:12: note: 'CAMediaTimingFunction' has been explicitly marked unavailable here
22 |
23 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
24 | @interface CAMediaTimingFunction : NSObject <NSSecureCoding>
| `- note: 'CAMediaTimingFunction' has been explicitly marked unavailable here
25 | {
26 | @private
SwiftCompile normal arm64_32 Compiling\ LKLabelLayer.swift /Users/admin/builder/spi-builder-workspace/Sources/LabelKit/LKLabelLayer.swift (in target 'LabelKit' from project 'LabelKit')
/Users/admin/builder/spi-builder-workspace/Sources/LabelKit/LKLabelLayer.swift:78:56: error: 'CAAction' is unavailable in watchOS
76 | /// If layer is used without `LKLabel`, also triggers supporting bounds change action.
77 | @objc
78 | override open func action(forKey event: String) -> CAAction? {
| `- error: 'CAAction' is unavailable in watchOS
79 | if event == keyPath(\LKLabelLayer.attributedText) {
80 | let action = textPresentationLayer?.currentTextDidChangeAnimation
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CALayer.h:945:11: note: 'CAAction' has been explicitly marked unavailable here
943 |
944 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
945 | @protocol CAAction
| `- note: 'CAAction' has been explicitly marked unavailable here
946 |
947 | /* Called to trigger the event named 'path' on the receiver. The object
/Users/admin/builder/spi-builder-workspace/Sources/LabelKit/LKLabelLayer.swift:38:26: error: 'CALayer' is unavailable in watchOS
36 |
37 | @objc
38 | open class LKLabelLayer: CALayer {
| `- error: 'CALayer' is unavailable in watchOS
39 | fileprivate var stringDrawingContext: NSStringDrawingContext!
40 | fileprivate var stringDrawingOptions: NSStringDrawingOptions!
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CALayer.h:117:12: note: 'CALayer' has been explicitly marked unavailable here
115 |
116 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
117 | @interface CALayer : NSObject <NSSecureCoding, CAMediaTiming>
| `- note: 'CALayer' has been explicitly marked unavailable here
118 |
119 | /** Layer creation and initialization. **/
/Users/admin/builder/spi-builder-workspace/Sources/LabelKit/LKLabelLayer.swift:224:76: error: 'UITraitCollection' is unavailable in watchOS
222 | }
223 |
224 | override open func traitCollectionDidChange(_ previousTraitCollection: UITraitCollection?) {
| `- error: 'UITraitCollection' is unavailable in watchOS
225 | let actionsDisabled = CATransaction.disableActions()
226 | CATransaction.setDisableActions(true)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITraitCollection.h:23:12: note: 'UITraitCollection' has been explicitly marked unavailable here
21 |
22 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_SENDABLE
23 | @interface UITraitCollection : NSObject <NSCopying, NSSecureCoding>
| `- note: 'UITraitCollection' has been explicitly marked unavailable here
24 |
25 | - (instancetype)init NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/LabelKit/LKLabelLayer.swift:224:24: error: cannot override 'traitCollectionDidChange' which has been marked unavailable
222 | }
223 |
224 | override open func traitCollectionDidChange(_ previousTraitCollection: UITraitCollection?) {
| |- error: cannot override 'traitCollectionDidChange' which has been marked unavailable
| `- note: remove 'override' modifier to declare a new 'traitCollectionDidChange'
225 | let actionsDisabled = CATransaction.disableActions()
226 | CATransaction.setDisableActions(true)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITraitCollection.h:221:1: note: 'traitCollectionDidChange' has been explicitly marked unavailable here
219 |
220 | /*! To be overridden as needed to provide custom behavior when the environment's traits change. */
221 | - (void)traitCollectionDidChange:(nullable UITraitCollection *)previousTraitCollection API_DEPRECATED("Use the trait change registration APIs declared in the UITraitChangeObservable protocol", ios(8.0, 17.0), visionos(1.0, 1.0)) API_UNAVAILABLE(watchos);
| `- note: 'traitCollectionDidChange' has been explicitly marked unavailable here
222 | @end
223 |
/Users/admin/builder/spi-builder-workspace/Sources/LabelKit/LKLabelLayer.swift:87:15: error: 'UIView' is unavailable in watchOS
85 | guard event == keyPath(\CALayer.bounds),
86 | type(of: superAction) != LKCompositeAction.self,
87 | UIView.inheritedAnimationDuration > 0 else { return superAction }
| `- error: 'UIView' is unavailable in watchOS
88 | let textDrawingBoundsAction = LKBoundsDidChangeAction(fromBounds: bounds)
89 | let action: CAAction = superAction != nil ? LKCompositeAction(actions: [superAction!, textDrawingBoundsAction]) : textDrawingBoundsAction
/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/LabelKit/LKLabelLayer.swift:89:21: error: 'CAAction' is unavailable in watchOS
87 | UIView.inheritedAnimationDuration > 0 else { return superAction }
88 | let textDrawingBoundsAction = LKBoundsDidChangeAction(fromBounds: bounds)
89 | let action: CAAction = superAction != nil ? LKCompositeAction(actions: [superAction!, textDrawingBoundsAction]) : textDrawingBoundsAction
| `- error: 'CAAction' is unavailable in watchOS
90 | return action
91 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CALayer.h:945:11: note: 'CAAction' has been explicitly marked unavailable here
943 |
944 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
945 | @protocol CAAction
| `- note: 'CAAction' has been explicitly marked unavailable here
946 |
947 | /* Called to trigger the event named 'path' on the receiver. The object
/Users/admin/builder/spi-builder-workspace/Sources/LabelKit/LKLabelLayer.swift:164:112: error: 'contentsScale' is unavailable in watchOS
162 | if stringDrawingOptions.contains(.usesLineFragmentOrigin) {
163 | if adjustsTextForCustomLineHeight, let lastParagraphStyle = text.attribute(.paragraphStyle, at: text.length - 1, effectiveRange: nil) as? NSParagraphStyle {
164 | result.origin.y = roundToPixels(result.origin.y + lastParagraphStyle.lineSpacing / 2.0, scale: contentsScale)
| `- error: 'contentsScale' is unavailable in watchOS
165 | }
166 | } else {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CALayer.h:406:19: note: 'contentsScale' has been explicitly marked unavailable here
404 | * as large as the layer bounds). Defaults to one. Animatable. */
405 |
406 | @property CGFloat contentsScale
| `- note: 'contentsScale' has been explicitly marked unavailable here
407 | API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0)) API_UNAVAILABLE(watchos);
408 |
/Users/admin/builder/spi-builder-workspace/Sources/LabelKit/LKLabelLayer.swift:170:125: error: 'contentsScale' is unavailable in watchOS
168 | let firstFont = text.attribute(.font, at: 0, effectiveRange: nil) as? UIFont {
169 | let lineHeightCompensation = adjustsTextForCustomLineHeight && firstParagraphStyle.lineHeightMultiple > 0 ? firstParagraphStyle.lineHeightMultiple * firstFont.lineHeight - firstFont.lineHeight : 0.0
170 | result.origin.y = roundToPixels(result.origin.y + lineHeightCompensation * 1.5 + firstFont.ascender, scale: contentsScale)
| `- error: 'contentsScale' is unavailable in watchOS
171 | }
172 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CALayer.h:406:19: note: 'contentsScale' has been explicitly marked unavailable here
404 | * as large as the layer bounds). Defaults to one. Animatable. */
405 |
406 | @property CGFloat contentsScale
| `- note: 'contentsScale' has been explicitly marked unavailable here
407 | API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0)) API_UNAVAILABLE(watchos);
408 |
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/LabelKit/LKLabelLayer.swift (in target 'LabelKit' from project 'LabelKit')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile LKLabelLayer.swift
/Users/admin/builder/spi-builder-workspace/Sources/LabelKit/LKLabelLayer.swift:225:31: error: 'CATransaction' is unavailable in watchOS
223 |
224 | override open func traitCollectionDidChange(_ previousTraitCollection: UITraitCollection?) {
225 | let actionsDisabled = CATransaction.disableActions()
| `- error: 'CATransaction' is unavailable in watchOS
226 | CATransaction.setDisableActions(true)
227 | super.traitCollectionDidChange(previousTraitCollection)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CATransaction.h:34:12: note: 'CATransaction' has been explicitly marked unavailable here
32 |
33 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
34 | @interface CATransaction : NSObject
| `- note: 'CATransaction' has been explicitly marked unavailable here
35 |
36 | /* Begin a new transaction for the current thread; nests. */
/Users/admin/builder/spi-builder-workspace/Sources/LabelKit/LKLabelLayer.swift:226:9: error: 'CATransaction' is unavailable in watchOS
224 | override open func traitCollectionDidChange(_ previousTraitCollection: UITraitCollection?) {
225 | let actionsDisabled = CATransaction.disableActions()
226 | CATransaction.setDisableActions(true)
| `- error: 'CATransaction' is unavailable in watchOS
227 | super.traitCollectionDidChange(previousTraitCollection)
228 | CATransaction.setDisableActions(actionsDisabled)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CATransaction.h:34:12: note: 'CATransaction' has been explicitly marked unavailable here
32 |
33 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
34 | @interface CATransaction : NSObject
| `- note: 'CATransaction' has been explicitly marked unavailable here
35 |
36 | /* Begin a new transaction for the current thread; nests. */
/Users/admin/builder/spi-builder-workspace/Sources/LabelKit/LKLabelLayer.swift:227:15: error: 'traitCollectionDidChange' is unavailable in watchOS
225 | let actionsDisabled = CATransaction.disableActions()
226 | CATransaction.setDisableActions(true)
227 | super.traitCollectionDidChange(previousTraitCollection)
| `- error: 'traitCollectionDidChange' is unavailable in watchOS
228 | CATransaction.setDisableActions(actionsDisabled)
229 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITraitCollection.h:221:1: note: 'traitCollectionDidChange' has been explicitly marked unavailable here
219 |
220 | /*! To be overridden as needed to provide custom behavior when the environment's traits change. */
221 | - (void)traitCollectionDidChange:(nullable UITraitCollection *)previousTraitCollection API_DEPRECATED("Use the trait change registration APIs declared in the UITraitChangeObservable protocol", ios(8.0, 17.0), visionos(1.0, 1.0)) API_UNAVAILABLE(watchos);
| `- note: 'traitCollectionDidChange' has been explicitly marked unavailable here
222 | @end
223 |
SwiftCompile normal arm64_32 Compiling\ LKExtensions.swift /Users/admin/builder/spi-builder-workspace/Sources/LabelKit/LKExtensions.swift (in target 'LabelKit' from project 'LabelKit')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/LabelKit/LKExtensions.swift (in target 'LabelKit' from project 'LabelKit')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile LKExtensions.swift
SwiftCompile normal arm64_32 Compiling\ LKTextDidChangeAction.swift /Users/admin/builder/spi-builder-workspace/Sources/LabelKit/LKTextDidChangeAction.swift (in target 'LabelKit' from project 'LabelKit')
/Users/admin/builder/spi-builder-workspace/Sources/LabelKit/LKTextDidChangeAction.swift:183:80: error: 'CABasicAnimation' is unavailable in watchOS
181 | in diffRange: NSRange,
182 | attributeStates: NSMutableDictionary,
183 | duration: TimeInterval) -> [CABasicAnimation]
| `- error: 'CABasicAnimation' is unavailable in watchOS
184 | {
185 | var animations = [CABasicAnimation]()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAAnimation.h:130:12: note: 'CABasicAnimation' has been explicitly marked unavailable here
128 |
129 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
130 | @interface CABasicAnimation : CAPropertyAnimation
| `- note: 'CABasicAnimation' has been explicitly marked unavailable here
131 |
132 | /* The objects defining the property values being interpolated between.
/Users/admin/builder/spi-builder-workspace/Sources/LabelKit/LKTextDidChangeAction.swift:238:112: error: 'CABasicAnimation' is unavailable in watchOS
236 | }
237 |
238 | private static func animationsForAlphaSwap(forKeyPath keyPath: String, fromValue: Any?, toValue: Any?) -> [CABasicAnimation] {
| `- error: 'CABasicAnimation' is unavailable in watchOS
239 | let duration = CATransaction.animationDuration()
240 | guard duration > 0 else { return [CABasicAnimation]() }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAAnimation.h:130:12: note: 'CABasicAnimation' has been explicitly marked unavailable here
128 |
129 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
130 | @interface CABasicAnimation : CAPropertyAnimation
| `- note: 'CABasicAnimation' has been explicitly marked unavailable here
131 |
132 | /* The objects defining the property values being interpolated between.
/Users/admin/builder/spi-builder-workspace/Sources/LabelKit/LKTextDidChangeAction.swift:37:30: error: 'CAAnimationGroup' is unavailable in watchOS
35 | import UIKit
36 |
37 | class LKTextDidChangeAction: CAAnimationGroup {
| `- error: 'CAAnimationGroup' is unavailable in watchOS
38 | private static let LabelLayerFromToAlphaSwapAnimationDuration: TimeInterval = 1.0
39 | private static let attributedStringKeys: [String] = [NSAttributedString.Key.font.rawValue,
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAAnimation.h:383:12: note: 'CAAnimationGroup' has been explicitly marked unavailable here
381 |
382 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
383 | @interface CAAnimationGroup : CAAnimation
| `- note: 'CAAnimationGroup' has been explicitly marked unavailable here
384 |
385 | /* An array of CAAnimation objects. Each member of the array will run
/Users/admin/builder/spi-builder-workspace/Sources/LabelKit/LKTextDidChangeAction.swift:91:24: error: 'CATransaction' is unavailable in watchOS
89 | override func run(forKey event: String, object anObject: Any, arguments dict: [AnyHashable: Any]?) {
90 | guard let textLayer = anObject as? LKLabelLayer, event == keyPath(\LKLabelLayer.attributedText) else { return }
91 | let duration = CATransaction.animationDuration()
| `- error: 'CATransaction' is unavailable in watchOS
92 | toAttributedText = textLayer.attributedText
93 | if fromAttributedText != toAttributedText {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CATransaction.h:34:12: note: 'CATransaction' has been explicitly marked unavailable here
32 |
33 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
34 | @interface CATransaction : NSObject
| `- note: 'CATransaction' has been explicitly marked unavailable here
35 |
36 | /* Begin a new transaction for the current thread; nests. */
/Users/admin/builder/spi-builder-workspace/Sources/LabelKit/LKTextDidChangeAction.swift:94:31: error: 'CABasicAnimation' is unavailable in watchOS
92 | toAttributedText = textLayer.attributedText
93 | if fromAttributedText != toAttributedText {
94 | var animations = [CABasicAnimation]()
| `- error: 'CABasicAnimation' is unavailable in watchOS
95 | let rootAttributesKey = keyPath(\LKLabelLayer.currentTextDidChangeAnimation?.interpolatedAttributeStates)
96 | let shouldAnimateAlpha = (fromAttributedText != nil || toAttributedText != nil) && fromAttributedText?.string != toAttributedText?.string
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAAnimation.h:130:12: note: 'CABasicAnimation' has been explicitly marked unavailable here
128 |
129 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
130 | @interface CABasicAnimation : CAPropertyAnimation
| `- note: 'CABasicAnimation' has been explicitly marked unavailable here
131 |
132 | /* The objects defining the property values being interpolated between.
/Users/admin/builder/spi-builder-workspace/Sources/LabelKit/LKTextDidChangeAction.swift:136:34: error: 'CAMediaTimingFunction' is unavailable in watchOS
134 | self.animations = animations
135 | self.duration = duration
136 | timingFunction = CAMediaTimingFunction(name: .easeInEaseOut)
| `- error: 'CAMediaTimingFunction' is unavailable in watchOS
137 | textLayer.add(self, forKey: keyPath(\LKLabelLayer.attributedText))
138 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAMediaTimingFunction.h:24:12: note: 'CAMediaTimingFunction' has been explicitly marked unavailable here
22 |
23 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
24 | @interface CAMediaTimingFunction : NSObject <NSSecureCoding>
| `- note: 'CAMediaTimingFunction' has been explicitly marked unavailable here
25 | {
26 | @private
/Users/admin/builder/spi-builder-workspace/Sources/LabelKit/LKTextDidChangeAction.swift:136:63: error: 'easeInEaseOut' is unavailable in watchOS
134 | self.animations = animations
135 | self.duration = duration
136 | timingFunction = CAMediaTimingFunction(name: .easeInEaseOut)
| `- error: 'easeInEaseOut' is unavailable in watchOS
137 | textLayer.add(self, forKey: keyPath(\LKLabelLayer.attributedText))
138 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAMediaTimingFunction.h:60:43: note: 'easeInEaseOut' has been explicitly marked unavailable here
58 | CA_EXTERN CAMediaTimingFunctionName const kCAMediaTimingFunctionEaseOut
59 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos);
60 | CA_EXTERN CAMediaTimingFunctionName const kCAMediaTimingFunctionEaseInEaseOut
| `- note: 'easeInEaseOut' has been explicitly marked unavailable here
61 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos);
62 | CA_EXTERN CAMediaTimingFunctionName const kCAMediaTimingFunctionDefault
/Users/admin/builder/spi-builder-workspace/Sources/LabelKit/LKTextDidChangeAction.swift:185:27: error: 'CABasicAnimation' is unavailable in watchOS
183 | duration: TimeInterval) -> [CABasicAnimation]
184 | {
185 | var animations = [CABasicAnimation]()
| `- error: 'CABasicAnimation' is unavailable in watchOS
186 | let appendAnimation: (_ keyPath: String, _ from: Any?, _ to: Any?) -> Void = { keyPath, from, to in
187 | let animation = CABasicAnimation(forKeyPath: keyPath, fromValue: from, toValue: to, duration: duration)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAAnimation.h:130:12: note: 'CABasicAnimation' has been explicitly marked unavailable here
128 |
129 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
130 | @interface CABasicAnimation : CAPropertyAnimation
| `- note: 'CABasicAnimation' has been explicitly marked unavailable here
131 |
132 | /* The objects defining the property values being interpolated between.
/Users/admin/builder/spi-builder-workspace/Sources/LabelKit/LKTextDidChangeAction.swift:187:29: error: 'CABasicAnimation' is unavailable in watchOS
185 | var animations = [CABasicAnimation]()
186 | let appendAnimation: (_ keyPath: String, _ from: Any?, _ to: Any?) -> Void = { keyPath, from, to in
187 | let animation = CABasicAnimation(forKeyPath: keyPath, fromValue: from, toValue: to, duration: duration)
| `- error: 'CABasicAnimation' is unavailable in watchOS
188 | animations.append(animation)
189 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAAnimation.h:130:12: note: 'CABasicAnimation' has been explicitly marked unavailable here
128 |
129 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
130 | @interface CABasicAnimation : CAPropertyAnimation
| `- note: 'CABasicAnimation' has been explicitly marked unavailable here
131 |
132 | /* The objects defining the property values being interpolated between.
/Users/admin/builder/spi-builder-workspace/Sources/LabelKit/LKTextDidChangeAction.swift:239:24: error: 'CATransaction' is unavailable in watchOS
237 |
238 | private static func animationsForAlphaSwap(forKeyPath keyPath: String, fromValue: Any?, toValue: Any?) -> [CABasicAnimation] {
239 | let duration = CATransaction.animationDuration()
| `- error: 'CATransaction' is unavailable in watchOS
240 | guard duration > 0 else { return [CABasicAnimation]() }
241 | let alphaSwapDuration = min(LabelLayerFromToAlphaSwapAnimationDuration, 0.5 * duration)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CATransaction.h:34:12: note: 'CATransaction' has been explicitly marked unavailable here
32 |
33 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
34 | @interface CATransaction : NSObject
| `- note: 'CATransaction' has been explicitly marked unavailable here
35 |
36 | /* Begin a new transaction for the current thread; nests. */
/Users/admin/builder/spi-builder-workspace/Sources/LabelKit/LKTextDidChangeAction.swift:240:43: error: 'CABasicAnimation' is unavailable in watchOS
238 | private static func animationsForAlphaSwap(forKeyPath keyPath: String, fromValue: Any?, toValue: Any?) -> [CABasicAnimation] {
239 | let duration = CATransaction.animationDuration()
240 | guard duration > 0 else { return [CABasicAnimation]() }
| `- error: 'CABasicAnimation' is unavailable in watchOS
241 | let alphaSwapDuration = min(LabelLayerFromToAlphaSwapAnimationDuration, 0.5 * duration)
242 | let alphaPersistDuration = (duration - alphaSwapDuration) / 2.0
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAAnimation.h:130:12: note: 'CABasicAnimation' has been explicitly marked unavailable here
128 |
129 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
130 | @interface CABasicAnimation : CAPropertyAnimation
| `- note: 'CABasicAnimation' has been explicitly marked unavailable here
131 |
132 | /* The objects defining the property values being interpolated between.
/Users/admin/builder/spi-builder-workspace/Sources/LabelKit/LKTextDidChangeAction.swift:243:41: error: 'CABasicAnimation' is unavailable in watchOS
241 | let alphaSwapDuration = min(LabelLayerFromToAlphaSwapAnimationDuration, 0.5 * duration)
242 | let alphaPersistDuration = (duration - alphaSwapDuration) / 2.0
243 | let persistFromAlphaAnimation = CABasicAnimation(forKeyPath: keyPath, fromValue: fromValue, toValue: fromValue, duration: alphaPersistDuration)
| `- error: 'CABasicAnimation' is unavailable in watchOS
244 | let swapAlphaAnimation = CABasicAnimation(forKeyPath: keyPath, fromValue: fromValue, toValue: toValue, duration: alphaSwapDuration)
245 | let persistToAlphaAnimation = CABasicAnimation(forKeyPath: keyPath, fromValue: toValue, toValue: toValue, duration: alphaPersistDuration)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAAnimation.h:130:12: note: 'CABasicAnimation' has been explicitly marked unavailable here
128 |
129 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
130 | @interface CABasicAnimation : CAPropertyAnimation
| `- note: 'CABasicAnimation' has been explicitly marked unavailable here
131 |
132 | /* The objects defining the property values being interpolated between.
/Users/admin/builder/spi-builder-workspace/Sources/LabelKit/LKTextDidChangeAction.swift:244:34: error: 'CABasicAnimation' is unavailable in watchOS
242 | let alphaPersistDuration = (duration - alphaSwapDuration) / 2.0
243 | let persistFromAlphaAnimation = CABasicAnimation(forKeyPath: keyPath, fromValue: fromValue, toValue: fromValue, duration: alphaPersistDuration)
244 | let swapAlphaAnimation = CABasicAnimation(forKeyPath: keyPath, fromValue: fromValue, toValue: toValue, duration: alphaSwapDuration)
| `- error: 'CABasicAnimation' is unavailable in watchOS
245 | let persistToAlphaAnimation = CABasicAnimation(forKeyPath: keyPath, fromValue: toValue, toValue: toValue, duration: alphaPersistDuration)
246 | persistFromAlphaAnimation.beginTime = 0
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAAnimation.h:130:12: note: 'CABasicAnimation' has been explicitly marked unavailable here
128 |
129 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
130 | @interface CABasicAnimation : CAPropertyAnimation
| `- note: 'CABasicAnimation' has been explicitly marked unavailable here
131 |
132 | /* The objects defining the property values being interpolated between.
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/LabelKit/LKTextDidChangeAction.swift (in target 'LabelKit' from project 'LabelKit')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile LKTextDidChangeAction.swift
SwiftCompile normal arm64_32 Compiling\ LabelView.swift /Users/admin/builder/spi-builder-workspace/Sources/LabelKit/LabelView.swift (in target 'LabelKit' from project 'LabelKit')
/Users/admin/builder/spi-builder-workspace/Sources/LabelKit/LabelView.swift:79:30: error: cannot find type 'Context' in scope
77 | }
78 |
79 | func makeUIView(context: Context) -> UIViewType {
| `- error: cannot find type 'Context' in scope
80 | let label = UIViewType()
81 | UIView.performWithoutAnimation {
/Users/admin/builder/spi-builder-workspace/Sources/LabelKit/LabelView.swift:89:53: error: cannot find type 'Context' in scope
87 | }
88 |
89 | func updateUIView(_ label: UIViewType, context: Context) {
| `- error: cannot find type 'Context' in scope
90 | label.numberOfLines = numberOfLines
91 | let transaction = context.transaction
/Users/admin/builder/spi-builder-workspace/Sources/LabelKit/LabelView.swift:65:35: error: cannot find type 'UIViewRepresentable' in scope
63 | @available(iOS 13.0.0, *)
64 | @available(tvOS 13.0.0, *)
65 | private struct InternalLabelView: UIViewRepresentable {
| `- error: cannot find type 'UIViewRepresentable' in scope
66 | private static let durationRegEx = try? NSRegularExpression(pattern: "duration: ([\\d\\.]*),",
67 | options: [.caseInsensitive])
/Users/admin/builder/spi-builder-workspace/Sources/LabelKit/LabelView.swift:59:9: error: return type of property 'internalLabelView' requires that 'InternalLabelView' conform to 'View'
56 | }
57 |
58 | var internalLabelView: some View {
| `- note: opaque return type declared here
59 | InternalLabelView(attributedText: attributedText)
| `- error: return type of property 'internalLabelView' requires that 'InternalLabelView' conform to 'View'
60 | }
61 | }
/Users/admin/builder/spi-builder-workspace/Sources/LabelKit/LabelView.swift:80:21: error: 'init()' is unavailable in watchOS
78 |
79 | func makeUIView(context: Context) -> UIViewType {
80 | let label = UIViewType()
| `- error: 'init()' is unavailable in watchOS
81 | UIView.performWithoutAnimation {
82 | label.numberOfLines = numberOfLines
/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:158:1: note: 'init()' has been explicitly marked unavailable here
156 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER;
157 | - (nullable instancetype)initWithCoder:(NSCoder *)coder NS_DESIGNATED_INITIALIZER;
158 | - (instancetype)init API_AVAILABLE(ios(2.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
| `- note: 'init()' has been explicitly marked unavailable here
159 |
160 | @property(nonatomic,getter=isUserInteractionEnabled) BOOL userInteractionEnabled; // default is YES. if set to NO, user events (touch, keys) are ignored and removed from the event queue.
/Users/admin/builder/spi-builder-workspace/Sources/LabelKit/LabelView.swift:81:9: error: 'UIView' is unavailable in watchOS
79 | func makeUIView(context: Context) -> UIViewType {
80 | let label = UIViewType()
81 | UIView.performWithoutAnimation {
| `- error: 'UIView' is unavailable in watchOS
82 | label.numberOfLines = numberOfLines
83 | label.attributedText = attributedText
/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/LabelKit/LabelView.swift:84:46: error: 'defaultHigh' is unavailable in watchOS
82 | label.numberOfLines = numberOfLines
83 | label.attributedText = attributedText
84 | label.setContentHuggingPriority(.defaultHigh, for: .vertical)
| `- error: 'defaultHigh' is unavailable in watchOS
85 | }
86 | return label
UIKit.UILayoutPriority.defaultHigh:3:21: note: 'defaultHigh' has been explicitly marked unavailable here
1 | struct UILayoutPriority {
2 | @available(watchOS, unavailable)
3 | public static var defaultHigh: UILayoutPriority { get }}
| `- note: 'defaultHigh' has been explicitly marked unavailable here
4 |
/Users/admin/builder/spi-builder-workspace/Sources/LabelKit/LabelView.swift:112:13: error: 'UIView' is unavailable in watchOS
110 |
111 | if duration > 0 && !transaction.disablesAnimations {
112 | UIView.animate(withDuration: duration, delay: 0, options: .curveEaseInOut, animations: setter, completion: nil)
| `- error: 'UIView' is unavailable in watchOS
113 | } else {
114 | UIView.performWithoutAnimation(setter)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/LabelKit/LabelView.swift (in target 'LabelKit' from project 'LabelKit')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile LabelView.swift
SwiftCompile normal arm64_32 Compiling\ Utils.swift /Users/admin/builder/spi-builder-workspace/Sources/LabelKit/Utils.swift (in target 'LabelKit' from project 'LabelKit')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/LabelKit/Utils.swift (in target 'LabelKit' from project 'LabelKit')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile Utils.swift
SwiftCompile normal arm64_32 Compiling\ LKLabel.swift /Users/admin/builder/spi-builder-workspace/Sources/LabelKit/LKLabel.swift (in target 'LabelKit' from project 'LabelKit')
/Users/admin/builder/spi-builder-workspace/Sources/LabelKit/LKLabel.swift:108:42: error: 'CALayer' is unavailable in watchOS
106 | /// Triggers bounds animation which provides public access to interpolated bounds during the text animation.
107 | @objc
108 | override open func action(for layer: CALayer, forKey event: String) -> CAAction? {
| `- error: 'CALayer' is unavailable in watchOS
109 | let result = super.action(for: layer, forKey: event)
110 | if event == keyPath(\CALayer.bounds), result != nil, UIView.inheritedAnimationDuration > 0 {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CALayer.h:117:12: note: 'CALayer' has been explicitly marked unavailable here
115 |
116 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
117 | @interface CALayer : NSObject <NSSecureCoding, CAMediaTiming>
| `- note: 'CALayer' has been explicitly marked unavailable here
118 |
119 | /** Layer creation and initialization. **/
/Users/admin/builder/spi-builder-workspace/Sources/LabelKit/LKLabel.swift:108:76: error: 'CAAction' is unavailable in watchOS
106 | /// Triggers bounds animation which provides public access to interpolated bounds during the text animation.
107 | @objc
108 | override open func action(for layer: CALayer, forKey event: String) -> CAAction? {
| `- error: 'CAAction' is unavailable in watchOS
109 | let result = super.action(for: layer, forKey: event)
110 | if event == keyPath(\CALayer.bounds), result != nil, UIView.inheritedAnimationDuration > 0 {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CALayer.h:945:11: note: 'CAAction' has been explicitly marked unavailable here
943 |
944 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
945 | @protocol CAAction
| `- note: 'CAAction' has been explicitly marked unavailable here
946 |
947 | /* Called to trigger the event named 'path' on the receiver. The object
/Users/admin/builder/spi-builder-workspace/Sources/LabelKit/LKLabel.swift:120:41: error: 'CALayer' is unavailable in watchOS
118 | /// Draws the text. Called by the layer, must not be explicitly called by consumers.
119 | @objc
120 | override open func display(_ layer: CALayer) {
| `- error: 'CALayer' is unavailable in watchOS
121 | if let labelLayer = layer as? LKLabelLayer {
122 | let textDrawingBoundsAction = labelLayer.currentBoundsDidChangeAnimation
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CALayer.h:117:12: note: 'CALayer' has been explicitly marked unavailable here
115 |
116 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
117 | @interface CALayer : NSObject <NSSecureCoding, CAMediaTiming>
| `- note: 'CALayer' has been explicitly marked unavailable here
118 |
119 | /** Layer creation and initialization. **/
/Users/admin/builder/spi-builder-workspace/Sources/LabelKit/LKLabel.swift:40:21: error: 'UILabel' is unavailable in watchOS
38 | /// Only `.byTruncatingTail` line break mode is supported.
39 | @objc
40 | open class LKLabel: UILabel {
| `- error: 'UILabel' is unavailable in watchOS
41 | @objc
42 | public weak var delegate: AnyObject?
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILabel.h:33:12: note: 'UILabel' has been explicitly marked unavailable here
31 |
32 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
33 | @interface UILabel : UIView <NSCoding, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
| `- note: 'UILabel' has been explicitly marked unavailable here
34 |
35 | @property(nullable, nonatomic,copy) NSString *text; // default is nil
/Users/admin/builder/spi-builder-workspace/Sources/LabelKit/LKLabel.swift:65:21: error: 'contentsScale' is unavailable in watchOS
63 | labelLayer?.isOpaque = false
64 | labelLayer?.needsDisplayOnBoundsChange = true
65 | labelLayer?.contentsScale = UIScreen.main.scale
| `- error: 'contentsScale' is unavailable in watchOS
66 | let minimumScaleFactor = self.minimumScaleFactor
67 | let numberOfLines = self.numberOfLines
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CALayer.h:406:19: note: 'contentsScale' has been explicitly marked unavailable here
404 | * as large as the layer bounds). Defaults to one. Animatable. */
405 |
406 | @property CGFloat contentsScale
| `- note: 'contentsScale' has been explicitly marked unavailable here
407 | API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0)) API_UNAVAILABLE(watchos);
408 |
/Users/admin/builder/spi-builder-workspace/Sources/LabelKit/LKLabel.swift:65:37: error: 'UIScreen' is unavailable in watchOS
63 | labelLayer?.isOpaque = false
64 | labelLayer?.needsDisplayOnBoundsChange = true
65 | labelLayer?.contentsScale = UIScreen.main.scale
| `- error: 'UIScreen' is unavailable in watchOS
66 | let minimumScaleFactor = self.minimumScaleFactor
67 | let numberOfLines = self.numberOfLines
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScreen.h:54:12: note: 'UIScreen' has been explicitly marked unavailable here
52 |
53 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(visionos, watchos) NS_SWIFT_UI_ACTOR
54 | @interface UIScreen : NSObject <UITraitEnvironment>
| `- note: 'UIScreen' has been explicitly marked unavailable here
55 |
56 | @property(class, nonatomic, readonly) NSArray<UIScreen *> *screens API_DEPRECATED("Use UIApplication.shared.openSessions to find open sessions with scenes from other screens", ios(3.2, 16.0), visionos(1.0, 1.0)) API_UNAVAILABLE(watchos); // all screens currently attached to the device
/Users/admin/builder/spi-builder-workspace/Sources/LabelKit/LKLabel.swift:65:46: error: 'main' is unavailable in watchOS
63 | labelLayer?.isOpaque = false
64 | labelLayer?.needsDisplayOnBoundsChange = true
65 | labelLayer?.contentsScale = UIScreen.main.scale
| `- error: 'main' is unavailable in watchOS
66 | let minimumScaleFactor = self.minimumScaleFactor
67 | let numberOfLines = self.numberOfLines
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScreen.h:57:49: note: 'main' has been explicitly marked unavailable here
55 |
56 | @property(class, nonatomic, readonly) NSArray<UIScreen *> *screens API_DEPRECATED("Use UIApplication.shared.openSessions to find open sessions with scenes from other screens", ios(3.2, 16.0), visionos(1.0, 1.0)) API_UNAVAILABLE(watchos); // all screens currently attached to the device
57 | @property(class, nonatomic, readonly) UIScreen *mainScreen API_DEPRECATED("Use a UIScreen instance found through context instead (i.e, view.window.windowScene.screen), or for properties like UIScreen.scale with trait equivalents, use a traitCollection found through context.", ios(2.0, 26.0), tvos(9.0, 26.0), visionos(1.0, 26.0)) API_UNAVAILABLE(watchos);
| `- note: 'main' has been explicitly marked unavailable here
58 |
59 | @property(nonatomic,readonly) CGRect bounds; // Bounds of entire screen in points
/Users/admin/builder/spi-builder-workspace/Sources/LabelKit/LKLabel.swift:80:13: error: 'CATransaction' is unavailable in watchOS
78 | @objc override open var attributedText: NSAttributedString? {
79 | didSet(previousValue) {
80 | CATransaction.begin()
| `- error: 'CATransaction' is unavailable in watchOS
81 | CATransaction.setAnimationDuration(UIView.inheritedAnimationDuration)
82 | labelLayer?.attributedText = alignedAttributedText(attributedText, defaultFont: font)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CATransaction.h:34:12: note: 'CATransaction' has been explicitly marked unavailable here
32 |
33 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
34 | @interface CATransaction : NSObject
| `- note: 'CATransaction' has been explicitly marked unavailable here
35 |
36 | /* Begin a new transaction for the current thread; nests. */
/Users/admin/builder/spi-builder-workspace/Sources/LabelKit/LKLabel.swift:81:13: error: 'CATransaction' is unavailable in watchOS
79 | didSet(previousValue) {
80 | CATransaction.begin()
81 | CATransaction.setAnimationDuration(UIView.inheritedAnimationDuration)
| `- error: 'CATransaction' is unavailable in watchOS
82 | labelLayer?.attributedText = alignedAttributedText(attributedText, defaultFont: font)
83 | CATransaction.commit()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CATransaction.h:34:12: note: 'CATransaction' has been explicitly marked unavailable here
32 |
33 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
34 | @interface CATransaction : NSObject
| `- note: 'CATransaction' has been explicitly marked unavailable here
35 |
36 | /* Begin a new transaction for the current thread; nests. */
/Users/admin/builder/spi-builder-workspace/Sources/LabelKit/LKLabel.swift:81:48: error: 'UIView' is unavailable in watchOS
79 | didSet(previousValue) {
80 | CATransaction.begin()
81 | CATransaction.setAnimationDuration(UIView.inheritedAnimationDuration)
| `- error: 'UIView' is unavailable in watchOS
82 | labelLayer?.attributedText = alignedAttributedText(attributedText, defaultFont: font)
83 | CATransaction.commit()
/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/LabelKit/LKLabel.swift:83:13: error: 'CATransaction' is unavailable in watchOS
81 | CATransaction.setAnimationDuration(UIView.inheritedAnimationDuration)
82 | labelLayer?.attributedText = alignedAttributedText(attributedText, defaultFont: font)
83 | CATransaction.commit()
| `- error: 'CATransaction' is unavailable in watchOS
84 | }
85 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CATransaction.h:34:12: note: 'CATransaction' has been explicitly marked unavailable here
32 |
33 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
34 | @interface CATransaction : NSObject
| `- note: 'CATransaction' has been explicitly marked unavailable here
35 |
36 | /* Begin a new transaction for the current thread; nests. */
/Users/admin/builder/spi-builder-workspace/Sources/LabelKit/LKLabel.swift:92:13: error: 'CATransaction' is unavailable in watchOS
90 | override open var text: String? {
91 | didSet(previousValue) {
92 | CATransaction.begin()
| `- error: 'CATransaction' is unavailable in watchOS
93 | CATransaction.setAnimationDuration(UIView.inheritedAnimationDuration)
94 | labelLayer?.attributedText = alignedAttributedText(attributedText, defaultFont: font)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CATransaction.h:34:12: note: 'CATransaction' has been explicitly marked unavailable here
32 |
33 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
34 | @interface CATransaction : NSObject
| `- note: 'CATransaction' has been explicitly marked unavailable here
35 |
36 | /* Begin a new transaction for the current thread; nests. */
/Users/admin/builder/spi-builder-workspace/Sources/LabelKit/LKLabel.swift:93:13: error: 'CATransaction' is unavailable in watchOS
91 | didSet(previousValue) {
92 | CATransaction.begin()
93 | CATransaction.setAnimationDuration(UIView.inheritedAnimationDuration)
| `- error: 'CATransaction' is unavailable in watchOS
94 | labelLayer?.attributedText = alignedAttributedText(attributedText, defaultFont: font)
95 | CATransaction.commit()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CATransaction.h:34:12: note: 'CATransaction' has been explicitly marked unavailable here
32 |
33 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
34 | @interface CATransaction : NSObject
| `- note: 'CATransaction' has been explicitly marked unavailable here
35 |
36 | /* Begin a new transaction for the current thread; nests. */
/Users/admin/builder/spi-builder-workspace/Sources/LabelKit/LKLabel.swift:93:48: error: 'UIView' is unavailable in watchOS
91 | didSet(previousValue) {
92 | CATransaction.begin()
93 | CATransaction.setAnimationDuration(UIView.inheritedAnimationDuration)
| `- error: 'UIView' is unavailable in watchOS
94 | labelLayer?.attributedText = alignedAttributedText(attributedText, defaultFont: font)
95 | CATransaction.commit()
/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/LabelKit/LKLabel.swift:95:13: error: 'CATransaction' is unavailable in watchOS
93 | CATransaction.setAnimationDuration(UIView.inheritedAnimationDuration)
94 | labelLayer?.attributedText = alignedAttributedText(attributedText, defaultFont: font)
95 | CATransaction.commit()
| `- error: 'CATransaction' is unavailable in watchOS
96 | }
97 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CATransaction.h:34:12: note: 'CATransaction' has been explicitly marked unavailable here
32 |
33 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
34 | @interface CATransaction : NSObject
| `- note: 'CATransaction' has been explicitly marked unavailable here
35 |
36 | /* Begin a new transaction for the current thread; nests. */
/Users/admin/builder/spi-builder-workspace/Sources/LabelKit/LKLabel.swift:110:62: error: 'UIView' is unavailable in watchOS
108 | override open func action(for layer: CALayer, forKey event: String) -> CAAction? {
109 | let result = super.action(for: layer, forKey: event)
110 | if event == keyPath(\CALayer.bounds), result != nil, UIView.inheritedAnimationDuration > 0 {
| `- error: 'UIView' is unavailable in watchOS
111 | let textDrawingBoundsAction = LKBoundsDidChangeAction(fromBounds: layer.bounds)
112 | let action = LKCompositeAction(actions: [result!, textDrawingBoundsAction])
/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/LabelKit/LKLabel.swift:129:74: error: 'UIScreen' is unavailable in watchOS
127 | return
128 | } else {
129 | UIGraphicsBeginImageContextWithOptions(rect.size, false, UIScreen.main.scale)
| `- error: 'UIScreen' is unavailable in watchOS
130 | drawText(in: rect)
131 | layer.contents = UIGraphicsGetImageFromCurrentImageContext()?.cgImage
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScreen.h:54:12: note: 'UIScreen' has been explicitly marked unavailable here
52 |
53 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(visionos, watchos) NS_SWIFT_UI_ACTOR
54 | @interface UIScreen : NSObject <UITraitEnvironment>
| `- note: 'UIScreen' has been explicitly marked unavailable here
55 |
56 | @property(class, nonatomic, readonly) NSArray<UIScreen *> *screens API_DEPRECATED("Use UIApplication.shared.openSessions to find open sessions with scenes from other screens", ios(3.2, 16.0), visionos(1.0, 1.0)) API_UNAVAILABLE(watchos); // all screens currently attached to the device
/Users/admin/builder/spi-builder-workspace/Sources/LabelKit/LKLabel.swift:129:83: error: 'main' is unavailable in watchOS
127 | return
128 | } else {
129 | UIGraphicsBeginImageContextWithOptions(rect.size, false, UIScreen.main.scale)
| `- error: 'main' is unavailable in watchOS
130 | drawText(in: rect)
131 | layer.contents = UIGraphicsGetImageFromCurrentImageContext()?.cgImage
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScreen.h:57:49: note: 'main' has been explicitly marked unavailable here
55 |
56 | @property(class, nonatomic, readonly) NSArray<UIScreen *> *screens API_DEPRECATED("Use UIApplication.shared.openSessions to find open sessions with scenes from other screens", ios(3.2, 16.0), visionos(1.0, 1.0)) API_UNAVAILABLE(watchos); // all screens currently attached to the device
57 | @property(class, nonatomic, readonly) UIScreen *mainScreen API_DEPRECATED("Use a UIScreen instance found through context instead (i.e, view.window.windowScene.screen), or for properties like UIScreen.scale with trait equivalents, use a traitCollection found through context.", ios(2.0, 26.0), tvos(9.0, 26.0), visionos(1.0, 26.0)) API_UNAVAILABLE(watchos);
| `- note: 'main' has been explicitly marked unavailable here
58 |
59 | @property(nonatomic,readonly) CGRect bounds; // Bounds of entire screen in points
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/LabelKit/LKLabel.swift (in target 'LabelKit' from project 'LabelKit')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile LKLabel.swift
SwiftEmitModule normal arm64 Emitting\ module\ for\ LabelKit (in target 'LabelKit' from project 'LabelKit')
/Users/admin/builder/spi-builder-workspace/Sources/LabelKit/LKBoundsDidChangeAction.swift:37:35: error: 'CABasicAnimation' is unavailable in watchOS
35 | import UIKit
36 |
37 | class LKBoundsDidChangeAnimation: CABasicAnimation {
| `- error: 'CABasicAnimation' is unavailable in watchOS
38 | @objc var bounds = CGRect.zero
39 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAAnimation.h:130:12: note: 'CABasicAnimation' has been explicitly marked unavailable here
128 |
129 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
130 | @interface CABasicAnimation : CAPropertyAnimation
| `- note: 'CABasicAnimation' has been explicitly marked unavailable here
131 |
132 | /* The objects defining the property values being interpolated between.
/Users/admin/builder/spi-builder-workspace/Sources/LabelKit/LKBoundsDidChangeAction.swift:50:32: error: 'CAAction' is unavailable in watchOS
48 | }
49 |
50 | class LKBoundsDidChangeAction: CAAction {
| `- error: 'CAAction' is unavailable in watchOS
51 | var pendingAnimation: LKBoundsDidChangeAnimation
52 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CALayer.h:945:11: note: 'CAAction' has been explicitly marked unavailable here
943 |
944 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
945 | @protocol CAAction
| `- note: 'CAAction' has been explicitly marked unavailable here
946 |
947 | /* Called to trigger the event named 'path' on the receiver. The object
/Users/admin/builder/spi-builder-workspace/Sources/LabelKit/LKBoundsDidChangeAction.swift:74:19: error: 'CAAction' is unavailable in watchOS
72 |
73 | class LKCompositeAction: CAAction {
74 | var actions: [CAAction]
| `- error: 'CAAction' is unavailable in watchOS
75 | init(actions: [CAAction]) {
76 | self.actions = actions
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CALayer.h:945:11: note: 'CAAction' has been explicitly marked unavailable here
943 |
944 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
945 | @protocol CAAction
| `- note: 'CAAction' has been explicitly marked unavailable here
946 |
947 | /* Called to trigger the event named 'path' on the receiver. The object
/Users/admin/builder/spi-builder-workspace/Sources/LabelKit/LKBoundsDidChangeAction.swift:75:20: error: 'CAAction' is unavailable in watchOS
73 | class LKCompositeAction: CAAction {
74 | var actions: [CAAction]
75 | init(actions: [CAAction]) {
| `- error: 'CAAction' is unavailable in watchOS
76 | self.actions = actions
77 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CALayer.h:945:11: note: 'CAAction' has been explicitly marked unavailable here
943 |
944 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
945 | @protocol CAAction
| `- note: 'CAAction' has been explicitly marked unavailable here
946 |
947 | /* Called to trigger the event named 'path' on the receiver. The object
/Users/admin/builder/spi-builder-workspace/Sources/LabelKit/LKBoundsDidChangeAction.swift:73:26: error: 'CAAction' is unavailable in watchOS
71 | }
72 |
73 | class LKCompositeAction: CAAction {
| `- error: 'CAAction' is unavailable in watchOS
74 | var actions: [CAAction]
75 | init(actions: [CAAction]) {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CALayer.h:945:11: note: 'CAAction' has been explicitly marked unavailable here
943 |
944 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
945 | @protocol CAAction
| `- note: 'CAAction' has been explicitly marked unavailable here
946 |
947 | /* Called to trigger the event named 'path' on the receiver. The object
/Users/admin/builder/spi-builder-workspace/Sources/LabelKit/LKExtensions.swift:178:11: error: 'CABasicAnimation' is unavailable in watchOS
176 | }
177 |
178 | extension CABasicAnimation {
| `- error: 'CABasicAnimation' is unavailable in watchOS
179 | convenience init(forKeyPath keyPath: String, fromValue: Any?, toValue: Any?, duration: TimeInterval) {
180 | self.init(keyPath: keyPath)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAAnimation.h:130:12: note: 'CABasicAnimation' has been explicitly marked unavailable here
128 |
129 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
130 | @interface CABasicAnimation : CAPropertyAnimation
| `- note: 'CABasicAnimation' has been explicitly marked unavailable here
131 |
132 | /* The objects defining the property values being interpolated between.
/Users/admin/builder/spi-builder-workspace/Sources/LabelKit/LKLabel.swift:108:42: error: 'CALayer' is unavailable in watchOS
106 | /// Triggers bounds animation which provides public access to interpolated bounds during the text animation.
107 | @objc
108 | override open func action(for layer: CALayer, forKey event: String) -> CAAction? {
| `- error: 'CALayer' is unavailable in watchOS
109 | let result = super.action(for: layer, forKey: event)
110 | if event == keyPath(\CALayer.bounds), result != nil, UIView.inheritedAnimationDuration > 0 {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CALayer.h:117:12: note: 'CALayer' has been explicitly marked unavailable here
115 |
116 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
117 | @interface CALayer : NSObject <NSSecureCoding, CAMediaTiming>
| `- note: 'CALayer' has been explicitly marked unavailable here
118 |
119 | /** Layer creation and initialization. **/
/Users/admin/builder/spi-builder-workspace/Sources/LabelKit/LKLabel.swift:108:76: error: 'CAAction' is unavailable in watchOS
106 | /// Triggers bounds animation which provides public access to interpolated bounds during the text animation.
107 | @objc
108 | override open func action(for layer: CALayer, forKey event: String) -> CAAction? {
| `- error: 'CAAction' is unavailable in watchOS
109 | let result = super.action(for: layer, forKey: event)
110 | if event == keyPath(\CALayer.bounds), result != nil, UIView.inheritedAnimationDuration > 0 {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CALayer.h:945:11: note: 'CAAction' has been explicitly marked unavailable here
943 |
944 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
945 | @protocol CAAction
| `- note: 'CAAction' has been explicitly marked unavailable here
946 |
947 | /* Called to trigger the event named 'path' on the receiver. The object
/Users/admin/builder/spi-builder-workspace/Sources/LabelKit/LKLabel.swift:120:41: error: 'CALayer' is unavailable in watchOS
118 | /// Draws the text. Called by the layer, must not be explicitly called by consumers.
119 | @objc
120 | override open func display(_ layer: CALayer) {
| `- error: 'CALayer' is unavailable in watchOS
121 | if let labelLayer = layer as? LKLabelLayer {
122 | let textDrawingBoundsAction = labelLayer.currentBoundsDidChangeAnimation
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CALayer.h:117:12: note: 'CALayer' has been explicitly marked unavailable here
115 |
116 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
117 | @interface CALayer : NSObject <NSSecureCoding, CAMediaTiming>
| `- note: 'CALayer' has been explicitly marked unavailable here
118 |
119 | /** Layer creation and initialization. **/
/Users/admin/builder/spi-builder-workspace/Sources/LabelKit/LKLabel.swift:40:21: error: 'UILabel' is unavailable in watchOS
38 | /// Only `.byTruncatingTail` line break mode is supported.
39 | @objc
40 | open class LKLabel: UILabel {
| `- error: 'UILabel' is unavailable in watchOS
41 | @objc
42 | public weak var delegate: AnyObject?
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILabel.h:33:12: note: 'UILabel' has been explicitly marked unavailable here
31 |
32 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
33 | @interface UILabel : UIView <NSCoding, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
| `- note: 'UILabel' has been explicitly marked unavailable here
34 |
35 | @property(nullable, nonatomic,copy) NSString *text; // default is nil
/Users/admin/builder/spi-builder-workspace/Sources/LabelKit/LKLabel.swift:80:13: error: 'CATransaction' is unavailable in watchOS
78 | @objc override open var attributedText: NSAttributedString? {
79 | didSet(previousValue) {
80 | CATransaction.begin()
| `- error: 'CATransaction' is unavailable in watchOS
81 | CATransaction.setAnimationDuration(UIView.inheritedAnimationDuration)
82 | labelLayer?.attributedText = alignedAttributedText(attributedText, defaultFont: font)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CATransaction.h:34:12: note: 'CATransaction' has been explicitly marked unavailable here
32 |
33 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
34 | @interface CATransaction : NSObject
| `- note: 'CATransaction' has been explicitly marked unavailable here
35 |
36 | /* Begin a new transaction for the current thread; nests. */
/Users/admin/builder/spi-builder-workspace/Sources/LabelKit/LKLabel.swift:81:13: error: 'CATransaction' is unavailable in watchOS
79 | didSet(previousValue) {
80 | CATransaction.begin()
81 | CATransaction.setAnimationDuration(UIView.inheritedAnimationDuration)
| `- error: 'CATransaction' is unavailable in watchOS
82 | labelLayer?.attributedText = alignedAttributedText(attributedText, defaultFont: font)
83 | CATransaction.commit()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CATransaction.h:34:12: note: 'CATransaction' has been explicitly marked unavailable here
32 |
33 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
34 | @interface CATransaction : NSObject
| `- note: 'CATransaction' has been explicitly marked unavailable here
35 |
36 | /* Begin a new transaction for the current thread; nests. */
/Users/admin/builder/spi-builder-workspace/Sources/LabelKit/LKLabel.swift:81:48: error: 'UIView' is unavailable in watchOS
79 | didSet(previousValue) {
80 | CATransaction.begin()
81 | CATransaction.setAnimationDuration(UIView.inheritedAnimationDuration)
| `- error: 'UIView' is unavailable in watchOS
82 | labelLayer?.attributedText = alignedAttributedText(attributedText, defaultFont: font)
83 | CATransaction.commit()
/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/LabelKit/LKLabel.swift:83:13: error: 'CATransaction' is unavailable in watchOS
81 | CATransaction.setAnimationDuration(UIView.inheritedAnimationDuration)
82 | labelLayer?.attributedText = alignedAttributedText(attributedText, defaultFont: font)
83 | CATransaction.commit()
| `- error: 'CATransaction' is unavailable in watchOS
84 | }
85 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CATransaction.h:34:12: note: 'CATransaction' has been explicitly marked unavailable here
32 |
33 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
34 | @interface CATransaction : NSObject
| `- note: 'CATransaction' has been explicitly marked unavailable here
35 |
36 | /* Begin a new transaction for the current thread; nests. */
/Users/admin/builder/spi-builder-workspace/Sources/LabelKit/LKLabel.swift:92:13: error: 'CATransaction' is unavailable in watchOS
90 | override open var text: String? {
91 | didSet(previousValue) {
92 | CATransaction.begin()
| `- error: 'CATransaction' is unavailable in watchOS
93 | CATransaction.setAnimationDuration(UIView.inheritedAnimationDuration)
94 | labelLayer?.attributedText = alignedAttributedText(attributedText, defaultFont: font)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CATransaction.h:34:12: note: 'CATransaction' has been explicitly marked unavailable here
32 |
33 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
34 | @interface CATransaction : NSObject
| `- note: 'CATransaction' has been explicitly marked unavailable here
35 |
36 | /* Begin a new transaction for the current thread; nests. */
/Users/admin/builder/spi-builder-workspace/Sources/LabelKit/LKLabel.swift:93:13: error: 'CATransaction' is unavailable in watchOS
91 | didSet(previousValue) {
92 | CATransaction.begin()
93 | CATransaction.setAnimationDuration(UIView.inheritedAnimationDuration)
| `- error: 'CATransaction' is unavailable in watchOS
94 | labelLayer?.attributedText = alignedAttributedText(attributedText, defaultFont: font)
95 | CATransaction.commit()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CATransaction.h:34:12: note: 'CATransaction' has been explicitly marked unavailable here
32 |
33 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
34 | @interface CATransaction : NSObject
| `- note: 'CATransaction' has been explicitly marked unavailable here
35 |
36 | /* Begin a new transaction for the current thread; nests. */
/Users/admin/builder/spi-builder-workspace/Sources/LabelKit/LKLabel.swift:93:48: error: 'UIView' is unavailable in watchOS
91 | didSet(previousValue) {
92 | CATransaction.begin()
93 | CATransaction.setAnimationDuration(UIView.inheritedAnimationDuration)
| `- error: 'UIView' is unavailable in watchOS
94 | labelLayer?.attributedText = alignedAttributedText(attributedText, defaultFont: font)
95 | CATransaction.commit()
/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/LabelKit/LKLabel.swift:95:13: error: 'CATransaction' is unavailable in watchOS
93 | CATransaction.setAnimationDuration(UIView.inheritedAnimationDuration)
94 | labelLayer?.attributedText = alignedAttributedText(attributedText, defaultFont: font)
95 | CATransaction.commit()
| `- error: 'CATransaction' is unavailable in watchOS
96 | }
97 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CATransaction.h:34:12: note: 'CATransaction' has been explicitly marked unavailable here
32 |
33 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
34 | @interface CATransaction : NSObject
| `- note: 'CATransaction' has been explicitly marked unavailable here
35 |
36 | /* Begin a new transaction for the current thread; nests. */
/Users/admin/builder/spi-builder-workspace/Sources/LabelKit/LKLabelLayer.swift:78:56: error: 'CAAction' is unavailable in watchOS
76 | /// If layer is used without `LKLabel`, also triggers supporting bounds change action.
77 | @objc
78 | override open func action(forKey event: String) -> CAAction? {
| `- error: 'CAAction' is unavailable in watchOS
79 | if event == keyPath(\LKLabelLayer.attributedText) {
80 | let action = textPresentationLayer?.currentTextDidChangeAnimation
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CALayer.h:945:11: note: 'CAAction' has been explicitly marked unavailable here
943 |
944 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
945 | @protocol CAAction
| `- note: 'CAAction' has been explicitly marked unavailable here
946 |
947 | /* Called to trigger the event named 'path' on the receiver. The object
/Users/admin/builder/spi-builder-workspace/Sources/LabelKit/LKLabelLayer.swift:38:26: error: 'CALayer' is unavailable in watchOS
36 |
37 | @objc
38 | open class LKLabelLayer: CALayer {
| `- error: 'CALayer' is unavailable in watchOS
39 | fileprivate var stringDrawingContext: NSStringDrawingContext!
40 | fileprivate var stringDrawingOptions: NSStringDrawingOptions!
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CALayer.h:117:12: note: 'CALayer' has been explicitly marked unavailable here
115 |
116 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
117 | @interface CALayer : NSObject <NSSecureCoding, CAMediaTiming>
| `- note: 'CALayer' has been explicitly marked unavailable here
118 |
119 | /** Layer creation and initialization. **/
/Users/admin/builder/spi-builder-workspace/Sources/LabelKit/LKLabelLayer.swift:224:76: error: 'UITraitCollection' is unavailable in watchOS
222 | }
223 |
224 | override open func traitCollectionDidChange(_ previousTraitCollection: UITraitCollection?) {
| `- error: 'UITraitCollection' is unavailable in watchOS
225 | let actionsDisabled = CATransaction.disableActions()
226 | CATransaction.setDisableActions(true)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITraitCollection.h:23:12: note: 'UITraitCollection' has been explicitly marked unavailable here
21 |
22 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_SENDABLE
23 | @interface UITraitCollection : NSObject <NSCopying, NSSecureCoding>
| `- note: 'UITraitCollection' has been explicitly marked unavailable here
24 |
25 | - (instancetype)init NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/LabelKit/LKLabelLayer.swift:224:24: error: cannot override 'traitCollectionDidChange' which has been marked unavailable
222 | }
223 |
224 | override open func traitCollectionDidChange(_ previousTraitCollection: UITraitCollection?) {
| |- error: cannot override 'traitCollectionDidChange' which has been marked unavailable
| `- note: remove 'override' modifier to declare a new 'traitCollectionDidChange'
225 | let actionsDisabled = CATransaction.disableActions()
226 | CATransaction.setDisableActions(true)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITraitCollection.h:221:1: note: 'traitCollectionDidChange' has been explicitly marked unavailable here
219 |
220 | /*! To be overridden as needed to provide custom behavior when the environment's traits change. */
221 | - (void)traitCollectionDidChange:(nullable UITraitCollection *)previousTraitCollection API_DEPRECATED("Use the trait change registration APIs declared in the UITraitChangeObservable protocol", ios(8.0, 17.0), visionos(1.0, 1.0)) API_UNAVAILABLE(watchos);
| `- note: 'traitCollectionDidChange' has been explicitly marked unavailable here
222 | @end
223 |
/Users/admin/builder/spi-builder-workspace/Sources/LabelKit/LKTextDidChangeAction.swift:183:80: error: 'CABasicAnimation' is unavailable in watchOS
181 | in diffRange: NSRange,
182 | attributeStates: NSMutableDictionary,
183 | duration: TimeInterval) -> [CABasicAnimation]
| `- error: 'CABasicAnimation' is unavailable in watchOS
184 | {
185 | var animations = [CABasicAnimation]()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAAnimation.h:130:12: note: 'CABasicAnimation' has been explicitly marked unavailable here
128 |
129 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
130 | @interface CABasicAnimation : CAPropertyAnimation
| `- note: 'CABasicAnimation' has been explicitly marked unavailable here
131 |
132 | /* The objects defining the property values being interpolated between.
/Users/admin/builder/spi-builder-workspace/Sources/LabelKit/LKTextDidChangeAction.swift:238:112: error: 'CABasicAnimation' is unavailable in watchOS
236 | }
237 |
238 | private static func animationsForAlphaSwap(forKeyPath keyPath: String, fromValue: Any?, toValue: Any?) -> [CABasicAnimation] {
| `- error: 'CABasicAnimation' is unavailable in watchOS
239 | let duration = CATransaction.animationDuration()
240 | guard duration > 0 else { return [CABasicAnimation]() }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAAnimation.h:130:12: note: 'CABasicAnimation' has been explicitly marked unavailable here
128 |
129 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
130 | @interface CABasicAnimation : CAPropertyAnimation
| `- note: 'CABasicAnimation' has been explicitly marked unavailable here
131 |
132 | /* The objects defining the property values being interpolated between.
/Users/admin/builder/spi-builder-workspace/Sources/LabelKit/LKTextDidChangeAction.swift:37:30: error: 'CAAnimationGroup' is unavailable in watchOS
35 | import UIKit
36 |
37 | class LKTextDidChangeAction: CAAnimationGroup {
| `- error: 'CAAnimationGroup' is unavailable in watchOS
38 | private static let LabelLayerFromToAlphaSwapAnimationDuration: TimeInterval = 1.0
39 | private static let attributedStringKeys: [String] = [NSAttributedString.Key.font.rawValue,
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAAnimation.h:383:12: note: 'CAAnimationGroup' has been explicitly marked unavailable here
381 |
382 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
383 | @interface CAAnimationGroup : CAAnimation
| `- note: 'CAAnimationGroup' has been explicitly marked unavailable here
384 |
385 | /* An array of CAAnimation objects. Each member of the array will run
/Users/admin/builder/spi-builder-workspace/Sources/LabelKit/LabelView.swift:79:30: error: cannot find type 'Context' in scope
77 | }
78 |
79 | func makeUIView(context: Context) -> UIViewType {
| `- error: cannot find type 'Context' in scope
80 | let label = UIViewType()
81 | UIView.performWithoutAnimation {
/Users/admin/builder/spi-builder-workspace/Sources/LabelKit/LabelView.swift:89:53: error: cannot find type 'Context' in scope
87 | }
88 |
89 | func updateUIView(_ label: UIViewType, context: Context) {
| `- error: cannot find type 'Context' in scope
90 | label.numberOfLines = numberOfLines
91 | let transaction = context.transaction
SwiftCompile normal arm64 (in target 'LabelKit' from project 'LabelKit')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 Compiling\ LKLabelLayer.swift /Users/admin/builder/spi-builder-workspace/Sources/LabelKit/LKLabelLayer.swift (in target 'LabelKit' from project 'LabelKit')
/Users/admin/builder/spi-builder-workspace/Sources/LabelKit/LKLabelLayer.swift:78:56: error: 'CAAction' is unavailable in watchOS
76 | /// If layer is used without `LKLabel`, also triggers supporting bounds change action.
77 | @objc
78 | override open func action(forKey event: String) -> CAAction? {
| `- error: 'CAAction' is unavailable in watchOS
79 | if event == keyPath(\LKLabelLayer.attributedText) {
80 | let action = textPresentationLayer?.currentTextDidChangeAnimation
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CALayer.h:945:11: note: 'CAAction' has been explicitly marked unavailable here
943 |
944 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
945 | @protocol CAAction
| `- note: 'CAAction' has been explicitly marked unavailable here
946 |
947 | /* Called to trigger the event named 'path' on the receiver. The object
/Users/admin/builder/spi-builder-workspace/Sources/LabelKit/LKLabelLayer.swift:38:26: error: 'CALayer' is unavailable in watchOS
36 |
37 | @objc
38 | open class LKLabelLayer: CALayer {
| `- error: 'CALayer' is unavailable in watchOS
39 | fileprivate var stringDrawingContext: NSStringDrawingContext!
40 | fileprivate var stringDrawingOptions: NSStringDrawingOptions!
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CALayer.h:117:12: note: 'CALayer' has been explicitly marked unavailable here
115 |
116 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
117 | @interface CALayer : NSObject <NSSecureCoding, CAMediaTiming>
| `- note: 'CALayer' has been explicitly marked unavailable here
118 |
119 | /** Layer creation and initialization. **/
/Users/admin/builder/spi-builder-workspace/Sources/LabelKit/LKLabelLayer.swift:224:76: error: 'UITraitCollection' is unavailable in watchOS
222 | }
223 |
224 | override open func traitCollectionDidChange(_ previousTraitCollection: UITraitCollection?) {
| `- error: 'UITraitCollection' is unavailable in watchOS
225 | let actionsDisabled = CATransaction.disableActions()
226 | CATransaction.setDisableActions(true)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITraitCollection.h:23:12: note: 'UITraitCollection' has been explicitly marked unavailable here
21 |
22 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_SENDABLE
23 | @interface UITraitCollection : NSObject <NSCopying, NSSecureCoding>
| `- note: 'UITraitCollection' has been explicitly marked unavailable here
24 |
25 | - (instancetype)init NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/LabelKit/LKLabelLayer.swift:224:24: error: cannot override 'traitCollectionDidChange' which has been marked unavailable
222 | }
223 |
224 | override open func traitCollectionDidChange(_ previousTraitCollection: UITraitCollection?) {
| |- error: cannot override 'traitCollectionDidChange' which has been marked unavailable
| `- note: remove 'override' modifier to declare a new 'traitCollectionDidChange'
225 | let actionsDisabled = CATransaction.disableActions()
226 | CATransaction.setDisableActions(true)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITraitCollection.h:221:1: note: 'traitCollectionDidChange' has been explicitly marked unavailable here
219 |
220 | /*! To be overridden as needed to provide custom behavior when the environment's traits change. */
221 | - (void)traitCollectionDidChange:(nullable UITraitCollection *)previousTraitCollection API_DEPRECATED("Use the trait change registration APIs declared in the UITraitChangeObservable protocol", ios(8.0, 17.0), visionos(1.0, 1.0)) API_UNAVAILABLE(watchos);
| `- note: 'traitCollectionDidChange' has been explicitly marked unavailable here
222 | @end
223 |
/Users/admin/builder/spi-builder-workspace/Sources/LabelKit/LKLabelLayer.swift:87:15: error: 'UIView' is unavailable in watchOS
85 | guard event == keyPath(\CALayer.bounds),
86 | type(of: superAction) != LKCompositeAction.self,
87 | UIView.inheritedAnimationDuration > 0 else { return superAction }
| `- error: 'UIView' is unavailable in watchOS
88 | let textDrawingBoundsAction = LKBoundsDidChangeAction(fromBounds: bounds)
89 | let action: CAAction = superAction != nil ? LKCompositeAction(actions: [superAction!, textDrawingBoundsAction]) : textDrawingBoundsAction
/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/LabelKit/LKLabelLayer.swift:89:21: error: 'CAAction' is unavailable in watchOS
87 | UIView.inheritedAnimationDuration > 0 else { return superAction }
88 | let textDrawingBoundsAction = LKBoundsDidChangeAction(fromBounds: bounds)
89 | let action: CAAction = superAction != nil ? LKCompositeAction(actions: [superAction!, textDrawingBoundsAction]) : textDrawingBoundsAction
| `- error: 'CAAction' is unavailable in watchOS
90 | return action
91 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CALayer.h:945:11: note: 'CAAction' has been explicitly marked unavailable here
943 |
944 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
945 | @protocol CAAction
| `- note: 'CAAction' has been explicitly marked unavailable here
946 |
947 | /* Called to trigger the event named 'path' on the receiver. The object
/Users/admin/builder/spi-builder-workspace/Sources/LabelKit/LKLabelLayer.swift:164:112: error: 'contentsScale' is unavailable in watchOS
162 | if stringDrawingOptions.contains(.usesLineFragmentOrigin) {
163 | if adjustsTextForCustomLineHeight, let lastParagraphStyle = text.attribute(.paragraphStyle, at: text.length - 1, effectiveRange: nil) as? NSParagraphStyle {
164 | result.origin.y = roundToPixels(result.origin.y + lastParagraphStyle.lineSpacing / 2.0, scale: contentsScale)
| `- error: 'contentsScale' is unavailable in watchOS
165 | }
166 | } else {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CALayer.h:406:19: note: 'contentsScale' has been explicitly marked unavailable here
404 | * as large as the layer bounds). Defaults to one. Animatable. */
405 |
406 | @property CGFloat contentsScale
| `- note: 'contentsScale' has been explicitly marked unavailable here
407 | API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0)) API_UNAVAILABLE(watchos);
408 |
/Users/admin/builder/spi-builder-workspace/Sources/LabelKit/LKLabelLayer.swift:170:125: error: 'contentsScale' is unavailable in watchOS
168 | let firstFont = text.attribute(.font, at: 0, effectiveRange: nil) as? UIFont {
169 | let lineHeightCompensation = adjustsTextForCustomLineHeight && firstParagraphStyle.lineHeightMultiple > 0 ? firstParagraphStyle.lineHeightMultiple * firstFont.lineHeight - firstFont.lineHeight : 0.0
170 | result.origin.y = roundToPixels(result.origin.y + lineHeightCompensation * 1.5 + firstFont.ascender, scale: contentsScale)
| `- error: 'contentsScale' is unavailable in watchOS
171 | }
172 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CALayer.h:406:19: note: 'contentsScale' has been explicitly marked unavailable here
404 | * as large as the layer bounds). Defaults to one. Animatable. */
405 |
406 | @property CGFloat contentsScale
| `- note: 'contentsScale' has been explicitly marked unavailable here
407 | API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0)) API_UNAVAILABLE(watchos);
408 |
/Users/admin/builder/spi-builder-workspace/Sources/LabelKit/LKLabelLayer.swift:225:31: error: 'CATransaction' is unavailable in watchOS
223 |
224 | override open func traitCollectionDidChange(_ previousTraitCollection: UITraitCollection?) {
225 | let actionsDisabled = CATransaction.disableActions()
| `- error: 'CATransaction' is unavailable in watchOS
226 | CATransaction.setDisableActions(true)
227 | super.traitCollectionDidChange(previousTraitCollection)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CATransaction.h:34:12: note: 'CATransaction' has been explicitly marked unavailable here
32 |
33 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
34 | @interface CATransaction : NSObject
| `- note: 'CATransaction' has been explicitly marked unavailable here
35 |
36 | /* Begin a new transaction for the current thread; nests. */
/Users/admin/builder/spi-builder-workspace/Sources/LabelKit/LKLabelLayer.swift:226:9: error: 'CATransaction' is unavailable in watchOS
224 | override open func traitCollectionDidChange(_ previousTraitCollection: UITraitCollection?) {
225 | let actionsDisabled = CATransaction.disableActions()
226 | CATransaction.setDisableActions(true)
| `- error: 'CATransaction' is unavailable in watchOS
227 | super.traitCollectionDidChange(previousTraitCollection)
228 | CATransaction.setDisableActions(actionsDisabled)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CATransaction.h:34:12: note: 'CATransaction' has been explicitly marked unavailable here
32 |
33 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
34 | @interface CATransaction : NSObject
| `- note: 'CATransaction' has been explicitly marked unavailable here
35 |
36 | /* Begin a new transaction for the current thread; nests. */
/Users/admin/builder/spi-builder-workspace/Sources/LabelKit/LKLabelLayer.swift:227:15: error: 'traitCollectionDidChange' is unavailable in watchOS
225 | let actionsDisabled = CATransaction.disableActions()
226 | CATransaction.setDisableActions(true)
227 | super.traitCollectionDidChange(previousTraitCollection)
| `- error: 'traitCollectionDidChange' is unavailable in watchOS
228 | CATransaction.setDisableActions(actionsDisabled)
229 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITraitCollection.h:221:1: note: 'traitCollectionDidChange' has been explicitly marked unavailable here
219 |
220 | /*! To be overridden as needed to provide custom behavior when the environment's traits change. */
221 | - (void)traitCollectionDidChange:(nullable UITraitCollection *)previousTraitCollection API_DEPRECATED("Use the trait change registration APIs declared in the UITraitChangeObservable protocol", ios(8.0, 17.0), visionos(1.0, 1.0)) API_UNAVAILABLE(watchos);
| `- note: 'traitCollectionDidChange' has been explicitly marked unavailable here
222 | @end
223 |
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/LabelKit/LKLabelLayer.swift (in target 'LabelKit' from project 'LabelKit')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile LKLabelLayer.swift
SwiftCompile normal arm64 Compiling\ LKTextDidChangeAction.swift /Users/admin/builder/spi-builder-workspace/Sources/LabelKit/LKTextDidChangeAction.swift (in target 'LabelKit' from project 'LabelKit')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/LabelKit/LKTextDidChangeAction.swift (in target 'LabelKit' from project 'LabelKit')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile LKTextDidChangeAction.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-17 18:12:22.214 xcodebuild[808:4877] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
** BUILD FAILED **
The following build commands failed:
SwiftCompile normal arm64_32 (in target 'LabelKit' from project 'LabelKit')
SwiftEmitModule normal arm64_32 Emitting\ module\ for\ LabelKit (in target 'LabelKit' from project 'LabelKit')
Building workspace LabelKit with scheme LabelKit
(3 failures)
BUILD FAILURE 6.4 watchOS