Build Information
Failed to build SwiftyUI, reference 2.1.0 (c6eabd), with Swift 6.4 for watchOS using Xcode 27.0 on 26 Sep 2026 14:57:43 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 SwiftyUI -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/UITouch.h:51:12: note: 'UITouch' has been explicitly marked unavailable here
49 |
50 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
51 | @interface UITouch : NSObject
| `- note: 'UITouch' has been explicitly marked unavailable here
52 |
53 | @property(nonatomic,readonly) NSTimeInterval timestamp;
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyAlertView.swift:420:74: error: 'UIEvent' is unavailable in watchOS
418 | }
419 |
420 | override public func touchesEnded(_ touches: Set<UITouch>, with event: UIEvent?) {
| `- error: 'UIEvent' is unavailable in watchOS
421 | if let count = event?.touches(for: view)?.count, count > 0 {
422 | view.endEditing(true)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIEvent.h:62:12: note: 'UIEvent' has been explicitly marked unavailable here
60 |
61 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
62 | @interface UIEvent : NSObject
| `- note: 'UIEvent' has been explicitly marked unavailable here
63 |
64 | @property(nonatomic,readonly) UIEventType type API_AVAILABLE(ios(3.0));
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyAlertView.swift:426:55: error: 'UITextField' is unavailable in watchOS
424 | }
425 |
426 | public func addTextField(_ title: String? = nil) -> UITextField {
| `- error: 'UITextField' is unavailable in watchOS
427 | // Update view height
428 | appearance.setkWindowHeight(appearance.kWindowHeight + appearance.kTextFieldHeight)
/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/SwiftyAlertView.swift:443:32: error: 'UITextView' is unavailable in watchOS
441 | }
442 |
443 | public func addTextView() -> UITextView {
| `- error: 'UITextView' is unavailable in watchOS
444 | // Update view height
445 | appearance.setkWindowHeight(appearance.kWindowHeight + appearance.kTextViewdHeight)
/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/SwiftyAlertView.swift:506:42: error: 'UITapGestureRecognizer' is unavailable in watchOS
504 |
505 | //Dismiss keyboard when tapped outside textfield & close SwiftyAlertView when hideWhenBackgroundViewIsTapped
506 | @objc func tapped(_ gestureRecognizer: UITapGestureRecognizer) {
| `- error: 'UITapGestureRecognizer' is unavailable in watchOS
507 | self.view.endEditing(true)
508 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITapGestureRecognizer.h:23:12: note: 'UITapGestureRecognizer' has been explicitly marked unavailable here
21 |
22 | UIKIT_EXTERN API_AVAILABLE(ios(3.2)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
23 | @interface UITapGestureRecognizer : UIGestureRecognizer
| `- note: 'UITapGestureRecognizer' has been explicitly marked unavailable here
24 |
25 | @property (nonatomic) NSUInteger numberOfTapsRequired; // Default is 1. The number of taps required to match
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyAlertView.swift:737:17: error: 'UIDynamicAnimator' is unavailable in watchOS
735 |
736 | // DynamicAnimator function
737 | var animator: UIDynamicAnimator?
| `- error: 'UIDynamicAnimator' is unavailable in watchOS
738 | var snapBehavior: UISnapBehavior?
739 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDynamicAnimator.h:28:74: note: 'UIDynamicAnimator' has been explicitly marked unavailable here
26 | @end
27 |
28 | UIKIT_EXTERN API_AVAILABLE(ios(7.0)) API_UNAVAILABLE(watchos) @interface UIDynamicAnimator: NSObject
| `- note: 'UIDynamicAnimator' has been explicitly marked unavailable here
29 |
30 | // When you initialize a dynamic animator with this method, you should only associates views with your behaviors.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyAlertView.swift:738:21: error: 'UISnapBehavior' is unavailable in watchOS
736 | // DynamicAnimator function
737 | var animator: UIDynamicAnimator?
738 | var snapBehavior: UISnapBehavior?
| `- error: 'UISnapBehavior' is unavailable in watchOS
739 |
740 | fileprivate func animate(item: UIView, center: CGPoint) {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISnapBehavior.h:17:12: note: 'UISnapBehavior' has been explicitly marked unavailable here
15 |
16 | UIKIT_EXTERN API_AVAILABLE(ios(7.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
17 | @interface UISnapBehavior : UIDynamicBehavior
| `- note: 'UISnapBehavior' has been explicitly marked unavailable here
18 |
19 | // The point argument is expressed in the reference coordinate system
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyAlertView.swift:740:34: error: 'UIView' is unavailable in watchOS
738 | var snapBehavior: UISnapBehavior?
739 |
740 | fileprivate func animate(item: UIView, center: CGPoint) {
| `- error: 'UIView' is unavailable in watchOS
741 | if let snapBehavior = self.snapBehavior {
742 | self.animator?.removeBehavior(snapBehavior)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyAlertView.swift:52:37: error: 'UIViewController' is unavailable in watchOS
50 | // The Main Class
51 | @MainActor
52 | public final class SwiftyAlertView: UIViewController {
| `- error: 'UIViewController' is unavailable in watchOS
53 |
54 | var appearance: SwiftyAppearance!
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyAlertView.swift:105:7: error: 'UIView' is unavailable in watchOS
103 | view.frame = SwiftyGlobal.keyWindow?.bounds ?? .zero
104 | view.autoresizingMask = [
105 | UIView.AutoresizingMask.flexibleHeight, UIView.AutoresizingMask.flexibleWidth,
| `- error: 'UIView' is unavailable in watchOS
106 | ]
107 | view.backgroundColor = UIColor(
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyAlertView.swift:105:47: error: 'UIView' is unavailable in watchOS
103 | view.frame = SwiftyGlobal.keyWindow?.bounds ?? .zero
104 | view.autoresizingMask = [
105 | UIView.AutoresizingMask.flexibleHeight, UIView.AutoresizingMask.flexibleWidth,
| `- error: 'UIView' is unavailable in watchOS
106 | ]
107 | view.backgroundColor = UIColor(
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyAlertView.swift:155:24: error: 'UITapGestureRecognizer' is unavailable in watchOS
153 | //Gesture Recognizer for tapping outside the textinput
154 | if !appearance.disableTapGesture {
155 | let tapGesture = UITapGestureRecognizer(
| `- error: 'UITapGestureRecognizer' is unavailable in watchOS
156 | target: self, action: #selector(SwiftyAlertView.tapped(_:)))
157 | tapGesture.numberOfTapsRequired = 1
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITapGestureRecognizer.h:23:12: note: 'UITapGestureRecognizer' has been explicitly marked unavailable here
21 |
22 | UIKIT_EXTERN API_AVAILABLE(ios(3.2)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
23 | @interface UITapGestureRecognizer : UIGestureRecognizer
| `- note: 'UITapGestureRecognizer' has been explicitly marked unavailable here
24 |
25 | @property (nonatomic) NSUInteger numberOfTapsRequired; // Default is 1. The number of taps required to match
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftyAlertView.swift (in target 'SwiftyUI' from project 'SwiftyUI')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile SwiftyAlertView.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftyButton.swift (in target 'SwiftyUI' from project 'SwiftyUI')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile SwiftyButton.swift
SwiftCompile normal arm64 Compiling\ TextEditable.swift /Users/admin/builder/spi-builder-workspace/Sources/TextEditable.swift (in target 'SwiftyUI' from project 'SwiftyUI')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/TextEditable.swift (in target 'SwiftyUI' from project 'SwiftyUI')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile TextEditable.swift
SwiftCompile normal arm64 Compiling\ SwiftyAlertIcons.swift,\ SwiftyAlertStyle.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftyAlertIcons.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftyAlertStyle.swift (in target 'SwiftyUI' from project 'SwiftyUI')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftyAlertIcons.swift (in target 'SwiftyUI' from project 'SwiftyUI')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile SwiftyAlertIcons.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftyAlertStyle.swift (in target 'SwiftyUI' from project 'SwiftyUI')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile SwiftyAlertStyle.swift
SwiftCompile normal arm64 Compiling\ ImageCacheable.swift,\ ImageSettable.swift /Users/admin/builder/spi-builder-workspace/Sources/ImageCacheable.swift /Users/admin/builder/spi-builder-workspace/Sources/ImageSettable.swift (in target 'SwiftyUI' from project 'SwiftyUI')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/ImageCacheable.swift (in target 'SwiftyUI' from project 'SwiftyUI')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile ImageCacheable.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/ImageSettable.swift (in target 'SwiftyUI' from project 'SwiftyUI')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile ImageSettable.swift
SwiftCompile normal arm64 Compiling\ SwiftyColor.swift,\ SwiftyGlobal.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftyColor.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftyGlobal.swift (in target 'SwiftyUI' from project 'SwiftyUI')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftyColor.swift (in target 'SwiftyUI' from project 'SwiftyUI')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile SwiftyColor.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftyGlobal.swift (in target 'SwiftyUI' from project 'SwiftyUI')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile SwiftyGlobal.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyGlobal.swift:21:32: error: 'UIWindow' is unavailable in watchOS
19 | /// 1.x 返回非可选并强解包 `UIApplication.shared.keyWindow!`,无窗口时崩溃(B1)。
20 | /// 2.0 起返回可选,调用方需自行处理 nil。
21 | public static var keyWindow: UIWindow? {
| `- error: 'UIWindow' is unavailable in watchOS
22 | UIApplication.shared.connectedScenes
23 | .compactMap { $0 as? UIWindowScene }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h:22:12: note: 'UIWindow' has been explicitly marked unavailable here
20 |
21 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
22 | @interface UIWindow : UIView
| `- note: 'UIWindow' has been explicitly marked unavailable here
23 |
24 | // instantiate a UIWindow already associated with a given UIWindowScene instance, with matching frame & interface orientations.
SwiftEmitModule normal arm64_32 Emitting\ module\ for\ SwiftyUI (in target 'SwiftyUI' from project 'SwiftyUI')
SwiftCompile normal arm64_32 (in target 'SwiftyUI' from project 'SwiftyUI')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules
2026-09-26 10:57:34.041 xcodebuild[664:3992] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
** BUILD FAILED **
The following build commands failed:
SwiftCompile normal arm64 (in target 'SwiftyUI' from project 'SwiftyUI')
SwiftEmitModule normal arm64 Emitting\ module\ for\ SwiftyUI (in target 'SwiftyUI' from project 'SwiftyUI')
Building workspace SwiftyUI with scheme SwiftyUI
(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:
SwiftyUI: /Users/admin/builder/spi-builder-workspace
resolved source packages: SwiftyUI
2026-09-26 10:57:40.284 xcodebuild[819:4664] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
{
"dependencies" : [
],
"manifest_display_name" : "SwiftyUI",
"name" : "SwiftyUI",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "15.0"
}
],
"products" : [
{
"name" : "SwiftyUI",
"targets" : [
"SwiftyUI"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "SwiftyUITests",
"module_type" : "SwiftTarget",
"name" : "SwiftyUITests",
"path" : "Tests/SwiftyUITests",
"sources" : [
"ImageCachePoolTests.swift",
"SmokeTests.swift",
"SwiftyAlertViewTests.swift",
"SwiftyButtonTests.swift",
"SwiftyColorTests.swift",
"SwiftyGlobalTests.swift",
"SwiftyImageTests.swift",
"SwiftyImageViewTests.swift",
"SwiftyLabelTests.swift",
"SwiftyPromiseTests.swift",
"SwiftyThreadPoolTests.swift",
"SwiftyToastTests.swift",
"SwiftyViewTests.swift",
"TestSupport.swift"
],
"target_dependencies" : [
"SwiftyUI"
],
"type" : "test"
},
{
"c99name" : "SwiftyUI",
"module_type" : "SwiftTarget",
"name" : "SwiftyUI",
"path" : "Sources",
"product_memberships" : [
"SwiftyUI"
],
"sources" : [
"ImageCacheable.swift",
"ImageSettable.swift",
"SwiftyAlertIcons.swift",
"SwiftyAlertStyle.swift",
"SwiftyAlertView.swift",
"SwiftyButton.swift",
"SwiftyColor.swift",
"SwiftyGlobal.swift",
"SwiftyImage.swift",
"SwiftyImageView.swift",
"SwiftyLabel.swift",
"SwiftyPromise.swift",
"SwiftyThreadPool.swift",
"SwiftyTimer.swift",
"SwiftyToast.swift",
"SwiftyView.swift",
"TextEditable.swift"
],
"type" : "library"
}
],
"tools_version" : "6.0"
}
{
"workspace" : {
"name" : "SwiftyUI",
"schemes" : [
"SwiftyUI"
]
}
}
2026-09-26 10:57:41.505 xcodebuild[827:4739] [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 SwiftyUI -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 SwiftyUI -destination generic/platform=watchOS
Resolve Package Graph
Resolved source packages:
SwiftyUI: /Users/admin/builder/spi-builder-workspace
ComputePackagePrebuildTargetDependencyGraph
Prepare packages
CreateBuildRequest
SendProjectDescription
CreateBuildOperation
ComputeTargetDependencyGraph
note: Building targets in dependency order
note: Target dependency graph (2 targets)
Target 'SwiftyUI-product' in project 'SwiftyUI'
➜ Explicit dependency on target 'SwiftyUI' in project 'SwiftyUI'
Target 'SwiftyUI' in project 'SwiftyUI' (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 SwiftyUI normal arm64_32 com.apple.xcode.tools.swift.compiler (in target 'SwiftyUI' from project 'SwiftyUI')
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 SwiftyUI -Onone @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftyUI.build/Debug-watchos/SwiftyUI-t.build/Objects-normal/arm64_32/SwiftyUI.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 6 -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/Developer/Library/Frameworks -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos27.0-24R360-e829b21a6f8c9b70876ba0858053c04477534ef55a1706bf4c1112bbb242f0a2.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftyUI.build/Debug-watchos/SwiftyUI-t.build/Objects-normal/arm64_32/SwiftyUI-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/SwiftyUI.build/Debug-watchos/SwiftyUI-t.build/Objects-normal/arm64_32/SwiftyUI.swiftmodule -serialize-diagnostics -dependency-scan-serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftyUI.build/Debug-watchos/SwiftyUI-t.build/Objects-normal/arm64_32/SwiftyUI-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 -package-name spi_builder_workspace -emit-const-values -const-gather-protocols-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftyUI.build/Debug-watchos/SwiftyUI-t.build/Objects-normal/arm64_32/SwiftyUI_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/SwiftyUI.build/Debug-watchos/SwiftyUI-t.build/DerivedSources-normal/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftyUI.build/Debug-watchos/SwiftyUI-t.build/DerivedSources/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftyUI.build/Debug-watchos/SwiftyUI-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/SwiftyUI.build/Debug-watchos/SwiftyUI-t.build/Objects-normal/arm64_32/SwiftyUI-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
SwiftDriver SwiftyUI normal arm64 com.apple.xcode.tools.swift.compiler (in target 'SwiftyUI' from project 'SwiftyUI')
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 SwiftyUI -Onone @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftyUI.build/Debug-watchos/SwiftyUI-t.build/Objects-normal/arm64/SwiftyUI.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 6 -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/Developer/Library/Frameworks -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos27.0-24R360-e829b21a6f8c9b70876ba0858053c04477534ef55a1706bf4c1112bbb242f0a2.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftyUI.build/Debug-watchos/SwiftyUI-t.build/Objects-normal/arm64/SwiftyUI-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/SwiftyUI.build/Debug-watchos/SwiftyUI-t.build/Objects-normal/arm64/SwiftyUI.swiftmodule -serialize-diagnostics -dependency-scan-serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftyUI.build/Debug-watchos/SwiftyUI-t.build/Objects-normal/arm64/SwiftyUI-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 -package-name spi_builder_workspace -emit-const-values -const-gather-protocols-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftyUI.build/Debug-watchos/SwiftyUI-t.build/Objects-normal/arm64/SwiftyUI_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/SwiftyUI.build/Debug-watchos/SwiftyUI-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftyUI.build/Debug-watchos/SwiftyUI-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftyUI.build/Debug-watchos/SwiftyUI-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/SwiftyUI.build/Debug-watchos/SwiftyUI-t.build/Objects-normal/arm64/SwiftyUI-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
SwiftCompile normal arm64 Compiling\ SwiftyAlertView.swift,\ SwiftyButton.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftyAlertView.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftyButton.swift (in target 'SwiftyUI' from project 'SwiftyUI')
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyAlertView.swift:12:31: error: 'UIButton' is unavailable in watchOS
10 |
11 | @MainActor
12 | open class SwiftyAlertButton: UIButton {
| `- error: 'UIButton' is unavailable in watchOS
13 | var action: (() -> Void)!
14 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/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/SwiftyAlertView.swift:64:18: error: 'UIView' is unavailable in watchOS
62 |
63 | // Members declaration
64 | var baseView = UIView()
| `- error: 'UIView' is unavailable in watchOS
65 | var labelTitle = UILabel()
66 | var viewText = UITextView()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyAlertView.swift:64:18: error: 'init()' is unavailable in watchOS
62 |
63 | // Members declaration
64 | var baseView = UIView()
| `- error: 'init()' is unavailable in watchOS
65 | var labelTitle = UILabel()
66 | var viewText = UITextView()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:158:1: note: 'init()' has been explicitly marked unavailable here
156 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER;
157 | - (nullable instancetype)initWithCoder:(NSCoder *)coder NS_DESIGNATED_INITIALIZER;
158 | - (instancetype)init API_AVAILABLE(ios(2.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
| `- note: 'init()' has been explicitly marked unavailable here
159 |
160 | @property(nonatomic,getter=isUserInteractionEnabled) BOOL userInteractionEnabled; // default is YES. if set to NO, user events (touch, keys) are ignored and removed from the event queue.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyAlertView.swift:65:20: error: 'UILabel' is unavailable in watchOS
63 | // Members declaration
64 | var baseView = UIView()
65 | var labelTitle = UILabel()
| `- error: 'UILabel' is unavailable in watchOS
66 | var viewText = UITextView()
67 | var contentView = UIView()
/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/SwiftyAlertView.swift:65:20: error: 'init()' is unavailable in watchOS
63 | // Members declaration
64 | var baseView = UIView()
65 | var labelTitle = UILabel()
| `- error: 'init()' is unavailable in watchOS
66 | var viewText = UITextView()
67 | var contentView = UIView()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:158:1: note: 'init()' has been explicitly marked unavailable here
156 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER;
157 | - (nullable instancetype)initWithCoder:(NSCoder *)coder NS_DESIGNATED_INITIALIZER;
158 | - (instancetype)init API_AVAILABLE(ios(2.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
| `- note: 'init()' has been explicitly marked unavailable here
159 |
160 | @property(nonatomic,getter=isUserInteractionEnabled) BOOL userInteractionEnabled; // default is YES. if set to NO, user events (touch, keys) are ignored and removed from the event queue.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyAlertView.swift:66:18: error: 'UITextView' is unavailable in watchOS
64 | var baseView = UIView()
65 | var labelTitle = UILabel()
66 | var viewText = UITextView()
| `- error: 'UITextView' is unavailable in watchOS
67 | var contentView = UIView()
68 | var circleBG = UIView(
/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/SwiftyAlertView.swift:66:18: error: 'init()' is unavailable in watchOS
64 | var baseView = UIView()
65 | var labelTitle = UILabel()
66 | var viewText = UITextView()
| `- error: 'init()' is unavailable in watchOS
67 | var contentView = UIView()
68 | var circleBG = UIView(
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:158:1: note: 'init()' has been explicitly marked unavailable here
156 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER;
157 | - (nullable instancetype)initWithCoder:(NSCoder *)coder NS_DESIGNATED_INITIALIZER;
158 | - (instancetype)init API_AVAILABLE(ios(2.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
| `- note: 'init()' has been explicitly marked unavailable here
159 |
160 | @property(nonatomic,getter=isUserInteractionEnabled) BOOL userInteractionEnabled; // default is YES. if set to NO, user events (touch, keys) are ignored and removed from the event queue.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyAlertView.swift:67:21: error: 'UIView' is unavailable in watchOS
65 | var labelTitle = UILabel()
66 | var viewText = UITextView()
67 | var contentView = UIView()
| `- error: 'UIView' is unavailable in watchOS
68 | var circleBG = UIView(
69 | frame: CGRect(x: 0, y: 0, width: kCircleHeightBackground, height: kCircleHeightBackground))
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyAlertView.swift:67:21: error: 'init()' is unavailable in watchOS
65 | var labelTitle = UILabel()
66 | var viewText = UITextView()
67 | var contentView = UIView()
| `- error: 'init()' is unavailable in watchOS
68 | var circleBG = UIView(
69 | frame: CGRect(x: 0, y: 0, width: kCircleHeightBackground, height: kCircleHeightBackground))
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:158:1: note: 'init()' has been explicitly marked unavailable here
156 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER;
157 | - (nullable instancetype)initWithCoder:(NSCoder *)coder NS_DESIGNATED_INITIALIZER;
158 | - (instancetype)init API_AVAILABLE(ios(2.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
| `- note: 'init()' has been explicitly marked unavailable here
159 |
160 | @property(nonatomic,getter=isUserInteractionEnabled) BOOL userInteractionEnabled; // default is YES. if set to NO, user events (touch, keys) are ignored and removed from the event queue.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyAlertView.swift:68:18: error: 'UIView' is unavailable in watchOS
66 | var viewText = UITextView()
67 | var contentView = UIView()
68 | var circleBG = UIView(
| `- error: 'UIView' is unavailable in watchOS
69 | frame: CGRect(x: 0, y: 0, width: kCircleHeightBackground, height: kCircleHeightBackground))
70 | var circleView = UIView()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyAlertView.swift:70:20: error: 'UIView' is unavailable in watchOS
68 | var circleBG = UIView(
69 | frame: CGRect(x: 0, y: 0, width: kCircleHeightBackground, height: kCircleHeightBackground))
70 | var circleView = UIView()
| `- error: 'UIView' is unavailable in watchOS
71 | var circleIconView: UIView?
72 | var dismissBlock: (() -> Void)?
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyAlertView.swift:70:20: error: 'init()' is unavailable in watchOS
68 | var circleBG = UIView(
69 | frame: CGRect(x: 0, y: 0, width: kCircleHeightBackground, height: kCircleHeightBackground))
70 | var circleView = UIView()
| `- error: 'init()' is unavailable in watchOS
71 | var circleIconView: UIView?
72 | var dismissBlock: (() -> Void)?
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:158:1: note: 'init()' has been explicitly marked unavailable here
156 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER;
157 | - (nullable instancetype)initWithCoder:(NSCoder *)coder NS_DESIGNATED_INITIALIZER;
158 | - (instancetype)init API_AVAILABLE(ios(2.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
| `- note: 'init()' has been explicitly marked unavailable here
159 |
160 | @property(nonatomic,getter=isUserInteractionEnabled) BOOL userInteractionEnabled; // default is YES. if set to NO, user events (touch, keys) are ignored and removed from the event queue.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyAlertView.swift:71:23: error: 'UIView' is unavailable in watchOS
69 | frame: CGRect(x: 0, y: 0, width: kCircleHeightBackground, height: kCircleHeightBackground))
70 | var circleView = UIView()
71 | var circleIconView: UIView?
| `- error: 'UIView' is unavailable in watchOS
72 | var dismissBlock: (() -> Void)?
73 | fileprivate var inputs = [UITextField]()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyAlertView.swift:73:29: error: 'UITextField' is unavailable in watchOS
71 | var circleIconView: UIView?
72 | var dismissBlock: (() -> Void)?
73 | fileprivate var inputs = [UITextField]()
| `- error: 'UITextField' is unavailable in watchOS
74 | fileprivate var input = [UITextView]()
75 | internal var buttons = [SwiftyAlertButton]()
/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/SwiftyAlertView.swift:74:28: error: 'UITextView' is unavailable in watchOS
72 | var dismissBlock: (() -> Void)?
73 | fileprivate var inputs = [UITextField]()
74 | fileprivate var input = [UITextView]()
| `- error: 'UITextView' is unavailable in watchOS
75 | internal var buttons = [SwiftyAlertButton]()
76 | fileprivate var selfReference: SwiftyAlertView?
/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/SwiftyAlertView.swift:420:52: error: 'UITouch' is unavailable in watchOS
418 | }
419 |
420 | override public func touchesEnded(_ touches: Set<UITouch>, with event: UIEvent?) {
| `- error: 'UITouch' is unavailable in watchOS
421 | if let count = event?.touches(for: view)?.count, count > 0 {
422 | view.endEditing(true)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITouch.h:51:12: note: 'UITouch' has been explicitly marked unavailable here
49 |
50 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
51 | @interface UITouch : NSObject
| `- note: 'UITouch' has been explicitly marked unavailable here
52 |
53 | @property(nonatomic,readonly) NSTimeInterval timestamp;
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyAlertView.swift:420:74: error: 'UIEvent' is unavailable in watchOS
418 | }
419 |
420 | override public func touchesEnded(_ touches: Set<UITouch>, with event: UIEvent?) {
| `- error: 'UIEvent' is unavailable in watchOS
421 | if let count = event?.touches(for: view)?.count, count > 0 {
422 | view.endEditing(true)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIEvent.h:62:12: note: 'UIEvent' has been explicitly marked unavailable here
60 |
61 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
62 | @interface UIEvent : NSObject
| `- note: 'UIEvent' has been explicitly marked unavailable here
63 |
64 | @property(nonatomic,readonly) UIEventType type API_AVAILABLE(ios(3.0));
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyAlertView.swift:426:55: error: 'UITextField' is unavailable in watchOS
424 | }
425 |
426 | public func addTextField(_ title: String? = nil) -> UITextField {
| `- error: 'UITextField' is unavailable in watchOS
427 | // Update view height
428 | appearance.setkWindowHeight(appearance.kWindowHeight + appearance.kTextFieldHeight)
/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/SwiftyAlertView.swift:443:32: error: 'UITextView' is unavailable in watchOS
441 | }
442 |
443 | public func addTextView() -> UITextView {
| `- error: 'UITextView' is unavailable in watchOS
444 | // Update view height
445 | appearance.setkWindowHeight(appearance.kWindowHeight + appearance.kTextViewdHeight)
/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/SwiftyAlertView.swift:506:42: error: 'UITapGestureRecognizer' is unavailable in watchOS
504 |
505 | //Dismiss keyboard when tapped outside textfield & close SwiftyAlertView when hideWhenBackgroundViewIsTapped
506 | @objc func tapped(_ gestureRecognizer: UITapGestureRecognizer) {
| `- error: 'UITapGestureRecognizer' is unavailable in watchOS
507 | self.view.endEditing(true)
508 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITapGestureRecognizer.h:23:12: note: 'UITapGestureRecognizer' has been explicitly marked unavailable here
21 |
22 | UIKIT_EXTERN API_AVAILABLE(ios(3.2)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
23 | @interface UITapGestureRecognizer : UIGestureRecognizer
| `- note: 'UITapGestureRecognizer' has been explicitly marked unavailable here
24 |
25 | @property (nonatomic) NSUInteger numberOfTapsRequired; // Default is 1. The number of taps required to match
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyAlertView.swift:737:17: error: 'UIDynamicAnimator' is unavailable in watchOS
735 |
736 | // DynamicAnimator function
737 | var animator: UIDynamicAnimator?
| `- error: 'UIDynamicAnimator' is unavailable in watchOS
738 | var snapBehavior: UISnapBehavior?
739 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDynamicAnimator.h:28:74: note: 'UIDynamicAnimator' has been explicitly marked unavailable here
26 | @end
27 |
28 | UIKIT_EXTERN API_AVAILABLE(ios(7.0)) API_UNAVAILABLE(watchos) @interface UIDynamicAnimator: NSObject
| `- note: 'UIDynamicAnimator' has been explicitly marked unavailable here
29 |
30 | // When you initialize a dynamic animator with this method, you should only associates views with your behaviors.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyAlertView.swift:738:21: error: 'UISnapBehavior' is unavailable in watchOS
736 | // DynamicAnimator function
737 | var animator: UIDynamicAnimator?
738 | var snapBehavior: UISnapBehavior?
| `- error: 'UISnapBehavior' is unavailable in watchOS
739 |
740 | fileprivate func animate(item: UIView, center: CGPoint) {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISnapBehavior.h:17:12: note: 'UISnapBehavior' has been explicitly marked unavailable here
15 |
16 | UIKIT_EXTERN API_AVAILABLE(ios(7.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
17 | @interface UISnapBehavior : UIDynamicBehavior
| `- note: 'UISnapBehavior' has been explicitly marked unavailable here
18 |
19 | // The point argument is expressed in the reference coordinate system
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyAlertView.swift:740:34: error: 'UIView' is unavailable in watchOS
738 | var snapBehavior: UISnapBehavior?
739 |
740 | fileprivate func animate(item: UIView, center: CGPoint) {
| `- error: 'UIView' is unavailable in watchOS
741 | if let snapBehavior = self.snapBehavior {
742 | self.animator?.removeBehavior(snapBehavior)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyAlertView.swift:52:37: error: 'UIViewController' is unavailable in watchOS
50 | // The Main Class
51 | @MainActor
52 | public final class SwiftyAlertView: UIViewController {
| `- error: 'UIViewController' is unavailable in watchOS
53 |
54 | var appearance: SwiftyAppearance!
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyAlertView.swift:105:7: error: 'UIView' is unavailable in watchOS
103 | view.frame = SwiftyGlobal.keyWindow?.bounds ?? .zero
104 | view.autoresizingMask = [
105 | UIView.AutoresizingMask.flexibleHeight, UIView.AutoresizingMask.flexibleWidth,
| `- error: 'UIView' is unavailable in watchOS
106 | ]
107 | view.backgroundColor = UIColor(
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyAlertView.swift:105:47: error: 'UIView' is unavailable in watchOS
103 | view.frame = SwiftyGlobal.keyWindow?.bounds ?? .zero
104 | view.autoresizingMask = [
105 | UIView.AutoresizingMask.flexibleHeight, UIView.AutoresizingMask.flexibleWidth,
| `- error: 'UIView' is unavailable in watchOS
106 | ]
107 | view.backgroundColor = UIColor(
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftyAlertView.swift (in target 'SwiftyUI' from project 'SwiftyUI')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile SwiftyAlertView.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftyButton.swift (in target 'SwiftyUI' from project 'SwiftyUI')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile SwiftyButton.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyAlertView.swift:155:24: error: 'UITapGestureRecognizer' is unavailable in watchOS
153 | //Gesture Recognizer for tapping outside the textinput
154 | if !appearance.disableTapGesture {
155 | let tapGesture = UITapGestureRecognizer(
| `- error: 'UITapGestureRecognizer' is unavailable in watchOS
156 | target: self, action: #selector(SwiftyAlertView.tapped(_:)))
157 | tapGesture.numberOfTapsRequired = 1
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITapGestureRecognizer.h:23:12: note: 'UITapGestureRecognizer' has been explicitly marked unavailable here
21 |
22 | UIKIT_EXTERN API_AVAILABLE(ios(3.2)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
23 | @interface UITapGestureRecognizer : UIGestureRecognizer
| `- note: 'UITapGestureRecognizer' has been explicitly marked unavailable here
24 |
25 | @property (nonatomic) NSUInteger numberOfTapsRequired; // Default is 1. The number of taps required to match
SwiftCompile normal arm64 Compiling\ SwiftyAlertIcons.swift,\ SwiftyAlertStyle.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftyAlertIcons.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftyAlertStyle.swift (in target 'SwiftyUI' from project 'SwiftyUI')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftyAlertIcons.swift (in target 'SwiftyUI' from project 'SwiftyUI')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile SwiftyAlertIcons.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftyAlertStyle.swift (in target 'SwiftyUI' from project 'SwiftyUI')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile SwiftyAlertStyle.swift
SwiftCompile normal arm64 Compiling\ SwiftyLabel.swift,\ SwiftyPromise.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftyLabel.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftyPromise.swift (in target 'SwiftyUI' from project 'SwiftyUI')
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyLabel.swift:21:27: error: 'NSTextContainer' is unavailable in watchOS
19 | // MARK: - TextKit
20 |
21 | private let container = NSTextContainer()
| `- error: 'NSTextContainer' is unavailable in watchOS
22 | private let layoutManager = NSLayoutManager()
23 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextContainer.h:36:12: note: 'NSTextContainer' has been explicitly marked unavailable here
34 | /// restrictions apply to ``NSTextLayoutManager`` and ``NSTextContentStorage``.
35 | UIKIT_EXTERN API_AVAILABLE(macos(10.0), ios(7.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos)
36 | @interface NSTextContainer : NSObject <NSSecureCoding, NSTextLayoutOrientationProvider>
| `- note: 'NSTextContainer' has been explicitly marked unavailable here
37 |
38 | /**************************** Initialization ****************************/
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyLabel.swift:22:31: error: 'NSLayoutManager' is unavailable in watchOS
20 |
21 | private let container = NSTextContainer()
22 | private let layoutManager = NSLayoutManager()
| `- error: 'NSLayoutManager' is unavailable in watchOS
23 |
24 | // MARK: - 存储属性
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutManager.h:58:12: note: 'NSLayoutManager' has been explicitly marked unavailable here
56 |
57 | UIKIT_EXTERN API_AVAILABLE(macos(10.0), ios(7.0)) API_UNAVAILABLE(watchos)
58 | @interface NSLayoutManager : NSObject <NSSecureCoding>
| `- note: 'NSLayoutManager' has been explicitly marked unavailable here
59 |
60 | /**************************** Initialization ****************************/
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyLabel.swift:39:56: error: 'systemFontSize' is unavailable in watchOS
37 | }
38 |
39 | public var font: UIFont = .systemFont(ofSize: UIFont.systemFontSize) {
| `- error: 'systemFontSize' is unavailable in watchOS
40 | didSet { setNeedsDisplay() }
41 | }
/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/SwiftyLabel.swift:17:27: error: 'UIView' is unavailable in watchOS
15 | /// 至少 4 次哈希查找)。
16 | @MainActor
17 | public class SwiftyLabel: UIView, TextEditable {
| `- error: 'UIView' is unavailable in watchOS
18 |
19 | // MARK: - TextKit
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyLabel.swift:65:21: error: 'maximumNumberOfLines' is unavailable in watchOS
63 | /// 默认 0,表示不限行数。
64 | public var numberOfLines: Int {
65 | get { container.maximumNumberOfLines }
| `- error: 'maximumNumberOfLines' is unavailable in watchOS
66 | set {
67 | container.maximumNumberOfLines = newValue
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextContainer.h:119:45: note: 'maximumNumberOfLines' has been explicitly marked unavailable here
117 | /// The default value of this property is `0`, which indicates that there is no
118 | /// limit.
119 | @property (NS_NONATOMIC_IOSONLY) NSUInteger maximumNumberOfLines API_AVAILABLE(macos(10.11), ios(7.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
| `- note: 'maximumNumberOfLines' has been explicitly marked unavailable here
120 |
121 | /**************************** Line fragments ****************************/
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyLabel.swift:67:17: error: 'maximumNumberOfLines' is unavailable in watchOS
65 | get { container.maximumNumberOfLines }
66 | set {
67 | container.maximumNumberOfLines = newValue
| `- error: 'maximumNumberOfLines' is unavailable in watchOS
68 | setNeedsDisplay()
69 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextContainer.h:119:45: note: 'maximumNumberOfLines' has been explicitly marked unavailable here
117 | /// The default value of this property is `0`, which indicates that there is no
118 | /// limit.
119 | @property (NS_NONATOMIC_IOSONLY) NSUInteger maximumNumberOfLines API_AVAILABLE(macos(10.11), ios(7.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
| `- note: 'maximumNumberOfLines' has been explicitly marked unavailable here
120 |
121 | /**************************** Line fragments ****************************/
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyLabel.swift:83:21: error: 'lineBreakMode' is unavailable in watchOS
81 | /// 默认 byTruncatingTail。
82 | public var lineBreakMode: NSLineBreakMode {
83 | get { container.lineBreakMode }
| `- error: 'lineBreakMode' is unavailable in watchOS
84 | set {
85 | container.lineBreakMode = newValue
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextContainer.h:89:50: note: 'lineBreakMode' has been explicitly marked unavailable here
87 | /// truncated. The default value of this property is
88 | /// ``NSLineBreakMode/byWordWrapping``.
89 | @property (NS_NONATOMIC_IOSONLY) NSLineBreakMode lineBreakMode API_AVAILABLE(macos(10.11), ios(7.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
| `- note: 'lineBreakMode' has been explicitly marked unavailable here
90 |
91 | /// An array of path objects that represents the regions where text doesn't display in the text container.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyLabel.swift:85:17: error: 'lineBreakMode' is unavailable in watchOS
83 | get { container.lineBreakMode }
84 | set {
85 | container.lineBreakMode = newValue
| `- error: 'lineBreakMode' is unavailable in watchOS
86 | setNeedsDisplay()
87 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextContainer.h:89:50: note: 'lineBreakMode' has been explicitly marked unavailable here
87 | /// truncated. The default value of this property is
88 | /// ``NSLineBreakMode/byWordWrapping``.
89 | @property (NS_NONATOMIC_IOSONLY) NSLineBreakMode lineBreakMode API_AVAILABLE(macos(10.11), ios(7.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
| `- note: 'lineBreakMode' has been explicitly marked unavailable here
90 |
91 | /// An array of path objects that represents the regions where text doesn't display in the text container.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyLabel.swift:110:15: error: 'maximumNumberOfLines' is unavailable in watchOS
108 | layoutManager.addTextContainer(container)
109 |
110 | container.maximumNumberOfLines = 0
| `- error: 'maximumNumberOfLines' is unavailable in watchOS
111 | container.lineFragmentPadding = 0
112 | container.lineBreakMode = .byTruncatingTail
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextContainer.h:119:45: note: 'maximumNumberOfLines' has been explicitly marked unavailable here
117 | /// The default value of this property is `0`, which indicates that there is no
118 | /// limit.
119 | @property (NS_NONATOMIC_IOSONLY) NSUInteger maximumNumberOfLines API_AVAILABLE(macos(10.11), ios(7.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
| `- note: 'maximumNumberOfLines' has been explicitly marked unavailable here
120 |
121 | /**************************** Line fragments ****************************/
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyLabel.swift:112:15: error: 'lineBreakMode' is unavailable in watchOS
110 | container.maximumNumberOfLines = 0
111 | container.lineFragmentPadding = 0
112 | container.lineBreakMode = .byTruncatingTail
| `- error: 'lineBreakMode' is unavailable in watchOS
113 |
114 | isHidden = false
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextContainer.h:89:50: note: 'lineBreakMode' has been explicitly marked unavailable here
87 | /// truncated. The default value of this property is
88 | /// ``NSLineBreakMode/byWordWrapping``.
89 | @property (NS_NONATOMIC_IOSONLY) NSLineBreakMode lineBreakMode API_AVAILABLE(macos(10.11), ios(7.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
| `- note: 'lineBreakMode' has been explicitly marked unavailable here
90 |
91 | /// An array of path objects that represents the regions where text doesn't display in the text container.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyLabel.swift:148:19: error: 'NSTextStorage' is unavailable in watchOS
146 | guard let attributedText = mergedAttributedText else { return }
147 |
148 | let storage = NSTextStorage(attributedString: attributedText)
| `- error: 'NSTextStorage' is unavailable in watchOS
149 | storage.addLayoutManager(layoutManager)
150 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextStorage.h:46:12: note: 'NSTextStorage' has been explicitly marked unavailable here
44 | /// `edited:range:changeInLength:` to get everything else to happen.
45 | UIKIT_EXTERN API_AVAILABLE(macos(10.0), ios(7.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos)
46 | @interface NSTextStorage : NSMutableAttributedString <NSSecureCoding>
| `- note: 'NSTextStorage' has been explicitly marked unavailable here
47 | /**************************** Pending edit info ****************************/
48 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyLabel.swift:151:15: error: 'size' is unavailable in watchOS
149 | storage.addLayoutManager(layoutManager)
150 |
151 | container.size = rect.size
| `- error: 'size' is unavailable in watchOS
152 | let used = layoutManager.usedRect(for: container)
153 | let origin = textAlignment.alignOffset(
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextContainer.h:80:41: note: 'size' has been explicitly marked unavailable here
78 | /// If you don't specify an explicit size when you initialize a text container,
79 | /// the system uses a default large size of (`10000000.0`, `10000000.0`).
80 | @property (NS_NONATOMIC_IOSONLY) CGSize size API_AVAILABLE(macos(10.11), ios(7.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
| `- note: 'size' has been explicitly marked unavailable here
81 |
82 | /// The behavior of the last line inside the text container.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyLabel.swift:177:19: error: 'NSTextStorage' is unavailable in watchOS
175 | guard let attributedText = mergedAttributedText else { return .zero }
176 |
177 | let storage = NSTextStorage(attributedString: attributedText)
| `- error: 'NSTextStorage' is unavailable in watchOS
178 | storage.addLayoutManager(layoutManager)
179 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextStorage.h:46:12: note: 'NSTextStorage' has been explicitly marked unavailable here
44 | /// `edited:range:changeInLength:` to get everything else to happen.
45 | UIKIT_EXTERN API_AVAILABLE(macos(10.0), ios(7.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos)
46 | @interface NSTextStorage : NSMutableAttributedString <NSSecureCoding>
| `- note: 'NSTextStorage' has been explicitly marked unavailable here
47 | /**************************** Pending edit info ****************************/
48 |
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftyLabel.swift (in target 'SwiftyUI' from project 'SwiftyUI')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile SwiftyLabel.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftyPromise.swift (in target 'SwiftyUI' from project 'SwiftyUI')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile SwiftyPromise.swift
SwiftCompile normal arm64 Compiling\ SwiftyThreadPool.swift,\ SwiftyTimer.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftyThreadPool.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftyTimer.swift (in target 'SwiftyUI' from project 'SwiftyUI')
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyThreadPool.swift:59:16: error: 'UIApplication' is unavailable in watchOS
57 |
58 | memoryWarningObserver = NotificationCenter.default.addObserver(
59 | forName: UIApplication.didReceiveMemoryWarningNotification,
| `- error: 'UIApplication' is unavailable in watchOS
60 | object: nil,
61 | queue: nil
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h:85:12: note: 'UIApplication' has been explicitly marked unavailable here
83 |
84 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
85 | @interface UIApplication : UIResponder
| `- note: 'UIApplication' has been explicitly marked unavailable here
86 |
87 | @property(class, nonatomic, readonly) UIApplication *sharedApplication NS_EXTENSION_UNAVAILABLE_IOS("Use view controller based solutions where appropriate instead.");
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftyThreadPool.swift (in target 'SwiftyUI' from project 'SwiftyUI')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile SwiftyThreadPool.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftyTimer.swift (in target 'SwiftyUI' from project 'SwiftyUI')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile SwiftyTimer.swift
SwiftCompile normal arm64 Compiling\ ImageCacheable.swift,\ ImageSettable.swift /Users/admin/builder/spi-builder-workspace/Sources/ImageCacheable.swift /Users/admin/builder/spi-builder-workspace/Sources/ImageSettable.swift (in target 'SwiftyUI' from project 'SwiftyUI')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/ImageCacheable.swift (in target 'SwiftyUI' from project 'SwiftyUI')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile ImageCacheable.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/ImageSettable.swift (in target 'SwiftyUI' from project 'SwiftyUI')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile ImageSettable.swift
SwiftCompile normal arm64 Compiling\ SwiftyImage.swift,\ SwiftyImageView.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftyImage.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftyImageView.swift (in target 'SwiftyUI' from project 'SwiftyUI')
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyImage.swift:216:16: error: 'UIApplication' is unavailable in watchOS
214 | init() {
215 | memoryWarningObserver = NotificationCenter.default.addObserver(
216 | forName: UIApplication.didReceiveMemoryWarningNotification,
| `- error: 'UIApplication' is unavailable in watchOS
217 | object: nil,
218 | queue: nil
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h:85:12: note: 'UIApplication' has been explicitly marked unavailable here
83 |
84 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
85 | @interface UIApplication : UIResponder
| `- note: 'UIApplication' has been explicitly marked unavailable here
86 |
87 | @property(class, nonatomic, readonly) UIApplication *sharedApplication NS_EXTENSION_UNAVAILABLE_IOS("Use view controller based solutions where appropriate instead.");
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyImage.swift:216:30: error: 'didReceiveMemoryWarningNotification' is unavailable in watchOS
214 | init() {
215 | memoryWarningObserver = NotificationCenter.default.addObserver(
216 | forName: UIApplication.didReceiveMemoryWarningNotification,
| `- error: 'didReceiveMemoryWarningNotification' is unavailable in watchOS
217 | object: nil,
218 | queue: nil
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h:575:39: note: 'didReceiveMemoryWarningNotification' has been explicitly marked unavailable here
573 | UIKIT_EXTERN NSNotificationName const UIApplicationDidBecomeActiveNotification API_UNAVAILABLE(watchos) NS_SWIFT_NONISOLATED;
574 | UIKIT_EXTERN NSNotificationName const UIApplicationWillResignActiveNotification API_UNAVAILABLE(watchos) NS_SWIFT_NONISOLATED;
575 | UIKIT_EXTERN NSNotificationName const UIApplicationDidReceiveMemoryWarningNotification API_UNAVAILABLE(watchos) NS_SWIFT_NONISOLATED;
| `- note: 'didReceiveMemoryWarningNotification' has been explicitly marked unavailable here
576 | UIKIT_EXTERN NSNotificationName const UIApplicationWillTerminateNotification API_UNAVAILABLE(watchos) NS_SWIFT_NONISOLATED;
577 | UIKIT_EXTERN NSNotificationName const UIApplicationSignificantTimeChangeNotification API_UNAVAILABLE(watchos) NS_SWIFT_NONISOLATED;
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyImageView.swift:12:31: error: 'UIView' is unavailable in watchOS
10 |
11 | @MainActor
12 | public class SwiftyImageView: UIView, ImageSettable {
| `- error: 'UIView' is unavailable in watchOS
13 | public var backgroundImage: UIImage? {
14 | didSet { applyBackgroundImage(backgroundImage) }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyImageView.swift:51:25: error: 'UIView' is unavailable in watchOS
49 | case custom(
50 | duration: TimeInterval,
51 | animationOptions: UIView.AnimationOptions,
| `- error: 'UIView' is unavailable in watchOS
52 | animations: (SwiftyImageView, UIImage) -> Void,
53 | completion: ((Bool) -> Void)?
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyImageView.swift:81:34: error: 'UIView' is unavailable in watchOS
79 |
80 | /// The animation options of the image transition.
81 | public var animationOptions: UIView.AnimationOptions {
| `- error: 'UIView' is unavailable in watchOS
82 | switch self {
83 | case .noTransition:
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyImageView.swift:84:16: error: 'UIView' is unavailable in watchOS
82 | switch self {
83 | case .noTransition:
84 | return UIView.AnimationOptions()
| `- error: 'UIView' is unavailable in watchOS
85 | case .crossDissolve:
86 | return .transitionCrossDissolve
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftyImage.swift (in target 'SwiftyUI' from project 'SwiftyUI')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile SwiftyImage.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftyImageView.swift (in target 'SwiftyUI' from project 'SwiftyUI')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile SwiftyImageView.swift
SwiftCompile normal arm64 Compiling\ SwiftyColor.swift,\ SwiftyGlobal.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftyColor.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftyGlobal.swift (in target 'SwiftyUI' from project 'SwiftyUI')
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyGlobal.swift:21:32: error: 'UIWindow' is unavailable in watchOS
19 | /// 1.x 返回非可选并强解包 `UIApplication.shared.keyWindow!`,无窗口时崩溃(B1)。
20 | /// 2.0 起返回可选,调用方需自行处理 nil。
21 | public static var keyWindow: UIWindow? {
| `- error: 'UIWindow' is unavailable in watchOS
22 | UIApplication.shared.connectedScenes
23 | .compactMap { $0 as? UIWindowScene }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h:22:12: note: 'UIWindow' has been explicitly marked unavailable here
20 |
21 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
22 | @interface UIWindow : UIView
| `- note: 'UIWindow' has been explicitly marked unavailable here
23 |
24 | // instantiate a UIWindow already associated with a given UIWindowScene instance, with matching frame & interface orientations.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyGlobal.swift:22:5: error: 'UIApplication' is unavailable in watchOS
20 | /// 2.0 起返回可选,调用方需自行处理 nil。
21 | public static var keyWindow: UIWindow? {
22 | UIApplication.shared.connectedScenes
| `- error: 'UIApplication' is unavailable in watchOS
23 | .compactMap { $0 as? UIWindowScene }
24 | .first { $0.activationState == .foregroundActive }?
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h:85:12: note: 'UIApplication' has been explicitly marked unavailable here
83 |
84 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
85 | @interface UIApplication : UIResponder
| `- note: 'UIApplication' has been explicitly marked unavailable here
86 |
87 | @property(class, nonatomic, readonly) UIApplication *sharedApplication NS_EXTENSION_UNAVAILABLE_IOS("Use view controller based solutions where appropriate instead.");
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyGlobal.swift:22:26: error: 'connectedScenes' is unavailable in watchOS
20 | /// 2.0 起返回可选,调用方需自行处理 nil。
21 | public static var keyWindow: UIWindow? {
22 | UIApplication.shared.connectedScenes
| `- error: 'connectedScenes' is unavailable in watchOS
23 | .compactMap { $0 as? UIWindowScene }
24 | .first { $0.activationState == .foregroundActive }?
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h:189:50: note: 'connectedScenes' has been explicitly marked unavailable here
187 | #pragma mark -- UIScene --
188 | // All of the currently connected UIScene instances
189 | @property(nonatomic, readonly) NSSet<UIScene *> *connectedScenes API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos);
| `- note: 'connectedScenes' has been explicitly marked unavailable here
190 |
191 | // All of the representations that currently have connected UIScene instances or had their sessions persisted by the system (ex: visible in iOS' switcher)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyGlobal.swift:23:28: error: 'UIWindowScene' is unavailable in watchOS
21 | public static var keyWindow: UIWindow? {
22 | UIApplication.shared.connectedScenes
23 | .compactMap { $0 as? UIWindowScene }
| `- error: 'UIWindowScene' is unavailable in watchOS
24 | .first { $0.activationState == .foregroundActive }?
25 | .keyWindow
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindowScene.h:22:12: note: 'UIWindowScene' has been explicitly marked unavailable here
20 |
21 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
22 | @interface UIWindowScene : UIScene
| `- note: 'UIWindowScene' has been explicitly marked unavailable here
23 |
24 | #pragma mark Geometry
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyGlobal.swift:25:8: error: 'keyWindow' is unavailable in watchOS
23 | .compactMap { $0 as? UIWindowScene }
24 | .first { $0.activationState == .foregroundActive }?
25 | .keyWindow
| `- error: 'keyWindow' is unavailable in watchOS
26 | }
27 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindowScene.h:45:61: note: 'keyWindow' has been explicitly marked unavailable here
43 |
44 | // The key window for this UIWindowScene
45 | @property (nonatomic, readonly, strong, nullable) UIWindow *keyWindow API_AVAILABLE(ios(15.0)) API_UNAVAILABLE(watchos);
| `- note: 'keyWindow' has been explicitly marked unavailable here
46 |
47 | /// An optional object used as a source of scene-level activity items configuration
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyGlobal.swift:35:16: error: 'windowScene' is unavailable in watchOS
33 |
34 | public static var statusHeight: CGFloat {
35 | keyWindow?.windowScene?.statusBarManager?.statusBarFrame.height ?? 0
| `- error: 'windowScene' is unavailable in watchOS
36 | }
37 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h:32:53: note: 'windowScene' has been explicitly marked unavailable here
30 | // If nil, window will not appear on any screen.
31 | // changing the UIWindowScene may be an expensive operation and should not be done in performance-sensitive code
32 | @property(nullable, nonatomic, weak) UIWindowScene *windowScene API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos);
| `- note: 'windowScene' has been explicitly marked unavailable here
33 |
34 | // Indicates whether content should drive the size of arbitrarily resizable windows (which are currently present only on macOS).
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftyColor.swift (in target 'SwiftyUI' from project 'SwiftyUI')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile SwiftyColor.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftyGlobal.swift (in target 'SwiftyUI' from project 'SwiftyUI')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile SwiftyGlobal.swift
SwiftCompile normal arm64 Compiling\ SwiftyView.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftyView.swift (in target 'SwiftyUI' from project 'SwiftyUI')
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyView.swift:13:26: error: 'UIView' is unavailable in watchOS
11 | /// 轻量视图基类:自动维护 isOpaque,减少离屏混合。
12 | @MainActor
13 | public class SwiftyView: UIView {
| `- error: 'UIView' is unavailable in watchOS
14 | public init() {
15 | super.init(frame: .zero)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyView.swift:41:35: error: 'UIView' is unavailable in watchOS
39 | /// 2.0 起本方法无副作用(B15)。
40 | @discardableResult
41 | public final func addTo(_ view: UIView) -> Self {
| `- error: 'UIView' is unavailable in watchOS
42 | view.addSubview(self)
43 | return self
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyView.swift:35:11: error: 'UIView' is unavailable in watchOS
33 | }
34 |
35 | extension UIView {
| `- error: 'UIView' is unavailable in watchOS
36 | /// 添加到父视图并返回自身,便于链式调用。
37 | ///
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyView.swift:90:11: error: 'UIView' is unavailable in watchOS
88 | }
89 |
90 | extension UIView {
| `- error: 'UIView' is unavailable in watchOS
91 | @objc
92 | fileprivate func swiftyui_setBackgroundColor(_ color: UIColor?) {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyView.swift:81:5: error: 'UIView' is unavailable in watchOS
79 | didEnableGlobalOpaqueOptimization = true
80 |
81 | UIView.swizzleInstance(
| `- error: 'UIView' is unavailable in watchOS
82 | #selector(setter: UIView.backgroundColor),
83 | #selector(UIView.swiftyui_setBackgroundColor(_:)))
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyView.swift:82:25: error: 'UIView' is unavailable in watchOS
80 |
81 | UIView.swizzleInstance(
82 | #selector(setter: UIView.backgroundColor),
| `- error: 'UIView' is unavailable in watchOS
83 | #selector(UIView.swiftyui_setBackgroundColor(_:)))
84 | UIView.swizzleInstance(
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyView.swift:83:17: error: 'UIView' is unavailable in watchOS
81 | UIView.swizzleInstance(
82 | #selector(setter: UIView.backgroundColor),
83 | #selector(UIView.swiftyui_setBackgroundColor(_:)))
| `- error: 'UIView' is unavailable in watchOS
84 | UIView.swizzleInstance(
85 | #selector(setter: UIView.alpha),
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyView.swift:84:5: error: 'UIView' is unavailable in watchOS
82 | #selector(setter: UIView.backgroundColor),
83 | #selector(UIView.swiftyui_setBackgroundColor(_:)))
84 | UIView.swizzleInstance(
| `- error: 'UIView' is unavailable in watchOS
85 | #selector(setter: UIView.alpha),
86 | #selector(UIView.swiftyui_setAlpha(_:)))
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyView.swift:85:25: error: 'UIView' is unavailable in watchOS
83 | #selector(UIView.swiftyui_setBackgroundColor(_:)))
84 | UIView.swizzleInstance(
85 | #selector(setter: UIView.alpha),
| `- error: 'UIView' is unavailable in watchOS
86 | #selector(UIView.swiftyui_setAlpha(_:)))
87 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftyView.swift (in target 'SwiftyUI' from project 'SwiftyUI')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile SwiftyView.swift
SwiftEmitModule normal arm64 Emitting\ module\ for\ SwiftyUI (in target 'SwiftyUI' from project 'SwiftyUI')
/Users/admin/builder/spi-builder-workspace/Sources/ImageSettable.swift:15:32: error: 'UIView' is unavailable in watchOS
13 | /// 走 layer 而非 UIImageView 的绘制路径,交由 GPU 合成。
14 | @MainActor
15 | public protocol ImageSettable: UIView {
| `- error: 'UIView' is unavailable in watchOS
16 | var backgroundImage: UIImage? { get set }
17 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyAlertView.swift:12:31: error: 'UIButton' is unavailable in watchOS
10 |
11 | @MainActor
12 | open class SwiftyAlertButton: UIButton {
| `- error: 'UIButton' is unavailable in watchOS
13 | var action: (() -> Void)!
14 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/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/SwiftyAlertView.swift:64:18: error: 'UIView' is unavailable in watchOS
62 |
63 | // Members declaration
64 | var baseView = UIView()
| `- error: 'UIView' is unavailable in watchOS
65 | var labelTitle = UILabel()
66 | var viewText = UITextView()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyAlertView.swift:64:18: error: 'init()' is unavailable in watchOS
62 |
63 | // Members declaration
64 | var baseView = UIView()
| `- error: 'init()' is unavailable in watchOS
65 | var labelTitle = UILabel()
66 | var viewText = UITextView()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:158:1: note: 'init()' has been explicitly marked unavailable here
156 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER;
157 | - (nullable instancetype)initWithCoder:(NSCoder *)coder NS_DESIGNATED_INITIALIZER;
158 | - (instancetype)init API_AVAILABLE(ios(2.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
| `- note: 'init()' has been explicitly marked unavailable here
159 |
160 | @property(nonatomic,getter=isUserInteractionEnabled) BOOL userInteractionEnabled; // default is YES. if set to NO, user events (touch, keys) are ignored and removed from the event queue.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyAlertView.swift:65:20: error: 'UILabel' is unavailable in watchOS
63 | // Members declaration
64 | var baseView = UIView()
65 | var labelTitle = UILabel()
| `- error: 'UILabel' is unavailable in watchOS
66 | var viewText = UITextView()
67 | var contentView = UIView()
/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/SwiftyAlertView.swift:65:20: error: 'init()' is unavailable in watchOS
63 | // Members declaration
64 | var baseView = UIView()
65 | var labelTitle = UILabel()
| `- error: 'init()' is unavailable in watchOS
66 | var viewText = UITextView()
67 | var contentView = UIView()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:158:1: note: 'init()' has been explicitly marked unavailable here
156 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER;
157 | - (nullable instancetype)initWithCoder:(NSCoder *)coder NS_DESIGNATED_INITIALIZER;
158 | - (instancetype)init API_AVAILABLE(ios(2.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
| `- note: 'init()' has been explicitly marked unavailable here
159 |
160 | @property(nonatomic,getter=isUserInteractionEnabled) BOOL userInteractionEnabled; // default is YES. if set to NO, user events (touch, keys) are ignored and removed from the event queue.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyAlertView.swift:66:18: error: 'UITextView' is unavailable in watchOS
64 | var baseView = UIView()
65 | var labelTitle = UILabel()
66 | var viewText = UITextView()
| `- error: 'UITextView' is unavailable in watchOS
67 | var contentView = UIView()
68 | var circleBG = UIView(
/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/SwiftyAlertView.swift:66:18: error: 'init()' is unavailable in watchOS
64 | var baseView = UIView()
65 | var labelTitle = UILabel()
66 | var viewText = UITextView()
| `- error: 'init()' is unavailable in watchOS
67 | var contentView = UIView()
68 | var circleBG = UIView(
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:158:1: note: 'init()' has been explicitly marked unavailable here
156 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER;
157 | - (nullable instancetype)initWithCoder:(NSCoder *)coder NS_DESIGNATED_INITIALIZER;
158 | - (instancetype)init API_AVAILABLE(ios(2.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
| `- note: 'init()' has been explicitly marked unavailable here
159 |
160 | @property(nonatomic,getter=isUserInteractionEnabled) BOOL userInteractionEnabled; // default is YES. if set to NO, user events (touch, keys) are ignored and removed from the event queue.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyAlertView.swift:67:21: error: 'UIView' is unavailable in watchOS
65 | var labelTitle = UILabel()
66 | var viewText = UITextView()
67 | var contentView = UIView()
| `- error: 'UIView' is unavailable in watchOS
68 | var circleBG = UIView(
69 | frame: CGRect(x: 0, y: 0, width: kCircleHeightBackground, height: kCircleHeightBackground))
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyAlertView.swift:67:21: error: 'init()' is unavailable in watchOS
65 | var labelTitle = UILabel()
66 | var viewText = UITextView()
67 | var contentView = UIView()
| `- error: 'init()' is unavailable in watchOS
68 | var circleBG = UIView(
69 | frame: CGRect(x: 0, y: 0, width: kCircleHeightBackground, height: kCircleHeightBackground))
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:158:1: note: 'init()' has been explicitly marked unavailable here
156 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER;
157 | - (nullable instancetype)initWithCoder:(NSCoder *)coder NS_DESIGNATED_INITIALIZER;
158 | - (instancetype)init API_AVAILABLE(ios(2.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
| `- note: 'init()' has been explicitly marked unavailable here
159 |
160 | @property(nonatomic,getter=isUserInteractionEnabled) BOOL userInteractionEnabled; // default is YES. if set to NO, user events (touch, keys) are ignored and removed from the event queue.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyAlertView.swift:68:18: error: 'UIView' is unavailable in watchOS
66 | var viewText = UITextView()
67 | var contentView = UIView()
68 | var circleBG = UIView(
| `- error: 'UIView' is unavailable in watchOS
69 | frame: CGRect(x: 0, y: 0, width: kCircleHeightBackground, height: kCircleHeightBackground))
70 | var circleView = UIView()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyAlertView.swift:70:20: error: 'UIView' is unavailable in watchOS
68 | var circleBG = UIView(
69 | frame: CGRect(x: 0, y: 0, width: kCircleHeightBackground, height: kCircleHeightBackground))
70 | var circleView = UIView()
| `- error: 'UIView' is unavailable in watchOS
71 | var circleIconView: UIView?
72 | var dismissBlock: (() -> Void)?
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyAlertView.swift:70:20: error: 'init()' is unavailable in watchOS
68 | var circleBG = UIView(
69 | frame: CGRect(x: 0, y: 0, width: kCircleHeightBackground, height: kCircleHeightBackground))
70 | var circleView = UIView()
| `- error: 'init()' is unavailable in watchOS
71 | var circleIconView: UIView?
72 | var dismissBlock: (() -> Void)?
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:158:1: note: 'init()' has been explicitly marked unavailable here
156 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER;
157 | - (nullable instancetype)initWithCoder:(NSCoder *)coder NS_DESIGNATED_INITIALIZER;
158 | - (instancetype)init API_AVAILABLE(ios(2.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
| `- note: 'init()' has been explicitly marked unavailable here
159 |
160 | @property(nonatomic,getter=isUserInteractionEnabled) BOOL userInteractionEnabled; // default is YES. if set to NO, user events (touch, keys) are ignored and removed from the event queue.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyAlertView.swift:71:23: error: 'UIView' is unavailable in watchOS
69 | frame: CGRect(x: 0, y: 0, width: kCircleHeightBackground, height: kCircleHeightBackground))
70 | var circleView = UIView()
71 | var circleIconView: UIView?
| `- error: 'UIView' is unavailable in watchOS
72 | var dismissBlock: (() -> Void)?
73 | fileprivate var inputs = [UITextField]()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyAlertView.swift:73:29: error: 'UITextField' is unavailable in watchOS
71 | var circleIconView: UIView?
72 | var dismissBlock: (() -> Void)?
73 | fileprivate var inputs = [UITextField]()
| `- error: 'UITextField' is unavailable in watchOS
74 | fileprivate var input = [UITextView]()
75 | internal var buttons = [SwiftyAlertButton]()
/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/SwiftyAlertView.swift:74:28: error: 'UITextView' is unavailable in watchOS
72 | var dismissBlock: (() -> Void)?
73 | fileprivate var inputs = [UITextField]()
74 | fileprivate var input = [UITextView]()
| `- error: 'UITextView' is unavailable in watchOS
75 | internal var buttons = [SwiftyAlertButton]()
76 | fileprivate var selfReference: SwiftyAlertView?
/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/SwiftyAlertView.swift:420:52: error: 'UITouch' is unavailable in watchOS
418 | }
419 |
420 | override public func touchesEnded(_ touches: Set<UITouch>, with event: UIEvent?) {
| `- error: 'UITouch' is unavailable in watchOS
421 | if let count = event?.touches(for: view)?.count, count > 0 {
422 | view.endEditing(true)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITouch.h:51:12: note: 'UITouch' has been explicitly marked unavailable here
49 |
50 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
51 | @interface UITouch : NSObject
| `- note: 'UITouch' has been explicitly marked unavailable here
52 |
53 | @property(nonatomic,readonly) NSTimeInterval timestamp;
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyAlertView.swift:420:74: error: 'UIEvent' is unavailable in watchOS
418 | }
419 |
420 | override public func touchesEnded(_ touches: Set<UITouch>, with event: UIEvent?) {
| `- error: 'UIEvent' is unavailable in watchOS
421 | if let count = event?.touches(for: view)?.count, count > 0 {
422 | view.endEditing(true)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIEvent.h:62:12: note: 'UIEvent' has been explicitly marked unavailable here
60 |
61 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
62 | @interface UIEvent : NSObject
| `- note: 'UIEvent' has been explicitly marked unavailable here
63 |
64 | @property(nonatomic,readonly) UIEventType type API_AVAILABLE(ios(3.0));
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyAlertView.swift:426:55: error: 'UITextField' is unavailable in watchOS
424 | }
425 |
426 | public func addTextField(_ title: String? = nil) -> UITextField {
| `- error: 'UITextField' is unavailable in watchOS
427 | // Update view height
428 | appearance.setkWindowHeight(appearance.kWindowHeight + appearance.kTextFieldHeight)
/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/SwiftyAlertView.swift:443:32: error: 'UITextView' is unavailable in watchOS
441 | }
442 |
443 | public func addTextView() -> UITextView {
| `- error: 'UITextView' is unavailable in watchOS
444 | // Update view height
445 | appearance.setkWindowHeight(appearance.kWindowHeight + appearance.kTextViewdHeight)
/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/SwiftyAlertView.swift:506:42: error: 'UITapGestureRecognizer' is unavailable in watchOS
504 |
505 | //Dismiss keyboard when tapped outside textfield & close SwiftyAlertView when hideWhenBackgroundViewIsTapped
506 | @objc func tapped(_ gestureRecognizer: UITapGestureRecognizer) {
| `- error: 'UITapGestureRecognizer' is unavailable in watchOS
507 | self.view.endEditing(true)
508 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITapGestureRecognizer.h:23:12: note: 'UITapGestureRecognizer' has been explicitly marked unavailable here
21 |
22 | UIKIT_EXTERN API_AVAILABLE(ios(3.2)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
23 | @interface UITapGestureRecognizer : UIGestureRecognizer
| `- note: 'UITapGestureRecognizer' has been explicitly marked unavailable here
24 |
25 | @property (nonatomic) NSUInteger numberOfTapsRequired; // Default is 1. The number of taps required to match
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyAlertView.swift:737:17: error: 'UIDynamicAnimator' is unavailable in watchOS
735 |
736 | // DynamicAnimator function
737 | var animator: UIDynamicAnimator?
| `- error: 'UIDynamicAnimator' is unavailable in watchOS
738 | var snapBehavior: UISnapBehavior?
739 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDynamicAnimator.h:28:74: note: 'UIDynamicAnimator' has been explicitly marked unavailable here
26 | @end
27 |
28 | UIKIT_EXTERN API_AVAILABLE(ios(7.0)) API_UNAVAILABLE(watchos) @interface UIDynamicAnimator: NSObject
| `- note: 'UIDynamicAnimator' has been explicitly marked unavailable here
29 |
30 | // When you initialize a dynamic animator with this method, you should only associates views with your behaviors.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyAlertView.swift:738:21: error: 'UISnapBehavior' is unavailable in watchOS
736 | // DynamicAnimator function
737 | var animator: UIDynamicAnimator?
738 | var snapBehavior: UISnapBehavior?
| `- error: 'UISnapBehavior' is unavailable in watchOS
739 |
740 | fileprivate func animate(item: UIView, center: CGPoint) {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISnapBehavior.h:17:12: note: 'UISnapBehavior' has been explicitly marked unavailable here
15 |
16 | UIKIT_EXTERN API_AVAILABLE(ios(7.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
17 | @interface UISnapBehavior : UIDynamicBehavior
| `- note: 'UISnapBehavior' has been explicitly marked unavailable here
18 |
19 | // The point argument is expressed in the reference coordinate system
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyAlertView.swift:740:34: error: 'UIView' is unavailable in watchOS
738 | var snapBehavior: UISnapBehavior?
739 |
740 | fileprivate func animate(item: UIView, center: CGPoint) {
| `- error: 'UIView' is unavailable in watchOS
741 | if let snapBehavior = self.snapBehavior {
742 | self.animator?.removeBehavior(snapBehavior)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyAlertView.swift:52:37: error: 'UIViewController' is unavailable in watchOS
50 | // The Main Class
51 | @MainActor
52 | public final class SwiftyAlertView: UIViewController {
| `- error: 'UIViewController' is unavailable in watchOS
53 |
54 | var appearance: SwiftyAppearance!
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyButton.swift:12:28: error: 'UIControl' is unavailable in watchOS
10 |
11 | @MainActor
12 | public class SwiftyButton: UIControl, ImageSettable {
| `- error: 'UIControl' is unavailable in watchOS
13 | public lazy var titleLabel: SwiftyLabel = { [unowned self] in
14 | let titleLabel = SwiftyLabel(nil, .black, .clear)
/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/SwiftyGlobal.swift:21:32: error: 'UIWindow' is unavailable in watchOS
19 | /// 1.x 返回非可选并强解包 `UIApplication.shared.keyWindow!`,无窗口时崩溃(B1)。
20 | /// 2.0 起返回可选,调用方需自行处理 nil。
21 | public static var keyWindow: UIWindow? {
| `- error: 'UIWindow' is unavailable in watchOS
22 | UIApplication.shared.connectedScenes
23 | .compactMap { $0 as? UIWindowScene }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h:22:12: note: 'UIWindow' has been explicitly marked unavailable here
20 |
21 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
22 | @interface UIWindow : UIView
| `- note: 'UIWindow' has been explicitly marked unavailable here
23 |
24 | // instantiate a UIWindow already associated with a given UIWindowScene instance, with matching frame & interface orientations.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyImageView.swift:12:31: error: 'UIView' is unavailable in watchOS
10 |
11 | @MainActor
12 | public class SwiftyImageView: UIView, ImageSettable {
| `- error: 'UIView' is unavailable in watchOS
13 | public var backgroundImage: UIImage? {
14 | didSet { applyBackgroundImage(backgroundImage) }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyImageView.swift:51:25: error: 'UIView' is unavailable in watchOS
49 | case custom(
50 | duration: TimeInterval,
51 | animationOptions: UIView.AnimationOptions,
| `- error: 'UIView' is unavailable in watchOS
52 | animations: (SwiftyImageView, UIImage) -> Void,
53 | completion: ((Bool) -> Void)?
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyImageView.swift:81:34: error: 'UIView' is unavailable in watchOS
79 |
80 | /// The animation options of the image transition.
81 | public var animationOptions: UIView.AnimationOptions {
| `- error: 'UIView' is unavailable in watchOS
82 | switch self {
83 | case .noTransition:
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyLabel.swift:21:27: error: 'NSTextContainer' is unavailable in watchOS
19 | // MARK: - TextKit
20 |
21 | private let container = NSTextContainer()
| `- error: 'NSTextContainer' is unavailable in watchOS
22 | private let layoutManager = NSLayoutManager()
23 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextContainer.h:36:12: note: 'NSTextContainer' has been explicitly marked unavailable here
34 | /// restrictions apply to ``NSTextLayoutManager`` and ``NSTextContentStorage``.
35 | UIKIT_EXTERN API_AVAILABLE(macos(10.0), ios(7.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos)
36 | @interface NSTextContainer : NSObject <NSSecureCoding, NSTextLayoutOrientationProvider>
| `- note: 'NSTextContainer' has been explicitly marked unavailable here
37 |
38 | /**************************** Initialization ****************************/
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyLabel.swift:22:31: error: 'NSLayoutManager' is unavailable in watchOS
20 |
21 | private let container = NSTextContainer()
22 | private let layoutManager = NSLayoutManager()
| `- error: 'NSLayoutManager' is unavailable in watchOS
23 |
24 | // MARK: - 存储属性
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutManager.h:58:12: note: 'NSLayoutManager' has been explicitly marked unavailable here
56 |
57 | UIKIT_EXTERN API_AVAILABLE(macos(10.0), ios(7.0)) API_UNAVAILABLE(watchos)
58 | @interface NSLayoutManager : NSObject <NSSecureCoding>
| `- note: 'NSLayoutManager' has been explicitly marked unavailable here
59 |
60 | /**************************** Initialization ****************************/
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyLabel.swift:39:56: error: 'systemFontSize' is unavailable in watchOS
37 | }
38 |
39 | public var font: UIFont = .systemFont(ofSize: UIFont.systemFontSize) {
| `- error: 'systemFontSize' is unavailable in watchOS
40 | didSet { setNeedsDisplay() }
41 | }
/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/SwiftyLabel.swift:17:27: error: 'UIView' is unavailable in watchOS
15 | /// 至少 4 次哈希查找)。
16 | @MainActor
17 | public class SwiftyLabel: UIView, TextEditable {
| `- error: 'UIView' is unavailable in watchOS
18 |
19 | // MARK: - TextKit
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyToast.swift:41:16: error: 'isAccessibilityElement' is unavailable in watchOS
39 | // SwiftyLabel 是 UIView 子类、文本由 TextKit 自绘,不像 UILabel 那样自带
40 | // 无障碍暴露 —— 不设这几项,toast 对 VoiceOver 完全是一块沉默的色块。
41 | toastLabel.isAccessibilityElement = true
| `- error: 'isAccessibilityElement' is unavailable in watchOS
42 | toastLabel.accessibilityTraits = .staticText
43 | toastLabel.accessibilityIdentifier = Self.accessibilityIdentifier
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibility.h:52:28: note: 'isAccessibilityElement' has been explicitly marked unavailable here
50 | Setting the property to YES will cause the receiver to be visible to assistive applications.
51 | */
52 | @property (nonatomic) BOOL isAccessibilityElement API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR;
| `- note: 'isAccessibilityElement' has been explicitly marked unavailable here
53 |
54 | /*
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyToast.swift:42:16: error: 'accessibilityTraits' is unavailable in watchOS
40 | // 无障碍暴露 —— 不设这几项,toast 对 VoiceOver 完全是一块沉默的色块。
41 | toastLabel.isAccessibilityElement = true
42 | toastLabel.accessibilityTraits = .staticText
| `- error: 'accessibilityTraits' is unavailable in watchOS
43 | toastLabel.accessibilityIdentifier = Self.accessibilityIdentifier
44 | // 已经挂在屏幕上的 toast 也要跟着旋转走。窗口 bounds 一变,autoresizing
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibility.h:113:45: note: 'accessibilityTraits' has been explicitly marked unavailable here
111 | Setting the property will change the traits that are returned to the accessibility client.
112 | */
113 | @property (nonatomic) UIAccessibilityTraits accessibilityTraits API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR;
| `- note: 'accessibilityTraits' has been explicitly marked unavailable here
114 |
115 | /*
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyToast.swift:93:38: error: 'UIWindow' is unavailable in watchOS
91 | /// 挪到 show() 的 `guard let window` 之后,一处修复同时解掉这两面,
92 | /// 而且窗口一定存在 —— 原来那句 `?? .zero` 的退化分支自然消失了。
93 | private func layoutView(in window: UIWindow) {
| `- error: 'UIWindow' is unavailable in watchOS
94 | let containerSize: CGSize = window.bounds.size
95 | let isPortrait: Bool = window.windowScene?.interfaceOrientation.isPortrait ?? true
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h:22:12: note: 'UIWindow' has been explicitly marked unavailable here
20 |
21 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
22 | @interface UIWindow : UIView
| `- note: 'UIWindow' has been explicitly marked unavailable here
23 |
24 | // instantiate a UIWindow already associated with a given UIWindowScene instance, with matching frame & interface orientations.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyView.swift:13:26: error: 'UIView' is unavailable in watchOS
11 | /// 轻量视图基类:自动维护 isOpaque,减少离屏混合。
12 | @MainActor
13 | public class SwiftyView: UIView {
| `- error: 'UIView' is unavailable in watchOS
14 | public init() {
15 | super.init(frame: .zero)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyView.swift:41:35: error: 'UIView' is unavailable in watchOS
39 | /// 2.0 起本方法无副作用(B15)。
40 | @discardableResult
41 | public final func addTo(_ view: UIView) -> Self {
| `- error: 'UIView' is unavailable in watchOS
42 | view.addSubview(self)
43 | return self
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyView.swift:35:11: error: 'UIView' is unavailable in watchOS
33 | }
34 |
35 | extension UIView {
| `- error: 'UIView' is unavailable in watchOS
36 | /// 添加到父视图并返回自身,便于链式调用。
37 | ///
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyView.swift:90:11: error: 'UIView' is unavailable in watchOS
88 | }
89 |
90 | extension UIView {
| `- error: 'UIView' is unavailable in watchOS
91 | @objc
92 | fileprivate func swiftyui_setBackgroundColor(_ color: UIColor?) {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/TextEditable.swift:56:31: error: 'UIView' is unavailable in watchOS
54 | /// SwiftyLabel 一个。2.0 起协议只声明契约,存储由实现者以真实属性提供。
55 | @MainActor
56 | public protocol TextEditable: UIView {
| `- error: 'UIView' is unavailable in watchOS
57 | var usesIntrinsicContentSize: Bool { get set }
58 | var textAlignment: TextContentAlignment { get set }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
Failed frontend command:
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /Users/admin/builder/spi-builder-workspace/Sources/ImageCacheable.swift /Users/admin/builder/spi-builder-workspace/Sources/ImageSettable.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftyAlertIcons.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftyAlertStyle.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftyAlertView.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftyButton.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftyColor.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftyGlobal.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftyImage.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftyImageView.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftyLabel.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftyPromise.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftyThreadPool.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftyTimer.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftyToast.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftyView.swift /Users/admin/builder/spi-builder-workspace/Sources/TextEditable.swift -target arm64-apple-watchos9.0 -disable-cross-import-overlay-search -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libFoundationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#FoundationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libObservationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#ObservationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libSwiftMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#SwiftMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libSwiftUIMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#SwiftUIMacros -disable-implicit-swift-modules -Xcc -fno-implicit-modules -Xcc -fno-implicit-module-maps -explicit-swift-module-map-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftyUI.build/Debug-watchos/SwiftyUI-t.build/Objects-normal/arm64/SwiftyUI-dependencies-1.json -Xllvm -aarch64-use-tbi -enable-objc-interop -stack-check -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 6 -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/SwiftyUI.build/Debug-watchos/SwiftyUI-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftyUI.build/Debug-watchos/SwiftyUI-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftyUI.build/Debug-watchos/SwiftyUI-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name SwiftyUI -package-name spi_builder_workspace -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftyUI.build/Debug-watchos/SwiftyUI-t.build/Objects-normal/arm64/SwiftyUI_const_extract_protocols.json -disable-clang-spi -clang-target arm64-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/SwiftyUI.build/Debug-watchos/SwiftyUI-t.build/Objects-normal/arm64/SwiftyUI.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftyUI.build/Debug-watchos/SwiftyUI-t.build/Objects-normal/arm64/SwiftyUI.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftyUI.build/Debug-watchos/SwiftyUI-t.build/Objects-normal/arm64/SwiftyUI-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftyUI.build/Debug-watchos/SwiftyUI-t.build/Objects-normal/arm64/SwiftyUI-primary-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftyUI.build/Debug-watchos/SwiftyUI-t.build/Objects-normal/arm64/SwiftyUI-primary-emit-module.d -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftyUI.build/Debug-watchos/SwiftyUI-t.build/Objects-normal/arm64/SwiftyUI.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftyUI.build/Debug-watchos/SwiftyUI-t.build/Objects-normal/arm64/SwiftyUI.abi.json
SwiftCompile normal arm64 (in target 'SwiftyUI' from project 'SwiftyUI')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftEmitModule normal arm64_32 Emitting\ module\ for\ SwiftyUI (in target 'SwiftyUI' from project 'SwiftyUI')
/Users/admin/builder/spi-builder-workspace/Sources/ImageSettable.swift:15:32: error: 'UIView' is unavailable in watchOS
13 | /// 走 layer 而非 UIImageView 的绘制路径,交由 GPU 合成。
14 | @MainActor
15 | public protocol ImageSettable: UIView {
| `- error: 'UIView' is unavailable in watchOS
16 | var backgroundImage: UIImage? { get set }
17 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyAlertView.swift:12:31: error: 'UIButton' is unavailable in watchOS
10 |
11 | @MainActor
12 | open class SwiftyAlertButton: UIButton {
| `- error: 'UIButton' is unavailable in watchOS
13 | var action: (() -> Void)!
14 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/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/SwiftyAlertView.swift:64:18: error: 'UIView' is unavailable in watchOS
62 |
63 | // Members declaration
64 | var baseView = UIView()
| `- error: 'UIView' is unavailable in watchOS
65 | var labelTitle = UILabel()
66 | var viewText = UITextView()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyAlertView.swift:64:18: error: 'init()' is unavailable in watchOS
62 |
63 | // Members declaration
64 | var baseView = UIView()
| `- error: 'init()' is unavailable in watchOS
65 | var labelTitle = UILabel()
66 | var viewText = UITextView()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:158:1: note: 'init()' has been explicitly marked unavailable here
156 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER;
157 | - (nullable instancetype)initWithCoder:(NSCoder *)coder NS_DESIGNATED_INITIALIZER;
158 | - (instancetype)init API_AVAILABLE(ios(2.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
| `- note: 'init()' has been explicitly marked unavailable here
159 |
160 | @property(nonatomic,getter=isUserInteractionEnabled) BOOL userInteractionEnabled; // default is YES. if set to NO, user events (touch, keys) are ignored and removed from the event queue.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyAlertView.swift:65:20: error: 'UILabel' is unavailable in watchOS
63 | // Members declaration
64 | var baseView = UIView()
65 | var labelTitle = UILabel()
| `- error: 'UILabel' is unavailable in watchOS
66 | var viewText = UITextView()
67 | var contentView = UIView()
/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/SwiftyAlertView.swift:65:20: error: 'init()' is unavailable in watchOS
63 | // Members declaration
64 | var baseView = UIView()
65 | var labelTitle = UILabel()
| `- error: 'init()' is unavailable in watchOS
66 | var viewText = UITextView()
67 | var contentView = UIView()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:158:1: note: 'init()' has been explicitly marked unavailable here
156 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER;
157 | - (nullable instancetype)initWithCoder:(NSCoder *)coder NS_DESIGNATED_INITIALIZER;
158 | - (instancetype)init API_AVAILABLE(ios(2.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
| `- note: 'init()' has been explicitly marked unavailable here
159 |
160 | @property(nonatomic,getter=isUserInteractionEnabled) BOOL userInteractionEnabled; // default is YES. if set to NO, user events (touch, keys) are ignored and removed from the event queue.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyAlertView.swift:66:18: error: 'UITextView' is unavailable in watchOS
64 | var baseView = UIView()
65 | var labelTitle = UILabel()
66 | var viewText = UITextView()
| `- error: 'UITextView' is unavailable in watchOS
67 | var contentView = UIView()
68 | var circleBG = UIView(
/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/SwiftyAlertView.swift:66:18: error: 'init()' is unavailable in watchOS
64 | var baseView = UIView()
65 | var labelTitle = UILabel()
66 | var viewText = UITextView()
| `- error: 'init()' is unavailable in watchOS
67 | var contentView = UIView()
68 | var circleBG = UIView(
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:158:1: note: 'init()' has been explicitly marked unavailable here
156 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER;
157 | - (nullable instancetype)initWithCoder:(NSCoder *)coder NS_DESIGNATED_INITIALIZER;
158 | - (instancetype)init API_AVAILABLE(ios(2.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
| `- note: 'init()' has been explicitly marked unavailable here
159 |
160 | @property(nonatomic,getter=isUserInteractionEnabled) BOOL userInteractionEnabled; // default is YES. if set to NO, user events (touch, keys) are ignored and removed from the event queue.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyAlertView.swift:67:21: error: 'UIView' is unavailable in watchOS
65 | var labelTitle = UILabel()
66 | var viewText = UITextView()
67 | var contentView = UIView()
| `- error: 'UIView' is unavailable in watchOS
68 | var circleBG = UIView(
69 | frame: CGRect(x: 0, y: 0, width: kCircleHeightBackground, height: kCircleHeightBackground))
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyAlertView.swift:67:21: error: 'init()' is unavailable in watchOS
65 | var labelTitle = UILabel()
66 | var viewText = UITextView()
67 | var contentView = UIView()
| `- error: 'init()' is unavailable in watchOS
68 | var circleBG = UIView(
69 | frame: CGRect(x: 0, y: 0, width: kCircleHeightBackground, height: kCircleHeightBackground))
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:158:1: note: 'init()' has been explicitly marked unavailable here
156 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER;
157 | - (nullable instancetype)initWithCoder:(NSCoder *)coder NS_DESIGNATED_INITIALIZER;
158 | - (instancetype)init API_AVAILABLE(ios(2.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
| `- note: 'init()' has been explicitly marked unavailable here
159 |
160 | @property(nonatomic,getter=isUserInteractionEnabled) BOOL userInteractionEnabled; // default is YES. if set to NO, user events (touch, keys) are ignored and removed from the event queue.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyAlertView.swift:68:18: error: 'UIView' is unavailable in watchOS
66 | var viewText = UITextView()
67 | var contentView = UIView()
68 | var circleBG = UIView(
| `- error: 'UIView' is unavailable in watchOS
69 | frame: CGRect(x: 0, y: 0, width: kCircleHeightBackground, height: kCircleHeightBackground))
70 | var circleView = UIView()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyAlertView.swift:70:20: error: 'UIView' is unavailable in watchOS
68 | var circleBG = UIView(
69 | frame: CGRect(x: 0, y: 0, width: kCircleHeightBackground, height: kCircleHeightBackground))
70 | var circleView = UIView()
| `- error: 'UIView' is unavailable in watchOS
71 | var circleIconView: UIView?
72 | var dismissBlock: (() -> Void)?
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyAlertView.swift:70:20: error: 'init()' is unavailable in watchOS
68 | var circleBG = UIView(
69 | frame: CGRect(x: 0, y: 0, width: kCircleHeightBackground, height: kCircleHeightBackground))
70 | var circleView = UIView()
| `- error: 'init()' is unavailable in watchOS
71 | var circleIconView: UIView?
72 | var dismissBlock: (() -> Void)?
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:158:1: note: 'init()' has been explicitly marked unavailable here
156 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER;
157 | - (nullable instancetype)initWithCoder:(NSCoder *)coder NS_DESIGNATED_INITIALIZER;
158 | - (instancetype)init API_AVAILABLE(ios(2.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
| `- note: 'init()' has been explicitly marked unavailable here
159 |
160 | @property(nonatomic,getter=isUserInteractionEnabled) BOOL userInteractionEnabled; // default is YES. if set to NO, user events (touch, keys) are ignored and removed from the event queue.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyAlertView.swift:71:23: error: 'UIView' is unavailable in watchOS
69 | frame: CGRect(x: 0, y: 0, width: kCircleHeightBackground, height: kCircleHeightBackground))
70 | var circleView = UIView()
71 | var circleIconView: UIView?
| `- error: 'UIView' is unavailable in watchOS
72 | var dismissBlock: (() -> Void)?
73 | fileprivate var inputs = [UITextField]()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyAlertView.swift:73:29: error: 'UITextField' is unavailable in watchOS
71 | var circleIconView: UIView?
72 | var dismissBlock: (() -> Void)?
73 | fileprivate var inputs = [UITextField]()
| `- error: 'UITextField' is unavailable in watchOS
74 | fileprivate var input = [UITextView]()
75 | internal var buttons = [SwiftyAlertButton]()
/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/SwiftyAlertView.swift:74:28: error: 'UITextView' is unavailable in watchOS
72 | var dismissBlock: (() -> Void)?
73 | fileprivate var inputs = [UITextField]()
74 | fileprivate var input = [UITextView]()
| `- error: 'UITextView' is unavailable in watchOS
75 | internal var buttons = [SwiftyAlertButton]()
76 | fileprivate var selfReference: SwiftyAlertView?
/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/SwiftyAlertView.swift:420:52: error: 'UITouch' is unavailable in watchOS
418 | }
419 |
420 | override public func touchesEnded(_ touches: Set<UITouch>, with event: UIEvent?) {
| `- error: 'UITouch' is unavailable in watchOS
421 | if let count = event?.touches(for: view)?.count, count > 0 {
422 | view.endEditing(true)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITouch.h:51:12: note: 'UITouch' has been explicitly marked unavailable here
49 |
50 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
51 | @interface UITouch : NSObject
| `- note: 'UITouch' has been explicitly marked unavailable here
52 |
53 | @property(nonatomic,readonly) NSTimeInterval timestamp;
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyAlertView.swift:420:74: error: 'UIEvent' is unavailable in watchOS
418 | }
419 |
420 | override public func touchesEnded(_ touches: Set<UITouch>, with event: UIEvent?) {
| `- error: 'UIEvent' is unavailable in watchOS
421 | if let count = event?.touches(for: view)?.count, count > 0 {
422 | view.endEditing(true)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIEvent.h:62:12: note: 'UIEvent' has been explicitly marked unavailable here
60 |
61 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
62 | @interface UIEvent : NSObject
| `- note: 'UIEvent' has been explicitly marked unavailable here
63 |
64 | @property(nonatomic,readonly) UIEventType type API_AVAILABLE(ios(3.0));
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyAlertView.swift:426:55: error: 'UITextField' is unavailable in watchOS
424 | }
425 |
426 | public func addTextField(_ title: String? = nil) -> UITextField {
| `- error: 'UITextField' is unavailable in watchOS
427 | // Update view height
428 | appearance.setkWindowHeight(appearance.kWindowHeight + appearance.kTextFieldHeight)
/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/SwiftyAlertView.swift:443:32: error: 'UITextView' is unavailable in watchOS
441 | }
442 |
443 | public func addTextView() -> UITextView {
| `- error: 'UITextView' is unavailable in watchOS
444 | // Update view height
445 | appearance.setkWindowHeight(appearance.kWindowHeight + appearance.kTextViewdHeight)
/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/SwiftyAlertView.swift:506:42: error: 'UITapGestureRecognizer' is unavailable in watchOS
504 |
505 | //Dismiss keyboard when tapped outside textfield & close SwiftyAlertView when hideWhenBackgroundViewIsTapped
506 | @objc func tapped(_ gestureRecognizer: UITapGestureRecognizer) {
| `- error: 'UITapGestureRecognizer' is unavailable in watchOS
507 | self.view.endEditing(true)
508 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITapGestureRecognizer.h:23:12: note: 'UITapGestureRecognizer' has been explicitly marked unavailable here
21 |
22 | UIKIT_EXTERN API_AVAILABLE(ios(3.2)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
23 | @interface UITapGestureRecognizer : UIGestureRecognizer
| `- note: 'UITapGestureRecognizer' has been explicitly marked unavailable here
24 |
25 | @property (nonatomic) NSUInteger numberOfTapsRequired; // Default is 1. The number of taps required to match
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyAlertView.swift:737:17: error: 'UIDynamicAnimator' is unavailable in watchOS
735 |
736 | // DynamicAnimator function
737 | var animator: UIDynamicAnimator?
| `- error: 'UIDynamicAnimator' is unavailable in watchOS
738 | var snapBehavior: UISnapBehavior?
739 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDynamicAnimator.h:28:74: note: 'UIDynamicAnimator' has been explicitly marked unavailable here
26 | @end
27 |
28 | UIKIT_EXTERN API_AVAILABLE(ios(7.0)) API_UNAVAILABLE(watchos) @interface UIDynamicAnimator: NSObject
| `- note: 'UIDynamicAnimator' has been explicitly marked unavailable here
29 |
30 | // When you initialize a dynamic animator with this method, you should only associates views with your behaviors.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyAlertView.swift:738:21: error: 'UISnapBehavior' is unavailable in watchOS
736 | // DynamicAnimator function
737 | var animator: UIDynamicAnimator?
738 | var snapBehavior: UISnapBehavior?
| `- error: 'UISnapBehavior' is unavailable in watchOS
739 |
740 | fileprivate func animate(item: UIView, center: CGPoint) {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISnapBehavior.h:17:12: note: 'UISnapBehavior' has been explicitly marked unavailable here
15 |
16 | UIKIT_EXTERN API_AVAILABLE(ios(7.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
17 | @interface UISnapBehavior : UIDynamicBehavior
| `- note: 'UISnapBehavior' has been explicitly marked unavailable here
18 |
19 | // The point argument is expressed in the reference coordinate system
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyAlertView.swift:740:34: error: 'UIView' is unavailable in watchOS
738 | var snapBehavior: UISnapBehavior?
739 |
740 | fileprivate func animate(item: UIView, center: CGPoint) {
| `- error: 'UIView' is unavailable in watchOS
741 | if let snapBehavior = self.snapBehavior {
742 | self.animator?.removeBehavior(snapBehavior)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyAlertView.swift:52:37: error: 'UIViewController' is unavailable in watchOS
50 | // The Main Class
51 | @MainActor
52 | public final class SwiftyAlertView: UIViewController {
| `- error: 'UIViewController' is unavailable in watchOS
53 |
54 | var appearance: SwiftyAppearance!
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyButton.swift:12:28: error: 'UIControl' is unavailable in watchOS
10 |
11 | @MainActor
12 | public class SwiftyButton: UIControl, ImageSettable {
| `- error: 'UIControl' is unavailable in watchOS
13 | public lazy var titleLabel: SwiftyLabel = { [unowned self] in
14 | let titleLabel = SwiftyLabel(nil, .black, .clear)
/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/SwiftyGlobal.swift:21:32: error: 'UIWindow' is unavailable in watchOS
19 | /// 1.x 返回非可选并强解包 `UIApplication.shared.keyWindow!`,无窗口时崩溃(B1)。
20 | /// 2.0 起返回可选,调用方需自行处理 nil。
21 | public static var keyWindow: UIWindow? {
| `- error: 'UIWindow' is unavailable in watchOS
22 | UIApplication.shared.connectedScenes
23 | .compactMap { $0 as? UIWindowScene }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h:22:12: note: 'UIWindow' has been explicitly marked unavailable here
20 |
21 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
22 | @interface UIWindow : UIView
| `- note: 'UIWindow' has been explicitly marked unavailable here
23 |
24 | // instantiate a UIWindow already associated with a given UIWindowScene instance, with matching frame & interface orientations.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyImageView.swift:12:31: error: 'UIView' is unavailable in watchOS
10 |
11 | @MainActor
12 | public class SwiftyImageView: UIView, ImageSettable {
| `- error: 'UIView' is unavailable in watchOS
13 | public var backgroundImage: UIImage? {
14 | didSet { applyBackgroundImage(backgroundImage) }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyImageView.swift:51:25: error: 'UIView' is unavailable in watchOS
49 | case custom(
50 | duration: TimeInterval,
51 | animationOptions: UIView.AnimationOptions,
| `- error: 'UIView' is unavailable in watchOS
52 | animations: (SwiftyImageView, UIImage) -> Void,
53 | completion: ((Bool) -> Void)?
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyImageView.swift:81:34: error: 'UIView' is unavailable in watchOS
79 |
80 | /// The animation options of the image transition.
81 | public var animationOptions: UIView.AnimationOptions {
| `- error: 'UIView' is unavailable in watchOS
82 | switch self {
83 | case .noTransition:
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyLabel.swift:21:27: error: 'NSTextContainer' is unavailable in watchOS
19 | // MARK: - TextKit
20 |
21 | private let container = NSTextContainer()
| `- error: 'NSTextContainer' is unavailable in watchOS
22 | private let layoutManager = NSLayoutManager()
23 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextContainer.h:36:12: note: 'NSTextContainer' has been explicitly marked unavailable here
34 | /// restrictions apply to ``NSTextLayoutManager`` and ``NSTextContentStorage``.
35 | UIKIT_EXTERN API_AVAILABLE(macos(10.0), ios(7.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos)
36 | @interface NSTextContainer : NSObject <NSSecureCoding, NSTextLayoutOrientationProvider>
| `- note: 'NSTextContainer' has been explicitly marked unavailable here
37 |
38 | /**************************** Initialization ****************************/
SwiftCompile normal arm64_32 (in target 'SwiftyUI' from project 'SwiftyUI')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64_32 Compiling\ SwiftyAlertIcons.swift,\ SwiftyAlertStyle.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftyAlertIcons.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftyAlertStyle.swift (in target 'SwiftyUI' from project 'SwiftyUI')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/SwiftyAlertIcons.swift (in target 'SwiftyUI' from project 'SwiftyUI')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile SwiftyAlertIcons.swift
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/SwiftyAlertStyle.swift (in target 'SwiftyUI' from project 'SwiftyUI')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile SwiftyAlertStyle.swift
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-26 10:57:42.448 xcodebuild[828:4768] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
** BUILD FAILED **
The following build commands failed:
SwiftEmitModule normal arm64 Emitting\ module\ for\ SwiftyUI (in target 'SwiftyUI' from project 'SwiftyUI')
SwiftCompile normal arm64 (in target 'SwiftyUI' from project 'SwiftyUI')
Building workspace SwiftyUI with scheme SwiftyUI
(3 failures)
BUILD FAILURE 6.4 watchOS