Build Information
Failed to build YMatterType, reference main (3a9f8d), with Swift 6.4 for watchOS using Xcode 27.0 on 19 Sep 2026 18:06:25 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme YMatterType -destination generic/platform=watchOSBuild Log
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITraitCollection.h:23:12: note: 'UITraitCollection' has been explicitly marked unavailable here
21 |
22 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_SENDABLE
23 | @interface UITraitCollection : NSObject <NSCopying, NSSecureCoding>
| `- note: 'UITraitCollection' has been explicitly marked unavailable here
24 |
25 | - (instancetype)init NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/YMatterType/Typography/Typography+Font.swift:127:41: error: 'UITraitCollection' is unavailable in watchOS
125 | maximumScaleFactor: CGFloat?,
126 | maximumPointSize: CGFloat?,
127 | compatibleWith traitCollection: UITraitCollection?
| `- error: 'UITraitCollection' is unavailable in watchOS
128 | ) -> TypographyLayout {
129 | if let maximumScaleFactor = maximumScaleFactor {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITraitCollection.h:23:12: note: 'UITraitCollection' has been explicitly marked unavailable here
21 |
22 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_SENDABLE
23 | @interface UITraitCollection : NSObject <NSCopying, NSSecureCoding>
| `- note: 'UITraitCollection' has been explicitly marked unavailable here
24 |
25 | - (instancetype)init NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/YMatterType/Typography/Typography+Font.swift:164:60: error: 'UITraitCollection' is unavailable in watchOS
162 |
163 | private extension Typography {
164 | func generateFixedFont(compatibleWith traitCollection: UITraitCollection?) -> UIFont {
| `- error: 'UITraitCollection' is unavailable in watchOS
165 | var traits = traitCollection
166 | if fontFamily is SystemFontFamily {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITraitCollection.h:23:12: note: 'UITraitCollection' has been explicitly marked unavailable here
21 |
22 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_SENDABLE
23 | @interface UITraitCollection : NSObject <NSCopying, NSSecureCoding>
| `- note: 'UITraitCollection' has been explicitly marked unavailable here
24 |
25 | - (instancetype)init NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/YMatterType/Typography/Typography+System.swift:29:26: error: 'systemFontSize' is unavailable in watchOS
27 | @available(tvOS, unavailable)
28 | public static let system = makeSystemTypography(
29 | fontSize: UIFont.systemFontSize, weight: .regular, textStyle: .callout
| `- error: 'systemFontSize' is unavailable in watchOS
30 | )
31 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIInterface.h:271:47: note: 'systemFontSize' has been explicitly marked unavailable here
269 | @property(class, nonatomic, readonly) CGFloat buttonFontSize API_UNAVAILABLE(tvos, watchos);
270 | @property(class, nonatomic, readonly) CGFloat smallSystemFontSize API_UNAVAILABLE(tvos, watchos);
271 | @property(class, nonatomic, readonly) CGFloat systemFontSize API_UNAVAILABLE(tvos, watchos);
| `- note: 'systemFontSize' has been explicitly marked unavailable here
272 | @property(class, nonatomic, readonly) CGFloat defaultFontSize API_UNAVAILABLE(macos, ios, tvos, watchos);
273 | @property(class, nonatomic, readonly) CGFloat systemMinimumFontSize API_UNAVAILABLE(macos, ios, tvos, watchos);
/Users/admin/builder/spi-builder-workspace/Sources/YMatterType/Typography/Typography+System.swift:36:26: error: 'smallSystemFontSize' is unavailable in watchOS
34 | @available(tvOS, unavailable)
35 | public static let smallSystem = makeSystemTypography(
36 | fontSize: UIFont.smallSystemFontSize, weight: .regular, textStyle: .footnote
| `- error: 'smallSystemFontSize' is unavailable in watchOS
37 | )
38 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIInterface.h:270:47: note: 'smallSystemFontSize' has been explicitly marked unavailable here
268 | @property(class, nonatomic, readonly) CGFloat labelFontSize API_UNAVAILABLE(tvos, watchos);
269 | @property(class, nonatomic, readonly) CGFloat buttonFontSize API_UNAVAILABLE(tvos, watchos);
270 | @property(class, nonatomic, readonly) CGFloat smallSystemFontSize API_UNAVAILABLE(tvos, watchos);
| `- note: 'smallSystemFontSize' has been explicitly marked unavailable here
271 | @property(class, nonatomic, readonly) CGFloat systemFontSize API_UNAVAILABLE(tvos, watchos);
272 | @property(class, nonatomic, readonly) CGFloat defaultFontSize API_UNAVAILABLE(macos, ios, tvos, watchos);
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/Sources/YMatterType/Elements/Representables/TypographyLabelRepresentable.swift /Users/admin/builder/spi-builder-workspace/Sources/YMatterType/Elements/TextStyleLabel.swift /Users/admin/builder/spi-builder-workspace/Sources/YMatterType/Elements/TypographyButton.swift /Users/admin/builder/spi-builder-workspace/Sources/YMatterType/Elements/TypographyLabel.swift /Users/admin/builder/spi-builder-workspace/Sources/YMatterType/Elements/TypographyTextField.swift /Users/admin/builder/spi-builder-workspace/Sources/YMatterType/Elements/TypographyTextView.swift /Users/admin/builder/spi-builder-workspace/Sources/YMatterType/Extensions/Foundation/NSAttributedString+baseAttributes.swift /Users/admin/builder/spi-builder-workspace/Sources/YMatterType/Extensions/Foundation/NSAttributedString+textCase.swift /Users/admin/builder/spi-builder-workspace/Sources/YMatterType/Extensions/Foundation/String+textCase.swift /Users/admin/builder/spi-builder-workspace/Sources/YMatterType/Extensions/Foundation/String+textSize.swift /Users/admin/builder/spi-builder-workspace/Sources/YMatterType/Extensions/UIKit/NSParagraphStyle+lineSpacing.swift /Users/admin/builder/spi-builder-workspace/Sources/YMatterType/Extensions/UIKit/UIFont+register.swift /Users/admin/builder/spi-builder-workspace/Sources/YMatterType/Extensions/UIKit/UITraitCollection+breakpoint.swift /Users/admin/builder/spi-builder-workspace/Sources/YMatterType/Extensions/UIKit/UITraitCollection+fontAppearance.swift /Users/admin/builder/spi-builder-workspace/Sources/YMatterType/Typography/FontFamily/DefaultFontFamily.swift /Users/admin/builder/spi-builder-workspace/Sources/YMatterType/Typography/FontFamily/DefaultFontFamilyFactory.swift /Users/admin/builder/spi-builder-workspace/Sources/YMatterType/Typography/FontFamily/FontFamily.swift /Users/admin/builder/spi-builder-workspace/Sources/YMatterType/Typography/FontFamily/FontFamilyFactory.swift /Users/admin/builder/spi-builder-workspace/Sources/YMatterType/Typography/FontFamily/HelveticaNeueFontFamily.swift /Users/admin/builder/spi-builder-workspace/Sources/YMatterType/Typography/FontFamily/SystemFontFamily.swift /Users/admin/builder/spi-builder-workspace/Sources/YMatterType/Typography/Typography+Enums.swift /Users/admin/builder/spi-builder-workspace/Sources/YMatterType/Typography/Typography+Font.swift /Users/admin/builder/spi-builder-workspace/Sources/YMatterType/Typography/Typography+Mutators.swift /Users/admin/builder/spi-builder-workspace/Sources/YMatterType/Typography/Typography+System.swift /Users/admin/builder/spi-builder-workspace/Sources/YMatterType/Typography/Typography.swift /Users/admin/builder/spi-builder-workspace/Sources/YMatterType/Typography/TypographyLayout.swift /Users/admin/builder/spi-builder-workspace/Sources/YMatterType/YMatterType+Logging.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/libPreviewsMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#PreviewsMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libSwiftMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#SwiftMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libSwiftUIMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#SwiftUIMacros -disable-implicit-swift-modules -Xcc -fno-implicit-modules -Xcc -fno-implicit-module-maps -explicit-swift-module-map-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/YMatterType.build/Debug-watchos/YMatterType-t.build/Objects-normal/arm64_32/YMatterType-dependencies-1.json -enable-objc-interop -sdk /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/Developer/Library/Frameworks -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules -no-color-diagnostics -Xcc -fno-color-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -profile-generate -profile-coverage-mapping -swift-version 5 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -enable-anonymous-context-mangled-names -file-compilation-dir /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos27.0-24R360-e829b21a6f8c9b70876ba0858053c04477534ef55a1706bf4c1112bbb242f0a2.sdkstatcache -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/YMatterType.build/Debug-watchos/YMatterType-t.build/DerivedSources-normal/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/YMatterType.build/Debug-watchos/YMatterType-t.build/DerivedSources/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/YMatterType.build/Debug-watchos/YMatterType-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name YMatterType -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/YMatterType.build/Debug-watchos/YMatterType-t.build/Objects-normal/arm64_32/YMatterType_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/YMatterType.build/Debug-watchos/YMatterType-t.build/Objects-normal/arm64_32/YMatterType.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/YMatterType.build/Debug-watchos/YMatterType-t.build/Objects-normal/arm64_32/YMatterType.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/YMatterType.build/Debug-watchos/YMatterType-t.build/Objects-normal/arm64_32/YMatterType-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/YMatterType.build/Debug-watchos/YMatterType-t.build/Objects-normal/arm64_32/YMatterType-primary-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/YMatterType.build/Debug-watchos/YMatterType-t.build/Objects-normal/arm64_32/YMatterType-primary-emit-module.d -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/YMatterType.build/Debug-watchos/YMatterType-t.build/Objects-normal/arm64_32/YMatterType.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/YMatterType.build/Debug-watchos/YMatterType-t.build/Objects-normal/arm64_32/YMatterType.abi.json
SwiftCompile normal arm64_32 (in target 'YMatterType' from project 'YMatterType')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64_32 Compiling\ TypographyLabelRepresentable.swift,\ TextStyleLabel.swift,\ TypographyButton.swift /Users/admin/builder/spi-builder-workspace/Sources/YMatterType/Elements/Representables/TypographyLabelRepresentable.swift /Users/admin/builder/spi-builder-workspace/Sources/YMatterType/Elements/TextStyleLabel.swift /Users/admin/builder/spi-builder-workspace/Sources/YMatterType/Elements/TypographyButton.swift (in target 'YMatterType' from project 'YMatterType')
/Users/admin/builder/spi-builder-workspace/Sources/YMatterType/Elements/Representables/TypographyLabelRepresentable.swift:26:41: error: cannot find type 'UIViewRepresentable' in scope
24 | }
25 |
26 | extension TypographyLabelRepresentable: UIViewRepresentable {
| `- error: cannot find type 'UIViewRepresentable' in scope
27 | /// Creates the view object and configures its initial state.
28 | ///
/Users/admin/builder/spi-builder-workspace/Sources/YMatterType/Elements/Representables/TypographyLabelRepresentable.swift:33:30: error: cannot find type 'Context' in scope
31 | ///
32 | /// - Returns: `TypographyLabel` view configured with the provided information.
33 | func makeUIView(context: Context) -> TypographyLabel {
| `- error: cannot find type 'Context' in scope
34 | getLabel()
35 | }
/Users/admin/builder/spi-builder-workspace/Sources/YMatterType/Elements/Representables/TypographyLabelRepresentable.swift:57:59: error: cannot find type 'Context' in scope
55 | /// - context: A context structure containing information about the current
56 | /// state of the system.
57 | func updateUIView(_ uiView: TypographyLabel, context: Context) {
| `- error: cannot find type 'Context' in scope
58 | updateLabel(uiView)
59 | }
/Users/admin/builder/spi-builder-workspace/Sources/YMatterType/Elements/Representables/TypographyLabelRepresentable.swift:43:56: error: 'defaultLow' is unavailable in watchOS
41 | label.numberOfLines = 1
42 |
43 | label.setContentCompressionResistancePriority(.defaultLow, for: .horizontal)
| `- error: 'defaultLow' is unavailable in watchOS
44 | label.setContentCompressionResistancePriority(.defaultLow, for: .vertical)
45 |
UIKit.UILayoutPriority.defaultLow:3:21: note: 'defaultLow' has been explicitly marked unavailable here
1 | struct UILayoutPriority {
2 | @available(watchOS, unavailable)
3 | public static var defaultLow: UILayoutPriority { get }}
| `- note: 'defaultLow' has been explicitly marked unavailable here
4 |
/Users/admin/builder/spi-builder-workspace/Sources/YMatterType/Elements/Representables/TypographyLabelRepresentable.swift:44:56: error: 'defaultLow' is unavailable in watchOS
42 |
43 | label.setContentCompressionResistancePriority(.defaultLow, for: .horizontal)
44 | label.setContentCompressionResistancePriority(.defaultLow, for: .vertical)
| `- error: 'defaultLow' is unavailable in watchOS
45 |
46 | configureTextStyleLabel?(label)
UIKit.UILayoutPriority.defaultLow:3:21: note: 'defaultLow' has been explicitly marked unavailable here
1 | struct UILayoutPriority {
2 | @available(watchOS, unavailable)
3 | public static var defaultLow: UILayoutPriority { get }}
| `- note: 'defaultLow' has been explicitly marked unavailable here
4 |
/Users/admin/builder/spi-builder-workspace/Sources/YMatterType/Elements/TextStyleLabel.swift:47:9: error: return type of instance method 'getLabel()' requires that 'TypographyLabelRepresentable' conform to 'View'
44 | }
45 |
46 | func getLabel() -> some View {
| `- note: opaque return type declared here
47 | TypographyLabelRepresentable(
| `- error: return type of instance method 'getLabel()' requires that 'TypographyLabelRepresentable' conform to 'View'
48 | text: text,
49 | typography: typography,
/Users/admin/builder/spi-builder-workspace/Sources/YMatterType/Elements/TypographyButton.swift:80:64: error: 'UIControl' is unavailable in watchOS
78 |
79 | /// :nodoc:
80 | override public func setTitle(_ title: String?, for state: UIControl.State) {
| `- error: 'UIControl' is unavailable in watchOS
81 | // When text is set, we may need to re-style it as attributedText
82 | // with the correct paragraph style to achieve the desired line height.
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIControl.h:76:12: note: 'UIControl' has been explicitly marked unavailable here
74 |
75 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
76 | @interface UIControl : UIView
| `- note: 'UIControl' has been explicitly marked unavailable here
77 |
78 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/YMatterType/Elements/TypographyButton.swift:88:86: error: 'UIControl' is unavailable in watchOS
86 |
87 | /// :nodoc:
88 | override public func setAttributedTitle(_ title: NSAttributedString?, for state: UIControl.State) {
| `- error: 'UIControl' is unavailable in watchOS
89 | // When text is set, we may need to re-style it as attributedText
90 | // with the correct paragraph style to achieve the desired line height.
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIControl.h:76:12: note: 'UIControl' has been explicitly marked unavailable here
74 |
75 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
76 | @interface UIControl : UIView
| `- note: 'UIControl' has been explicitly marked unavailable here
77 |
78 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/YMatterType/Elements/TypographyButton.swift:120:76: error: 'UITraitCollection' is unavailable in watchOS
118 |
119 | /// :nodoc:
120 | override open func traitCollectionDidChange(_ previousTraitCollection: UITraitCollection?) {
| `- error: 'UITraitCollection' is unavailable in watchOS
121 | super.traitCollectionDidChange(previousTraitCollection)
122 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITraitCollection.h:23:12: note: 'UITraitCollection' has been explicitly marked unavailable here
21 |
22 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_SENDABLE
23 | @interface UITraitCollection : NSObject <NSCopying, NSSecureCoding>
| `- note: 'UITraitCollection' has been explicitly marked unavailable here
24 |
25 | - (instancetype)init NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/YMatterType/Elements/TypographyButton.swift:120:24: error: cannot override 'traitCollectionDidChange' which has been marked unavailable
118 |
119 | /// :nodoc:
120 | override open func traitCollectionDidChange(_ previousTraitCollection: UITraitCollection?) {
| |- error: cannot override 'traitCollectionDidChange' which has been marked unavailable
| `- note: remove 'override' modifier to declare a new 'traitCollectionDidChange'
121 | super.traitCollectionDidChange(previousTraitCollection)
122 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITraitCollection.h:221:1: note: 'traitCollectionDidChange' has been explicitly marked unavailable here
219 |
220 | /*! To be overridden as needed to provide custom behavior when the environment's traits change. */
221 | - (void)traitCollectionDidChange:(nullable UITraitCollection *)previousTraitCollection API_DEPRECATED("Use the trait change registration APIs declared in the UITraitChangeObservable protocol", ios(8.0, 17.0), visionos(1.0, 1.0)) API_UNAVAILABLE(watchos);
| `- note: 'traitCollectionDidChange' has been explicitly marked unavailable here
222 | @end
223 |
/Users/admin/builder/spi-builder-workspace/Sources/YMatterType/Elements/TypographyButton.swift:13:30: error: 'UIButton' is unavailable in watchOS
11 | /// Button that supports `Typography`.
12 | /// You can optionally set `maximumPointSize` or `maximumScaleFactor` to set a cap on Dynamic Type scaling.
13 | open class TypographyButton: UIButton {
| `- error: 'UIButton' is unavailable in watchOS
14 | /// The current typographical layout
15 | public private(set) var layout: TypographyLayout!
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIButton.h:49:12: note: 'UIButton' has been explicitly marked unavailable here
47 |
48 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
49 | @interface UIButton : UIControl <NSCoding>
| `- note: 'UIButton' has been explicitly marked unavailable here
50 |
51 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/YMatterType/Elements/TypographyButton.swift:234:52: error: 'UIControl' is unavailable in watchOS
232 | }
233 |
234 | func styleText(_ newValue: String!, for state: UIControl.State) {
| `- error: 'UIControl' is unavailable in watchOS
235 | defer { invalidateIntrinsicContentSize() }
236 | guard let layout = layout,
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIControl.h:76:12: note: 'UIControl' has been explicitly marked unavailable here
74 |
75 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
76 | @interface UIControl : UIView
| `- note: 'UIControl' has been explicitly marked unavailable here
77 |
78 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/YMatterType/Elements/TypographyButton.swift:249:74: error: 'UIControl' is unavailable in watchOS
247 | }
248 |
249 | func styleAttributedText(_ newValue: NSAttributedString?, for state: UIControl.State) {
| `- error: 'UIControl' is unavailable in watchOS
250 | defer { invalidateIntrinsicContentSize() }
251 | guard let layout = layout,
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIControl.h:76:12: note: 'UIControl' has been explicitly marked unavailable here
74 |
75 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
76 | @interface UIControl : UIView
| `- note: 'UIControl' has been explicitly marked unavailable here
77 |
78 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/YMatterType/Elements/TypographyButton.swift:121:15: error: 'traitCollectionDidChange' is unavailable in watchOS
119 | /// :nodoc:
120 | override open func traitCollectionDidChange(_ previousTraitCollection: UITraitCollection?) {
121 | super.traitCollectionDidChange(previousTraitCollection)
| `- error: 'traitCollectionDidChange' is unavailable in watchOS
122 |
123 | if traitCollection.hasDifferentFontAppearance(comparedTo: previousTraitCollection) {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITraitCollection.h:221:1: note: 'traitCollectionDidChange' has been explicitly marked unavailable here
219 |
220 | /*! To be overridden as needed to provide custom behavior when the environment's traits change. */
221 | - (void)traitCollectionDidChange:(nullable UITraitCollection *)previousTraitCollection API_DEPRECATED("Use the trait change registration APIs declared in the UITraitChangeObservable protocol", ios(8.0, 17.0), visionos(1.0, 1.0)) API_UNAVAILABLE(watchos);
| `- note: 'traitCollectionDidChange' has been explicitly marked unavailable here
222 | @end
223 |
/Users/admin/builder/spi-builder-workspace/Sources/YMatterType/Elements/TypographyButton.swift:127:28: error: 'hasDifferentColorAppearance(comparedTo:)' is unavailable in watchOS
125 | }
126 |
127 | if traitCollection.hasDifferentColorAppearance(comparedTo: previousTraitCollection) {
| `- error: 'hasDifferentColorAppearance(comparedTo:)' is unavailable in watchOS
128 | adjustColors()
129 | }
/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:286:1: note: 'hasDifferentColorAppearance(comparedTo:)' has been explicitly marked unavailable here
284 | * and more could be added in the future.
285 | */
286 | - (BOOL)hasDifferentColorAppearanceComparedToTraitCollection:(nullable UITraitCollection *)traitCollection API_AVAILABLE(ios(13.0), tvos(13.0)) API_UNAVAILABLE(watchos);
| `- note: 'hasDifferentColorAppearance(comparedTo:)' has been explicitly marked unavailable here
287 |
288 | @end
/Users/admin/builder/spi-builder-workspace/Sources/YMatterType/Elements/TypographyButton.swift:212:19: error: 'UIContentSizeCategory' is unavailable in watchOS
210 | self,
211 | selector: #selector(contentSizeDidChange),
212 | name: UIContentSizeCategory.didChangeNotification,
| `- error: 'UIContentSizeCategory' is unavailable in watchOS
213 | object: nil
214 | )
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIContentSizeCategory.h:14:20: note: 'UIContentSizeCategory' has been explicitly marked unavailable here
12 | NS_HEADER_AUDIT_BEGIN(nullability, sendability)
13 |
14 | typedef NSString * UIContentSizeCategory NS_TYPED_ENUM API_AVAILABLE(ios(7.0)) API_UNAVAILABLE(watchos);
| `- note: 'UIContentSizeCategory' has been explicitly marked unavailable here
15 |
16 | // Content size category constants
/Users/admin/builder/spi-builder-workspace/Sources/YMatterType/Elements/TypographyButton.swift:212:41: error: 'didChangeNotification' is unavailable in watchOS
210 | self,
211 | selector: #selector(contentSizeDidChange),
212 | name: UIContentSizeCategory.didChangeNotification,
| `- error: 'didChangeNotification' is unavailable in watchOS
213 | object: nil
214 | )
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIContentSizeCategory.h:35:39: note: 'didChangeNotification' has been explicitly marked unavailable here
33 |
34 | // Notification is emitted when the user has changed the preferredContentSizeCategory for the system
35 | UIKIT_EXTERN NSNotificationName const UIContentSizeCategoryDidChangeNotification API_AVAILABLE(ios(7.0)) API_UNAVAILABLE(watchos) NS_SWIFT_NONISOLATED; // userInfo dictionary will contain new value for UIContentSizeCategoryNewValueKey
| `- note: 'didChangeNotification' has been explicitly marked unavailable here
36 | UIKIT_EXTERN NSString *const UIContentSizeCategoryNewValueKey API_AVAILABLE(ios(7.0)) API_UNAVAILABLE(watchos) NS_SWIFT_NONISOLATED; // NSString instance with new content size category in userInfo
37 |
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/YMatterType/Elements/Representables/TypographyLabelRepresentable.swift (in target 'YMatterType' from project 'YMatterType')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile TypographyLabelRepresentable.swift
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/YMatterType/Elements/TextStyleLabel.swift (in target 'YMatterType' from project 'YMatterType')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile TextStyleLabel.swift
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/YMatterType/Elements/TypographyButton.swift (in target 'YMatterType' from project 'YMatterType')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile TypographyButton.swift
SwiftCompile normal arm64_32 Compiling\ TypographyLabel.swift,\ TypographyTextField.swift,\ TypographyTextView.swift /Users/admin/builder/spi-builder-workspace/Sources/YMatterType/Elements/TypographyLabel.swift /Users/admin/builder/spi-builder-workspace/Sources/YMatterType/Elements/TypographyTextField.swift /Users/admin/builder/spi-builder-workspace/Sources/YMatterType/Elements/TypographyTextView.swift (in target 'YMatterType' from project 'YMatterType')
/Users/admin/builder/spi-builder-workspace/Sources/YMatterType/Elements/TypographyLabel.swift:124:76: error: 'UITraitCollection' is unavailable in watchOS
122 |
123 | /// :nodoc:
124 | override open func traitCollectionDidChange(_ previousTraitCollection: UITraitCollection?) {
| `- error: 'UITraitCollection' is unavailable in watchOS
125 | super.traitCollectionDidChange(previousTraitCollection)
126 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITraitCollection.h:23:12: note: 'UITraitCollection' has been explicitly marked unavailable here
21 |
22 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_SENDABLE
23 | @interface UITraitCollection : NSObject <NSCopying, NSSecureCoding>
| `- note: 'UITraitCollection' has been explicitly marked unavailable here
24 |
25 | - (instancetype)init NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/YMatterType/Elements/TypographyLabel.swift:124:24: error: cannot override 'traitCollectionDidChange' which has been marked unavailable
122 |
123 | /// :nodoc:
124 | override open func traitCollectionDidChange(_ previousTraitCollection: UITraitCollection?) {
| |- error: cannot override 'traitCollectionDidChange' which has been marked unavailable
| `- note: remove 'override' modifier to declare a new 'traitCollectionDidChange'
125 | super.traitCollectionDidChange(previousTraitCollection)
126 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITraitCollection.h:221:1: note: 'traitCollectionDidChange' has been explicitly marked unavailable here
219 |
220 | /*! To be overridden as needed to provide custom behavior when the environment's traits change. */
221 | - (void)traitCollectionDidChange:(nullable UITraitCollection *)previousTraitCollection API_DEPRECATED("Use the trait change registration APIs declared in the UITraitChangeObservable protocol", ios(8.0, 17.0), visionos(1.0, 1.0)) API_UNAVAILABLE(watchos);
| `- note: 'traitCollectionDidChange' has been explicitly marked unavailable here
222 | @end
223 |
/Users/admin/builder/spi-builder-workspace/Sources/YMatterType/Elements/TypographyLabel.swift:13:29: error: 'UILabel' is unavailable in watchOS
11 | /// A text label that supports `Typography`.
12 | /// You can optionally set `maximumPointSize` or `maximumScaleFactor` to set a cap on Dynamic Type scaling.
13 | open class TypographyLabel: UILabel {
| `- error: 'UILabel' is unavailable in watchOS
14 | /// The current typographical layout
15 | public private(set) var layout: TypographyLayout!
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILabel.h:33:12: note: 'UILabel' has been explicitly marked unavailable here
31 |
32 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
33 | @interface UILabel : UIView <NSCoding, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
| `- note: 'UILabel' has been explicitly marked unavailable here
34 |
35 | @property(nullable, nonatomic,copy) NSString *text; // default is nil
/Users/admin/builder/spi-builder-workspace/Sources/YMatterType/Elements/TypographyLabel.swift:125:15: error: 'traitCollectionDidChange' is unavailable in watchOS
123 | /// :nodoc:
124 | override open func traitCollectionDidChange(_ previousTraitCollection: UITraitCollection?) {
125 | super.traitCollectionDidChange(previousTraitCollection)
| `- error: 'traitCollectionDidChange' is unavailable in watchOS
126 |
127 | if traitCollection.hasDifferentFontAppearance(comparedTo: previousTraitCollection) {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITraitCollection.h:221:1: note: 'traitCollectionDidChange' has been explicitly marked unavailable here
219 |
220 | /*! To be overridden as needed to provide custom behavior when the environment's traits change. */
221 | - (void)traitCollectionDidChange:(nullable UITraitCollection *)previousTraitCollection API_DEPRECATED("Use the trait change registration APIs declared in the UITraitChangeObservable protocol", ios(8.0, 17.0), visionos(1.0, 1.0)) API_UNAVAILABLE(watchos);
| `- note: 'traitCollectionDidChange' has been explicitly marked unavailable here
222 | @end
223 |
/Users/admin/builder/spi-builder-workspace/Sources/YMatterType/Elements/TypographyLabel.swift:131:28: error: 'hasDifferentColorAppearance(comparedTo:)' is unavailable in watchOS
129 | }
130 |
131 | if traitCollection.hasDifferentColorAppearance(comparedTo: previousTraitCollection) {
| `- error: 'hasDifferentColorAppearance(comparedTo:)' is unavailable in watchOS
132 | adjustColors()
133 | }
/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:286:1: note: 'hasDifferentColorAppearance(comparedTo:)' has been explicitly marked unavailable here
284 | * and more could be added in the future.
285 | */
286 | - (BOOL)hasDifferentColorAppearanceComparedToTraitCollection:(nullable UITraitCollection *)traitCollection API_AVAILABLE(ios(13.0), tvos(13.0)) API_UNAVAILABLE(watchos);
| `- note: 'hasDifferentColorAppearance(comparedTo:)' has been explicitly marked unavailable here
287 |
288 | @end
/Users/admin/builder/spi-builder-workspace/Sources/YMatterType/Elements/TypographyTextField.swift:124:76: error: 'UITraitCollection' is unavailable in watchOS
122 |
123 | /// :nodoc:
124 | override open func traitCollectionDidChange(_ previousTraitCollection: UITraitCollection?) {
| `- error: 'UITraitCollection' is unavailable in watchOS
125 | super.traitCollectionDidChange(previousTraitCollection)
126 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITraitCollection.h:23:12: note: 'UITraitCollection' has been explicitly marked unavailable here
21 |
22 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_SENDABLE
23 | @interface UITraitCollection : NSObject <NSCopying, NSSecureCoding>
| `- note: 'UITraitCollection' has been explicitly marked unavailable here
24 |
25 | - (instancetype)init NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/YMatterType/Elements/TypographyTextField.swift:124:24: error: cannot override 'traitCollectionDidChange' which has been marked unavailable
122 |
123 | /// :nodoc:
124 | override open func traitCollectionDidChange(_ previousTraitCollection: UITraitCollection?) {
| |- error: cannot override 'traitCollectionDidChange' which has been marked unavailable
| `- note: remove 'override' modifier to declare a new 'traitCollectionDidChange'
125 | super.traitCollectionDidChange(previousTraitCollection)
126 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITraitCollection.h:221:1: note: 'traitCollectionDidChange' has been explicitly marked unavailable here
219 |
220 | /*! To be overridden as needed to provide custom behavior when the environment's traits change. */
221 | - (void)traitCollectionDidChange:(nullable UITraitCollection *)previousTraitCollection API_DEPRECATED("Use the trait change registration APIs declared in the UITraitChangeObservable protocol", ios(8.0, 17.0), visionos(1.0, 1.0)) API_UNAVAILABLE(watchos);
| `- note: 'traitCollectionDidChange' has been explicitly marked unavailable here
222 | @end
223 |
/Users/admin/builder/spi-builder-workspace/Sources/YMatterType/Elements/TypographyTextField.swift:13:33: error: 'UITextField' is unavailable in watchOS
11 | /// A text label that supports `Typography`.
12 | /// You can optionally set `maximumPointSize` or `maximumScaleFactor` to set a cap on Dynamic Type scaling.
13 | open class TypographyTextField: UITextField {
| `- error: 'UITextField' is unavailable in watchOS
14 | /// The current typographical layout
15 | public private(set) var layout: TypographyLayout! {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextField.h:53:12: note: 'UITextField' has been explicitly marked unavailable here
51 |
52 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
53 | @interface UITextField : UIControl <UITextInput, NSCoding, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
| `- note: 'UITextField' has been explicitly marked unavailable here
54 |
55 | @property(nullable, nonatomic,copy) NSString *text; // default is nil
/Users/admin/builder/spi-builder-workspace/Sources/YMatterType/Elements/TypographyTextField.swift:125:15: error: 'traitCollectionDidChange' is unavailable in watchOS
123 | /// :nodoc:
124 | override open func traitCollectionDidChange(_ previousTraitCollection: UITraitCollection?) {
125 | super.traitCollectionDidChange(previousTraitCollection)
| `- error: 'traitCollectionDidChange' is unavailable in watchOS
126 |
127 | if traitCollection.hasDifferentFontAppearance(comparedTo: previousTraitCollection) {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITraitCollection.h:221:1: note: 'traitCollectionDidChange' has been explicitly marked unavailable here
219 |
220 | /*! To be overridden as needed to provide custom behavior when the environment's traits change. */
221 | - (void)traitCollectionDidChange:(nullable UITraitCollection *)previousTraitCollection API_DEPRECATED("Use the trait change registration APIs declared in the UITraitChangeObservable protocol", ios(8.0, 17.0), visionos(1.0, 1.0)) API_UNAVAILABLE(watchos);
| `- note: 'traitCollectionDidChange' has been explicitly marked unavailable here
222 | @end
223 |
/Users/admin/builder/spi-builder-workspace/Sources/YMatterType/Elements/TypographyTextField.swift:131:28: error: 'hasDifferentColorAppearance(comparedTo:)' is unavailable in watchOS
129 | }
130 |
131 | if traitCollection.hasDifferentColorAppearance(comparedTo: previousTraitCollection) {
| `- error: 'hasDifferentColorAppearance(comparedTo:)' is unavailable in watchOS
132 | adjustColors()
133 | }
/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:286:1: note: 'hasDifferentColorAppearance(comparedTo:)' has been explicitly marked unavailable here
284 | * and more could be added in the future.
285 | */
286 | - (BOOL)hasDifferentColorAppearanceComparedToTraitCollection:(nullable UITraitCollection *)traitCollection API_AVAILABLE(ios(13.0), tvos(13.0)) API_UNAVAILABLE(watchos);
| `- note: 'hasDifferentColorAppearance(comparedTo:)' has been explicitly marked unavailable here
287 |
288 | @end
/Users/admin/builder/spi-builder-workspace/Sources/YMatterType/Elements/TypographyTextView.swift:117:76: error: 'UITraitCollection' is unavailable in watchOS
115 |
116 | /// :nodoc:
117 | override open func traitCollectionDidChange(_ previousTraitCollection: UITraitCollection?) {
| `- error: 'UITraitCollection' is unavailable in watchOS
118 | super.traitCollectionDidChange(previousTraitCollection)
119 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITraitCollection.h:23:12: note: 'UITraitCollection' has been explicitly marked unavailable here
21 |
22 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_SENDABLE
23 | @interface UITraitCollection : NSObject <NSCopying, NSSecureCoding>
| `- note: 'UITraitCollection' has been explicitly marked unavailable here
24 |
25 | - (instancetype)init NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/YMatterType/Elements/TypographyTextView.swift:117:24: error: cannot override 'traitCollectionDidChange' which has been marked unavailable
115 |
116 | /// :nodoc:
117 | override open func traitCollectionDidChange(_ previousTraitCollection: UITraitCollection?) {
| |- error: cannot override 'traitCollectionDidChange' which has been marked unavailable
| `- note: remove 'override' modifier to declare a new 'traitCollectionDidChange'
118 | super.traitCollectionDidChange(previousTraitCollection)
119 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITraitCollection.h:221:1: note: 'traitCollectionDidChange' has been explicitly marked unavailable here
219 |
220 | /*! To be overridden as needed to provide custom behavior when the environment's traits change. */
221 | - (void)traitCollectionDidChange:(nullable UITraitCollection *)previousTraitCollection API_DEPRECATED("Use the trait change registration APIs declared in the UITraitChangeObservable protocol", ios(8.0, 17.0), visionos(1.0, 1.0)) API_UNAVAILABLE(watchos);
| `- note: 'traitCollectionDidChange' has been explicitly marked unavailable here
222 | @end
223 |
/Users/admin/builder/spi-builder-workspace/Sources/YMatterType/Elements/TypographyTextView.swift:17:32: error: 'UITextView' is unavailable in watchOS
15 | /// If you are looking to essentially have an interactive label with link support,
16 | /// you need to set `isScrollEnabled = false` and `isEditable = false`.
17 | open class TypographyTextView: UITextView {
| `- error: 'UITextView' is unavailable in watchOS
18 | /// The current typographical layout
19 | public private(set) var layout: TypographyLayout!
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextView.h:223:12: note: 'UITextView' has been explicitly marked unavailable here
221 |
222 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
223 | @interface UITextView : UIScrollView <UITextInput, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting, NSTextViewportLayoutControllerDelegate>
| `- note: 'UITextView' has been explicitly marked unavailable here
224 |
225 | @property(nullable,nonatomic,weak) id<UITextViewDelegate> delegate;
/Users/admin/builder/spi-builder-workspace/Sources/YMatterType/Elements/TypographyTextView.swift:118:15: error: 'traitCollectionDidChange' is unavailable in watchOS
116 | /// :nodoc:
117 | override open func traitCollectionDidChange(_ previousTraitCollection: UITraitCollection?) {
118 | super.traitCollectionDidChange(previousTraitCollection)
| `- error: 'traitCollectionDidChange' is unavailable in watchOS
119 |
120 | if traitCollection.hasDifferentFontAppearance(comparedTo: previousTraitCollection) {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITraitCollection.h:221:1: note: 'traitCollectionDidChange' has been explicitly marked unavailable here
219 |
220 | /*! To be overridden as needed to provide custom behavior when the environment's traits change. */
221 | - (void)traitCollectionDidChange:(nullable UITraitCollection *)previousTraitCollection API_DEPRECATED("Use the trait change registration APIs declared in the UITraitChangeObservable protocol", ios(8.0, 17.0), visionos(1.0, 1.0)) API_UNAVAILABLE(watchos);
| `- note: 'traitCollectionDidChange' has been explicitly marked unavailable here
222 | @end
223 |
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/YMatterType/Elements/TypographyLabel.swift (in target 'YMatterType' from project 'YMatterType')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile TypographyLabel.swift
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/YMatterType/Elements/TypographyTextField.swift (in target 'YMatterType' from project 'YMatterType')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile TypographyTextField.swift
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/YMatterType/Elements/TypographyTextView.swift (in target 'YMatterType' from project 'YMatterType')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile TypographyTextView.swift
SwiftEmitModule normal arm64 Emitting\ module\ for\ YMatterType (in target 'YMatterType' from project 'YMatterType')
SwiftCompile normal arm64 (in target 'YMatterType' from project 'YMatterType')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules
2026-09-19 14:06:14.320 xcodebuild[649:4189] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
2026-09-19 14:06:14.422 xcodebuild[649:4189] [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\ YMatterType (in target 'YMatterType' from project 'YMatterType')
SwiftCompile normal arm64_32 (in target 'YMatterType' from project 'YMatterType')
Building workspace YMatterType with scheme YMatterType
(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:
YMatterType: /Users/admin/builder/spi-builder-workspace
resolved source packages: YMatterType
2026-09-19 14:06:21.749 xcodebuild[795:4740] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
2026-09-19 14:06:21.886 xcodebuild[795:4740] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
{
"default_localization" : "en",
"dependencies" : [
],
"manifest_display_name" : "YMatterType",
"name" : "YMatterType",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "14.0"
},
{
"name" : "tvos",
"version" : "14.0"
}
],
"products" : [
{
"name" : "YMatterType",
"targets" : [
"YMatterType"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "YMatterTypeTests",
"module_type" : "SwiftTarget",
"name" : "YMatterTypeTests",
"path" : "Tests/YMatterTypeTests",
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/YMatterTypeTests/Assets",
"rule" : {
"copy" : {
}
}
}
],
"sources" : [
"Elements/ElementBreakpointAdjustedTests.swift",
"Elements/ElementColorAdjustedTests.swift",
"Elements/ElementFontAdjustedTests.swift",
"Elements/Mocks/MockButton.swift",
"Elements/Mocks/MockLabel.swift",
"Elements/Mocks/MockTextField.swift",
"Elements/Mocks/MockTextView.swift",
"Elements/Representables/TypographyLabelRepresentableTests.swift",
"Elements/TextStyleLabelTests.swift",
"Elements/TypographyButtonTests.swift",
"Elements/TypographyElementTests.swift",
"Elements/TypographyLabelTests.swift",
"Elements/TypographyTextFieldTests.swift",
"Elements/TypographyTextViewTests.swift",
"Extensions/Foundation/BaseStringTestCase.swift",
"Extensions/Foundation/NSAttributedString+baseAttributesTests.swift",
"Extensions/Foundation/NSAttributedString+textCaseTests.swift",
"Extensions/Foundation/String+textCaseTests.swift",
"Extensions/Foundation/String+textSizeTests.swift",
"Extensions/UIKit/NSParagraphStyle+lineSpacingTests.swift",
"Extensions/UIKit/UIFont+registerTests.swift",
"Extensions/UIKit/UITraitCollection+breakpointTests.swift",
"Extensions/UIKit/UITraitCollection+fontAppearanceTests.swift",
"Extensions/UIKit/UITraitCollection+traits.swift",
"Helpers/CGFloat+rounded.swift",
"Helpers/NSAttributedString+hasAttribute.swift",
"Helpers/Typography+YMatterTypeTests.swift",
"Helpers/UIEdgeInsets+vertical.swift",
"Helpers/UIFont+load.swift",
"Helpers/UITraitCollection+default.swift",
"Helpers/XCTestCase+MemoryLeakTracking.swift",
"Helpers/XCTestCase+TypographyEquatable.swift",
"Typography/FontFamily/DefaultFontFamilyFactoryTests.swift",
"Typography/FontFamily/DefaultFontFamilyTests.swift",
"Typography/FontFamily/FontFamilyTests.swift",
"Typography/FontFamily/HelveticaNeueFontFamilyTests.swift",
"Typography/FontFamily/SystemFontFamilyTests.swift",
"Typography/TypogaphyTests.swift",
"Typography/Typography+EnumTests.swift",
"Typography/Typography+FontTests.swift",
"Typography/Typography+MutatorsTests.swift",
"Typography/Typography+SystemTests.swift",
"Typography/TypographyLayoutTests.swift",
"YMatterType+LoggingTests.swift"
],
"target_dependencies" : [
"YMatterType"
],
"type" : "test"
},
{
"c99name" : "YMatterType",
"module_type" : "SwiftTarget",
"name" : "YMatterType",
"path" : "Sources/YMatterType",
"product_memberships" : [
"YMatterType"
],
"sources" : [
"Elements/Representables/TypographyLabelRepresentable.swift",
"Elements/TextStyleLabel.swift",
"Elements/TypographyButton.swift",
"Elements/TypographyLabel.swift",
"Elements/TypographyTextField.swift",
"Elements/TypographyTextView.swift",
"Extensions/Foundation/NSAttributedString+baseAttributes.swift",
"Extensions/Foundation/NSAttributedString+textCase.swift",
"Extensions/Foundation/String+textCase.swift",
"Extensions/Foundation/String+textSize.swift",
"Extensions/UIKit/NSParagraphStyle+lineSpacing.swift",
"Extensions/UIKit/UIFont+register.swift",
"Extensions/UIKit/UITraitCollection+breakpoint.swift",
"Extensions/UIKit/UITraitCollection+fontAppearance.swift",
"Typography/FontFamily/DefaultFontFamily.swift",
"Typography/FontFamily/DefaultFontFamilyFactory.swift",
"Typography/FontFamily/FontFamily.swift",
"Typography/FontFamily/FontFamilyFactory.swift",
"Typography/FontFamily/HelveticaNeueFontFamily.swift",
"Typography/FontFamily/SystemFontFamily.swift",
"Typography/Typography+Enums.swift",
"Typography/Typography+Font.swift",
"Typography/Typography+Mutators.swift",
"Typography/Typography+System.swift",
"Typography/Typography.swift",
"Typography/TypographyLayout.swift",
"YMatterType+Logging.swift"
],
"type" : "library"
}
],
"tools_version" : "5.5"
}
{
"workspace" : {
"name" : "YMatterType",
"schemes" : [
"YMatterType"
]
}
}
2026-09-19 14:06:22.963 xcodebuild[803:4811] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
2026-09-19 14:06:23.065 xcodebuild[803:4811] [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 YMatterType -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 YMatterType -destination generic/platform=watchOS
Resolve Package Graph
Resolved source packages:
YMatterType: /Users/admin/builder/spi-builder-workspace
ComputePackagePrebuildTargetDependencyGraph
Prepare packages
CreateBuildRequest
SendProjectDescription
CreateBuildOperation
ComputeTargetDependencyGraph
note: Building targets in dependency order
note: Target dependency graph (4 targets)
Target 'YMatterTypeTests-product' in project 'YMatterType'
➜ Explicit dependency on target 'YMatterType_YMatterTypeTests' in project 'YMatterType'
➜ Explicit dependency on target 'YMatterType' in project 'YMatterType'
Target 'YMatterType_YMatterTypeTests' in project 'YMatterType' (no dependencies)
Target 'YMatterType-product' in project 'YMatterType'
➜ Explicit dependency on target 'YMatterType' in project 'YMatterType'
Target 'YMatterType' in project 'YMatterType' (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 YMatterType normal arm64 com.apple.xcode.tools.swift.compiler (in target 'YMatterType' from project 'YMatterType')
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 YMatterType -Onone @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/YMatterType.build/Debug-watchos/YMatterType-t.build/Objects-normal/arm64/YMatterType.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -DSWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -DXcode -plugin-path /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -enable-experimental-feature DebugDescriptionMacro -sdk /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk -target arm64-apple-watchos9.0 -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -Xfrontend -serialize-debugging-options -profile-coverage-mapping -profile-generate -enable-testing -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -swift-version 5 -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/Developer/Library/Frameworks -emit-localized-strings -emit-localized-strings-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/YMatterType.build/Debug-watchos/YMatterType-t.build/Objects-normal/arm64 -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/YMatterType.build/Debug-watchos/YMatterType-t.build/Objects-normal/arm64/YMatterType-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/YMatterType.build/Debug-watchos/YMatterType-t.build/Objects-normal/arm64/YMatterType.swiftmodule -serialize-diagnostics -dependency-scan-serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/YMatterType.build/Debug-watchos/YMatterType-t.build/Objects-normal/arm64/YMatterType-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/YMatterType.build/Debug-watchos/YMatterType-t.build/Objects-normal/arm64/YMatterType_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/YMatterType.build/Debug-watchos/YMatterType-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/YMatterType.build/Debug-watchos/YMatterType-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/YMatterType.build/Debug-watchos/YMatterType-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/YMatterType.build/Debug-watchos/YMatterType-t.build/Objects-normal/arm64/YMatterType-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
SwiftDriver YMatterType normal arm64_32 com.apple.xcode.tools.swift.compiler (in target 'YMatterType' from project 'YMatterType')
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 YMatterType -Onone @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/YMatterType.build/Debug-watchos/YMatterType-t.build/Objects-normal/arm64_32/YMatterType.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -DSWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -DXcode -plugin-path /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -enable-experimental-feature DebugDescriptionMacro -sdk /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk -target arm64_32-apple-watchos9.0 -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -Xfrontend -serialize-debugging-options -profile-coverage-mapping -profile-generate -enable-testing -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -swift-version 5 -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/Developer/Library/Frameworks -emit-localized-strings -emit-localized-strings-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/YMatterType.build/Debug-watchos/YMatterType-t.build/Objects-normal/arm64_32 -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/YMatterType.build/Debug-watchos/YMatterType-t.build/Objects-normal/arm64_32/YMatterType-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/YMatterType.build/Debug-watchos/YMatterType-t.build/Objects-normal/arm64_32/YMatterType.swiftmodule -serialize-diagnostics -dependency-scan-serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/YMatterType.build/Debug-watchos/YMatterType-t.build/Objects-normal/arm64_32/YMatterType-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/YMatterType.build/Debug-watchos/YMatterType-t.build/Objects-normal/arm64_32/YMatterType_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/YMatterType.build/Debug-watchos/YMatterType-t.build/DerivedSources-normal/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/YMatterType.build/Debug-watchos/YMatterType-t.build/DerivedSources/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/YMatterType.build/Debug-watchos/YMatterType-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/YMatterType.build/Debug-watchos/YMatterType-t.build/Objects-normal/arm64_32/YMatterType-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
SwiftCompile normal arm64_32 Compiling\ NSAttributedString+baseAttributes.swift,\ NSAttributedString+textCase.swift,\ String+textCase.swift /Users/admin/builder/spi-builder-workspace/Sources/YMatterType/Extensions/Foundation/NSAttributedString+baseAttributes.swift /Users/admin/builder/spi-builder-workspace/Sources/YMatterType/Extensions/Foundation/NSAttributedString+textCase.swift /Users/admin/builder/spi-builder-workspace/Sources/YMatterType/Extensions/Foundation/String+textCase.swift (in target 'YMatterType' from project 'YMatterType')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/YMatterType/Extensions/Foundation/NSAttributedString+baseAttributes.swift (in target 'YMatterType' from project 'YMatterType')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile NSAttributedString+baseAttributes.swift
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/YMatterType/Extensions/Foundation/NSAttributedString+textCase.swift (in target 'YMatterType' from project 'YMatterType')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile NSAttributedString+textCase.swift
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/YMatterType/Extensions/Foundation/String+textCase.swift (in target 'YMatterType' from project 'YMatterType')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile String+textCase.swift
SwiftEmitModule normal arm64_32 Emitting\ module\ for\ YMatterType (in target 'YMatterType' from project 'YMatterType')
/Users/admin/builder/spi-builder-workspace/Sources/YMatterType/Elements/Representables/TypographyLabelRepresentable.swift:26:41: error: cannot find type 'UIViewRepresentable' in scope
24 | }
25 |
26 | extension TypographyLabelRepresentable: UIViewRepresentable {
| `- error: cannot find type 'UIViewRepresentable' in scope
27 | /// Creates the view object and configures its initial state.
28 | ///
/Users/admin/builder/spi-builder-workspace/Sources/YMatterType/Elements/Representables/TypographyLabelRepresentable.swift:33:30: error: cannot find type 'Context' in scope
31 | ///
32 | /// - Returns: `TypographyLabel` view configured with the provided information.
33 | func makeUIView(context: Context) -> TypographyLabel {
| `- error: cannot find type 'Context' in scope
34 | getLabel()
35 | }
/Users/admin/builder/spi-builder-workspace/Sources/YMatterType/Elements/Representables/TypographyLabelRepresentable.swift:57:59: error: cannot find type 'Context' in scope
55 | /// - context: A context structure containing information about the current
56 | /// state of the system.
57 | func updateUIView(_ uiView: TypographyLabel, context: Context) {
| `- error: cannot find type 'Context' in scope
58 | updateLabel(uiView)
59 | }
/Users/admin/builder/spi-builder-workspace/Sources/YMatterType/Elements/TypographyButton.swift:80:64: error: 'UIControl' is unavailable in watchOS
78 |
79 | /// :nodoc:
80 | override public func setTitle(_ title: String?, for state: UIControl.State) {
| `- error: 'UIControl' is unavailable in watchOS
81 | // When text is set, we may need to re-style it as attributedText
82 | // with the correct paragraph style to achieve the desired line height.
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIControl.h:76:12: note: 'UIControl' has been explicitly marked unavailable here
74 |
75 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
76 | @interface UIControl : UIView
| `- note: 'UIControl' has been explicitly marked unavailable here
77 |
78 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/YMatterType/Elements/TypographyButton.swift:88:86: error: 'UIControl' is unavailable in watchOS
86 |
87 | /// :nodoc:
88 | override public func setAttributedTitle(_ title: NSAttributedString?, for state: UIControl.State) {
| `- error: 'UIControl' is unavailable in watchOS
89 | // When text is set, we may need to re-style it as attributedText
90 | // with the correct paragraph style to achieve the desired line height.
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIControl.h:76:12: note: 'UIControl' has been explicitly marked unavailable here
74 |
75 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
76 | @interface UIControl : UIView
| `- note: 'UIControl' has been explicitly marked unavailable here
77 |
78 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/YMatterType/Elements/TypographyButton.swift:120:76: error: 'UITraitCollection' is unavailable in watchOS
118 |
119 | /// :nodoc:
120 | override open func traitCollectionDidChange(_ previousTraitCollection: UITraitCollection?) {
| `- error: 'UITraitCollection' is unavailable in watchOS
121 | super.traitCollectionDidChange(previousTraitCollection)
122 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITraitCollection.h:23:12: note: 'UITraitCollection' has been explicitly marked unavailable here
21 |
22 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_SENDABLE
23 | @interface UITraitCollection : NSObject <NSCopying, NSSecureCoding>
| `- note: 'UITraitCollection' has been explicitly marked unavailable here
24 |
25 | - (instancetype)init NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/YMatterType/Elements/TypographyButton.swift:120:24: error: cannot override 'traitCollectionDidChange' which has been marked unavailable
118 |
119 | /// :nodoc:
120 | override open func traitCollectionDidChange(_ previousTraitCollection: UITraitCollection?) {
| |- error: cannot override 'traitCollectionDidChange' which has been marked unavailable
| `- note: remove 'override' modifier to declare a new 'traitCollectionDidChange'
121 | super.traitCollectionDidChange(previousTraitCollection)
122 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITraitCollection.h:221:1: note: 'traitCollectionDidChange' has been explicitly marked unavailable here
219 |
220 | /*! To be overridden as needed to provide custom behavior when the environment's traits change. */
221 | - (void)traitCollectionDidChange:(nullable UITraitCollection *)previousTraitCollection API_DEPRECATED("Use the trait change registration APIs declared in the UITraitChangeObservable protocol", ios(8.0, 17.0), visionos(1.0, 1.0)) API_UNAVAILABLE(watchos);
| `- note: 'traitCollectionDidChange' has been explicitly marked unavailable here
222 | @end
223 |
/Users/admin/builder/spi-builder-workspace/Sources/YMatterType/Elements/TypographyButton.swift:13:30: error: 'UIButton' is unavailable in watchOS
11 | /// Button that supports `Typography`.
12 | /// You can optionally set `maximumPointSize` or `maximumScaleFactor` to set a cap on Dynamic Type scaling.
13 | open class TypographyButton: UIButton {
| `- error: 'UIButton' is unavailable in watchOS
14 | /// The current typographical layout
15 | public private(set) var layout: TypographyLayout!
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIButton.h:49:12: note: 'UIButton' has been explicitly marked unavailable here
47 |
48 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
49 | @interface UIButton : UIControl <NSCoding>
| `- note: 'UIButton' has been explicitly marked unavailable here
50 |
51 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/YMatterType/Elements/TypographyButton.swift:234:52: error: 'UIControl' is unavailable in watchOS
232 | }
233 |
234 | func styleText(_ newValue: String!, for state: UIControl.State) {
| `- error: 'UIControl' is unavailable in watchOS
235 | defer { invalidateIntrinsicContentSize() }
236 | guard let layout = layout,
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIControl.h:76:12: note: 'UIControl' has been explicitly marked unavailable here
74 |
75 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
76 | @interface UIControl : UIView
| `- note: 'UIControl' has been explicitly marked unavailable here
77 |
78 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/YMatterType/Elements/TypographyButton.swift:249:74: error: 'UIControl' is unavailable in watchOS
247 | }
248 |
249 | func styleAttributedText(_ newValue: NSAttributedString?, for state: UIControl.State) {
| `- error: 'UIControl' is unavailable in watchOS
250 | defer { invalidateIntrinsicContentSize() }
251 | guard let layout = layout,
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIControl.h:76:12: note: 'UIControl' has been explicitly marked unavailable here
74 |
75 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
76 | @interface UIControl : UIView
| `- note: 'UIControl' has been explicitly marked unavailable here
77 |
78 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/YMatterType/Elements/TypographyLabel.swift:124:76: error: 'UITraitCollection' is unavailable in watchOS
122 |
123 | /// :nodoc:
124 | override open func traitCollectionDidChange(_ previousTraitCollection: UITraitCollection?) {
| `- error: 'UITraitCollection' is unavailable in watchOS
125 | super.traitCollectionDidChange(previousTraitCollection)
126 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITraitCollection.h:23:12: note: 'UITraitCollection' has been explicitly marked unavailable here
21 |
22 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_SENDABLE
23 | @interface UITraitCollection : NSObject <NSCopying, NSSecureCoding>
| `- note: 'UITraitCollection' has been explicitly marked unavailable here
24 |
25 | - (instancetype)init NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/YMatterType/Elements/TypographyLabel.swift:124:24: error: cannot override 'traitCollectionDidChange' which has been marked unavailable
122 |
123 | /// :nodoc:
124 | override open func traitCollectionDidChange(_ previousTraitCollection: UITraitCollection?) {
| |- error: cannot override 'traitCollectionDidChange' which has been marked unavailable
| `- note: remove 'override' modifier to declare a new 'traitCollectionDidChange'
125 | super.traitCollectionDidChange(previousTraitCollection)
126 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITraitCollection.h:221:1: note: 'traitCollectionDidChange' has been explicitly marked unavailable here
219 |
220 | /*! To be overridden as needed to provide custom behavior when the environment's traits change. */
221 | - (void)traitCollectionDidChange:(nullable UITraitCollection *)previousTraitCollection API_DEPRECATED("Use the trait change registration APIs declared in the UITraitChangeObservable protocol", ios(8.0, 17.0), visionos(1.0, 1.0)) API_UNAVAILABLE(watchos);
| `- note: 'traitCollectionDidChange' has been explicitly marked unavailable here
222 | @end
223 |
/Users/admin/builder/spi-builder-workspace/Sources/YMatterType/Elements/TypographyLabel.swift:13:29: error: 'UILabel' is unavailable in watchOS
11 | /// A text label that supports `Typography`.
12 | /// You can optionally set `maximumPointSize` or `maximumScaleFactor` to set a cap on Dynamic Type scaling.
13 | open class TypographyLabel: UILabel {
| `- error: 'UILabel' is unavailable in watchOS
14 | /// The current typographical layout
15 | public private(set) var layout: TypographyLayout!
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILabel.h:33:12: note: 'UILabel' has been explicitly marked unavailable here
31 |
32 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
33 | @interface UILabel : UIView <NSCoding, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
| `- note: 'UILabel' has been explicitly marked unavailable here
34 |
35 | @property(nullable, nonatomic,copy) NSString *text; // default is nil
/Users/admin/builder/spi-builder-workspace/Sources/YMatterType/Elements/TypographyTextField.swift:124:76: error: 'UITraitCollection' is unavailable in watchOS
122 |
123 | /// :nodoc:
124 | override open func traitCollectionDidChange(_ previousTraitCollection: UITraitCollection?) {
| `- error: 'UITraitCollection' is unavailable in watchOS
125 | super.traitCollectionDidChange(previousTraitCollection)
126 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITraitCollection.h:23:12: note: 'UITraitCollection' has been explicitly marked unavailable here
21 |
22 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_SENDABLE
23 | @interface UITraitCollection : NSObject <NSCopying, NSSecureCoding>
| `- note: 'UITraitCollection' has been explicitly marked unavailable here
24 |
25 | - (instancetype)init NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/YMatterType/Elements/TypographyTextField.swift:124:24: error: cannot override 'traitCollectionDidChange' which has been marked unavailable
122 |
123 | /// :nodoc:
124 | override open func traitCollectionDidChange(_ previousTraitCollection: UITraitCollection?) {
| |- error: cannot override 'traitCollectionDidChange' which has been marked unavailable
| `- note: remove 'override' modifier to declare a new 'traitCollectionDidChange'
125 | super.traitCollectionDidChange(previousTraitCollection)
126 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITraitCollection.h:221:1: note: 'traitCollectionDidChange' has been explicitly marked unavailable here
219 |
220 | /*! To be overridden as needed to provide custom behavior when the environment's traits change. */
221 | - (void)traitCollectionDidChange:(nullable UITraitCollection *)previousTraitCollection API_DEPRECATED("Use the trait change registration APIs declared in the UITraitChangeObservable protocol", ios(8.0, 17.0), visionos(1.0, 1.0)) API_UNAVAILABLE(watchos);
| `- note: 'traitCollectionDidChange' has been explicitly marked unavailable here
222 | @end
223 |
/Users/admin/builder/spi-builder-workspace/Sources/YMatterType/Elements/TypographyTextField.swift:13:33: error: 'UITextField' is unavailable in watchOS
11 | /// A text label that supports `Typography`.
12 | /// You can optionally set `maximumPointSize` or `maximumScaleFactor` to set a cap on Dynamic Type scaling.
13 | open class TypographyTextField: UITextField {
| `- error: 'UITextField' is unavailable in watchOS
14 | /// The current typographical layout
15 | public private(set) var layout: TypographyLayout! {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextField.h:53:12: note: 'UITextField' has been explicitly marked unavailable here
51 |
52 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
53 | @interface UITextField : UIControl <UITextInput, NSCoding, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
| `- note: 'UITextField' has been explicitly marked unavailable here
54 |
55 | @property(nullable, nonatomic,copy) NSString *text; // default is nil
/Users/admin/builder/spi-builder-workspace/Sources/YMatterType/Elements/TypographyTextView.swift:117:76: error: 'UITraitCollection' is unavailable in watchOS
115 |
116 | /// :nodoc:
117 | override open func traitCollectionDidChange(_ previousTraitCollection: UITraitCollection?) {
| `- error: 'UITraitCollection' is unavailable in watchOS
118 | super.traitCollectionDidChange(previousTraitCollection)
119 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITraitCollection.h:23:12: note: 'UITraitCollection' has been explicitly marked unavailable here
21 |
22 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_SENDABLE
23 | @interface UITraitCollection : NSObject <NSCopying, NSSecureCoding>
| `- note: 'UITraitCollection' has been explicitly marked unavailable here
24 |
25 | - (instancetype)init NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/YMatterType/Elements/TypographyTextView.swift:117:24: error: cannot override 'traitCollectionDidChange' which has been marked unavailable
115 |
116 | /// :nodoc:
117 | override open func traitCollectionDidChange(_ previousTraitCollection: UITraitCollection?) {
| |- error: cannot override 'traitCollectionDidChange' which has been marked unavailable
| `- note: remove 'override' modifier to declare a new 'traitCollectionDidChange'
118 | super.traitCollectionDidChange(previousTraitCollection)
119 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITraitCollection.h:221:1: note: 'traitCollectionDidChange' has been explicitly marked unavailable here
219 |
220 | /*! To be overridden as needed to provide custom behavior when the environment's traits change. */
221 | - (void)traitCollectionDidChange:(nullable UITraitCollection *)previousTraitCollection API_DEPRECATED("Use the trait change registration APIs declared in the UITraitChangeObservable protocol", ios(8.0, 17.0), visionos(1.0, 1.0)) API_UNAVAILABLE(watchos);
| `- note: 'traitCollectionDidChange' has been explicitly marked unavailable here
222 | @end
223 |
/Users/admin/builder/spi-builder-workspace/Sources/YMatterType/Elements/TypographyTextView.swift:17:32: error: 'UITextView' is unavailable in watchOS
15 | /// If you are looking to essentially have an interactive label with link support,
16 | /// you need to set `isScrollEnabled = false` and `isEditable = false`.
17 | open class TypographyTextView: UITextView {
| `- error: 'UITextView' is unavailable in watchOS
18 | /// The current typographical layout
19 | public private(set) var layout: TypographyLayout!
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextView.h:223:12: note: 'UITextView' has been explicitly marked unavailable here
221 |
222 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
223 | @interface UITextView : UIScrollView <UITextInput, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting, NSTextViewportLayoutControllerDelegate>
| `- note: 'UITextView' has been explicitly marked unavailable here
224 |
225 | @property(nullable,nonatomic,weak) id<UITextViewDelegate> delegate;
/Users/admin/builder/spi-builder-workspace/Sources/YMatterType/Extensions/Foundation/String+textSize.swift:19:41: error: 'UITraitCollection' is unavailable in watchOS
17 | public func size(
18 | withTypography typography: Typography,
19 | compatibleWith traitCollection: UITraitCollection?
| `- error: 'UITraitCollection' is unavailable in watchOS
20 | ) -> CGSize {
21 | let layout = typography.generateLayout(compatibleWith: traitCollection)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITraitCollection.h:23:12: note: 'UITraitCollection' has been explicitly marked unavailable here
21 |
22 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_SENDABLE
23 | @interface UITraitCollection : NSObject <NSCopying, NSSecureCoding>
| `- note: 'UITraitCollection' has been explicitly marked unavailable here
24 |
25 | - (instancetype)init NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/YMatterType/Extensions/Foundation/String+textSize.swift:38:41: error: 'UITraitCollection' is unavailable in watchOS
36 | public func size(
37 | withFont font: UIFont,
38 | compatibleWith traitCollection: UITraitCollection? = nil
| `- error: 'UITraitCollection' is unavailable in watchOS
39 | ) -> CGSize {
40 | let scale: CGFloat
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITraitCollection.h:23:12: note: 'UITraitCollection' has been explicitly marked unavailable here
21 |
22 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_SENDABLE
23 | @interface UITraitCollection : NSObject <NSCopying, NSSecureCoding>
| `- note: 'UITraitCollection' has been explicitly marked unavailable here
24 |
25 | - (instancetype)init NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/YMatterType/Extensions/UIKit/UITraitCollection+breakpoint.swift:28:68: error: 'UITraitCollection' is unavailable in watchOS
26 | /// - Returns: Returns a Boolean value indicating whether changing between the
27 | /// specified and current trait collections could affect breakpoints.
28 | public func hasDifferentBreakpoint(comparedTo traitCollection: UITraitCollection?) -> Bool {
| `- error: 'UITraitCollection' is unavailable in watchOS
29 | horizontalSizeClass != traitCollection?.horizontalSizeClass ||
30 | verticalSizeClass != traitCollection?.verticalSizeClass
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITraitCollection.h:23:12: note: 'UITraitCollection' has been explicitly marked unavailable here
21 |
22 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_SENDABLE
23 | @interface UITraitCollection : NSObject <NSCopying, NSSecureCoding>
| `- note: 'UITraitCollection' has been explicitly marked unavailable here
24 |
25 | - (instancetype)init NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/YMatterType/Extensions/UIKit/UITraitCollection+breakpoint.swift:11:11: error: 'UITraitCollection' is unavailable in watchOS
9 | import UIKit
10 |
11 | extension UITraitCollection {
| `- error: 'UITraitCollection' is unavailable in watchOS
12 | /// Return whether this trait collection, compared to a different trait collection,
13 | /// could represent a different breakpoint.
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITraitCollection.h:23:12: note: 'UITraitCollection' has been explicitly marked unavailable here
21 |
22 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_SENDABLE
23 | @interface UITraitCollection : NSObject <NSCopying, NSSecureCoding>
| `- note: 'UITraitCollection' has been explicitly marked unavailable here
24 |
25 | - (instancetype)init NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/YMatterType/Extensions/UIKit/UITraitCollection+fontAppearance.swift:25:72: error: 'UITraitCollection' is unavailable in watchOS
23 | /// - Returns: Returns a Boolean value indicating whether changing between the
24 | /// specified and current trait collections would affect fonts.
25 | public func hasDifferentFontAppearance(comparedTo traitCollection: UITraitCollection?) -> Bool {
| `- error: 'UITraitCollection' is unavailable in watchOS
26 | preferredContentSizeCategory != traitCollection?.preferredContentSizeCategory ||
27 | legibilityWeight != traitCollection?.legibilityWeight
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITraitCollection.h:23:12: note: 'UITraitCollection' has been explicitly marked unavailable here
21 |
22 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_SENDABLE
23 | @interface UITraitCollection : NSObject <NSCopying, NSSecureCoding>
| `- note: 'UITraitCollection' has been explicitly marked unavailable here
24 |
25 | - (instancetype)init NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/YMatterType/Extensions/UIKit/UITraitCollection+fontAppearance.swift:11:11: error: 'UITraitCollection' is unavailable in watchOS
9 | import UIKit
10 |
11 | extension UITraitCollection {
| `- error: 'UITraitCollection' is unavailable in watchOS
12 | /// Return whether this trait collection, compared to a different trait collection,
13 | /// could show a different appearance for fonts.
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITraitCollection.h:23:12: note: 'UITraitCollection' has been explicitly marked unavailable here
21 |
22 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_SENDABLE
23 | @interface UITraitCollection : NSObject <NSCopying, NSSecureCoding>
| `- note: 'UITraitCollection' has been explicitly marked unavailable here
24 |
25 | - (instancetype)init NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/YMatterType/Typography/FontFamily/FontFamily.swift:44:41: error: 'UITraitCollection' is unavailable in watchOS
42 | for weight: Typography.FontWeight,
43 | pointSize: CGFloat,
44 | compatibleWith traitCollection: UITraitCollection?
| `- error: 'UITraitCollection' is unavailable in watchOS
45 | ) -> UIFont
46 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITraitCollection.h:23:12: note: 'UITraitCollection' has been explicitly marked unavailable here
21 |
22 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_SENDABLE
23 | @interface UITraitCollection : NSObject <NSCopying, NSSecureCoding>
| `- note: 'UITraitCollection' has been explicitly marked unavailable here
24 |
25 | - (instancetype)init NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/YMatterType/Typography/FontFamily/FontFamily.swift:52:86: error: 'UITraitCollection' is unavailable in watchOS
50 | /// If `nil` then `UIAccessibility.isBoldTextEnabled` will be considered instead
51 | /// - Returns: The font name formulated from `familyName` and `weight`
52 | func fontName(for weight: Typography.FontWeight, compatibleWith traitCollection: UITraitCollection?) -> String
| `- error: 'UITraitCollection' is unavailable in watchOS
53 |
54 | /// Generates a weight name suffix as part of a full font name. Not all fonts support all 9 weights.
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITraitCollection.h:23:12: note: 'UITraitCollection' has been explicitly marked unavailable here
21 |
22 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_SENDABLE
23 | @interface UITraitCollection : NSObject <NSCopying, NSSecureCoding>
| `- note: 'UITraitCollection' has been explicitly marked unavailable here
24 |
25 | - (instancetype)init NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/YMatterType/Typography/FontFamily/FontFamily.swift:82:41: error: 'UITraitCollection' is unavailable in watchOS
80 | for weight: Typography.FontWeight,
81 | pointSize: CGFloat,
82 | compatibleWith traitCollection: UITraitCollection?
| `- error: 'UITraitCollection' is unavailable in watchOS
83 | ) -> UIFont {
84 | let name = fontName(for: weight, compatibleWith: traitCollection)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITraitCollection.h:23:12: note: 'UITraitCollection' has been explicitly marked unavailable here
21 |
22 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_SENDABLE
23 | @interface UITraitCollection : NSObject <NSCopying, NSSecureCoding>
| `- note: 'UITraitCollection' has been explicitly marked unavailable here
24 |
25 | - (instancetype)init NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/YMatterType/Typography/FontFamily/FontFamily.swift:103:41: error: 'UITraitCollection' is unavailable in watchOS
101 | public func fontName(
102 | for weight: Typography.FontWeight,
103 | compatibleWith traitCollection: UITraitCollection?
| `- error: 'UITraitCollection' is unavailable in watchOS
104 | ) -> String {
105 | // Default font name formulation accounting for Accessibility Bold setting
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITraitCollection.h:23:12: note: 'UITraitCollection' has been explicitly marked unavailable here
21 |
22 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_SENDABLE
23 | @interface UITraitCollection : NSObject <NSCopying, NSSecureCoding>
| `- note: 'UITraitCollection' has been explicitly marked unavailable here
24 |
25 | - (instancetype)init NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/YMatterType/Typography/FontFamily/FontFamily.swift:155:67: error: 'UITraitCollection' is unavailable in watchOS
153 | /// If `traitCollection` is not `nil`, it checks for `legibilityWeight == .bold`.
154 | /// If `traitCollection` is `nil`, then it examines the system wide `UIAccessibility` setting of the same name.
155 | public func isBoldTextEnabled(compatibleWith traitCollection: UITraitCollection?) -> Bool {
| `- error: 'UITraitCollection' is unavailable in watchOS
156 | guard let traitCollection = traitCollection else {
157 | return UIAccessibility.isBoldTextEnabled
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITraitCollection.h:23:12: note: 'UITraitCollection' has been explicitly marked unavailable here
21 |
22 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_SENDABLE
23 | @interface UITraitCollection : NSObject <NSCopying, NSSecureCoding>
| `- note: 'UITraitCollection' has been explicitly marked unavailable here
24 |
25 | - (instancetype)init NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/YMatterType/Typography/FontFamily/SystemFontFamily.swift:65:41: error: 'UITraitCollection' is unavailable in watchOS
63 | for weight: Typography.FontWeight,
64 | pointSize: CGFloat,
65 | compatibleWith traitCollection: UITraitCollection?
| `- error: 'UITraitCollection' is unavailable in watchOS
66 | ) -> UIFont {
67 | // When UIAccessibility.isBoldTextEnabled == true, then we don't need to manually
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITraitCollection.h:23:12: note: 'UITraitCollection' has been explicitly marked unavailable here
21 |
22 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_SENDABLE
23 | @interface UITraitCollection : NSObject <NSCopying, NSSecureCoding>
| `- note: 'UITraitCollection' has been explicitly marked unavailable here
24 |
25 | - (instancetype)init NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/YMatterType/Typography/Typography+Font.swift:21:41: error: 'UITraitCollection' is unavailable in watchOS
19 | public func generateLayout(
20 | maximumPointSize: CGFloat? = nil,
21 | compatibleWith traitCollection: UITraitCollection?
| `- error: 'UITraitCollection' is unavailable in watchOS
22 | ) -> TypographyLayout {
23 | var font = generateFixedFont(compatibleWith: traitCollection)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITraitCollection.h:23:12: note: 'UITraitCollection' has been explicitly marked unavailable here
21 |
22 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_SENDABLE
23 | @interface UITraitCollection : NSObject <NSCopying, NSSecureCoding>
| `- note: 'UITraitCollection' has been explicitly marked unavailable here
24 |
25 | - (instancetype)init NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/YMatterType/Typography/Typography+Font.swift:105:41: error: 'UITraitCollection' is unavailable in watchOS
103 | public func generateLayout(
104 | maximumScaleFactor: CGFloat,
105 | compatibleWith traitCollection: UITraitCollection?
| `- error: 'UITraitCollection' is unavailable in watchOS
106 | ) -> TypographyLayout {
107 | generateLayout(maximumPointSize: maximumScaleFactor * fontSize, compatibleWith: traitCollection)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITraitCollection.h:23:12: note: 'UITraitCollection' has been explicitly marked unavailable here
21 |
22 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_SENDABLE
23 | @interface UITraitCollection : NSObject <NSCopying, NSSecureCoding>
| `- note: 'UITraitCollection' has been explicitly marked unavailable here
24 |
25 | - (instancetype)init NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/YMatterType/Typography/Typography+Font.swift:127:41: error: 'UITraitCollection' is unavailable in watchOS
125 | maximumScaleFactor: CGFloat?,
126 | maximumPointSize: CGFloat?,
127 | compatibleWith traitCollection: UITraitCollection?
| `- error: 'UITraitCollection' is unavailable in watchOS
128 | ) -> TypographyLayout {
129 | if let maximumScaleFactor = maximumScaleFactor {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITraitCollection.h:23:12: note: 'UITraitCollection' has been explicitly marked unavailable here
21 |
22 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_SENDABLE
23 | @interface UITraitCollection : NSObject <NSCopying, NSSecureCoding>
| `- note: 'UITraitCollection' has been explicitly marked unavailable here
24 |
25 | - (instancetype)init NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/YMatterType/Typography/Typography+Font.swift:164:60: error: 'UITraitCollection' is unavailable in watchOS
162 |
163 | private extension Typography {
164 | func generateFixedFont(compatibleWith traitCollection: UITraitCollection?) -> UIFont {
| `- error: 'UITraitCollection' is unavailable in watchOS
165 | var traits = traitCollection
166 | if fontFamily is SystemFontFamily {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITraitCollection.h:23:12: note: 'UITraitCollection' has been explicitly marked unavailable here
21 |
22 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_SENDABLE
23 | @interface UITraitCollection : NSObject <NSCopying, NSSecureCoding>
| `- note: 'UITraitCollection' has been explicitly marked unavailable here
24 |
25 | - (instancetype)init NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/YMatterType/Typography/Typography+System.swift:29:26: error: 'systemFontSize' is unavailable in watchOS
27 | @available(tvOS, unavailable)
28 | public static let system = makeSystemTypography(
29 | fontSize: UIFont.systemFontSize, weight: .regular, textStyle: .callout
| `- error: 'systemFontSize' is unavailable in watchOS
30 | )
31 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIInterface.h:271:47: note: 'systemFontSize' has been explicitly marked unavailable here
269 | @property(class, nonatomic, readonly) CGFloat buttonFontSize API_UNAVAILABLE(tvos, watchos);
270 | @property(class, nonatomic, readonly) CGFloat smallSystemFontSize API_UNAVAILABLE(tvos, watchos);
271 | @property(class, nonatomic, readonly) CGFloat systemFontSize API_UNAVAILABLE(tvos, watchos);
| `- note: 'systemFontSize' has been explicitly marked unavailable here
272 | @property(class, nonatomic, readonly) CGFloat defaultFontSize API_UNAVAILABLE(macos, ios, tvos, watchos);
273 | @property(class, nonatomic, readonly) CGFloat systemMinimumFontSize API_UNAVAILABLE(macos, ios, tvos, watchos);
/Users/admin/builder/spi-builder-workspace/Sources/YMatterType/Typography/Typography+System.swift:36:26: error: 'smallSystemFontSize' is unavailable in watchOS
34 | @available(tvOS, unavailable)
35 | public static let smallSystem = makeSystemTypography(
36 | fontSize: UIFont.smallSystemFontSize, weight: .regular, textStyle: .footnote
| `- error: 'smallSystemFontSize' is unavailable in watchOS
37 | )
38 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIInterface.h:270:47: note: 'smallSystemFontSize' has been explicitly marked unavailable here
268 | @property(class, nonatomic, readonly) CGFloat labelFontSize API_UNAVAILABLE(tvos, watchos);
269 | @property(class, nonatomic, readonly) CGFloat buttonFontSize API_UNAVAILABLE(tvos, watchos);
270 | @property(class, nonatomic, readonly) CGFloat smallSystemFontSize API_UNAVAILABLE(tvos, watchos);
| `- note: 'smallSystemFontSize' has been explicitly marked unavailable here
271 | @property(class, nonatomic, readonly) CGFloat systemFontSize API_UNAVAILABLE(tvos, watchos);
272 | @property(class, nonatomic, readonly) CGFloat defaultFontSize API_UNAVAILABLE(macos, ios, tvos, watchos);
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/Sources/YMatterType/Elements/Representables/TypographyLabelRepresentable.swift /Users/admin/builder/spi-builder-workspace/Sources/YMatterType/Elements/TextStyleLabel.swift /Users/admin/builder/spi-builder-workspace/Sources/YMatterType/Elements/TypographyButton.swift /Users/admin/builder/spi-builder-workspace/Sources/YMatterType/Elements/TypographyLabel.swift /Users/admin/builder/spi-builder-workspace/Sources/YMatterType/Elements/TypographyTextField.swift /Users/admin/builder/spi-builder-workspace/Sources/YMatterType/Elements/TypographyTextView.swift /Users/admin/builder/spi-builder-workspace/Sources/YMatterType/Extensions/Foundation/NSAttributedString+baseAttributes.swift /Users/admin/builder/spi-builder-workspace/Sources/YMatterType/Extensions/Foundation/NSAttributedString+textCase.swift /Users/admin/builder/spi-builder-workspace/Sources/YMatterType/Extensions/Foundation/String+textCase.swift /Users/admin/builder/spi-builder-workspace/Sources/YMatterType/Extensions/Foundation/String+textSize.swift /Users/admin/builder/spi-builder-workspace/Sources/YMatterType/Extensions/UIKit/NSParagraphStyle+lineSpacing.swift /Users/admin/builder/spi-builder-workspace/Sources/YMatterType/Extensions/UIKit/UIFont+register.swift /Users/admin/builder/spi-builder-workspace/Sources/YMatterType/Extensions/UIKit/UITraitCollection+breakpoint.swift /Users/admin/builder/spi-builder-workspace/Sources/YMatterType/Extensions/UIKit/UITraitCollection+fontAppearance.swift /Users/admin/builder/spi-builder-workspace/Sources/YMatterType/Typography/FontFamily/DefaultFontFamily.swift /Users/admin/builder/spi-builder-workspace/Sources/YMatterType/Typography/FontFamily/DefaultFontFamilyFactory.swift /Users/admin/builder/spi-builder-workspace/Sources/YMatterType/Typography/FontFamily/FontFamily.swift /Users/admin/builder/spi-builder-workspace/Sources/YMatterType/Typography/FontFamily/FontFamilyFactory.swift /Users/admin/builder/spi-builder-workspace/Sources/YMatterType/Typography/FontFamily/HelveticaNeueFontFamily.swift /Users/admin/builder/spi-builder-workspace/Sources/YMatterType/Typography/FontFamily/SystemFontFamily.swift /Users/admin/builder/spi-builder-workspace/Sources/YMatterType/Typography/Typography+Enums.swift /Users/admin/builder/spi-builder-workspace/Sources/YMatterType/Typography/Typography+Font.swift /Users/admin/builder/spi-builder-workspace/Sources/YMatterType/Typography/Typography+Mutators.swift /Users/admin/builder/spi-builder-workspace/Sources/YMatterType/Typography/Typography+System.swift /Users/admin/builder/spi-builder-workspace/Sources/YMatterType/Typography/Typography.swift /Users/admin/builder/spi-builder-workspace/Sources/YMatterType/Typography/TypographyLayout.swift /Users/admin/builder/spi-builder-workspace/Sources/YMatterType/YMatterType+Logging.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/libPreviewsMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#PreviewsMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libSwiftMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#SwiftMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libSwiftUIMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#SwiftUIMacros -disable-implicit-swift-modules -Xcc -fno-implicit-modules -Xcc -fno-implicit-module-maps -explicit-swift-module-map-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/YMatterType.build/Debug-watchos/YMatterType-t.build/Objects-normal/arm64_32/YMatterType-dependencies-1.json -enable-objc-interop -sdk /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/Developer/Library/Frameworks -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules -no-color-diagnostics -Xcc -fno-color-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -profile-generate -profile-coverage-mapping -swift-version 5 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -enable-anonymous-context-mangled-names -file-compilation-dir /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos27.0-24R360-e829b21a6f8c9b70876ba0858053c04477534ef55a1706bf4c1112bbb242f0a2.sdkstatcache -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/YMatterType.build/Debug-watchos/YMatterType-t.build/DerivedSources-normal/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/YMatterType.build/Debug-watchos/YMatterType-t.build/DerivedSources/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/YMatterType.build/Debug-watchos/YMatterType-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name YMatterType -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/YMatterType.build/Debug-watchos/YMatterType-t.build/Objects-normal/arm64_32/YMatterType_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/YMatterType.build/Debug-watchos/YMatterType-t.build/Objects-normal/arm64_32/YMatterType.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/YMatterType.build/Debug-watchos/YMatterType-t.build/Objects-normal/arm64_32/YMatterType.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/YMatterType.build/Debug-watchos/YMatterType-t.build/Objects-normal/arm64_32/YMatterType-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/YMatterType.build/Debug-watchos/YMatterType-t.build/Objects-normal/arm64_32/YMatterType-primary-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/YMatterType.build/Debug-watchos/YMatterType-t.build/Objects-normal/arm64_32/YMatterType-primary-emit-module.d -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/YMatterType.build/Debug-watchos/YMatterType-t.build/Objects-normal/arm64_32/YMatterType.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/YMatterType.build/Debug-watchos/YMatterType-t.build/Objects-normal/arm64_32/YMatterType.abi.json
SwiftCompile normal arm64_32 (in target 'YMatterType' from project 'YMatterType')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64_32 Compiling\ TypographyLabel.swift,\ TypographyTextField.swift,\ TypographyTextView.swift /Users/admin/builder/spi-builder-workspace/Sources/YMatterType/Elements/TypographyLabel.swift /Users/admin/builder/spi-builder-workspace/Sources/YMatterType/Elements/TypographyTextField.swift /Users/admin/builder/spi-builder-workspace/Sources/YMatterType/Elements/TypographyTextView.swift (in target 'YMatterType' from project 'YMatterType')
/Users/admin/builder/spi-builder-workspace/Sources/YMatterType/Elements/TypographyLabel.swift:124:76: error: 'UITraitCollection' is unavailable in watchOS
122 |
123 | /// :nodoc:
124 | override open func traitCollectionDidChange(_ previousTraitCollection: UITraitCollection?) {
| `- error: 'UITraitCollection' is unavailable in watchOS
125 | super.traitCollectionDidChange(previousTraitCollection)
126 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITraitCollection.h:23:12: note: 'UITraitCollection' has been explicitly marked unavailable here
21 |
22 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_SENDABLE
23 | @interface UITraitCollection : NSObject <NSCopying, NSSecureCoding>
| `- note: 'UITraitCollection' has been explicitly marked unavailable here
24 |
25 | - (instancetype)init NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/YMatterType/Elements/TypographyLabel.swift:124:24: error: cannot override 'traitCollectionDidChange' which has been marked unavailable
122 |
123 | /// :nodoc:
124 | override open func traitCollectionDidChange(_ previousTraitCollection: UITraitCollection?) {
| |- error: cannot override 'traitCollectionDidChange' which has been marked unavailable
| `- note: remove 'override' modifier to declare a new 'traitCollectionDidChange'
125 | super.traitCollectionDidChange(previousTraitCollection)
126 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITraitCollection.h:221:1: note: 'traitCollectionDidChange' has been explicitly marked unavailable here
219 |
220 | /*! To be overridden as needed to provide custom behavior when the environment's traits change. */
221 | - (void)traitCollectionDidChange:(nullable UITraitCollection *)previousTraitCollection API_DEPRECATED("Use the trait change registration APIs declared in the UITraitChangeObservable protocol", ios(8.0, 17.0), visionos(1.0, 1.0)) API_UNAVAILABLE(watchos);
| `- note: 'traitCollectionDidChange' has been explicitly marked unavailable here
222 | @end
223 |
/Users/admin/builder/spi-builder-workspace/Sources/YMatterType/Elements/TypographyLabel.swift:13:29: error: 'UILabel' is unavailable in watchOS
11 | /// A text label that supports `Typography`.
12 | /// You can optionally set `maximumPointSize` or `maximumScaleFactor` to set a cap on Dynamic Type scaling.
13 | open class TypographyLabel: UILabel {
| `- error: 'UILabel' is unavailable in watchOS
14 | /// The current typographical layout
15 | public private(set) var layout: TypographyLayout!
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILabel.h:33:12: note: 'UILabel' has been explicitly marked unavailable here
31 |
32 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
33 | @interface UILabel : UIView <NSCoding, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
| `- note: 'UILabel' has been explicitly marked unavailable here
34 |
35 | @property(nullable, nonatomic,copy) NSString *text; // default is nil
/Users/admin/builder/spi-builder-workspace/Sources/YMatterType/Elements/TypographyLabel.swift:125:15: error: 'traitCollectionDidChange' is unavailable in watchOS
123 | /// :nodoc:
124 | override open func traitCollectionDidChange(_ previousTraitCollection: UITraitCollection?) {
125 | super.traitCollectionDidChange(previousTraitCollection)
| `- error: 'traitCollectionDidChange' is unavailable in watchOS
126 |
127 | if traitCollection.hasDifferentFontAppearance(comparedTo: previousTraitCollection) {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITraitCollection.h:221:1: note: 'traitCollectionDidChange' has been explicitly marked unavailable here
219 |
220 | /*! To be overridden as needed to provide custom behavior when the environment's traits change. */
221 | - (void)traitCollectionDidChange:(nullable UITraitCollection *)previousTraitCollection API_DEPRECATED("Use the trait change registration APIs declared in the UITraitChangeObservable protocol", ios(8.0, 17.0), visionos(1.0, 1.0)) API_UNAVAILABLE(watchos);
| `- note: 'traitCollectionDidChange' has been explicitly marked unavailable here
222 | @end
223 |
/Users/admin/builder/spi-builder-workspace/Sources/YMatterType/Elements/TypographyLabel.swift:131:28: error: 'hasDifferentColorAppearance(comparedTo:)' is unavailable in watchOS
129 | }
130 |
131 | if traitCollection.hasDifferentColorAppearance(comparedTo: previousTraitCollection) {
| `- error: 'hasDifferentColorAppearance(comparedTo:)' is unavailable in watchOS
132 | adjustColors()
133 | }
/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:286:1: note: 'hasDifferentColorAppearance(comparedTo:)' has been explicitly marked unavailable here
284 | * and more could be added in the future.
285 | */
286 | - (BOOL)hasDifferentColorAppearanceComparedToTraitCollection:(nullable UITraitCollection *)traitCollection API_AVAILABLE(ios(13.0), tvos(13.0)) API_UNAVAILABLE(watchos);
| `- note: 'hasDifferentColorAppearance(comparedTo:)' has been explicitly marked unavailable here
287 |
288 | @end
/Users/admin/builder/spi-builder-workspace/Sources/YMatterType/Elements/TypographyTextField.swift:124:76: error: 'UITraitCollection' is unavailable in watchOS
122 |
123 | /// :nodoc:
124 | override open func traitCollectionDidChange(_ previousTraitCollection: UITraitCollection?) {
| `- error: 'UITraitCollection' is unavailable in watchOS
125 | super.traitCollectionDidChange(previousTraitCollection)
126 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITraitCollection.h:23:12: note: 'UITraitCollection' has been explicitly marked unavailable here
21 |
22 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_SENDABLE
23 | @interface UITraitCollection : NSObject <NSCopying, NSSecureCoding>
| `- note: 'UITraitCollection' has been explicitly marked unavailable here
24 |
25 | - (instancetype)init NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/YMatterType/Elements/TypographyTextField.swift:124:24: error: cannot override 'traitCollectionDidChange' which has been marked unavailable
122 |
123 | /// :nodoc:
124 | override open func traitCollectionDidChange(_ previousTraitCollection: UITraitCollection?) {
| |- error: cannot override 'traitCollectionDidChange' which has been marked unavailable
| `- note: remove 'override' modifier to declare a new 'traitCollectionDidChange'
125 | super.traitCollectionDidChange(previousTraitCollection)
126 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITraitCollection.h:221:1: note: 'traitCollectionDidChange' has been explicitly marked unavailable here
219 |
220 | /*! To be overridden as needed to provide custom behavior when the environment's traits change. */
221 | - (void)traitCollectionDidChange:(nullable UITraitCollection *)previousTraitCollection API_DEPRECATED("Use the trait change registration APIs declared in the UITraitChangeObservable protocol", ios(8.0, 17.0), visionos(1.0, 1.0)) API_UNAVAILABLE(watchos);
| `- note: 'traitCollectionDidChange' has been explicitly marked unavailable here
222 | @end
223 |
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/YMatterType/Elements/TypographyLabel.swift (in target 'YMatterType' from project 'YMatterType')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile TypographyLabel.swift
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/YMatterType/Elements/TypographyTextField.swift (in target 'YMatterType' from project 'YMatterType')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile TypographyTextField.swift
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/YMatterType/Elements/TypographyTextView.swift (in target 'YMatterType' from project 'YMatterType')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile TypographyTextView.swift
/Users/admin/builder/spi-builder-workspace/Sources/YMatterType/Elements/TypographyTextField.swift:13:33: error: 'UITextField' is unavailable in watchOS
11 | /// A text label that supports `Typography`.
12 | /// You can optionally set `maximumPointSize` or `maximumScaleFactor` to set a cap on Dynamic Type scaling.
13 | open class TypographyTextField: UITextField {
| `- error: 'UITextField' is unavailable in watchOS
14 | /// The current typographical layout
15 | public private(set) var layout: TypographyLayout! {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextField.h:53:12: note: 'UITextField' has been explicitly marked unavailable here
51 |
52 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
53 | @interface UITextField : UIControl <UITextInput, NSCoding, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting>
| `- note: 'UITextField' has been explicitly marked unavailable here
54 |
55 | @property(nullable, nonatomic,copy) NSString *text; // default is nil
/Users/admin/builder/spi-builder-workspace/Sources/YMatterType/Elements/TypographyTextField.swift:125:15: error: 'traitCollectionDidChange' is unavailable in watchOS
123 | /// :nodoc:
124 | override open func traitCollectionDidChange(_ previousTraitCollection: UITraitCollection?) {
125 | super.traitCollectionDidChange(previousTraitCollection)
| `- error: 'traitCollectionDidChange' is unavailable in watchOS
126 |
127 | if traitCollection.hasDifferentFontAppearance(comparedTo: previousTraitCollection) {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITraitCollection.h:221:1: note: 'traitCollectionDidChange' has been explicitly marked unavailable here
219 |
220 | /*! To be overridden as needed to provide custom behavior when the environment's traits change. */
221 | - (void)traitCollectionDidChange:(nullable UITraitCollection *)previousTraitCollection API_DEPRECATED("Use the trait change registration APIs declared in the UITraitChangeObservable protocol", ios(8.0, 17.0), visionos(1.0, 1.0)) API_UNAVAILABLE(watchos);
| `- note: 'traitCollectionDidChange' has been explicitly marked unavailable here
222 | @end
223 |
/Users/admin/builder/spi-builder-workspace/Sources/YMatterType/Elements/TypographyTextField.swift:131:28: error: 'hasDifferentColorAppearance(comparedTo:)' is unavailable in watchOS
129 | }
130 |
131 | if traitCollection.hasDifferentColorAppearance(comparedTo: previousTraitCollection) {
| `- error: 'hasDifferentColorAppearance(comparedTo:)' is unavailable in watchOS
132 | adjustColors()
133 | }
/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:286:1: note: 'hasDifferentColorAppearance(comparedTo:)' has been explicitly marked unavailable here
284 | * and more could be added in the future.
285 | */
286 | - (BOOL)hasDifferentColorAppearanceComparedToTraitCollection:(nullable UITraitCollection *)traitCollection API_AVAILABLE(ios(13.0), tvos(13.0)) API_UNAVAILABLE(watchos);
| `- note: 'hasDifferentColorAppearance(comparedTo:)' has been explicitly marked unavailable here
287 |
288 | @end
/Users/admin/builder/spi-builder-workspace/Sources/YMatterType/Elements/TypographyTextView.swift:117:76: error: 'UITraitCollection' is unavailable in watchOS
115 |
116 | /// :nodoc:
117 | override open func traitCollectionDidChange(_ previousTraitCollection: UITraitCollection?) {
| `- error: 'UITraitCollection' is unavailable in watchOS
118 | super.traitCollectionDidChange(previousTraitCollection)
119 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITraitCollection.h:23:12: note: 'UITraitCollection' has been explicitly marked unavailable here
21 |
22 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_SENDABLE
23 | @interface UITraitCollection : NSObject <NSCopying, NSSecureCoding>
| `- note: 'UITraitCollection' has been explicitly marked unavailable here
24 |
25 | - (instancetype)init NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/YMatterType/Elements/TypographyTextView.swift:117:24: error: cannot override 'traitCollectionDidChange' which has been marked unavailable
115 |
116 | /// :nodoc:
117 | override open func traitCollectionDidChange(_ previousTraitCollection: UITraitCollection?) {
| |- error: cannot override 'traitCollectionDidChange' which has been marked unavailable
| `- note: remove 'override' modifier to declare a new 'traitCollectionDidChange'
118 | super.traitCollectionDidChange(previousTraitCollection)
119 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITraitCollection.h:221:1: note: 'traitCollectionDidChange' has been explicitly marked unavailable here
219 |
220 | /*! To be overridden as needed to provide custom behavior when the environment's traits change. */
221 | - (void)traitCollectionDidChange:(nullable UITraitCollection *)previousTraitCollection API_DEPRECATED("Use the trait change registration APIs declared in the UITraitChangeObservable protocol", ios(8.0, 17.0), visionos(1.0, 1.0)) API_UNAVAILABLE(watchos);
| `- note: 'traitCollectionDidChange' has been explicitly marked unavailable here
222 | @end
223 |
/Users/admin/builder/spi-builder-workspace/Sources/YMatterType/Elements/TypographyTextView.swift:17:32: error: 'UITextView' is unavailable in watchOS
15 | /// If you are looking to essentially have an interactive label with link support,
16 | /// you need to set `isScrollEnabled = false` and `isEditable = false`.
17 | open class TypographyTextView: UITextView {
| `- error: 'UITextView' is unavailable in watchOS
18 | /// The current typographical layout
19 | public private(set) var layout: TypographyLayout!
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextView.h:223:12: note: 'UITextView' has been explicitly marked unavailable here
221 |
222 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
223 | @interface UITextView : UIScrollView <UITextInput, UIContentSizeCategoryAdjusting, UILetterformAwareAdjusting, NSTextViewportLayoutControllerDelegate>
| `- note: 'UITextView' has been explicitly marked unavailable here
224 |
225 | @property(nullable,nonatomic,weak) id<UITextViewDelegate> delegate;
/Users/admin/builder/spi-builder-workspace/Sources/YMatterType/Elements/TypographyTextView.swift:118:15: error: 'traitCollectionDidChange' is unavailable in watchOS
116 | /// :nodoc:
117 | override open func traitCollectionDidChange(_ previousTraitCollection: UITraitCollection?) {
118 | super.traitCollectionDidChange(previousTraitCollection)
| `- error: 'traitCollectionDidChange' is unavailable in watchOS
119 |
120 | if traitCollection.hasDifferentFontAppearance(comparedTo: previousTraitCollection) {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITraitCollection.h:221:1: note: 'traitCollectionDidChange' has been explicitly marked unavailable here
219 |
220 | /*! To be overridden as needed to provide custom behavior when the environment's traits change. */
221 | - (void)traitCollectionDidChange:(nullable UITraitCollection *)previousTraitCollection API_DEPRECATED("Use the trait change registration APIs declared in the UITraitChangeObservable protocol", ios(8.0, 17.0), visionos(1.0, 1.0)) API_UNAVAILABLE(watchos);
| `- note: 'traitCollectionDidChange' has been explicitly marked unavailable here
222 | @end
223 |
SwiftCompile normal arm64_32 Compiling\ TypographyLabelRepresentable.swift,\ TextStyleLabel.swift,\ TypographyButton.swift /Users/admin/builder/spi-builder-workspace/Sources/YMatterType/Elements/Representables/TypographyLabelRepresentable.swift /Users/admin/builder/spi-builder-workspace/Sources/YMatterType/Elements/TextStyleLabel.swift /Users/admin/builder/spi-builder-workspace/Sources/YMatterType/Elements/TypographyButton.swift (in target 'YMatterType' from project 'YMatterType')
/Users/admin/builder/spi-builder-workspace/Sources/YMatterType/Elements/Representables/TypographyLabelRepresentable.swift:26:41: error: cannot find type 'UIViewRepresentable' in scope
24 | }
25 |
26 | extension TypographyLabelRepresentable: UIViewRepresentable {
| `- error: cannot find type 'UIViewRepresentable' in scope
27 | /// Creates the view object and configures its initial state.
28 | ///
/Users/admin/builder/spi-builder-workspace/Sources/YMatterType/Elements/Representables/TypographyLabelRepresentable.swift:33:30: error: cannot find type 'Context' in scope
31 | ///
32 | /// - Returns: `TypographyLabel` view configured with the provided information.
33 | func makeUIView(context: Context) -> TypographyLabel {
| `- error: cannot find type 'Context' in scope
34 | getLabel()
35 | }
/Users/admin/builder/spi-builder-workspace/Sources/YMatterType/Elements/Representables/TypographyLabelRepresentable.swift:57:59: error: cannot find type 'Context' in scope
55 | /// - context: A context structure containing information about the current
56 | /// state of the system.
57 | func updateUIView(_ uiView: TypographyLabel, context: Context) {
| `- error: cannot find type 'Context' in scope
58 | updateLabel(uiView)
59 | }
/Users/admin/builder/spi-builder-workspace/Sources/YMatterType/Elements/Representables/TypographyLabelRepresentable.swift:43:56: error: 'defaultLow' is unavailable in watchOS
41 | label.numberOfLines = 1
42 |
43 | label.setContentCompressionResistancePriority(.defaultLow, for: .horizontal)
| `- error: 'defaultLow' is unavailable in watchOS
44 | label.setContentCompressionResistancePriority(.defaultLow, for: .vertical)
45 |
UIKit.UILayoutPriority.defaultLow:3:21: note: 'defaultLow' has been explicitly marked unavailable here
1 | struct UILayoutPriority {
2 | @available(watchOS, unavailable)
3 | public static var defaultLow: UILayoutPriority { get }}
| `- note: 'defaultLow' has been explicitly marked unavailable here
4 |
/Users/admin/builder/spi-builder-workspace/Sources/YMatterType/Elements/Representables/TypographyLabelRepresentable.swift:44:56: error: 'defaultLow' is unavailable in watchOS
42 |
43 | label.setContentCompressionResistancePriority(.defaultLow, for: .horizontal)
44 | label.setContentCompressionResistancePriority(.defaultLow, for: .vertical)
| `- error: 'defaultLow' is unavailable in watchOS
45 |
46 | configureTextStyleLabel?(label)
UIKit.UILayoutPriority.defaultLow:3:21: note: 'defaultLow' has been explicitly marked unavailable here
1 | struct UILayoutPriority {
2 | @available(watchOS, unavailable)
3 | public static var defaultLow: UILayoutPriority { get }}
| `- note: 'defaultLow' has been explicitly marked unavailable here
4 |
/Users/admin/builder/spi-builder-workspace/Sources/YMatterType/Elements/TextStyleLabel.swift:47:9: error: return type of instance method 'getLabel()' requires that 'TypographyLabelRepresentable' conform to 'View'
44 | }
45 |
46 | func getLabel() -> some View {
| `- note: opaque return type declared here
47 | TypographyLabelRepresentable(
| `- error: return type of instance method 'getLabel()' requires that 'TypographyLabelRepresentable' conform to 'View'
48 | text: text,
49 | typography: typography,
/Users/admin/builder/spi-builder-workspace/Sources/YMatterType/Elements/TypographyButton.swift:80:64: error: 'UIControl' is unavailable in watchOS
78 |
79 | /// :nodoc:
80 | override public func setTitle(_ title: String?, for state: UIControl.State) {
| `- error: 'UIControl' is unavailable in watchOS
81 | // When text is set, we may need to re-style it as attributedText
82 | // with the correct paragraph style to achieve the desired line height.
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIControl.h:76:12: note: 'UIControl' has been explicitly marked unavailable here
74 |
75 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
76 | @interface UIControl : UIView
| `- note: 'UIControl' has been explicitly marked unavailable here
77 |
78 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/YMatterType/Elements/TypographyButton.swift:88:86: error: 'UIControl' is unavailable in watchOS
86 |
87 | /// :nodoc:
88 | override public func setAttributedTitle(_ title: NSAttributedString?, for state: UIControl.State) {
| `- error: 'UIControl' is unavailable in watchOS
89 | // When text is set, we may need to re-style it as attributedText
90 | // with the correct paragraph style to achieve the desired line height.
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIControl.h:76:12: note: 'UIControl' has been explicitly marked unavailable here
74 |
75 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
76 | @interface UIControl : UIView
| `- note: 'UIControl' has been explicitly marked unavailable here
77 |
78 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/YMatterType/Elements/TypographyButton.swift:120:76: error: 'UITraitCollection' is unavailable in watchOS
118 |
119 | /// :nodoc:
120 | override open func traitCollectionDidChange(_ previousTraitCollection: UITraitCollection?) {
| `- error: 'UITraitCollection' is unavailable in watchOS
121 | super.traitCollectionDidChange(previousTraitCollection)
122 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITraitCollection.h:23:12: note: 'UITraitCollection' has been explicitly marked unavailable here
21 |
22 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_SENDABLE
23 | @interface UITraitCollection : NSObject <NSCopying, NSSecureCoding>
| `- note: 'UITraitCollection' has been explicitly marked unavailable here
24 |
25 | - (instancetype)init NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/YMatterType/Elements/TypographyButton.swift:120:24: error: cannot override 'traitCollectionDidChange' which has been marked unavailable
118 |
119 | /// :nodoc:
120 | override open func traitCollectionDidChange(_ previousTraitCollection: UITraitCollection?) {
| |- error: cannot override 'traitCollectionDidChange' which has been marked unavailable
| `- note: remove 'override' modifier to declare a new 'traitCollectionDidChange'
121 | super.traitCollectionDidChange(previousTraitCollection)
122 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITraitCollection.h:221:1: note: 'traitCollectionDidChange' has been explicitly marked unavailable here
219 |
220 | /*! To be overridden as needed to provide custom behavior when the environment's traits change. */
221 | - (void)traitCollectionDidChange:(nullable UITraitCollection *)previousTraitCollection API_DEPRECATED("Use the trait change registration APIs declared in the UITraitChangeObservable protocol", ios(8.0, 17.0), visionos(1.0, 1.0)) API_UNAVAILABLE(watchos);
| `- note: 'traitCollectionDidChange' has been explicitly marked unavailable here
222 | @end
223 |
/Users/admin/builder/spi-builder-workspace/Sources/YMatterType/Elements/TypographyButton.swift:13:30: error: 'UIButton' is unavailable in watchOS
11 | /// Button that supports `Typography`.
12 | /// You can optionally set `maximumPointSize` or `maximumScaleFactor` to set a cap on Dynamic Type scaling.
13 | open class TypographyButton: UIButton {
| `- error: 'UIButton' is unavailable in watchOS
14 | /// The current typographical layout
15 | public private(set) var layout: TypographyLayout!
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIButton.h:49:12: note: 'UIButton' has been explicitly marked unavailable here
47 |
48 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
49 | @interface UIButton : UIControl <NSCoding>
| `- note: 'UIButton' has been explicitly marked unavailable here
50 |
51 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER;
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/YMatterType/Elements/Representables/TypographyLabelRepresentable.swift (in target 'YMatterType' from project 'YMatterType')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile TypographyLabelRepresentable.swift
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/YMatterType/Elements/TextStyleLabel.swift (in target 'YMatterType' from project 'YMatterType')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile TextStyleLabel.swift
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/YMatterType/Elements/TypographyButton.swift (in target 'YMatterType' from project 'YMatterType')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile TypographyButton.swift
/Users/admin/builder/spi-builder-workspace/Sources/YMatterType/Elements/TypographyButton.swift:234:52: error: 'UIControl' is unavailable in watchOS
232 | }
233 |
234 | func styleText(_ newValue: String!, for state: UIControl.State) {
| `- error: 'UIControl' is unavailable in watchOS
235 | defer { invalidateIntrinsicContentSize() }
236 | guard let layout = layout,
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIControl.h:76:12: note: 'UIControl' has been explicitly marked unavailable here
74 |
75 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
76 | @interface UIControl : UIView
| `- note: 'UIControl' has been explicitly marked unavailable here
77 |
78 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/YMatterType/Elements/TypographyButton.swift:249:74: error: 'UIControl' is unavailable in watchOS
247 | }
248 |
249 | func styleAttributedText(_ newValue: NSAttributedString?, for state: UIControl.State) {
| `- error: 'UIControl' is unavailable in watchOS
250 | defer { invalidateIntrinsicContentSize() }
251 | guard let layout = layout,
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIControl.h:76:12: note: 'UIControl' has been explicitly marked unavailable here
74 |
75 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
76 | @interface UIControl : UIView
| `- note: 'UIControl' has been explicitly marked unavailable here
77 |
78 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/YMatterType/Elements/TypographyButton.swift:121:15: error: 'traitCollectionDidChange' is unavailable in watchOS
119 | /// :nodoc:
120 | override open func traitCollectionDidChange(_ previousTraitCollection: UITraitCollection?) {
121 | super.traitCollectionDidChange(previousTraitCollection)
| `- error: 'traitCollectionDidChange' is unavailable in watchOS
122 |
123 | if traitCollection.hasDifferentFontAppearance(comparedTo: previousTraitCollection) {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITraitCollection.h:221:1: note: 'traitCollectionDidChange' has been explicitly marked unavailable here
219 |
220 | /*! To be overridden as needed to provide custom behavior when the environment's traits change. */
221 | - (void)traitCollectionDidChange:(nullable UITraitCollection *)previousTraitCollection API_DEPRECATED("Use the trait change registration APIs declared in the UITraitChangeObservable protocol", ios(8.0, 17.0), visionos(1.0, 1.0)) API_UNAVAILABLE(watchos);
| `- note: 'traitCollectionDidChange' has been explicitly marked unavailable here
222 | @end
223 |
/Users/admin/builder/spi-builder-workspace/Sources/YMatterType/Elements/TypographyButton.swift:127:28: error: 'hasDifferentColorAppearance(comparedTo:)' is unavailable in watchOS
125 | }
126 |
127 | if traitCollection.hasDifferentColorAppearance(comparedTo: previousTraitCollection) {
| `- error: 'hasDifferentColorAppearance(comparedTo:)' is unavailable in watchOS
128 | adjustColors()
129 | }
/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:286:1: note: 'hasDifferentColorAppearance(comparedTo:)' has been explicitly marked unavailable here
284 | * and more could be added in the future.
285 | */
286 | - (BOOL)hasDifferentColorAppearanceComparedToTraitCollection:(nullable UITraitCollection *)traitCollection API_AVAILABLE(ios(13.0), tvos(13.0)) API_UNAVAILABLE(watchos);
| `- note: 'hasDifferentColorAppearance(comparedTo:)' has been explicitly marked unavailable here
287 |
288 | @end
/Users/admin/builder/spi-builder-workspace/Sources/YMatterType/Elements/TypographyButton.swift:212:19: error: 'UIContentSizeCategory' is unavailable in watchOS
210 | self,
211 | selector: #selector(contentSizeDidChange),
212 | name: UIContentSizeCategory.didChangeNotification,
| `- error: 'UIContentSizeCategory' is unavailable in watchOS
213 | object: nil
214 | )
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIContentSizeCategory.h:14:20: note: 'UIContentSizeCategory' has been explicitly marked unavailable here
12 | NS_HEADER_AUDIT_BEGIN(nullability, sendability)
13 |
14 | typedef NSString * UIContentSizeCategory NS_TYPED_ENUM API_AVAILABLE(ios(7.0)) API_UNAVAILABLE(watchos);
| `- note: 'UIContentSizeCategory' has been explicitly marked unavailable here
15 |
16 | // Content size category constants
/Users/admin/builder/spi-builder-workspace/Sources/YMatterType/Elements/TypographyButton.swift:212:41: error: 'didChangeNotification' is unavailable in watchOS
210 | self,
211 | selector: #selector(contentSizeDidChange),
212 | name: UIContentSizeCategory.didChangeNotification,
| `- error: 'didChangeNotification' is unavailable in watchOS
213 | object: nil
214 | )
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIContentSizeCategory.h:35:39: note: 'didChangeNotification' has been explicitly marked unavailable here
33 |
34 | // Notification is emitted when the user has changed the preferredContentSizeCategory for the system
35 | UIKIT_EXTERN NSNotificationName const UIContentSizeCategoryDidChangeNotification API_AVAILABLE(ios(7.0)) API_UNAVAILABLE(watchos) NS_SWIFT_NONISOLATED; // userInfo dictionary will contain new value for UIContentSizeCategoryNewValueKey
| `- note: 'didChangeNotification' has been explicitly marked unavailable here
36 | UIKIT_EXTERN NSString *const UIContentSizeCategoryNewValueKey API_AVAILABLE(ios(7.0)) API_UNAVAILABLE(watchos) NS_SWIFT_NONISOLATED; // NSString instance with new content size category in userInfo
37 |
SwiftCompile normal arm64_32 Compiling\ String+textSize.swift,\ NSParagraphStyle+lineSpacing.swift,\ UIFont+register.swift /Users/admin/builder/spi-builder-workspace/Sources/YMatterType/Extensions/Foundation/String+textSize.swift /Users/admin/builder/spi-builder-workspace/Sources/YMatterType/Extensions/UIKit/NSParagraphStyle+lineSpacing.swift /Users/admin/builder/spi-builder-workspace/Sources/YMatterType/Extensions/UIKit/UIFont+register.swift (in target 'YMatterType' from project 'YMatterType')
/Users/admin/builder/spi-builder-workspace/Sources/YMatterType/Extensions/Foundation/String+textSize.swift:19:41: error: 'UITraitCollection' is unavailable in watchOS
17 | public func size(
18 | withTypography typography: Typography,
19 | compatibleWith traitCollection: UITraitCollection?
| `- error: 'UITraitCollection' is unavailable in watchOS
20 | ) -> CGSize {
21 | let layout = typography.generateLayout(compatibleWith: traitCollection)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITraitCollection.h:23:12: note: 'UITraitCollection' has been explicitly marked unavailable here
21 |
22 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_SENDABLE
23 | @interface UITraitCollection : NSObject <NSCopying, NSSecureCoding>
| `- note: 'UITraitCollection' has been explicitly marked unavailable here
24 |
25 | - (instancetype)init NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/YMatterType/Extensions/Foundation/String+textSize.swift:38:41: error: 'UITraitCollection' is unavailable in watchOS
36 | public func size(
37 | withFont font: UIFont,
38 | compatibleWith traitCollection: UITraitCollection? = nil
| `- error: 'UITraitCollection' is unavailable in watchOS
39 | ) -> CGSize {
40 | let scale: CGFloat
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITraitCollection.h:23:12: note: 'UITraitCollection' has been explicitly marked unavailable here
21 |
22 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_SENDABLE
23 | @interface UITraitCollection : NSObject <NSCopying, NSSecureCoding>
| `- note: 'UITraitCollection' has been explicitly marked unavailable here
24 |
25 | - (instancetype)init NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/YMatterType/Extensions/Foundation/String+textSize.swift:45:21: error: 'UIScreen' is unavailable in watchOS
43 | scale = displayScale
44 | } else {
45 | scale = UIScreen.main.scale
| `- error: 'UIScreen' is unavailable in watchOS
46 | }
47 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/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/Sources/YMatterType/Extensions/Foundation/String+textSize.swift (in target 'YMatterType' from project 'YMatterType')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile String+textSize.swift
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/YMatterType/Extensions/UIKit/NSParagraphStyle+lineSpacing.swift (in target 'YMatterType' from project 'YMatterType')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile NSParagraphStyle+lineSpacing.swift
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/YMatterType/Extensions/UIKit/UIFont+register.swift (in target 'YMatterType' from project 'YMatterType')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile UIFont+register.swift
SwiftCompile normal arm64_32 Compiling\ DefaultFontFamilyFactory.swift,\ FontFamily.swift,\ FontFamilyFactory.swift /Users/admin/builder/spi-builder-workspace/Sources/YMatterType/Typography/FontFamily/DefaultFontFamilyFactory.swift /Users/admin/builder/spi-builder-workspace/Sources/YMatterType/Typography/FontFamily/FontFamily.swift /Users/admin/builder/spi-builder-workspace/Sources/YMatterType/Typography/FontFamily/FontFamilyFactory.swift (in target 'YMatterType' from project 'YMatterType')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/YMatterType/Typography/FontFamily/DefaultFontFamilyFactory.swift (in target 'YMatterType' from project 'YMatterType')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile DefaultFontFamilyFactory.swift
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/YMatterType/Typography/FontFamily/FontFamily.swift (in target 'YMatterType' from project 'YMatterType')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile FontFamily.swift
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/YMatterType/Typography/FontFamily/FontFamilyFactory.swift (in target 'YMatterType' from project 'YMatterType')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile FontFamilyFactory.swift
/Users/admin/builder/spi-builder-workspace/Sources/YMatterType/Typography/FontFamily/FontFamily.swift:44:41: error: 'UITraitCollection' is unavailable in watchOS
42 | for weight: Typography.FontWeight,
43 | pointSize: CGFloat,
44 | compatibleWith traitCollection: UITraitCollection?
| `- error: 'UITraitCollection' is unavailable in watchOS
45 | ) -> UIFont
46 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITraitCollection.h:23:12: note: 'UITraitCollection' has been explicitly marked unavailable here
21 |
22 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_SENDABLE
23 | @interface UITraitCollection : NSObject <NSCopying, NSSecureCoding>
| `- note: 'UITraitCollection' has been explicitly marked unavailable here
24 |
25 | - (instancetype)init NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/YMatterType/Typography/FontFamily/FontFamily.swift:52:86: error: 'UITraitCollection' is unavailable in watchOS
50 | /// If `nil` then `UIAccessibility.isBoldTextEnabled` will be considered instead
51 | /// - Returns: The font name formulated from `familyName` and `weight`
52 | func fontName(for weight: Typography.FontWeight, compatibleWith traitCollection: UITraitCollection?) -> String
| `- error: 'UITraitCollection' is unavailable in watchOS
53 |
54 | /// Generates a weight name suffix as part of a full font name. Not all fonts support all 9 weights.
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITraitCollection.h:23:12: note: 'UITraitCollection' has been explicitly marked unavailable here
21 |
22 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_SENDABLE
23 | @interface UITraitCollection : NSObject <NSCopying, NSSecureCoding>
| `- note: 'UITraitCollection' has been explicitly marked unavailable here
24 |
25 | - (instancetype)init NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/YMatterType/Typography/FontFamily/FontFamily.swift:82:41: error: 'UITraitCollection' is unavailable in watchOS
80 | for weight: Typography.FontWeight,
81 | pointSize: CGFloat,
82 | compatibleWith traitCollection: UITraitCollection?
| `- error: 'UITraitCollection' is unavailable in watchOS
83 | ) -> UIFont {
84 | let name = fontName(for: weight, compatibleWith: traitCollection)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITraitCollection.h:23:12: note: 'UITraitCollection' has been explicitly marked unavailable here
21 |
22 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_SENDABLE
23 | @interface UITraitCollection : NSObject <NSCopying, NSSecureCoding>
| `- note: 'UITraitCollection' has been explicitly marked unavailable here
24 |
25 | - (instancetype)init NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/YMatterType/Typography/FontFamily/FontFamily.swift:103:41: error: 'UITraitCollection' is unavailable in watchOS
101 | public func fontName(
102 | for weight: Typography.FontWeight,
103 | compatibleWith traitCollection: UITraitCollection?
| `- error: 'UITraitCollection' is unavailable in watchOS
104 | ) -> String {
105 | // Default font name formulation accounting for Accessibility Bold setting
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITraitCollection.h:23:12: note: 'UITraitCollection' has been explicitly marked unavailable here
21 |
22 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_SENDABLE
23 | @interface UITraitCollection : NSObject <NSCopying, NSSecureCoding>
| `- note: 'UITraitCollection' has been explicitly marked unavailable here
24 |
25 | - (instancetype)init NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/YMatterType/Typography/FontFamily/FontFamily.swift:155:67: error: 'UITraitCollection' is unavailable in watchOS
153 | /// If `traitCollection` is not `nil`, it checks for `legibilityWeight == .bold`.
154 | /// If `traitCollection` is `nil`, then it examines the system wide `UIAccessibility` setting of the same name.
155 | public func isBoldTextEnabled(compatibleWith traitCollection: UITraitCollection?) -> Bool {
| `- error: 'UITraitCollection' is unavailable in watchOS
156 | guard let traitCollection = traitCollection else {
157 | return UIAccessibility.isBoldTextEnabled
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITraitCollection.h:23:12: note: 'UITraitCollection' has been explicitly marked unavailable here
21 |
22 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_SENDABLE
23 | @interface UITraitCollection : NSObject <NSCopying, NSSecureCoding>
| `- note: 'UITraitCollection' has been explicitly marked unavailable here
24 |
25 | - (instancetype)init NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/YMatterType/Typography/FontFamily/FontFamily.swift:157:36: error: 'isBoldTextEnabled' is unavailable in watchOS
155 | public func isBoldTextEnabled(compatibleWith traitCollection: UITraitCollection?) -> Bool {
156 | guard let traitCollection = traitCollection else {
157 | return UIAccessibility.isBoldTextEnabled
| `- error: 'isBoldTextEnabled' is unavailable in watchOS
158 | }
159 |
UIKit.UIAccessibility.isBoldTextEnabled:3:32: note: 'isBoldTextEnabled' has been explicitly marked unavailable here
1 | struct UIAccessibility {
2 | @available(watchOS, unavailable)
3 | @MainActor public static var isBoldTextEnabled: Bool { get }}
| `- note: 'isBoldTextEnabled' has been explicitly marked unavailable here
4 |
SwiftCompile normal arm64_32 Compiling\ Typography+System.swift,\ Typography.swift /Users/admin/builder/spi-builder-workspace/Sources/YMatterType/Typography/Typography+System.swift /Users/admin/builder/spi-builder-workspace/Sources/YMatterType/Typography/Typography.swift (in target 'YMatterType' from project 'YMatterType')
/Users/admin/builder/spi-builder-workspace/Sources/YMatterType/Typography/Typography+System.swift:29:26: error: 'systemFontSize' is unavailable in watchOS
27 | @available(tvOS, unavailable)
28 | public static let system = makeSystemTypography(
29 | fontSize: UIFont.systemFontSize, weight: .regular, textStyle: .callout
| `- error: 'systemFontSize' is unavailable in watchOS
30 | )
31 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIInterface.h:271:47: note: 'systemFontSize' has been explicitly marked unavailable here
269 | @property(class, nonatomic, readonly) CGFloat buttonFontSize API_UNAVAILABLE(tvos, watchos);
270 | @property(class, nonatomic, readonly) CGFloat smallSystemFontSize API_UNAVAILABLE(tvos, watchos);
271 | @property(class, nonatomic, readonly) CGFloat systemFontSize API_UNAVAILABLE(tvos, watchos);
| `- note: 'systemFontSize' has been explicitly marked unavailable here
272 | @property(class, nonatomic, readonly) CGFloat defaultFontSize API_UNAVAILABLE(macos, ios, tvos, watchos);
273 | @property(class, nonatomic, readonly) CGFloat systemMinimumFontSize API_UNAVAILABLE(macos, ios, tvos, watchos);
/Users/admin/builder/spi-builder-workspace/Sources/YMatterType/Typography/Typography+System.swift:36:26: error: 'smallSystemFontSize' is unavailable in watchOS
34 | @available(tvOS, unavailable)
35 | public static let smallSystem = makeSystemTypography(
36 | fontSize: UIFont.smallSystemFontSize, weight: .regular, textStyle: .footnote
| `- error: 'smallSystemFontSize' is unavailable in watchOS
37 | )
38 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIInterface.h:270:47: note: 'smallSystemFontSize' has been explicitly marked unavailable here
268 | @property(class, nonatomic, readonly) CGFloat labelFontSize API_UNAVAILABLE(tvos, watchos);
269 | @property(class, nonatomic, readonly) CGFloat buttonFontSize API_UNAVAILABLE(tvos, watchos);
270 | @property(class, nonatomic, readonly) CGFloat smallSystemFontSize API_UNAVAILABLE(tvos, watchos);
| `- note: 'smallSystemFontSize' has been explicitly marked unavailable here
271 | @property(class, nonatomic, readonly) CGFloat systemFontSize API_UNAVAILABLE(tvos, watchos);
272 | @property(class, nonatomic, readonly) CGFloat defaultFontSize API_UNAVAILABLE(macos, ios, tvos, watchos);
/Users/admin/builder/spi-builder-workspace/Sources/YMatterType/Typography/Typography+System.swift:60:48: error: 'labelFontSize' is unavailable in watchOS
58 | static var buttonFontWeight: FontWeight { .medium }
59 | #else
60 | static var labelFontSize: CGFloat { UIFont.labelFontSize }
| `- error: 'labelFontSize' is unavailable in watchOS
61 | static var labelFontWeight: FontWeight { .regular }
62 | static var buttonFontSize: CGFloat { UIFont.buttonFontSize }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIInterface.h:268:47: note: 'labelFontSize' has been explicitly marked unavailable here
266 |
267 | @interface UIFont (UIFontSystemFonts)
268 | @property(class, nonatomic, readonly) CGFloat labelFontSize API_UNAVAILABLE(tvos, watchos);
| `- note: 'labelFontSize' has been explicitly marked unavailable here
269 | @property(class, nonatomic, readonly) CGFloat buttonFontSize API_UNAVAILABLE(tvos, watchos);
270 | @property(class, nonatomic, readonly) CGFloat smallSystemFontSize API_UNAVAILABLE(tvos, watchos);
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/YMatterType/Typography/Typography+System.swift (in target 'YMatterType' from project 'YMatterType')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile Typography+System.swift
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/YMatterType/Typography/Typography.swift (in target 'YMatterType' from project 'YMatterType')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile Typography.swift
SwiftCompile normal arm64_32 Compiling\ Typography+Font.swift,\ Typography+Mutators.swift /Users/admin/builder/spi-builder-workspace/Sources/YMatterType/Typography/Typography+Font.swift /Users/admin/builder/spi-builder-workspace/Sources/YMatterType/Typography/Typography+Mutators.swift (in target 'YMatterType' from project 'YMatterType')
/Users/admin/builder/spi-builder-workspace/Sources/YMatterType/Typography/Typography+Font.swift:21:41: error: 'UITraitCollection' is unavailable in watchOS
19 | public func generateLayout(
20 | maximumPointSize: CGFloat? = nil,
21 | compatibleWith traitCollection: UITraitCollection?
| `- error: 'UITraitCollection' is unavailable in watchOS
22 | ) -> TypographyLayout {
23 | var font = generateFixedFont(compatibleWith: traitCollection)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITraitCollection.h:23:12: note: 'UITraitCollection' has been explicitly marked unavailable here
21 |
22 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_SENDABLE
23 | @interface UITraitCollection : NSObject <NSCopying, NSSecureCoding>
| `- note: 'UITraitCollection' has been explicitly marked unavailable here
24 |
25 | - (instancetype)init NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/YMatterType/Typography/Typography+Font.swift:105:41: error: 'UITraitCollection' is unavailable in watchOS
103 | public func generateLayout(
104 | maximumScaleFactor: CGFloat,
105 | compatibleWith traitCollection: UITraitCollection?
| `- error: 'UITraitCollection' is unavailable in watchOS
106 | ) -> TypographyLayout {
107 | generateLayout(maximumPointSize: maximumScaleFactor * fontSize, compatibleWith: traitCollection)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITraitCollection.h:23:12: note: 'UITraitCollection' has been explicitly marked unavailable here
21 |
22 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_SENDABLE
23 | @interface UITraitCollection : NSObject <NSCopying, NSSecureCoding>
| `- note: 'UITraitCollection' has been explicitly marked unavailable here
24 |
25 | - (instancetype)init NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/YMatterType/Typography/Typography+Font.swift:127:41: error: 'UITraitCollection' is unavailable in watchOS
125 | maximumScaleFactor: CGFloat?,
126 | maximumPointSize: CGFloat?,
127 | compatibleWith traitCollection: UITraitCollection?
| `- error: 'UITraitCollection' is unavailable in watchOS
128 | ) -> TypographyLayout {
129 | if let maximumScaleFactor = maximumScaleFactor {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITraitCollection.h:23:12: note: 'UITraitCollection' has been explicitly marked unavailable here
21 |
22 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_SENDABLE
23 | @interface UITraitCollection : NSObject <NSCopying, NSSecureCoding>
| `- note: 'UITraitCollection' has been explicitly marked unavailable here
24 |
25 | - (instancetype)init NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/YMatterType/Typography/Typography+Font.swift:164:60: error: 'UITraitCollection' is unavailable in watchOS
162 |
163 | private extension Typography {
164 | func generateFixedFont(compatibleWith traitCollection: UITraitCollection?) -> UIFont {
| `- error: 'UITraitCollection' is unavailable in watchOS
165 | var traits = traitCollection
166 | if fontFamily is SystemFontFamily {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITraitCollection.h:23:12: note: 'UITraitCollection' has been explicitly marked unavailable here
21 |
22 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_SENDABLE
23 | @interface UITraitCollection : NSObject <NSCopying, NSSecureCoding>
| `- note: 'UITraitCollection' has been explicitly marked unavailable here
24 |
25 | - (instancetype)init NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/YMatterType/Typography/Typography+Font.swift:31:32: error: 'scaledFont(for:maximumPointSize:compatibleWith:)' is unavailable in watchOS
29 |
30 | if let maximumPointSize = getMaximumPointSize(maximumPointSize) {
31 | font = metrics.scaledFont(
| `- error: 'scaledFont(for:maximumPointSize:compatibleWith:)' is unavailable in watchOS
32 | for: font,
33 | maximumPointSize: maximumPointSize,
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIFontMetrics.h:29:1: note: 'scaledFont(for:maximumPointSize:compatibleWith:)' has been explicitly marked unavailable here
27 | - (UIFont *)scaledFontForFont:(UIFont *)font maximumPointSize:(CGFloat)maximumPointSize;
28 | - (UIFont *)scaledFontForFont:(UIFont *)font compatibleWithTraitCollection:(nullable UITraitCollection *)traitCollection API_UNAVAILABLE(watchos);
29 | - (UIFont *)scaledFontForFont:(UIFont *)font maximumPointSize:(CGFloat)maximumPointSize compatibleWithTraitCollection:(nullable UITraitCollection *)traitCollection API_UNAVAILABLE(watchos);
| `- note: 'scaledFont(for:maximumPointSize:compatibleWith:)' has been explicitly marked unavailable here
30 |
31 | - (CGFloat)scaledValueForValue:(CGFloat)value;
/Users/admin/builder/spi-builder-workspace/Sources/YMatterType/Typography/Typography+Font.swift:37:48: error: 'scaledValue(for:compatibleWith:)' is unavailable in watchOS
35 | )
36 | if font.pointSize < maximumPointSize {
37 | scaledLineHeight = metrics.scaledValue(for: lineHeight, compatibleWith: traitCollection)
| `- error: 'scaledValue(for:compatibleWith:)' is unavailable in watchOS
38 | } else {
39 | // scaledValue(:) will return too large a value in this case, so we calculate based on the
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIFontMetrics.h:32:1: note: 'scaledValue(for:compatibleWith:)' has been explicitly marked unavailable here
30 |
31 | - (CGFloat)scaledValueForValue:(CGFloat)value;
32 | - (CGFloat)scaledValueForValue:(CGFloat)value compatibleWithTraitCollection:(nullable UITraitCollection *)traitCollection API_UNAVAILABLE(watchos);
| `- note: 'scaledValue(for:compatibleWith:)' has been explicitly marked unavailable here
33 |
34 | @end
/Users/admin/builder/spi-builder-workspace/Sources/YMatterType/Typography/Typography+Font.swift:44:32: error: 'scaledFont(for:compatibleWith:)' is unavailable in watchOS
42 | }
43 | } else {
44 | font = metrics.scaledFont(
| `- error: 'scaledFont(for:compatibleWith:)' is unavailable in watchOS
45 | for: font,
46 | compatibleWith: traitCollection
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIFontMetrics.h:28:1: note: 'scaledFont(for:compatibleWith:)' has been explicitly marked unavailable here
26 | - (UIFont *)scaledFontForFont:(UIFont *)font;
27 | - (UIFont *)scaledFontForFont:(UIFont *)font maximumPointSize:(CGFloat)maximumPointSize;
28 | - (UIFont *)scaledFontForFont:(UIFont *)font compatibleWithTraitCollection:(nullable UITraitCollection *)traitCollection API_UNAVAILABLE(watchos);
| `- note: 'scaledFont(for:compatibleWith:)' has been explicitly marked unavailable here
29 | - (UIFont *)scaledFontForFont:(UIFont *)font maximumPointSize:(CGFloat)maximumPointSize compatibleWithTraitCollection:(nullable UITraitCollection *)traitCollection API_UNAVAILABLE(watchos);
30 |
/Users/admin/builder/spi-builder-workspace/Sources/YMatterType/Typography/Typography+Font.swift:48:44: error: 'scaledValue(for:compatibleWith:)' is unavailable in watchOS
46 | compatibleWith: traitCollection
47 | )
48 | scaledLineHeight = metrics.scaledValue(for: lineHeight, compatibleWith: traitCollection)
| `- error: 'scaledValue(for:compatibleWith:)' is unavailable in watchOS
49 | }
50 | } else if fontFamily is SystemFontFamily {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIFontMetrics.h:32:1: note: 'scaledValue(for:compatibleWith:)' has been explicitly marked unavailable here
30 |
31 | - (CGFloat)scaledValueForValue:(CGFloat)value;
32 | - (CGFloat)scaledValueForValue:(CGFloat)value compatibleWithTraitCollection:(nullable UITraitCollection *)traitCollection API_UNAVAILABLE(watchos);
| `- note: 'scaledValue(for:compatibleWith:)' has been explicitly marked unavailable here
33 |
34 | @end
/Users/admin/builder/spi-builder-workspace/Sources/YMatterType/Typography/Typography+Font.swift:54:28: error: 'scaledFont(for:maximumPointSize:compatibleWith:)' is unavailable in watchOS
52 | // to adjust it to the correct traits.
53 | let metrics = UIFontMetrics(forTextStyle: textStyle)
54 | font = metrics.scaledFont(
| `- error: 'scaledFont(for:maximumPointSize:compatibleWith:)' is unavailable in watchOS
55 | for: font,
56 | maximumPointSize: fontSize, // no change in size
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIFontMetrics.h:29:1: note: 'scaledFont(for:maximumPointSize:compatibleWith:)' has been explicitly marked unavailable here
27 | - (UIFont *)scaledFontForFont:(UIFont *)font maximumPointSize:(CGFloat)maximumPointSize;
28 | - (UIFont *)scaledFontForFont:(UIFont *)font compatibleWithTraitCollection:(nullable UITraitCollection *)traitCollection API_UNAVAILABLE(watchos);
29 | - (UIFont *)scaledFontForFont:(UIFont *)font maximumPointSize:(CGFloat)maximumPointSize compatibleWithTraitCollection:(nullable UITraitCollection *)traitCollection API_UNAVAILABLE(watchos);
| `- note: 'scaledFont(for:maximumPointSize:compatibleWith:)' has been explicitly marked unavailable here
30 |
31 | - (CGFloat)scaledValueForValue:(CGFloat)value;
/Users/admin/builder/spi-builder-workspace/Sources/YMatterType/Typography/Typography+Font.swift:78:21: error: 'UIScreen' is unavailable in watchOS
76 | // but testing indicates that increasing baseline offset by 1 moves the text up 2 points,
77 | // hence we divide by 2 again.
78 | let scale = UIScreen.main.scale
| `- error: 'UIScreen' is unavailable in watchOS
79 | let baselineOffset = max(
80 | ceil(((scaledLineHeight - (abs(font.descender) + font.leading) * 2 - font.capHeight) / 4) * scale) / scale,
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScreen.h:54:12: note: 'UIScreen' has been explicitly marked unavailable here
52 |
53 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(visionos, watchos) NS_SWIFT_UI_ACTOR
54 | @interface UIScreen : NSObject <UITraitEnvironment>
| `- note: 'UIScreen' has been explicitly marked unavailable here
55 |
56 | @property(class, nonatomic, readonly) NSArray<UIScreen *> *screens API_DEPRECATED("Use UIApplication.shared.openSessions to find open sessions with scenes from other screens", ios(3.2, 16.0), visionos(1.0, 1.0)) API_UNAVAILABLE(watchos); // all screens currently attached to the device
/Users/admin/builder/spi-builder-workspace/Sources/YMatterType/Typography/Typography+Font.swift:78:30: error: 'main' is unavailable in watchOS
76 | // but testing indicates that increasing baseline offset by 1 moves the text up 2 points,
77 | // hence we divide by 2 again.
78 | let scale = UIScreen.main.scale
| `- error: 'main' is unavailable in watchOS
79 | let baselineOffset = max(
80 | ceil(((scaledLineHeight - (abs(font.descender) + font.leading) * 2 - font.capHeight) / 4) * scale) / scale,
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScreen.h:57:49: note: 'main' has been explicitly marked unavailable here
55 |
56 | @property(class, nonatomic, readonly) NSArray<UIScreen *> *screens API_DEPRECATED("Use UIApplication.shared.openSessions to find open sessions with scenes from other screens", ios(3.2, 16.0), visionos(1.0, 1.0)) API_UNAVAILABLE(watchos); // all screens currently attached to the device
57 | @property(class, nonatomic, readonly) UIScreen *mainScreen API_DEPRECATED("Use a UIScreen instance found through context instead (i.e, view.window.windowScene.screen), or for properties like UIScreen.scale with trait equivalents, use a traitCollection found through context.", ios(2.0, 26.0), tvos(9.0, 26.0), visionos(1.0, 26.0)) API_UNAVAILABLE(watchos);
| `- note: 'main' has been explicitly marked unavailable here
58 |
59 | @property(nonatomic,readonly) CGRect bounds; // Bounds of entire screen in points
/Users/admin/builder/spi-builder-workspace/Sources/YMatterType/Typography/Typography+Font.swift:171:22: error: 'UITraitCollection' is unavailable in watchOS
169 | // so we pass a non-bold trait collection when generating the fixed font, so
170 | // as not to increase the font weight twice.
171 | traits = UITraitCollection(legibilityWeight: .regular)
| `- error: 'UITraitCollection' is unavailable in watchOS
172 | }
173 | return fontFamily.font(for: fontWeight, pointSize: fontSize, compatibleWith: traits)
/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;
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/YMatterType/Typography/Typography+Font.swift (in target 'YMatterType' from project 'YMatterType')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile Typography+Font.swift
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/YMatterType/Typography/Typography+Mutators.swift (in target 'YMatterType' from project 'YMatterType')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile Typography+Mutators.swift
SwiftCompile normal arm64_32 Compiling\ TypographyLayout.swift,\ YMatterType+Logging.swift /Users/admin/builder/spi-builder-workspace/Sources/YMatterType/Typography/TypographyLayout.swift /Users/admin/builder/spi-builder-workspace/Sources/YMatterType/YMatterType+Logging.swift (in target 'YMatterType' from project 'YMatterType')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/YMatterType/Typography/TypographyLayout.swift (in target 'YMatterType' from project 'YMatterType')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile TypographyLayout.swift
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/YMatterType/YMatterType+Logging.swift (in target 'YMatterType' from project 'YMatterType')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile YMatterType+Logging.swift
SwiftCompile normal arm64_32 Compiling\ HelveticaNeueFontFamily.swift,\ SystemFontFamily.swift,\ Typography+Enums.swift /Users/admin/builder/spi-builder-workspace/Sources/YMatterType/Typography/FontFamily/HelveticaNeueFontFamily.swift /Users/admin/builder/spi-builder-workspace/Sources/YMatterType/Typography/FontFamily/SystemFontFamily.swift /Users/admin/builder/spi-builder-workspace/Sources/YMatterType/Typography/Typography+Enums.swift (in target 'YMatterType' from project 'YMatterType')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/YMatterType/Typography/FontFamily/HelveticaNeueFontFamily.swift (in target 'YMatterType' from project 'YMatterType')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile HelveticaNeueFontFamily.swift
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/YMatterType/Typography/FontFamily/SystemFontFamily.swift (in target 'YMatterType' from project 'YMatterType')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile SystemFontFamily.swift
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/YMatterType/Typography/Typography+Enums.swift (in target 'YMatterType' from project 'YMatterType')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile Typography+Enums.swift
/Users/admin/builder/spi-builder-workspace/Sources/YMatterType/Typography/FontFamily/SystemFontFamily.swift:65:41: error: 'UITraitCollection' is unavailable in watchOS
63 | for weight: Typography.FontWeight,
64 | pointSize: CGFloat,
65 | compatibleWith traitCollection: UITraitCollection?
| `- error: 'UITraitCollection' is unavailable in watchOS
66 | ) -> UIFont {
67 | // When UIAccessibility.isBoldTextEnabled == true, then we don't need to manually
/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;
SwiftEmitModule normal arm64 Emitting\ module\ for\ YMatterType (in target 'YMatterType' from project 'YMatterType')
SwiftCompile normal arm64 (in target 'YMatterType' from project 'YMatterType')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules
2026-09-19 14:06:23.879 xcodebuild[804:4834] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
2026-09-19 14:06:23.984 xcodebuild[804:4834] [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\ YMatterType (in target 'YMatterType' from project 'YMatterType')
SwiftCompile normal arm64_32 (in target 'YMatterType' from project 'YMatterType')
Building workspace YMatterType with scheme YMatterType
(3 failures)
BUILD FAILURE 6.4 watchOS