Build Information
Failed to build Cosmos, reference master (aebcb0), with Swift 6.4 for watchOS using Xcode 27.0 on 22 Sep 2026 15:20:30 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 Cosmos -destination generic/platform=watchOSBuild Log
/Users/admin/builder/spi-builder-workspace/Cosmos/CosmosDefaultSettings.swift:21:61: error: 'main' is unavailable in watchOS
19 |
20 | /// Width of the border for the empty star.
21 | static let emptyBorderWidth: Double = 1 / Double(UIScreen.main.scale)
| `- error: 'main' is unavailable in watchOS
22 |
23 | /// Border color of a filled star.
/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/Cosmos/CosmosDefaultSettings.swift:27:53: error: 'UIScreen' is unavailable in watchOS
25 |
26 | /// Width of the border for a filled star.
27 | static let filledBorderWidth: Double = 1 / Double(UIScreen.main.scale)
| `- error: 'UIScreen' is unavailable in watchOS
28 |
29 | /// Background color of an empty star.
/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/Cosmos/CosmosDefaultSettings.swift:27:62: error: 'main' is unavailable in watchOS
25 |
26 | /// Width of the border for a filled star.
27 | static let filledBorderWidth: Double = 1 / Double(UIScreen.main.scale)
| `- error: 'main' is unavailable in watchOS
28 |
29 | /// Background color of an empty star.
/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/Cosmos/CosmosLayerHelper.swift:16:79: error: 'CATextLayer' is unavailable in watchOS
14 |
15 | */
16 | class func createTextLayer(_ text: String, font: UIFont, color: UIColor) -> CATextLayer {
| `- error: 'CATextLayer' is unavailable in watchOS
17 | let size = NSString(string: text).size(withAttributes: [NSAttributedString.Key.font: font])
18 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CATextLayer.h:20:12: note: 'CATextLayer' has been explicitly marked unavailable here
18 |
19 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
20 | @interface CATextLayer : CALayer
| `- note: 'CATextLayer' has been explicitly marked unavailable here
21 | {
22 | @private
/Users/admin/builder/spi-builder-workspace/Cosmos/CosmosLayers.swift:19:100: error: 'CALayer' is unavailable in watchOS
17 |
18 | */
19 | class func createStarLayers(_ rating: Double, settings: CosmosSettings, isRightToLeft: Bool) -> [CALayer] {
| `- error: 'CALayer' is unavailable in watchOS
20 |
21 | var ratingRemander = CosmosRating.numberOfFilledStars(rating,
/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/Cosmos/CosmosLayers.swift:53:89: error: 'CALayer' is unavailable in watchOS
51 | */
52 | class func createCompositeStarLayer(_ starFillLevel: Double,
53 | settings: CosmosSettings, isRightToLeft: Bool) -> CALayer {
| `- error: 'CALayer' is unavailable in watchOS
54 |
55 | if starFillLevel >= 1 {
/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/Cosmos/CosmosLayers.swift:79:107: error: 'CALayer' is unavailable in watchOS
77 |
78 | */
79 | class func createPartialStar(_ starFillLevel: Double, settings: CosmosSettings, isRightToLeft: Bool) -> CALayer {
| `- error: 'CALayer' is unavailable in watchOS
80 | let filledStar = createStarLayer(true, settings: settings)
81 | let emptyStar = createStarLayer(false, settings: settings)
/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/Cosmos/CosmosLayers.swift:103:85: error: 'CALayer' is unavailable in watchOS
101 | }
102 |
103 | private class func createStarLayer(_ isFilled: Bool, settings: CosmosSettings) -> CALayer {
| `- error: 'CALayer' is unavailable in watchOS
104 | if let image = isFilled ? settings.filledImage : settings.emptyImage {
105 | // Create a layer that shows a star from an image
/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/Cosmos/CosmosLayers.swift:129:44: error: 'CALayer' is unavailable in watchOS
127 |
128 | */
129 | class func positionStarLayers(_ layers: [CALayer], starMargin: Double) {
| `- error: 'CALayer' is unavailable in watchOS
130 | var positionX:CGFloat = 0
131 |
/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/Cosmos/CosmosSize.swift:14:50: error: 'CALayer' is unavailable in watchOS
12 |
13 | */
14 | class func calculateSizeToFitLayers(_ layers: [CALayer]) -> CGSize {
| `- error: 'CALayer' is unavailable in watchOS
15 | var size = CGSize()
16 |
/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/Cosmos/CosmosText.swift:20:32: error: 'CALayer' is unavailable in watchOS
18 |
19 | */
20 | class func position(_ layer: CALayer, starsSize: CGSize, textMargin: Double) {
| `- error: 'CALayer' is unavailable in watchOS
21 | layer.position.x = starsSize.width + CGFloat(textMargin)
22 | let yOffset = (starsSize.height - layer.bounds.height) / 2
/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/Cosmos/CosmosView.swift:50:22: error: cannot override 'awakeFromNib' which has been marked unavailable
48 |
49 | /// Draws the stars when the view comes out of storyboard with default settings
50 | open override func awakeFromNib() {
| |- error: cannot override 'awakeFromNib' which has been marked unavailable
| `- note: remove 'override' modifier to declare a new 'awakeFromNib'
51 | super.awakeFromNib()
52 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINibLoading.h:23:1: note: 'awakeFromNib()' has been explicitly marked unavailable here
21 |
22 | @interface NSObject(UINibLoadingAdditions)
23 | - (void)awakeFromNib NS_REQUIRES_SUPER API_DEPRECATED("Loading Interface Builder products will not be supported in a future version of visionOS.", visionos(1.0, 1.0)) API_UNAVAILABLE(watchos);
| `- note: 'awakeFromNib()' has been explicitly marked unavailable here
24 | - (void)prepareForInterfaceBuilder API_AVAILABLE(ios(8.0)) API_DEPRECATED("Loading Interface Builder products will not be supported in a future version of visionOS.", visionos(1.0, 1.0)) API_UNAVAILABLE(watchos);
25 | @end
/Users/admin/builder/spi-builder-workspace/Cosmos/CosmosView.swift:147:57: error: 'CALayer' is unavailable in watchOS
145 |
146 | */
147 | private func createTextLayer(_ text: String, layers: [CALayer]) -> CALayer {
| `- error: 'CALayer' is unavailable in watchOS
148 | let textLayer = CosmosLayerHelper.createTextLayer(text,
149 | font: settings.textFont, color: settings.textColor)
/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/Cosmos/CosmosView.swift:147:70: error: 'CALayer' is unavailable in watchOS
145 |
146 | */
147 | private func createTextLayer(_ text: String, layers: [CALayer]) -> CALayer {
| `- error: 'CALayer' is unavailable in watchOS
148 | let textLayer = CosmosLayerHelper.createTextLayer(text,
149 | font: settings.textFont, color: settings.textColor)
/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/Cosmos/CosmosView.swift:173:40: error: 'CALayer' is unavailable in watchOS
171 |
172 | */
173 | private func addTextLayer(textLayer: CALayer, layers: [CALayer]) -> [CALayer] {
| `- error: 'CALayer' is unavailable in watchOS
174 | var allLayers = layers
175 | // Position stars after the text for right-to-left languages
/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/Cosmos/CosmosView.swift:173:58: error: 'CALayer' is unavailable in watchOS
171 |
172 | */
173 | private func addTextLayer(textLayer: CALayer, layers: [CALayer]) -> [CALayer] {
| `- error: 'CALayer' is unavailable in watchOS
174 | var allLayers = layers
175 | // Position stars after the text for right-to-left languages
/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/Cosmos/CosmosView.swift:173:72: error: 'CALayer' is unavailable in watchOS
171 |
172 | */
173 | private func addTextLayer(textLayer: CALayer, layers: [CALayer]) -> [CALayer] {
| `- error: 'CALayer' is unavailable in watchOS
174 | var allLayers = layers
175 | // Position stars after the text for right-to-left languages
/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/Cosmos/CosmosView.swift:196:38: error: 'CALayer' is unavailable in watchOS
194 |
195 | */
196 | private func updateSize(_ layers: [CALayer]) {
| `- error: 'CALayer' is unavailable in watchOS
197 | viewSize = CosmosSize.calculateSizeToFitLayers(layers)
198 | invalidateIntrinsicContentSize()
/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/Cosmos/CosmosView.swift:228:74: error: 'UITraitCollection' is unavailable in watchOS
226 |
227 | */
228 | open override func traitCollectionDidChange(_ previousTraitCollection: UITraitCollection?) {
| `- error: 'UITraitCollection' is unavailable in watchOS
229 | super.traitCollectionDidChange(previousTraitCollection)
230 |
/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/Cosmos/CosmosView.swift:228:22: error: cannot override 'traitCollectionDidChange' which has been marked unavailable
226 |
227 | */
228 | open override func traitCollectionDidChange(_ previousTraitCollection: UITraitCollection?) {
| |- error: cannot override 'traitCollectionDidChange' which has been marked unavailable
| `- note: remove 'override' modifier to declare a new 'traitCollectionDidChange'
229 | super.traitCollectionDidChange(previousTraitCollection)
230 |
/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/Cosmos/CosmosView.swift:245:22: error: cannot override 'accessibilityIncrement' which has been marked unavailable
243 |
244 | /// Called by the system in accessibility voice-over mode when the value is incremented by the user.
245 | open override func accessibilityIncrement() {
| |- error: cannot override 'accessibilityIncrement' which has been marked unavailable
| `- note: remove 'override' modifier to declare a new 'accessibilityIncrement'
246 | super.accessibilityIncrement()
247 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibility.h:354:1: note: 'accessibilityIncrement()' has been explicitly marked unavailable here
352 | of a UISlider, and accessibilityDecrement will decrease the value.
353 | */
354 | - (void)accessibilityIncrement API_AVAILABLE(ios(4.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR;
| `- note: 'accessibilityIncrement()' has been explicitly marked unavailable here
355 | - (void)accessibilityDecrement API_AVAILABLE(ios(4.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR;
356 |
/Users/admin/builder/spi-builder-workspace/Cosmos/CosmosView.swift:254:22: error: cannot override 'accessibilityDecrement' which has been marked unavailable
252 |
253 | /// Called by the system in accessibility voice-over mode when the value is decremented by the user.
254 | open override func accessibilityDecrement() {
| |- error: cannot override 'accessibilityDecrement' which has been marked unavailable
| `- note: remove 'override' modifier to declare a new 'accessibilityDecrement'
255 | super.accessibilityDecrement()
256 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibility.h:355:1: note: 'accessibilityDecrement()' has been explicitly marked unavailable here
353 | */
354 | - (void)accessibilityIncrement API_AVAILABLE(ios(4.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR;
355 | - (void)accessibilityDecrement API_AVAILABLE(ios(4.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR;
| `- note: 'accessibilityDecrement()' has been explicitly marked unavailable here
356 |
357 | /*
/Users/admin/builder/spi-builder-workspace/Cosmos/CosmosView.swift:271:50: error: 'UITouch' is unavailable in watchOS
269 |
270 | /// Overriding the function to detect the first touch gesture.
271 | open override func touchesBegan(_ touches: Set<UITouch>, with event: UIEvent?) {
| `- error: 'UITouch' is unavailable in watchOS
272 | if settings.passTouchesToSuperview { super.touchesBegan(touches, with: event) }
273 | guard let location = touchLocationFromBeginningOfRating(touches) else { return }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITouch.h:51:12: note: 'UITouch' has been explicitly marked unavailable here
49 |
50 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
51 | @interface UITouch : NSObject
| `- note: 'UITouch' has been explicitly marked unavailable here
52 |
53 | @property(nonatomic,readonly) NSTimeInterval timestamp;
/Users/admin/builder/spi-builder-workspace/Cosmos/CosmosView.swift:271:72: error: 'UIEvent' is unavailable in watchOS
269 |
270 | /// Overriding the function to detect the first touch gesture.
271 | open override func touchesBegan(_ touches: Set<UITouch>, with event: UIEvent?) {
| `- error: 'UIEvent' is unavailable in watchOS
272 | if settings.passTouchesToSuperview { super.touchesBegan(touches, with: event) }
273 | guard let location = touchLocationFromBeginningOfRating(touches) else { return }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIEvent.h:62:12: note: 'UIEvent' has been explicitly marked unavailable here
60 |
61 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
62 | @interface UIEvent : NSObject
| `- note: 'UIEvent' has been explicitly marked unavailable here
63 |
64 | @property(nonatomic,readonly) UIEventType type API_AVAILABLE(ios(3.0));
/Users/admin/builder/spi-builder-workspace/Cosmos/CosmosView.swift:278:50: error: 'UITouch' is unavailable in watchOS
276 |
277 | /// Overriding the function to detect touch move.
278 | open override func touchesMoved(_ touches: Set<UITouch>, with event: UIEvent?) {
| `- error: 'UITouch' is unavailable in watchOS
279 | if settings.passTouchesToSuperview { super.touchesMoved(touches, with: event) }
280 | guard let location = touchLocationFromBeginningOfRating(touches) else { return }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITouch.h:51:12: note: 'UITouch' has been explicitly marked unavailable here
49 |
50 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
51 | @interface UITouch : NSObject
| `- note: 'UITouch' has been explicitly marked unavailable here
52 |
53 | @property(nonatomic,readonly) NSTimeInterval timestamp;
/Users/admin/builder/spi-builder-workspace/Cosmos/CosmosView.swift:278:72: error: 'UIEvent' is unavailable in watchOS
276 |
277 | /// Overriding the function to detect touch move.
278 | open override func touchesMoved(_ touches: Set<UITouch>, with event: UIEvent?) {
| `- error: 'UIEvent' is unavailable in watchOS
279 | if settings.passTouchesToSuperview { super.touchesMoved(touches, with: event) }
280 | guard let location = touchLocationFromBeginningOfRating(touches) else { return }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIEvent.h:62:12: note: 'UIEvent' has been explicitly marked unavailable here
60 |
61 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
62 | @interface UIEvent : NSObject
| `- note: 'UIEvent' has been explicitly marked unavailable here
63 |
64 | @property(nonatomic,readonly) UIEventType type API_AVAILABLE(ios(3.0));
/Users/admin/builder/spi-builder-workspace/Cosmos/CosmosView.swift:285:58: error: 'UITouch' is unavailable in watchOS
283 |
284 | /// Returns the distance of the touch relative to the left edge of the first star
285 | func touchLocationFromBeginningOfRating(_ touches: Set<UITouch>) -> CGFloat? {
| `- error: 'UITouch' is unavailable in watchOS
286 | guard let touch = touches.first else { return nil }
287 | var location = touch.location(in: self).x
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITouch.h:51:12: note: 'UITouch' has been explicitly marked unavailable here
49 |
50 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
51 | @interface UITouch : NSObject
| `- note: 'UITouch' has been explicitly marked unavailable here
52 |
53 | @property(nonatomic,readonly) NSTimeInterval timestamp;
/Users/admin/builder/spi-builder-workspace/Cosmos/CosmosView.swift:296:50: error: 'UITouch' is unavailable in watchOS
294 |
295 | /// Detecting event when the user lifts their finger.
296 | open override func touchesEnded(_ touches: Set<UITouch>, with event: UIEvent?) {
| `- error: 'UITouch' is unavailable in watchOS
297 | if settings.passTouchesToSuperview { super.touchesEnded(touches, with: event) }
298 | didFinishTouchingCosmos?(rating)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITouch.h:51:12: note: 'UITouch' has been explicitly marked unavailable here
49 |
50 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
51 | @interface UITouch : NSObject
| `- note: 'UITouch' has been explicitly marked unavailable here
52 |
53 | @property(nonatomic,readonly) NSTimeInterval timestamp;
/Users/admin/builder/spi-builder-workspace/Cosmos/CosmosView.swift:296:72: error: 'UIEvent' is unavailable in watchOS
294 |
295 | /// Detecting event when the user lifts their finger.
296 | open override func touchesEnded(_ touches: Set<UITouch>, with event: UIEvent?) {
| `- error: 'UIEvent' is unavailable in watchOS
297 | if settings.passTouchesToSuperview { super.touchesEnded(touches, with: event) }
298 | didFinishTouchingCosmos?(rating)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIEvent.h:62:12: note: 'UIEvent' has been explicitly marked unavailable here
60 |
61 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
62 | @interface UIEvent : NSObject
| `- note: 'UIEvent' has been explicitly marked unavailable here
63 |
64 | @property(nonatomic,readonly) UIEventType type API_AVAILABLE(ios(3.0));
/Users/admin/builder/spi-builder-workspace/Cosmos/CosmosView.swift:302:72: error: 'UIGestureRecognizer' is unavailable in watchOS
300 |
301 | /// Deciding whether to recognize a gesture.
302 | open override func gestureRecognizerShouldBegin(_ gestureRecognizer: UIGestureRecognizer) -> Bool {
| `- error: 'UIGestureRecognizer' is unavailable in watchOS
303 | if settings.disablePanGestures {
304 | return !(gestureRecognizer is UIPanGestureRecognizer)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGestureRecognizer.h:35:12: note: 'UIGestureRecognizer' has been explicitly marked unavailable here
33 |
34 | UIKIT_EXTERN API_AVAILABLE(ios(3.2)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
35 | @interface UIGestureRecognizer : NSObject
| `- note: 'UIGestureRecognizer' has been explicitly marked unavailable here
36 |
37 | // Valid action method signatures:
/Users/admin/builder/spi-builder-workspace/Cosmos/CosmosView.swift:315:54: error: 'UITouch' is unavailable in watchOS
313 |
314 | */
315 | open override func touchesCancelled(_ touches: Set<UITouch>, with event: UIEvent?) {
| `- error: 'UITouch' is unavailable in watchOS
316 | if settings.passTouchesToSuperview { super.touchesCancelled(touches, with: event) }
317 | didFinishTouchingCosmos?(rating)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITouch.h:51:12: note: 'UITouch' has been explicitly marked unavailable here
49 |
50 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
51 | @interface UITouch : NSObject
| `- note: 'UITouch' has been explicitly marked unavailable here
52 |
53 | @property(nonatomic,readonly) NSTimeInterval timestamp;
/Users/admin/builder/spi-builder-workspace/Cosmos/CosmosView.swift:315:76: error: 'UIEvent' is unavailable in watchOS
313 |
314 | */
315 | open override func touchesCancelled(_ touches: Set<UITouch>, with event: UIEvent?) {
| `- error: 'UIEvent' is unavailable in watchOS
316 | if settings.passTouchesToSuperview { super.touchesCancelled(touches, with: event) }
317 | didFinishTouchingCosmos?(rating)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIEvent.h:62:12: note: 'UIEvent' has been explicitly marked unavailable here
60 |
61 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
62 | @interface UIEvent : NSObject
| `- note: 'UIEvent' has been explicitly marked unavailable here
63 |
64 | @property(nonatomic,readonly) UIEventType type API_AVAILABLE(ios(3.0));
/Users/admin/builder/spi-builder-workspace/Cosmos/CosmosView.swift:348:63: error: 'UIEvent' is unavailable in watchOS
346 |
347 | /// Increase the hitsize of the view if it's less than 44px for easier touching.
348 | override open func point(inside point: CGPoint, with event: UIEvent?) -> Bool {
| `- error: 'UIEvent' is unavailable in watchOS
349 | let oprimizedBounds = CosmosTouchTarget.optimize(bounds)
350 | return oprimizedBounds.contains(point)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIEvent.h:62:12: note: 'UIEvent' has been explicitly marked unavailable here
60 |
61 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
62 | @interface UIEvent : NSObject
| `- note: 'UIEvent' has been explicitly marked unavailable here
63 |
64 | @property(nonatomic,readonly) UIEventType type API_AVAILABLE(ios(3.0));
/Users/admin/builder/spi-builder-workspace/Cosmos/CosmosView.swift:459:22: error: cannot override 'prepareForInterfaceBuilder' which has been marked unavailable
457 |
458 | /// Draw the stars in interface buidler
459 | open override func prepareForInterfaceBuilder() {
| |- error: cannot override 'prepareForInterfaceBuilder' which has been marked unavailable
| `- note: remove 'override' modifier to declare a new 'prepareForInterfaceBuilder'
460 | super.prepareForInterfaceBuilder()
461 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINibLoading.h:24:1: note: 'prepareForInterfaceBuilder()' has been explicitly marked unavailable here
22 | @interface NSObject(UINibLoadingAdditions)
23 | - (void)awakeFromNib NS_REQUIRES_SUPER API_DEPRECATED("Loading Interface Builder products will not be supported in a future version of visionOS.", visionos(1.0, 1.0)) API_UNAVAILABLE(watchos);
24 | - (void)prepareForInterfaceBuilder API_AVAILABLE(ios(8.0)) API_DEPRECATED("Loading Interface Builder products will not be supported in a future version of visionOS.", visionos(1.0, 1.0)) API_UNAVAILABLE(watchos);
| `- note: 'prepareForInterfaceBuilder()' has been explicitly marked unavailable here
25 | @end
26 |
/Users/admin/builder/spi-builder-workspace/Cosmos/CosmosView.swift:15:38: error: 'UIView' is unavailable in watchOS
13 |
14 | */
15 | @IBDesignable open class CosmosView: UIView {
| `- error: 'UIView' is unavailable in watchOS
16 |
17 | /**
/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/Cosmos/Helpers/RightToLeft.swift:9:37: error: 'UIView' is unavailable in watchOS
7 | */
8 | struct RightToLeft {
9 | static func isRightToLeft(_ view: UIView) -> Bool {
| `- error: 'UIView' is unavailable in watchOS
10 | if #available(iOS 9.0, *) {
11 | return UIView.userInterfaceLayoutDirection(
/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/Cosmos/StarLayer.swift:27:69: error: 'CALayer' is unavailable in watchOS
25 | */
26 | static func create(_ starPoints: [CGPoint], size: Double,
27 | lineWidth: Double, fillColor: UIColor, strokeColor: UIColor) -> CALayer {
| `- error: 'CALayer' is unavailable in watchOS
28 |
29 | let containerLayer = createContainerLayer(size)
/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/Cosmos/StarLayer.swift:49:55: error: 'CALayer' is unavailable in watchOS
47 |
48 | */
49 | static func create(image: UIImage, size: Double) -> CALayer {
| `- error: 'CALayer' is unavailable in watchOS
50 | let containerLayer = createContainerLayer(size)
51 | let imageLayer = createContainerLayer(size)
/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/Cosmos/StarLayer.swift:76:44: error: 'CALayer' is unavailable in watchOS
74 | */
75 | static func createShapeLayer(_ path: CGPath, lineWidth: Double, fillColor: UIColor,
76 | strokeColor: UIColor, size: Double) -> CALayer {
| `- error: 'CALayer' is unavailable in watchOS
77 |
78 | let layer = CAShapeLayer()
/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/Cosmos/StarLayer.swift:98:55: error: 'CALayer' is unavailable in watchOS
96 |
97 | */
98 | static func createContainerLayer(_ size: Double) -> CALayer {
| `- error: 'CALayer' is unavailable in watchOS
99 | let layer = CALayer()
100 | layer.contentsScale = UIScreen.main.scale
/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. **/
Failed frontend command:
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Cosmos.build/Debug-watchos/Cosmos-t.build/DerivedSources/resource_bundle_accessor.swift /Users/admin/builder/spi-builder-workspace/Cosmos/CosmosAccessibility.swift /Users/admin/builder/spi-builder-workspace/Cosmos/CosmosDefaultSettings.swift /Users/admin/builder/spi-builder-workspace/Cosmos/CosmosLayerHelper.swift /Users/admin/builder/spi-builder-workspace/Cosmos/CosmosLayers.swift /Users/admin/builder/spi-builder-workspace/Cosmos/CosmosLocalizedRating.swift /Users/admin/builder/spi-builder-workspace/Cosmos/CosmosRating.swift /Users/admin/builder/spi-builder-workspace/Cosmos/CosmosSettings.swift /Users/admin/builder/spi-builder-workspace/Cosmos/CosmosSize.swift /Users/admin/builder/spi-builder-workspace/Cosmos/CosmosText.swift /Users/admin/builder/spi-builder-workspace/Cosmos/CosmosTouch.swift /Users/admin/builder/spi-builder-workspace/Cosmos/CosmosView.swift /Users/admin/builder/spi-builder-workspace/Cosmos/Helpers/CosmosTouchTarget.swift /Users/admin/builder/spi-builder-workspace/Cosmos/Helpers/RightToLeft.swift /Users/admin/builder/spi-builder-workspace/Cosmos/StarFillMode.swift /Users/admin/builder/spi-builder-workspace/Cosmos/StarLayer.swift -target arm64_32-apple-watchos9.0 -disable-cross-import-overlay-search -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libFoundationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#FoundationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libObservationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#ObservationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libSwiftMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#SwiftMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libSwiftUIMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#SwiftUIMacros -disable-implicit-swift-modules -Xcc -fno-implicit-modules -Xcc -fno-implicit-module-maps -explicit-swift-module-map-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Cosmos.build/Debug-watchos/Cosmos-t.build/Objects-normal/arm64_32/Cosmos-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_AVAILABLE -D Xcode -serialize-debugging-options -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -enable-anonymous-context-mangled-names -file-compilation-dir /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos27.0-24R360-e829b21a6f8c9b70876ba0858053c04477534ef55a1706bf4c1112bbb242f0a2.sdkstatcache -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Cosmos.build/Debug-watchos/Cosmos-t.build/DerivedSources-normal/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Cosmos.build/Debug-watchos/Cosmos-t.build/DerivedSources/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Cosmos.build/Debug-watchos/Cosmos-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name Cosmos -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Cosmos.build/Debug-watchos/Cosmos-t.build/Objects-normal/arm64_32/Cosmos_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/Cosmos.build/Debug-watchos/Cosmos-t.build/Objects-normal/arm64_32/Cosmos.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Cosmos.build/Debug-watchos/Cosmos-t.build/Objects-normal/arm64_32/Cosmos.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Cosmos.build/Debug-watchos/Cosmos-t.build/Objects-normal/arm64_32/Cosmos-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Cosmos.build/Debug-watchos/Cosmos-t.build/Objects-normal/arm64_32/Cosmos-primary-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Cosmos.build/Debug-watchos/Cosmos-t.build/Objects-normal/arm64_32/Cosmos-primary-emit-module.d -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Cosmos.build/Debug-watchos/Cosmos-t.build/Objects-normal/arm64_32/Cosmos.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Cosmos.build/Debug-watchos/Cosmos-t.build/Objects-normal/arm64_32/Cosmos.abi.json
SwiftCompile normal arm64_32 (in target 'Cosmos' from project 'Cosmos')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64_32 Compiling\ CosmosRating.swift,\ CosmosSettings.swift /Users/admin/builder/spi-builder-workspace/Cosmos/CosmosRating.swift /Users/admin/builder/spi-builder-workspace/Cosmos/CosmosSettings.swift (in target 'Cosmos' from project 'Cosmos')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Cosmos/CosmosRating.swift (in target 'Cosmos' from project 'Cosmos')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile CosmosRating.swift
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Cosmos/CosmosSettings.swift (in target 'Cosmos' from project 'Cosmos')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile CosmosSettings.swift
SwiftEmitModule normal arm64 Emitting\ module\ for\ Cosmos (in target 'Cosmos' from project 'Cosmos')
SwiftCompile normal arm64 (in target 'Cosmos' from project 'Cosmos')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules
2026-09-22 11:20:20.172 xcodebuild[680:4432] [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\ Cosmos (in target 'Cosmos' from project 'Cosmos')
SwiftCompile normal arm64_32 (in target 'Cosmos' from project 'Cosmos')
Building workspace Cosmos with scheme Cosmos
(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:
Cosmos: /Users/admin/builder/spi-builder-workspace
resolved source packages: Cosmos
2026-09-22 11:20:26.428 xcodebuild[808:4916] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
{
"dependencies" : [
],
"manifest_display_name" : "Cosmos",
"name" : "Cosmos",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "Cosmos",
"targets" : [
"Cosmos"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "CosmosTests",
"module_type" : "SwiftTarget",
"name" : "CosmosTests",
"path" : "CosmosTests",
"sources" : [
"CosmosAccessibilityCallbacksTests.swift",
"CosmosAccessibilityTests.swift",
"CosmosLayersTests.swift",
"CosmosLocalizedRatingTests.swift",
"CosmosRatingTests.swift",
"CosmosSettingsTests.swift",
"CosmosTouchTests.swift",
"CosmosViewTests.swift",
"Helpers/CosmosTest.swift",
"Helpers/CosmosTouchTargetTests.swift",
"TestHelpers/Round.swift"
],
"target_dependencies" : [
"Cosmos"
],
"type" : "test"
},
{
"c99name" : "Cosmos",
"module_type" : "SwiftTarget",
"name" : "Cosmos",
"path" : "Cosmos",
"product_memberships" : [
"Cosmos"
],
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/Cosmos/Resources/PrivacyInfo.xcprivacy",
"rule" : {
"copy" : {
}
}
}
],
"sources" : [
"CosmosAccessibility.swift",
"CosmosDefaultSettings.swift",
"CosmosLayerHelper.swift",
"CosmosLayers.swift",
"CosmosLocalizedRating.swift",
"CosmosRating.swift",
"CosmosSettings.swift",
"CosmosSize.swift",
"CosmosText.swift",
"CosmosTouch.swift",
"CosmosView.swift",
"Helpers/CosmosTouchTarget.swift",
"Helpers/RightToLeft.swift",
"StarFillMode.swift",
"StarLayer.swift"
],
"type" : "library"
}
],
"tools_version" : "5.3"
}
{
"workspace" : {
"name" : "Cosmos",
"schemes" : [
"Cosmos"
]
}
}
2026-09-22 11:20:27.703 xcodebuild[816:4985] [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 Cosmos -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 Cosmos -destination generic/platform=watchOS
Resolve Package Graph
Resolved source packages:
Cosmos: /Users/admin/builder/spi-builder-workspace
ComputePackagePrebuildTargetDependencyGraph
Prepare packages
CreateBuildRequest
SendProjectDescription
CreateBuildOperation
ComputeTargetDependencyGraph
note: Building targets in dependency order
note: Target dependency graph (3 targets)
Target 'Cosmos-product' in project 'Cosmos'
➜ Explicit dependency on target 'Cosmos' in project 'Cosmos'
➜ Explicit dependency on target 'Cosmos_Cosmos' in project 'Cosmos'
Target 'Cosmos' in project 'Cosmos'
➜ Explicit dependency on target 'Cosmos_Cosmos' in project 'Cosmos'
Target 'Cosmos_Cosmos' in project 'Cosmos' (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 Cosmos normal arm64 com.apple.xcode.tools.swift.compiler (in target 'Cosmos' from project 'Cosmos')
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 Cosmos -Onone @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Cosmos.build/Debug-watchos/Cosmos-t.build/Objects-normal/arm64/Cosmos.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -DSWIFT_MODULE_RESOURCE_BUNDLE_AVAILABLE -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/Cosmos.build/Debug-watchos/Cosmos-t.build/Objects-normal/arm64/Cosmos-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/Cosmos.build/Debug-watchos/Cosmos-t.build/Objects-normal/arm64/Cosmos.swiftmodule -serialize-diagnostics -dependency-scan-serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Cosmos.build/Debug-watchos/Cosmos-t.build/Objects-normal/arm64/Cosmos-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/Cosmos.build/Debug-watchos/Cosmos-t.build/Objects-normal/arm64/Cosmos_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/Cosmos.build/Debug-watchos/Cosmos-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Cosmos.build/Debug-watchos/Cosmos-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Cosmos.build/Debug-watchos/Cosmos-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/Cosmos.build/Debug-watchos/Cosmos-t.build/Objects-normal/arm64/Cosmos-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
SwiftDriver Cosmos normal arm64_32 com.apple.xcode.tools.swift.compiler (in target 'Cosmos' from project 'Cosmos')
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 Cosmos -Onone @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Cosmos.build/Debug-watchos/Cosmos-t.build/Objects-normal/arm64_32/Cosmos.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -DSWIFT_MODULE_RESOURCE_BUNDLE_AVAILABLE -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/Cosmos.build/Debug-watchos/Cosmos-t.build/Objects-normal/arm64_32/Cosmos-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/Cosmos.build/Debug-watchos/Cosmos-t.build/Objects-normal/arm64_32/Cosmos.swiftmodule -serialize-diagnostics -dependency-scan-serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Cosmos.build/Debug-watchos/Cosmos-t.build/Objects-normal/arm64_32/Cosmos-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/Cosmos.build/Debug-watchos/Cosmos-t.build/Objects-normal/arm64_32/Cosmos_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/Cosmos.build/Debug-watchos/Cosmos-t.build/DerivedSources-normal/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Cosmos.build/Debug-watchos/Cosmos-t.build/DerivedSources/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Cosmos.build/Debug-watchos/Cosmos-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/Cosmos.build/Debug-watchos/Cosmos-t.build/Objects-normal/arm64_32/Cosmos-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\ Cosmos (in target 'Cosmos' from project 'Cosmos')
/Users/admin/builder/spi-builder-workspace/Cosmos/CosmosAccessibility.swift:15:30: error: 'UIView' is unavailable in watchOS
13 | */
14 |
15 | static func update(_ view: UIView, rating: Double, text: String?, settings: CosmosSettings) {
| `- error: 'UIView' is unavailable in watchOS
16 | view.isAccessibilityElement = true
17 |
/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/Cosmos/CosmosAccessibility.swift:41:42: error: 'UIView' is unavailable in watchOS
39 |
40 | */
41 | static func accessibilityValue(_ view: UIView, rating: Double, settings: CosmosSettings) -> String {
| `- error: 'UIView' is unavailable in watchOS
42 | let accessibilityRating = CosmosRating.displayedRatingFromPreciseRating(rating,
43 | fillMode: settings.fillMode, totalStars: settings.totalStars)
/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/Cosmos/CosmosDefaultSettings.swift:21:52: error: 'UIScreen' is unavailable in watchOS
19 |
20 | /// Width of the border for the empty star.
21 | static let emptyBorderWidth: Double = 1 / Double(UIScreen.main.scale)
| `- error: 'UIScreen' is unavailable in watchOS
22 |
23 | /// Border color of a filled star.
/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/Cosmos/CosmosDefaultSettings.swift:21:61: error: 'main' is unavailable in watchOS
19 |
20 | /// Width of the border for the empty star.
21 | static let emptyBorderWidth: Double = 1 / Double(UIScreen.main.scale)
| `- error: 'main' is unavailable in watchOS
22 |
23 | /// Border color of a filled star.
/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/Cosmos/CosmosDefaultSettings.swift:27:53: error: 'UIScreen' is unavailable in watchOS
25 |
26 | /// Width of the border for a filled star.
27 | static let filledBorderWidth: Double = 1 / Double(UIScreen.main.scale)
| `- error: 'UIScreen' is unavailable in watchOS
28 |
29 | /// Background color of an empty star.
/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/Cosmos/CosmosDefaultSettings.swift:27:62: error: 'main' is unavailable in watchOS
25 |
26 | /// Width of the border for a filled star.
27 | static let filledBorderWidth: Double = 1 / Double(UIScreen.main.scale)
| `- error: 'main' is unavailable in watchOS
28 |
29 | /// Background color of an empty star.
/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/Cosmos/CosmosLayerHelper.swift:16:79: error: 'CATextLayer' is unavailable in watchOS
14 |
15 | */
16 | class func createTextLayer(_ text: String, font: UIFont, color: UIColor) -> CATextLayer {
| `- error: 'CATextLayer' is unavailable in watchOS
17 | let size = NSString(string: text).size(withAttributes: [NSAttributedString.Key.font: font])
18 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CATextLayer.h:20:12: note: 'CATextLayer' has been explicitly marked unavailable here
18 |
19 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
20 | @interface CATextLayer : CALayer
| `- note: 'CATextLayer' has been explicitly marked unavailable here
21 | {
22 | @private
/Users/admin/builder/spi-builder-workspace/Cosmos/CosmosLayers.swift:19:100: error: 'CALayer' is unavailable in watchOS
17 |
18 | */
19 | class func createStarLayers(_ rating: Double, settings: CosmosSettings, isRightToLeft: Bool) -> [CALayer] {
| `- error: 'CALayer' is unavailable in watchOS
20 |
21 | var ratingRemander = CosmosRating.numberOfFilledStars(rating,
/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/Cosmos/CosmosLayers.swift:53:89: error: 'CALayer' is unavailable in watchOS
51 | */
52 | class func createCompositeStarLayer(_ starFillLevel: Double,
53 | settings: CosmosSettings, isRightToLeft: Bool) -> CALayer {
| `- error: 'CALayer' is unavailable in watchOS
54 |
55 | if starFillLevel >= 1 {
/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/Cosmos/CosmosLayers.swift:79:107: error: 'CALayer' is unavailable in watchOS
77 |
78 | */
79 | class func createPartialStar(_ starFillLevel: Double, settings: CosmosSettings, isRightToLeft: Bool) -> CALayer {
| `- error: 'CALayer' is unavailable in watchOS
80 | let filledStar = createStarLayer(true, settings: settings)
81 | let emptyStar = createStarLayer(false, settings: settings)
/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/Cosmos/CosmosLayers.swift:103:85: error: 'CALayer' is unavailable in watchOS
101 | }
102 |
103 | private class func createStarLayer(_ isFilled: Bool, settings: CosmosSettings) -> CALayer {
| `- error: 'CALayer' is unavailable in watchOS
104 | if let image = isFilled ? settings.filledImage : settings.emptyImage {
105 | // Create a layer that shows a star from an image
/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/Cosmos/CosmosLayers.swift:129:44: error: 'CALayer' is unavailable in watchOS
127 |
128 | */
129 | class func positionStarLayers(_ layers: [CALayer], starMargin: Double) {
| `- error: 'CALayer' is unavailable in watchOS
130 | var positionX:CGFloat = 0
131 |
/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/Cosmos/CosmosSize.swift:14:50: error: 'CALayer' is unavailable in watchOS
12 |
13 | */
14 | class func calculateSizeToFitLayers(_ layers: [CALayer]) -> CGSize {
| `- error: 'CALayer' is unavailable in watchOS
15 | var size = CGSize()
16 |
/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/Cosmos/CosmosText.swift:20:32: error: 'CALayer' is unavailable in watchOS
18 |
19 | */
20 | class func position(_ layer: CALayer, starsSize: CGSize, textMargin: Double) {
| `- error: 'CALayer' is unavailable in watchOS
21 | layer.position.x = starsSize.width + CGFloat(textMargin)
22 | let yOffset = (starsSize.height - layer.bounds.height) / 2
/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/Cosmos/CosmosView.swift:50:22: error: cannot override 'awakeFromNib' which has been marked unavailable
48 |
49 | /// Draws the stars when the view comes out of storyboard with default settings
50 | open override func awakeFromNib() {
| |- error: cannot override 'awakeFromNib' which has been marked unavailable
| `- note: remove 'override' modifier to declare a new 'awakeFromNib'
51 | super.awakeFromNib()
52 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINibLoading.h:23:1: note: 'awakeFromNib()' has been explicitly marked unavailable here
21 |
22 | @interface NSObject(UINibLoadingAdditions)
23 | - (void)awakeFromNib NS_REQUIRES_SUPER API_DEPRECATED("Loading Interface Builder products will not be supported in a future version of visionOS.", visionos(1.0, 1.0)) API_UNAVAILABLE(watchos);
| `- note: 'awakeFromNib()' has been explicitly marked unavailable here
24 | - (void)prepareForInterfaceBuilder API_AVAILABLE(ios(8.0)) API_DEPRECATED("Loading Interface Builder products will not be supported in a future version of visionOS.", visionos(1.0, 1.0)) API_UNAVAILABLE(watchos);
25 | @end
/Users/admin/builder/spi-builder-workspace/Cosmos/CosmosView.swift:147:57: error: 'CALayer' is unavailable in watchOS
145 |
146 | */
147 | private func createTextLayer(_ text: String, layers: [CALayer]) -> CALayer {
| `- error: 'CALayer' is unavailable in watchOS
148 | let textLayer = CosmosLayerHelper.createTextLayer(text,
149 | font: settings.textFont, color: settings.textColor)
/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/Cosmos/CosmosView.swift:147:70: error: 'CALayer' is unavailable in watchOS
145 |
146 | */
147 | private func createTextLayer(_ text: String, layers: [CALayer]) -> CALayer {
| `- error: 'CALayer' is unavailable in watchOS
148 | let textLayer = CosmosLayerHelper.createTextLayer(text,
149 | font: settings.textFont, color: settings.textColor)
/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/Cosmos/CosmosView.swift:173:40: error: 'CALayer' is unavailable in watchOS
171 |
172 | */
173 | private func addTextLayer(textLayer: CALayer, layers: [CALayer]) -> [CALayer] {
| `- error: 'CALayer' is unavailable in watchOS
174 | var allLayers = layers
175 | // Position stars after the text for right-to-left languages
/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/Cosmos/CosmosView.swift:173:58: error: 'CALayer' is unavailable in watchOS
171 |
172 | */
173 | private func addTextLayer(textLayer: CALayer, layers: [CALayer]) -> [CALayer] {
| `- error: 'CALayer' is unavailable in watchOS
174 | var allLayers = layers
175 | // Position stars after the text for right-to-left languages
/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/Cosmos/CosmosView.swift:173:72: error: 'CALayer' is unavailable in watchOS
171 |
172 | */
173 | private func addTextLayer(textLayer: CALayer, layers: [CALayer]) -> [CALayer] {
| `- error: 'CALayer' is unavailable in watchOS
174 | var allLayers = layers
175 | // Position stars after the text for right-to-left languages
/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/Cosmos/CosmosView.swift:196:38: error: 'CALayer' is unavailable in watchOS
194 |
195 | */
196 | private func updateSize(_ layers: [CALayer]) {
| `- error: 'CALayer' is unavailable in watchOS
197 | viewSize = CosmosSize.calculateSizeToFitLayers(layers)
198 | invalidateIntrinsicContentSize()
/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/Cosmos/CosmosView.swift:228:74: error: 'UITraitCollection' is unavailable in watchOS
226 |
227 | */
228 | open override func traitCollectionDidChange(_ previousTraitCollection: UITraitCollection?) {
| `- error: 'UITraitCollection' is unavailable in watchOS
229 | super.traitCollectionDidChange(previousTraitCollection)
230 |
/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/Cosmos/CosmosView.swift:228:22: error: cannot override 'traitCollectionDidChange' which has been marked unavailable
226 |
227 | */
228 | open override func traitCollectionDidChange(_ previousTraitCollection: UITraitCollection?) {
| |- error: cannot override 'traitCollectionDidChange' which has been marked unavailable
| `- note: remove 'override' modifier to declare a new 'traitCollectionDidChange'
229 | super.traitCollectionDidChange(previousTraitCollection)
230 |
/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/Cosmos/CosmosView.swift:245:22: error: cannot override 'accessibilityIncrement' which has been marked unavailable
243 |
244 | /// Called by the system in accessibility voice-over mode when the value is incremented by the user.
245 | open override func accessibilityIncrement() {
| |- error: cannot override 'accessibilityIncrement' which has been marked unavailable
| `- note: remove 'override' modifier to declare a new 'accessibilityIncrement'
246 | super.accessibilityIncrement()
247 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibility.h:354:1: note: 'accessibilityIncrement()' has been explicitly marked unavailable here
352 | of a UISlider, and accessibilityDecrement will decrease the value.
353 | */
354 | - (void)accessibilityIncrement API_AVAILABLE(ios(4.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR;
| `- note: 'accessibilityIncrement()' has been explicitly marked unavailable here
355 | - (void)accessibilityDecrement API_AVAILABLE(ios(4.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR;
356 |
/Users/admin/builder/spi-builder-workspace/Cosmos/CosmosView.swift:254:22: error: cannot override 'accessibilityDecrement' which has been marked unavailable
252 |
253 | /// Called by the system in accessibility voice-over mode when the value is decremented by the user.
254 | open override func accessibilityDecrement() {
| |- error: cannot override 'accessibilityDecrement' which has been marked unavailable
| `- note: remove 'override' modifier to declare a new 'accessibilityDecrement'
255 | super.accessibilityDecrement()
256 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibility.h:355:1: note: 'accessibilityDecrement()' has been explicitly marked unavailable here
353 | */
354 | - (void)accessibilityIncrement API_AVAILABLE(ios(4.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR;
355 | - (void)accessibilityDecrement API_AVAILABLE(ios(4.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR;
| `- note: 'accessibilityDecrement()' has been explicitly marked unavailable here
356 |
357 | /*
/Users/admin/builder/spi-builder-workspace/Cosmos/CosmosView.swift:271:50: error: 'UITouch' is unavailable in watchOS
269 |
270 | /// Overriding the function to detect the first touch gesture.
271 | open override func touchesBegan(_ touches: Set<UITouch>, with event: UIEvent?) {
| `- error: 'UITouch' is unavailable in watchOS
272 | if settings.passTouchesToSuperview { super.touchesBegan(touches, with: event) }
273 | guard let location = touchLocationFromBeginningOfRating(touches) else { return }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITouch.h:51:12: note: 'UITouch' has been explicitly marked unavailable here
49 |
50 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
51 | @interface UITouch : NSObject
| `- note: 'UITouch' has been explicitly marked unavailable here
52 |
53 | @property(nonatomic,readonly) NSTimeInterval timestamp;
/Users/admin/builder/spi-builder-workspace/Cosmos/CosmosView.swift:271:72: error: 'UIEvent' is unavailable in watchOS
269 |
270 | /// Overriding the function to detect the first touch gesture.
271 | open override func touchesBegan(_ touches: Set<UITouch>, with event: UIEvent?) {
| `- error: 'UIEvent' is unavailable in watchOS
272 | if settings.passTouchesToSuperview { super.touchesBegan(touches, with: event) }
273 | guard let location = touchLocationFromBeginningOfRating(touches) else { return }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIEvent.h:62:12: note: 'UIEvent' has been explicitly marked unavailable here
60 |
61 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
62 | @interface UIEvent : NSObject
| `- note: 'UIEvent' has been explicitly marked unavailable here
63 |
64 | @property(nonatomic,readonly) UIEventType type API_AVAILABLE(ios(3.0));
/Users/admin/builder/spi-builder-workspace/Cosmos/CosmosView.swift:278:50: error: 'UITouch' is unavailable in watchOS
276 |
277 | /// Overriding the function to detect touch move.
278 | open override func touchesMoved(_ touches: Set<UITouch>, with event: UIEvent?) {
| `- error: 'UITouch' is unavailable in watchOS
279 | if settings.passTouchesToSuperview { super.touchesMoved(touches, with: event) }
280 | guard let location = touchLocationFromBeginningOfRating(touches) else { return }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITouch.h:51:12: note: 'UITouch' has been explicitly marked unavailable here
49 |
50 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
51 | @interface UITouch : NSObject
| `- note: 'UITouch' has been explicitly marked unavailable here
52 |
53 | @property(nonatomic,readonly) NSTimeInterval timestamp;
/Users/admin/builder/spi-builder-workspace/Cosmos/CosmosView.swift:278:72: error: 'UIEvent' is unavailable in watchOS
276 |
277 | /// Overriding the function to detect touch move.
278 | open override func touchesMoved(_ touches: Set<UITouch>, with event: UIEvent?) {
| `- error: 'UIEvent' is unavailable in watchOS
279 | if settings.passTouchesToSuperview { super.touchesMoved(touches, with: event) }
280 | guard let location = touchLocationFromBeginningOfRating(touches) else { return }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIEvent.h:62:12: note: 'UIEvent' has been explicitly marked unavailable here
60 |
61 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
62 | @interface UIEvent : NSObject
| `- note: 'UIEvent' has been explicitly marked unavailable here
63 |
64 | @property(nonatomic,readonly) UIEventType type API_AVAILABLE(ios(3.0));
/Users/admin/builder/spi-builder-workspace/Cosmos/CosmosView.swift:285:58: error: 'UITouch' is unavailable in watchOS
283 |
284 | /// Returns the distance of the touch relative to the left edge of the first star
285 | func touchLocationFromBeginningOfRating(_ touches: Set<UITouch>) -> CGFloat? {
| `- error: 'UITouch' is unavailable in watchOS
286 | guard let touch = touches.first else { return nil }
287 | var location = touch.location(in: self).x
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITouch.h:51:12: note: 'UITouch' has been explicitly marked unavailable here
49 |
50 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
51 | @interface UITouch : NSObject
| `- note: 'UITouch' has been explicitly marked unavailable here
52 |
53 | @property(nonatomic,readonly) NSTimeInterval timestamp;
/Users/admin/builder/spi-builder-workspace/Cosmos/CosmosView.swift:296:50: error: 'UITouch' is unavailable in watchOS
294 |
295 | /// Detecting event when the user lifts their finger.
296 | open override func touchesEnded(_ touches: Set<UITouch>, with event: UIEvent?) {
| `- error: 'UITouch' is unavailable in watchOS
297 | if settings.passTouchesToSuperview { super.touchesEnded(touches, with: event) }
298 | didFinishTouchingCosmos?(rating)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITouch.h:51:12: note: 'UITouch' has been explicitly marked unavailable here
49 |
50 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
51 | @interface UITouch : NSObject
| `- note: 'UITouch' has been explicitly marked unavailable here
52 |
53 | @property(nonatomic,readonly) NSTimeInterval timestamp;
/Users/admin/builder/spi-builder-workspace/Cosmos/CosmosView.swift:296:72: error: 'UIEvent' is unavailable in watchOS
294 |
295 | /// Detecting event when the user lifts their finger.
296 | open override func touchesEnded(_ touches: Set<UITouch>, with event: UIEvent?) {
| `- error: 'UIEvent' is unavailable in watchOS
297 | if settings.passTouchesToSuperview { super.touchesEnded(touches, with: event) }
298 | didFinishTouchingCosmos?(rating)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIEvent.h:62:12: note: 'UIEvent' has been explicitly marked unavailable here
60 |
61 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
62 | @interface UIEvent : NSObject
| `- note: 'UIEvent' has been explicitly marked unavailable here
63 |
64 | @property(nonatomic,readonly) UIEventType type API_AVAILABLE(ios(3.0));
/Users/admin/builder/spi-builder-workspace/Cosmos/CosmosView.swift:302:72: error: 'UIGestureRecognizer' is unavailable in watchOS
300 |
301 | /// Deciding whether to recognize a gesture.
302 | open override func gestureRecognizerShouldBegin(_ gestureRecognizer: UIGestureRecognizer) -> Bool {
| `- error: 'UIGestureRecognizer' is unavailable in watchOS
303 | if settings.disablePanGestures {
304 | return !(gestureRecognizer is UIPanGestureRecognizer)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGestureRecognizer.h:35:12: note: 'UIGestureRecognizer' has been explicitly marked unavailable here
33 |
34 | UIKIT_EXTERN API_AVAILABLE(ios(3.2)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
35 | @interface UIGestureRecognizer : NSObject
| `- note: 'UIGestureRecognizer' has been explicitly marked unavailable here
36 |
37 | // Valid action method signatures:
/Users/admin/builder/spi-builder-workspace/Cosmos/CosmosView.swift:315:54: error: 'UITouch' is unavailable in watchOS
313 |
314 | */
315 | open override func touchesCancelled(_ touches: Set<UITouch>, with event: UIEvent?) {
| `- error: 'UITouch' is unavailable in watchOS
316 | if settings.passTouchesToSuperview { super.touchesCancelled(touches, with: event) }
317 | didFinishTouchingCosmos?(rating)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITouch.h:51:12: note: 'UITouch' has been explicitly marked unavailable here
49 |
50 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
51 | @interface UITouch : NSObject
| `- note: 'UITouch' has been explicitly marked unavailable here
52 |
53 | @property(nonatomic,readonly) NSTimeInterval timestamp;
/Users/admin/builder/spi-builder-workspace/Cosmos/CosmosView.swift:315:76: error: 'UIEvent' is unavailable in watchOS
313 |
314 | */
315 | open override func touchesCancelled(_ touches: Set<UITouch>, with event: UIEvent?) {
| `- error: 'UIEvent' is unavailable in watchOS
316 | if settings.passTouchesToSuperview { super.touchesCancelled(touches, with: event) }
317 | didFinishTouchingCosmos?(rating)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIEvent.h:62:12: note: 'UIEvent' has been explicitly marked unavailable here
60 |
61 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
62 | @interface UIEvent : NSObject
| `- note: 'UIEvent' has been explicitly marked unavailable here
63 |
64 | @property(nonatomic,readonly) UIEventType type API_AVAILABLE(ios(3.0));
/Users/admin/builder/spi-builder-workspace/Cosmos/CosmosView.swift:348:63: error: 'UIEvent' is unavailable in watchOS
346 |
347 | /// Increase the hitsize of the view if it's less than 44px for easier touching.
348 | override open func point(inside point: CGPoint, with event: UIEvent?) -> Bool {
| `- error: 'UIEvent' is unavailable in watchOS
349 | let oprimizedBounds = CosmosTouchTarget.optimize(bounds)
350 | return oprimizedBounds.contains(point)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIEvent.h:62:12: note: 'UIEvent' has been explicitly marked unavailable here
60 |
61 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
62 | @interface UIEvent : NSObject
| `- note: 'UIEvent' has been explicitly marked unavailable here
63 |
64 | @property(nonatomic,readonly) UIEventType type API_AVAILABLE(ios(3.0));
/Users/admin/builder/spi-builder-workspace/Cosmos/CosmosView.swift:459:22: error: cannot override 'prepareForInterfaceBuilder' which has been marked unavailable
457 |
458 | /// Draw the stars in interface buidler
459 | open override func prepareForInterfaceBuilder() {
| |- error: cannot override 'prepareForInterfaceBuilder' which has been marked unavailable
| `- note: remove 'override' modifier to declare a new 'prepareForInterfaceBuilder'
460 | super.prepareForInterfaceBuilder()
461 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINibLoading.h:24:1: note: 'prepareForInterfaceBuilder()' has been explicitly marked unavailable here
22 | @interface NSObject(UINibLoadingAdditions)
23 | - (void)awakeFromNib NS_REQUIRES_SUPER API_DEPRECATED("Loading Interface Builder products will not be supported in a future version of visionOS.", visionos(1.0, 1.0)) API_UNAVAILABLE(watchos);
24 | - (void)prepareForInterfaceBuilder API_AVAILABLE(ios(8.0)) API_DEPRECATED("Loading Interface Builder products will not be supported in a future version of visionOS.", visionos(1.0, 1.0)) API_UNAVAILABLE(watchos);
| `- note: 'prepareForInterfaceBuilder()' has been explicitly marked unavailable here
25 | @end
26 |
/Users/admin/builder/spi-builder-workspace/Cosmos/CosmosView.swift:15:38: error: 'UIView' is unavailable in watchOS
13 |
14 | */
15 | @IBDesignable open class CosmosView: UIView {
| `- error: 'UIView' is unavailable in watchOS
16 |
17 | /**
/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/Cosmos/Helpers/RightToLeft.swift:9:37: error: 'UIView' is unavailable in watchOS
7 | */
8 | struct RightToLeft {
9 | static func isRightToLeft(_ view: UIView) -> Bool {
| `- error: 'UIView' is unavailable in watchOS
10 | if #available(iOS 9.0, *) {
11 | return UIView.userInterfaceLayoutDirection(
/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/Cosmos/StarLayer.swift:27:69: error: 'CALayer' is unavailable in watchOS
25 | */
26 | static func create(_ starPoints: [CGPoint], size: Double,
27 | lineWidth: Double, fillColor: UIColor, strokeColor: UIColor) -> CALayer {
| `- error: 'CALayer' is unavailable in watchOS
28 |
29 | let containerLayer = createContainerLayer(size)
/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/Cosmos/StarLayer.swift:49:55: error: 'CALayer' is unavailable in watchOS
47 |
48 | */
49 | static func create(image: UIImage, size: Double) -> CALayer {
| `- error: 'CALayer' is unavailable in watchOS
50 | let containerLayer = createContainerLayer(size)
51 | let imageLayer = createContainerLayer(size)
/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/Cosmos/StarLayer.swift:76:44: error: 'CALayer' is unavailable in watchOS
74 | */
75 | static func createShapeLayer(_ path: CGPath, lineWidth: Double, fillColor: UIColor,
76 | strokeColor: UIColor, size: Double) -> CALayer {
| `- error: 'CALayer' is unavailable in watchOS
77 |
78 | let layer = CAShapeLayer()
/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/Cosmos/StarLayer.swift:98:55: error: 'CALayer' is unavailable in watchOS
96 |
97 | */
98 | static func createContainerLayer(_ size: Double) -> CALayer {
| `- error: 'CALayer' is unavailable in watchOS
99 | let layer = CALayer()
100 | layer.contentsScale = UIScreen.main.scale
/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. **/
Failed frontend command:
SwiftCompile normal arm64_32 (in target 'Cosmos' from project 'Cosmos')
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/.derivedData/Build/Intermediates.noindex/Cosmos.build/Debug-watchos/Cosmos-t.build/DerivedSources/resource_bundle_accessor.swift /Users/admin/builder/spi-builder-workspace/Cosmos/CosmosAccessibility.swift /Users/admin/builder/spi-builder-workspace/Cosmos/CosmosDefaultSettings.swift /Users/admin/builder/spi-builder-workspace/Cosmos/CosmosLayerHelper.swift /Users/admin/builder/spi-builder-workspace/Cosmos/CosmosLayers.swift /Users/admin/builder/spi-builder-workspace/Cosmos/CosmosLocalizedRating.swift /Users/admin/builder/spi-builder-workspace/Cosmos/CosmosRating.swift /Users/admin/builder/spi-builder-workspace/Cosmos/CosmosSettings.swift /Users/admin/builder/spi-builder-workspace/Cosmos/CosmosSize.swift /Users/admin/builder/spi-builder-workspace/Cosmos/CosmosText.swift /Users/admin/builder/spi-builder-workspace/Cosmos/CosmosTouch.swift /Users/admin/builder/spi-builder-workspace/Cosmos/CosmosView.swift /Users/admin/builder/spi-builder-workspace/Cosmos/Helpers/CosmosTouchTarget.swift /Users/admin/builder/spi-builder-workspace/Cosmos/Helpers/RightToLeft.swift /Users/admin/builder/spi-builder-workspace/Cosmos/StarFillMode.swift /Users/admin/builder/spi-builder-workspace/Cosmos/StarLayer.swift -target arm64_32-apple-watchos9.0 -disable-cross-import-overlay-search -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libFoundationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#FoundationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libObservationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#ObservationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libSwiftMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#SwiftMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libSwiftUIMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#SwiftUIMacros -disable-implicit-swift-modules -Xcc -fno-implicit-modules -Xcc -fno-implicit-module-maps -explicit-swift-module-map-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Cosmos.build/Debug-watchos/Cosmos-t.build/Objects-normal/arm64_32/Cosmos-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_AVAILABLE -D Xcode -serialize-debugging-options -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -enable-anonymous-context-mangled-names -file-compilation-dir /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos27.0-24R360-e829b21a6f8c9b70876ba0858053c04477534ef55a1706bf4c1112bbb242f0a2.sdkstatcache -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Cosmos.build/Debug-watchos/Cosmos-t.build/DerivedSources-normal/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Cosmos.build/Debug-watchos/Cosmos-t.build/DerivedSources/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Cosmos.build/Debug-watchos/Cosmos-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name Cosmos -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Cosmos.build/Debug-watchos/Cosmos-t.build/Objects-normal/arm64_32/Cosmos_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/Cosmos.build/Debug-watchos/Cosmos-t.build/Objects-normal/arm64_32/Cosmos.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Cosmos.build/Debug-watchos/Cosmos-t.build/Objects-normal/arm64_32/Cosmos.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Cosmos.build/Debug-watchos/Cosmos-t.build/Objects-normal/arm64_32/Cosmos-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Cosmos.build/Debug-watchos/Cosmos-t.build/Objects-normal/arm64_32/Cosmos-primary-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Cosmos.build/Debug-watchos/Cosmos-t.build/Objects-normal/arm64_32/Cosmos-primary-emit-module.d -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Cosmos.build/Debug-watchos/Cosmos-t.build/Objects-normal/arm64_32/Cosmos.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Cosmos.build/Debug-watchos/Cosmos-t.build/Objects-normal/arm64_32/Cosmos.abi.json
SwiftCompile normal arm64_32 Compiling\ resource_bundle_accessor.swift,\ CosmosAccessibility.swift /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Cosmos.build/Debug-watchos/Cosmos-t.build/DerivedSources/resource_bundle_accessor.swift /Users/admin/builder/spi-builder-workspace/Cosmos/CosmosAccessibility.swift (in target 'Cosmos' from project 'Cosmos')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Cosmos.build/Debug-watchos/Cosmos-t.build/DerivedSources/resource_bundle_accessor.swift (in target 'Cosmos' from project 'Cosmos')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile resource_bundle_accessor.swift
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Cosmos/CosmosAccessibility.swift (in target 'Cosmos' from project 'Cosmos')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile CosmosAccessibility.swift
/Users/admin/builder/spi-builder-workspace/Cosmos/CosmosAccessibility.swift:15:30: error: 'UIView' is unavailable in watchOS
13 | */
14 |
15 | static func update(_ view: UIView, rating: Double, text: String?, settings: CosmosSettings) {
| `- error: 'UIView' is unavailable in watchOS
16 | view.isAccessibilityElement = true
17 |
/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/Cosmos/CosmosAccessibility.swift:41:42: error: 'UIView' is unavailable in watchOS
39 |
40 | */
41 | static func accessibilityValue(_ view: UIView, rating: Double, settings: CosmosSettings) -> String {
| `- error: 'UIView' is unavailable in watchOS
42 | let accessibilityRating = CosmosRating.displayedRatingFromPreciseRating(rating,
43 | fillMode: settings.fillMode, totalStars: settings.totalStars)
/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/Cosmos/CosmosAccessibility.swift:16:10: error: 'isAccessibilityElement' is unavailable in watchOS
14 |
15 | static func update(_ view: UIView, rating: Double, text: String?, settings: CosmosSettings) {
16 | view.isAccessibilityElement = true
| `- error: 'isAccessibilityElement' is unavailable in watchOS
17 |
18 | view.accessibilityTraits = settings.updateOnTouch ?
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibility.h:52:28: note: 'isAccessibilityElement' has been explicitly marked unavailable here
50 | Setting the property to YES will cause the receiver to be visible to assistive applications.
51 | */
52 | @property (nonatomic) BOOL isAccessibilityElement API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR;
| `- note: 'isAccessibilityElement' has been explicitly marked unavailable here
53 |
54 | /*
/Users/admin/builder/spi-builder-workspace/Cosmos/CosmosAccessibility.swift:18:10: error: 'accessibilityTraits' is unavailable in watchOS
16 | view.isAccessibilityElement = true
17 |
18 | view.accessibilityTraits = settings.updateOnTouch ?
| `- error: 'accessibilityTraits' is unavailable in watchOS
19 | UIAccessibilityTraits.adjustable :UIAccessibilityTraits.none
20 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibility.h:113:45: note: 'accessibilityTraits' has been explicitly marked unavailable here
111 | Setting the property will change the traits that are returned to the accessibility client.
112 | */
113 | @property (nonatomic) UIAccessibilityTraits accessibilityTraits API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR;
| `- note: 'accessibilityTraits' has been explicitly marked unavailable here
114 |
115 | /*
/Users/admin/builder/spi-builder-workspace/Cosmos/CosmosAccessibility.swift:27:10: error: 'accessibilityLabel' is unavailable in watchOS
25 | }
26 |
27 | view.accessibilityLabel = accessibilityLabel
| `- error: 'accessibilityLabel' is unavailable in watchOS
28 |
29 | view.accessibilityValue = accessibilityValue(view, rating: rating, settings: settings)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibility.h:64:49: note: 'accessibilityLabel' has been explicitly marked unavailable here
62 | Setting the property will change the label that is returned to the accessibility client.
63 | */
64 | @property (nullable, nonatomic, copy) NSString *accessibilityLabel API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR;
| `- note: 'accessibilityLabel' has been explicitly marked unavailable here
65 |
66 | /*
SwiftCompile normal arm64_32 Compiling\ CosmosRating.swift,\ CosmosSettings.swift /Users/admin/builder/spi-builder-workspace/Cosmos/CosmosRating.swift /Users/admin/builder/spi-builder-workspace/Cosmos/CosmosSettings.swift (in target 'Cosmos' from project 'Cosmos')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Cosmos/CosmosRating.swift (in target 'Cosmos' from project 'Cosmos')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile CosmosRating.swift
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Cosmos/CosmosSettings.swift (in target 'Cosmos' from project 'Cosmos')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile CosmosSettings.swift
SwiftCompile normal arm64_32 Compiling\ CosmosSize.swift,\ CosmosText.swift /Users/admin/builder/spi-builder-workspace/Cosmos/CosmosSize.swift /Users/admin/builder/spi-builder-workspace/Cosmos/CosmosText.swift (in target 'Cosmos' from project 'Cosmos')
/Users/admin/builder/spi-builder-workspace/Cosmos/CosmosSize.swift:14:50: error: 'CALayer' is unavailable in watchOS
12 |
13 | */
14 | class func calculateSizeToFitLayers(_ layers: [CALayer]) -> CGSize {
| `- error: 'CALayer' is unavailable in watchOS
15 | var size = CGSize()
16 |
/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. **/
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Cosmos/CosmosSize.swift (in target 'Cosmos' from project 'Cosmos')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile CosmosSize.swift
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Cosmos/CosmosText.swift (in target 'Cosmos' from project 'Cosmos')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile CosmosText.swift
SwiftCompile normal arm64_32 Compiling\ CosmosLayers.swift,\ CosmosLocalizedRating.swift /Users/admin/builder/spi-builder-workspace/Cosmos/CosmosLayers.swift /Users/admin/builder/spi-builder-workspace/Cosmos/CosmosLocalizedRating.swift (in target 'Cosmos' from project 'Cosmos')
/Users/admin/builder/spi-builder-workspace/Cosmos/CosmosLayers.swift:19:100: error: 'CALayer' is unavailable in watchOS
17 |
18 | */
19 | class func createStarLayers(_ rating: Double, settings: CosmosSettings, isRightToLeft: Bool) -> [CALayer] {
| `- error: 'CALayer' is unavailable in watchOS
20 |
21 | var ratingRemander = CosmosRating.numberOfFilledStars(rating,
/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/Cosmos/CosmosLayers.swift:53:89: error: 'CALayer' is unavailable in watchOS
51 | */
52 | class func createCompositeStarLayer(_ starFillLevel: Double,
53 | settings: CosmosSettings, isRightToLeft: Bool) -> CALayer {
| `- error: 'CALayer' is unavailable in watchOS
54 |
55 | if starFillLevel >= 1 {
/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/Cosmos/CosmosLayers.swift:79:107: error: 'CALayer' is unavailable in watchOS
77 |
78 | */
79 | class func createPartialStar(_ starFillLevel: Double, settings: CosmosSettings, isRightToLeft: Bool) -> CALayer {
| `- error: 'CALayer' is unavailable in watchOS
80 | let filledStar = createStarLayer(true, settings: settings)
81 | let emptyStar = createStarLayer(false, settings: settings)
/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/Cosmos/CosmosLayers.swift:103:85: error: 'CALayer' is unavailable in watchOS
101 | }
102 |
103 | private class func createStarLayer(_ isFilled: Bool, settings: CosmosSettings) -> CALayer {
| `- error: 'CALayer' is unavailable in watchOS
104 | if let image = isFilled ? settings.filledImage : settings.emptyImage {
105 | // Create a layer that shows a star from an image
/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/Cosmos/CosmosLayers.swift:129:44: error: 'CALayer' is unavailable in watchOS
127 |
128 | */
129 | class func positionStarLayers(_ layers: [CALayer], starMargin: Double) {
| `- error: 'CALayer' is unavailable in watchOS
130 | var positionX:CGFloat = 0
131 |
/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/Cosmos/CosmosLayers.swift:24:23: error: 'CALayer' is unavailable in watchOS
22 | totalNumberOfStars: settings.totalStars)
23 |
24 | var starLayers = [CALayer]()
| `- error: 'CALayer' is unavailable in watchOS
25 |
26 | for _ in (0..<settings.totalStars) {
/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/Cosmos/CosmosLayers.swift:84:23: error: 'CALayer' is unavailable in watchOS
82 |
83 |
84 | let parentLayer = CALayer()
| `- error: 'CALayer' is unavailable in watchOS
85 | parentLayer.contentsScale = UIScreen.main.scale
86 | parentLayer.bounds = CGRect(origin: CGPoint(), size: filledStar.bounds.size)
/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/Cosmos/CosmosLayers.swift:85:17: error: 'contentsScale' is unavailable in watchOS
83 |
84 | let parentLayer = CALayer()
85 | parentLayer.contentsScale = UIScreen.main.scale
| `- error: 'contentsScale' is unavailable in watchOS
86 | parentLayer.bounds = CGRect(origin: CGPoint(), size: filledStar.bounds.size)
87 | parentLayer.anchorPoint = CGPoint()
/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/Cosmos/CosmosLayers.swift:85:33: error: 'UIScreen' is unavailable in watchOS
83 |
84 | let parentLayer = CALayer()
85 | parentLayer.contentsScale = UIScreen.main.scale
| `- error: 'UIScreen' is unavailable in watchOS
86 | parentLayer.bounds = CGRect(origin: CGPoint(), size: filledStar.bounds.size)
87 | parentLayer.anchorPoint = CGPoint()
/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/Cosmos/CosmosLayers.swift:85:42: error: 'main' is unavailable in watchOS
83 |
84 | let parentLayer = CALayer()
85 | parentLayer.contentsScale = UIScreen.main.scale
| `- error: 'main' is unavailable in watchOS
86 | parentLayer.bounds = CGRect(origin: CGPoint(), size: filledStar.bounds.size)
87 | parentLayer.anchorPoint = CGPoint()
/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/Cosmos/CosmosLayers.swift:93:22: error: 'CATransform3DMakeRotation' is unavailable in watchOS
91 | if isRightToLeft {
92 | // Flip the star horizontally for a right-to-left language
93 | let rotation = CATransform3DMakeRotation(CGFloat(Double.pi), 0, 1, 0)
| `- error: 'CATransform3DMakeRotation' is unavailable in watchOS
94 | filledStar.transform = CATransform3DTranslate(rotation, -filledStar.bounds.size.width, 0, 0)
95 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CATransform3D.h:63:25: note: 'CATransform3DMakeRotation' has been explicitly marked unavailable here
61 | * returned. */
62 |
63 | CA_EXTERN CATransform3D CATransform3DMakeRotation (CGFloat angle, CGFloat x,
| `- note: 'CATransform3DMakeRotation' has been explicitly marked unavailable here
64 | CGFloat y, CGFloat z)
65 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos);
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Cosmos/CosmosLayers.swift (in target 'Cosmos' from project 'Cosmos')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile CosmosLayers.swift
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Cosmos/CosmosLocalizedRating.swift (in target 'Cosmos' from project 'Cosmos')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile CosmosLocalizedRating.swift
SwiftCompile normal arm64_32 Compiling\ CosmosTouchTarget.swift /Users/admin/builder/spi-builder-workspace/Cosmos/Helpers/CosmosTouchTarget.swift (in target 'Cosmos' from project 'Cosmos')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Cosmos/Helpers/CosmosTouchTarget.swift (in target 'Cosmos' from project 'Cosmos')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile CosmosTouchTarget.swift
SwiftCompile normal arm64_32 Compiling\ StarLayer.swift /Users/admin/builder/spi-builder-workspace/Cosmos/StarLayer.swift (in target 'Cosmos' from project 'Cosmos')
/Users/admin/builder/spi-builder-workspace/Cosmos/StarLayer.swift:27:69: error: 'CALayer' is unavailable in watchOS
25 | */
26 | static func create(_ starPoints: [CGPoint], size: Double,
27 | lineWidth: Double, fillColor: UIColor, strokeColor: UIColor) -> CALayer {
| `- error: 'CALayer' is unavailable in watchOS
28 |
29 | let containerLayer = createContainerLayer(size)
/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/Cosmos/StarLayer.swift:49:55: error: 'CALayer' is unavailable in watchOS
47 |
48 | */
49 | static func create(image: UIImage, size: Double) -> CALayer {
| `- error: 'CALayer' is unavailable in watchOS
50 | let containerLayer = createContainerLayer(size)
51 | let imageLayer = createContainerLayer(size)
/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/Cosmos/StarLayer.swift:76:44: error: 'CALayer' is unavailable in watchOS
74 | */
75 | static func createShapeLayer(_ path: CGPath, lineWidth: Double, fillColor: UIColor,
76 | strokeColor: UIColor, size: Double) -> CALayer {
| `- error: 'CALayer' is unavailable in watchOS
77 |
78 | let layer = CAShapeLayer()
/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/Cosmos/StarLayer.swift:98:55: error: 'CALayer' is unavailable in watchOS
96 |
97 | */
98 | static func createContainerLayer(_ size: Double) -> CALayer {
| `- error: 'CALayer' is unavailable in watchOS
99 | let layer = CALayer()
100 | layer.contentsScale = UIScreen.main.scale
/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/Cosmos/StarLayer.swift:55:34: error: 'CALayerContentsGravity' is unavailable in watchOS
53 | containerLayer.addSublayer(imageLayer)
54 | imageLayer.contents = image.cgImage
55 | imageLayer.contentsGravity = CALayerContentsGravity.resizeAspect
| `- error: 'CALayerContentsGravity' is unavailable in watchOS
56 |
57 | return containerLayer
/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:21:20: note: 'CALayerContentsGravity' has been explicitly marked unavailable here
19 | NS_HEADER_AUDIT_BEGIN(nullability, sendability)
20 |
21 | typedef NSString * CALayerContentsGravity NS_TYPED_ENUM API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos);
| `- note: 'CALayerContentsGravity' has been explicitly marked unavailable here
22 | typedef NSString * CALayerContentsFormat NS_TYPED_ENUM API_AVAILABLE(macos(10.12), ios(10.0), tvos(10.0)) API_UNAVAILABLE(watchos);
23 | typedef NSString * CALayerContentsFilter NS_TYPED_ENUM API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos);
/Users/admin/builder/spi-builder-workspace/Cosmos/StarLayer.swift:55:57: error: 'resizeAspect' is unavailable in watchOS
53 | containerLayer.addSublayer(imageLayer)
54 | imageLayer.contents = image.cgImage
55 | imageLayer.contentsGravity = CALayerContentsGravity.resizeAspect
| `- error: 'resizeAspect' is unavailable in watchOS
56 |
57 | return containerLayer
/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:1027:40: note: 'resizeAspect' has been explicitly marked unavailable here
1025 | CA_EXTERN CALayerContentsGravity const kCAGravityResize
1026 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos);
1027 | CA_EXTERN CALayerContentsGravity const kCAGravityResizeAspect
| `- note: 'resizeAspect' has been explicitly marked unavailable here
1028 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos);
1029 | CA_EXTERN CALayerContentsGravity const kCAGravityResizeAspectFill
/Users/admin/builder/spi-builder-workspace/Cosmos/StarLayer.swift:78:17: error: 'CAShapeLayer' is unavailable in watchOS
76 | strokeColor: UIColor, size: Double) -> CALayer {
77 |
78 | let layer = CAShapeLayer()
| `- error: 'CAShapeLayer' is unavailable in watchOS
79 | layer.anchorPoint = CGPoint()
80 | layer.contentsScale = UIScreen.main.scale
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAShapeLayer.h:40:12: note: 'CAShapeLayer' has been explicitly marked unavailable here
38 |
39 | API_AVAILABLE(macos(10.6), ios(3.0), tvos(9.0)) API_UNAVAILABLE(watchos)
40 | @interface CAShapeLayer : CALayer
| `- note: 'CAShapeLayer' has been explicitly marked unavailable here
41 |
42 | /* The path defining the shape to be rendered. If the path extends
/Users/admin/builder/spi-builder-workspace/Cosmos/StarLayer.swift:80:11: error: 'contentsScale' is unavailable in watchOS
78 | let layer = CAShapeLayer()
79 | layer.anchorPoint = CGPoint()
80 | layer.contentsScale = UIScreen.main.scale
| `- error: 'contentsScale' is unavailable in watchOS
81 | layer.strokeColor = strokeColor.cgColor
82 | layer.fillColor = fillColor.cgColor
/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/Cosmos/StarLayer.swift:80:27: error: 'UIScreen' is unavailable in watchOS
78 | let layer = CAShapeLayer()
79 | layer.anchorPoint = CGPoint()
80 | layer.contentsScale = UIScreen.main.scale
| `- error: 'UIScreen' is unavailable in watchOS
81 | layer.strokeColor = strokeColor.cgColor
82 | layer.fillColor = fillColor.cgColor
/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/Cosmos/StarLayer.swift:80:36: error: 'main' is unavailable in watchOS
78 | let layer = CAShapeLayer()
79 | layer.anchorPoint = CGPoint()
80 | layer.contentsScale = UIScreen.main.scale
| `- error: 'main' is unavailable in watchOS
81 | layer.strokeColor = strokeColor.cgColor
82 | layer.fillColor = fillColor.cgColor
/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/Cosmos/StarLayer.swift:99:17: error: 'CALayer' is unavailable in watchOS
97 | */
98 | static func createContainerLayer(_ size: Double) -> CALayer {
99 | let layer = CALayer()
| `- error: 'CALayer' is unavailable in watchOS
100 | layer.contentsScale = UIScreen.main.scale
101 | layer.anchorPoint = CGPoint()
/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/Cosmos/StarLayer.swift:100:11: error: 'contentsScale' is unavailable in watchOS
98 | static func createContainerLayer(_ size: Double) -> CALayer {
99 | let layer = CALayer()
100 | layer.contentsScale = UIScreen.main.scale
| `- error: 'contentsScale' is unavailable in watchOS
101 | layer.anchorPoint = CGPoint()
102 | layer.masksToBounds = true
/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/Cosmos/StarLayer.swift:100:27: error: 'UIScreen' is unavailable in watchOS
98 | static func createContainerLayer(_ size: Double) -> CALayer {
99 | let layer = CALayer()
100 | layer.contentsScale = UIScreen.main.scale
| `- error: 'UIScreen' is unavailable in watchOS
101 | layer.anchorPoint = CGPoint()
102 | layer.masksToBounds = 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/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
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Cosmos/StarLayer.swift (in target 'Cosmos' from project 'Cosmos')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile StarLayer.swift
SwiftCompile normal arm64_32 Compiling\ StarFillMode.swift /Users/admin/builder/spi-builder-workspace/Cosmos/StarFillMode.swift (in target 'Cosmos' from project 'Cosmos')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Cosmos/StarFillMode.swift (in target 'Cosmos' from project 'Cosmos')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile StarFillMode.swift
SwiftCompile normal arm64_32 Compiling\ CosmosDefaultSettings.swift,\ CosmosLayerHelper.swift /Users/admin/builder/spi-builder-workspace/Cosmos/CosmosDefaultSettings.swift /Users/admin/builder/spi-builder-workspace/Cosmos/CosmosLayerHelper.swift (in target 'Cosmos' from project 'Cosmos')
/Users/admin/builder/spi-builder-workspace/Cosmos/CosmosDefaultSettings.swift:21:52: error: 'UIScreen' is unavailable in watchOS
19 |
20 | /// Width of the border for the empty star.
21 | static let emptyBorderWidth: Double = 1 / Double(UIScreen.main.scale)
| `- error: 'UIScreen' is unavailable in watchOS
22 |
23 | /// Border color of a filled star.
/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/Cosmos/CosmosDefaultSettings.swift:21:61: error: 'main' is unavailable in watchOS
19 |
20 | /// Width of the border for the empty star.
21 | static let emptyBorderWidth: Double = 1 / Double(UIScreen.main.scale)
| `- error: 'main' is unavailable in watchOS
22 |
23 | /// Border color of a filled star.
/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/Cosmos/CosmosDefaultSettings.swift:27:53: error: 'UIScreen' is unavailable in watchOS
25 |
26 | /// Width of the border for a filled star.
27 | static let filledBorderWidth: Double = 1 / Double(UIScreen.main.scale)
| `- error: 'UIScreen' is unavailable in watchOS
28 |
29 | /// Background color of an empty star.
/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/Cosmos/CosmosDefaultSettings.swift:27:62: error: 'main' is unavailable in watchOS
25 |
26 | /// Width of the border for a filled star.
27 | static let filledBorderWidth: Double = 1 / Double(UIScreen.main.scale)
| `- error: 'main' is unavailable in watchOS
28 |
29 | /// Background color of an empty star.
/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/Cosmos/CosmosLayerHelper.swift:16:79: error: 'CATextLayer' is unavailable in watchOS
14 |
15 | */
16 | class func createTextLayer(_ text: String, font: UIFont, color: UIColor) -> CATextLayer {
| `- error: 'CATextLayer' is unavailable in watchOS
17 | let size = NSString(string: text).size(withAttributes: [NSAttributedString.Key.font: font])
18 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CATextLayer.h:20:12: note: 'CATextLayer' has been explicitly marked unavailable here
18 |
19 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
20 | @interface CATextLayer : CALayer
| `- note: 'CATextLayer' has been explicitly marked unavailable here
21 | {
22 | @private
/Users/admin/builder/spi-builder-workspace/Cosmos/CosmosLayerHelper.swift:19:17: error: 'CATextLayer' is unavailable in watchOS
17 | let size = NSString(string: text).size(withAttributes: [NSAttributedString.Key.font: font])
18 |
19 | let layer = CATextLayer()
| `- error: 'CATextLayer' is unavailable in watchOS
20 | layer.bounds = CGRect(origin: CGPoint(), size: size)
21 | layer.anchorPoint = CGPoint()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CATextLayer.h:20:12: note: 'CATextLayer' has been explicitly marked unavailable here
18 |
19 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
20 | @interface CATextLayer : CALayer
| `- note: 'CATextLayer' has been explicitly marked unavailable here
21 | {
22 | @private
/Users/admin/builder/spi-builder-workspace/Cosmos/CosmosLayerHelper.swift:27:11: error: 'contentsScale' is unavailable in watchOS
25 | layer.fontSize = font.pointSize
26 | layer.foregroundColor = color.cgColor
27 | layer.contentsScale = UIScreen.main.scale
| `- error: 'contentsScale' is unavailable in watchOS
28 |
29 | return layer
/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/Cosmos/CosmosLayerHelper.swift:27:27: error: 'UIScreen' is unavailable in watchOS
25 | layer.fontSize = font.pointSize
26 | layer.foregroundColor = color.cgColor
27 | layer.contentsScale = UIScreen.main.scale
| `- error: 'UIScreen' is unavailable in watchOS
28 |
29 | return layer
/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
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Cosmos/CosmosDefaultSettings.swift (in target 'Cosmos' from project 'Cosmos')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile CosmosDefaultSettings.swift
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Cosmos/CosmosLayerHelper.swift (in target 'Cosmos' from project 'Cosmos')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile CosmosLayerHelper.swift
SwiftEmitModule normal arm64 Emitting\ module\ for\ Cosmos (in target 'Cosmos' from project 'Cosmos')
/Users/admin/builder/spi-builder-workspace/Cosmos/CosmosAccessibility.swift:15:30: error: 'UIView' is unavailable in watchOS
13 | */
14 |
15 | static func update(_ view: UIView, rating: Double, text: String?, settings: CosmosSettings) {
| `- error: 'UIView' is unavailable in watchOS
16 | view.isAccessibilityElement = true
17 |
/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/Cosmos/CosmosAccessibility.swift:41:42: error: 'UIView' is unavailable in watchOS
39 |
40 | */
41 | static func accessibilityValue(_ view: UIView, rating: Double, settings: CosmosSettings) -> String {
| `- error: 'UIView' is unavailable in watchOS
42 | let accessibilityRating = CosmosRating.displayedRatingFromPreciseRating(rating,
43 | fillMode: settings.fillMode, totalStars: settings.totalStars)
/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/Cosmos/CosmosDefaultSettings.swift:21:52: error: 'UIScreen' is unavailable in watchOS
19 |
20 | /// Width of the border for the empty star.
21 | static let emptyBorderWidth: Double = 1 / Double(UIScreen.main.scale)
| `- error: 'UIScreen' is unavailable in watchOS
22 |
23 | /// Border color of a filled star.
/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/Cosmos/CosmosDefaultSettings.swift:21:61: error: 'main' is unavailable in watchOS
19 |
20 | /// Width of the border for the empty star.
21 | static let emptyBorderWidth: Double = 1 / Double(UIScreen.main.scale)
| `- error: 'main' is unavailable in watchOS
22 |
23 | /// Border color of a filled star.
/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/Cosmos/CosmosDefaultSettings.swift:27:53: error: 'UIScreen' is unavailable in watchOS
25 |
26 | /// Width of the border for a filled star.
27 | static let filledBorderWidth: Double = 1 / Double(UIScreen.main.scale)
| `- error: 'UIScreen' is unavailable in watchOS
28 |
29 | /// Background color of an empty star.
/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/Cosmos/CosmosDefaultSettings.swift:27:62: error: 'main' is unavailable in watchOS
25 |
26 | /// Width of the border for a filled star.
27 | static let filledBorderWidth: Double = 1 / Double(UIScreen.main.scale)
| `- error: 'main' is unavailable in watchOS
28 |
29 | /// Background color of an empty star.
/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/Cosmos/CosmosLayerHelper.swift:16:79: error: 'CATextLayer' is unavailable in watchOS
14 |
15 | */
16 | class func createTextLayer(_ text: String, font: UIFont, color: UIColor) -> CATextLayer {
| `- error: 'CATextLayer' is unavailable in watchOS
17 | let size = NSString(string: text).size(withAttributes: [NSAttributedString.Key.font: font])
18 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CATextLayer.h:20:12: note: 'CATextLayer' has been explicitly marked unavailable here
18 |
19 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
20 | @interface CATextLayer : CALayer
| `- note: 'CATextLayer' has been explicitly marked unavailable here
21 | {
22 | @private
/Users/admin/builder/spi-builder-workspace/Cosmos/CosmosLayers.swift:19:100: error: 'CALayer' is unavailable in watchOS
17 |
18 | */
19 | class func createStarLayers(_ rating: Double, settings: CosmosSettings, isRightToLeft: Bool) -> [CALayer] {
| `- error: 'CALayer' is unavailable in watchOS
20 |
21 | var ratingRemander = CosmosRating.numberOfFilledStars(rating,
/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/Cosmos/CosmosLayers.swift:53:89: error: 'CALayer' is unavailable in watchOS
51 | */
52 | class func createCompositeStarLayer(_ starFillLevel: Double,
53 | settings: CosmosSettings, isRightToLeft: Bool) -> CALayer {
| `- error: 'CALayer' is unavailable in watchOS
54 |
55 | if starFillLevel >= 1 {
/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/Cosmos/CosmosLayers.swift:79:107: error: 'CALayer' is unavailable in watchOS
77 |
78 | */
79 | class func createPartialStar(_ starFillLevel: Double, settings: CosmosSettings, isRightToLeft: Bool) -> CALayer {
| `- error: 'CALayer' is unavailable in watchOS
80 | let filledStar = createStarLayer(true, settings: settings)
81 | let emptyStar = createStarLayer(false, settings: settings)
/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/Cosmos/CosmosLayers.swift:103:85: error: 'CALayer' is unavailable in watchOS
101 | }
102 |
103 | private class func createStarLayer(_ isFilled: Bool, settings: CosmosSettings) -> CALayer {
| `- error: 'CALayer' is unavailable in watchOS
104 | if let image = isFilled ? settings.filledImage : settings.emptyImage {
105 | // Create a layer that shows a star from an image
/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/Cosmos/CosmosLayers.swift:129:44: error: 'CALayer' is unavailable in watchOS
127 |
128 | */
129 | class func positionStarLayers(_ layers: [CALayer], starMargin: Double) {
| `- error: 'CALayer' is unavailable in watchOS
130 | var positionX:CGFloat = 0
131 |
/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/Cosmos/CosmosSize.swift:14:50: error: 'CALayer' is unavailable in watchOS
12 |
13 | */
14 | class func calculateSizeToFitLayers(_ layers: [CALayer]) -> CGSize {
| `- error: 'CALayer' is unavailable in watchOS
15 | var size = CGSize()
16 |
/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/Cosmos/CosmosText.swift:20:32: error: 'CALayer' is unavailable in watchOS
18 |
19 | */
20 | class func position(_ layer: CALayer, starsSize: CGSize, textMargin: Double) {
| `- error: 'CALayer' is unavailable in watchOS
21 | layer.position.x = starsSize.width + CGFloat(textMargin)
22 | let yOffset = (starsSize.height - layer.bounds.height) / 2
/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/Cosmos/CosmosView.swift:50:22: error: cannot override 'awakeFromNib' which has been marked unavailable
48 |
49 | /// Draws the stars when the view comes out of storyboard with default settings
50 | open override func awakeFromNib() {
| |- error: cannot override 'awakeFromNib' which has been marked unavailable
| `- note: remove 'override' modifier to declare a new 'awakeFromNib'
51 | super.awakeFromNib()
52 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINibLoading.h:23:1: note: 'awakeFromNib()' has been explicitly marked unavailable here
21 |
22 | @interface NSObject(UINibLoadingAdditions)
23 | - (void)awakeFromNib NS_REQUIRES_SUPER API_DEPRECATED("Loading Interface Builder products will not be supported in a future version of visionOS.", visionos(1.0, 1.0)) API_UNAVAILABLE(watchos);
| `- note: 'awakeFromNib()' has been explicitly marked unavailable here
24 | - (void)prepareForInterfaceBuilder API_AVAILABLE(ios(8.0)) API_DEPRECATED("Loading Interface Builder products will not be supported in a future version of visionOS.", visionos(1.0, 1.0)) API_UNAVAILABLE(watchos);
25 | @end
/Users/admin/builder/spi-builder-workspace/Cosmos/CosmosView.swift:147:57: error: 'CALayer' is unavailable in watchOS
145 |
146 | */
147 | private func createTextLayer(_ text: String, layers: [CALayer]) -> CALayer {
| `- error: 'CALayer' is unavailable in watchOS
148 | let textLayer = CosmosLayerHelper.createTextLayer(text,
149 | font: settings.textFont, color: settings.textColor)
/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/Cosmos/CosmosView.swift:147:70: error: 'CALayer' is unavailable in watchOS
145 |
146 | */
147 | private func createTextLayer(_ text: String, layers: [CALayer]) -> CALayer {
| `- error: 'CALayer' is unavailable in watchOS
148 | let textLayer = CosmosLayerHelper.createTextLayer(text,
149 | font: settings.textFont, color: settings.textColor)
/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/Cosmos/CosmosView.swift:173:40: error: 'CALayer' is unavailable in watchOS
171 |
172 | */
173 | private func addTextLayer(textLayer: CALayer, layers: [CALayer]) -> [CALayer] {
| `- error: 'CALayer' is unavailable in watchOS
174 | var allLayers = layers
175 | // Position stars after the text for right-to-left languages
/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/Cosmos/CosmosView.swift:173:58: error: 'CALayer' is unavailable in watchOS
171 |
172 | */
173 | private func addTextLayer(textLayer: CALayer, layers: [CALayer]) -> [CALayer] {
| `- error: 'CALayer' is unavailable in watchOS
174 | var allLayers = layers
175 | // Position stars after the text for right-to-left languages
/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/Cosmos/CosmosView.swift:173:72: error: 'CALayer' is unavailable in watchOS
171 |
172 | */
173 | private func addTextLayer(textLayer: CALayer, layers: [CALayer]) -> [CALayer] {
| `- error: 'CALayer' is unavailable in watchOS
174 | var allLayers = layers
175 | // Position stars after the text for right-to-left languages
/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/Cosmos/CosmosView.swift:196:38: error: 'CALayer' is unavailable in watchOS
194 |
195 | */
196 | private func updateSize(_ layers: [CALayer]) {
| `- error: 'CALayer' is unavailable in watchOS
197 | viewSize = CosmosSize.calculateSizeToFitLayers(layers)
198 | invalidateIntrinsicContentSize()
/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/Cosmos/CosmosView.swift:228:74: error: 'UITraitCollection' is unavailable in watchOS
226 |
227 | */
228 | open override func traitCollectionDidChange(_ previousTraitCollection: UITraitCollection?) {
| `- error: 'UITraitCollection' is unavailable in watchOS
229 | super.traitCollectionDidChange(previousTraitCollection)
230 |
/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/Cosmos/CosmosView.swift:228:22: error: cannot override 'traitCollectionDidChange' which has been marked unavailable
226 |
227 | */
228 | open override func traitCollectionDidChange(_ previousTraitCollection: UITraitCollection?) {
| |- error: cannot override 'traitCollectionDidChange' which has been marked unavailable
| `- note: remove 'override' modifier to declare a new 'traitCollectionDidChange'
229 | super.traitCollectionDidChange(previousTraitCollection)
230 |
/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/Cosmos/CosmosView.swift:245:22: error: cannot override 'accessibilityIncrement' which has been marked unavailable
243 |
244 | /// Called by the system in accessibility voice-over mode when the value is incremented by the user.
245 | open override func accessibilityIncrement() {
| |- error: cannot override 'accessibilityIncrement' which has been marked unavailable
| `- note: remove 'override' modifier to declare a new 'accessibilityIncrement'
246 | super.accessibilityIncrement()
247 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibility.h:354:1: note: 'accessibilityIncrement()' has been explicitly marked unavailable here
352 | of a UISlider, and accessibilityDecrement will decrease the value.
353 | */
354 | - (void)accessibilityIncrement API_AVAILABLE(ios(4.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR;
| `- note: 'accessibilityIncrement()' has been explicitly marked unavailable here
355 | - (void)accessibilityDecrement API_AVAILABLE(ios(4.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR;
356 |
SwiftCompile normal arm64 (in target 'Cosmos' from project 'Cosmos')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 Compiling\ CosmosSize.swift,\ CosmosText.swift /Users/admin/builder/spi-builder-workspace/Cosmos/CosmosSize.swift /Users/admin/builder/spi-builder-workspace/Cosmos/CosmosText.swift (in target 'Cosmos' from project 'Cosmos')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Cosmos/CosmosSize.swift (in target 'Cosmos' from project 'Cosmos')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile CosmosSize.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Cosmos/CosmosText.swift (in target 'Cosmos' from project 'Cosmos')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile CosmosText.swift
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules
2026-09-22 11:20:28.689 xcodebuild[817:5010] [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 'Cosmos' from project 'Cosmos')
SwiftEmitModule normal arm64_32 Emitting\ module\ for\ Cosmos (in target 'Cosmos' from project 'Cosmos')
Building workspace Cosmos with scheme Cosmos
(3 failures)
BUILD FAILURE 6.4 watchOS