Build Information
Failed to build MGUtils, reference main (6bae52), with Swift 6.4 for watchOS using Xcode 27.0 on 22 Sep 2026 18:19:21 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 MGUtils -destination generic/platform=watchOSBuild Log
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/MGUtils/UIKit/UITableView(extension).swift:52:28: error: 'UITableViewCell' is unavailable in watchOS
50 |
51 | /** 注册class Cell */
52 | public func register<T:UITableViewCell>(CellWithClass name: T.Type){
| `- error: 'UITableViewCell' is unavailable in watchOS
53 | register(T.self, forCellReuseIdentifier: String.init(describing: name))
54 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITableViewCell.h:81:12: note: 'UITableViewCell' has been explicitly marked unavailable here
79 |
80 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
81 | @interface UITableViewCell : UIView <NSCoding, UIGestureRecognizerDelegate>
| `- note: 'UITableViewCell' has been explicitly marked unavailable here
82 |
83 | // Designated initializer. If the cell can be reused, you must pass in a reuse identifier. You should use the same reuse identifier for all cells of the same form.
/Users/admin/builder/spi-builder-workspace/Sources/MGUtils/UIKit/UITableView(extension).swift:57:31: error: 'UITableViewCell' is unavailable in watchOS
55 |
56 | /** 注册Nib cell */
57 | public func registerNib<T:UITableViewCell>(CellWithNib name: T.Type){
| `- error: 'UITableViewCell' is unavailable in watchOS
58 | register(UINib.init(nibName: String.init(describing: name), bundle: Bundle.main), forCellReuseIdentifier: String.init(describing: name))
59 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITableViewCell.h:81:12: note: 'UITableViewCell' has been explicitly marked unavailable here
79 |
80 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
81 | @interface UITableViewCell : UIView <NSCoding, UIGestureRecognizerDelegate>
| `- note: 'UITableViewCell' has been explicitly marked unavailable here
82 |
83 | // Designated initializer. If the cell can be reused, you must pass in a reuse identifier. You should use the same reuse identifier for all cells of the same form.
/Users/admin/builder/spi-builder-workspace/Sources/MGUtils/UIKit/UITableView(extension).swift:62:39: error: 'UITableViewCell' is unavailable in watchOS
60 |
61 | /** 创建Cell */
62 | public func dequeueReusableCell<T:UITableViewCell>(className: T.Type, for indexPath: IndexPath) -> T{
| `- error: 'UITableViewCell' is unavailable in watchOS
63 | return dequeueReusableCell(withIdentifier: String(describing: className), for: indexPath) as! T
64 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITableViewCell.h:81:12: note: 'UITableViewCell' has been explicitly marked unavailable here
79 |
80 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
81 | @interface UITableViewCell : UIView <NSCoding, UIGestureRecognizerDelegate>
| `- note: 'UITableViewCell' has been explicitly marked unavailable here
82 |
83 | // Designated initializer. If the cell can be reused, you must pass in a reuse identifier. You should use the same reuse identifier for all cells of the same form.
/Users/admin/builder/spi-builder-workspace/Sources/MGUtils/UIKit/UITableView(extension).swift:12:11: error: 'UITableView' is unavailable in watchOS
10 | import UIKit
11 |
12 | extension UITableView{
| `- error: 'UITableView' is unavailable in watchOS
13 | /** 获取最后一个section */
14 | public var lastSection:Int{
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITableView.h:347:12: note: 'UITableView' has been explicitly marked unavailable here
345 |
346 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
347 | @interface UITableView : UIScrollView <NSCoding, UIDataSourceTranslating>
| `- note: 'UITableView' has been explicitly marked unavailable here
348 |
349 | - (instancetype)initWithFrame:(CGRect)frame style:(UITableViewStyle)style NS_DESIGNATED_INITIALIZER; // must specify style at creation. -initWithFrame: calls this with UITableViewStylePlain
/Users/admin/builder/spi-builder-workspace/Sources/MGUtils/UIKit/UIView(extension).swift:116:43: error: 'UIViewController' is unavailable in watchOS
114 |
115 | /** 获取当前显示的控制器 */
116 | public func parentViewController() -> UIViewController? {
| `- error: 'UIViewController' is unavailable in watchOS
117 |
118 | let n = next
/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/MGUtils/UIKit/UIView(extension).swift:12:11: error: 'UIView' is unavailable in watchOS
10 | import UIKit
11 |
12 | extension UIView{
| `- error: 'UIView' is unavailable in watchOS
13 | public var left:CGFloat{
14 | 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.
/Users/admin/builder/spi-builder-workspace/Sources/MGUtils/UIKit/UIView(extension).swift:192:25: error: 'UIView' is unavailable in watchOS
190 |
191 | /// SwifterSwift: First responder.
192 | var firstResponder: UIView? {
| `- error: 'UIView' is unavailable in watchOS
193 | guard !isFirstResponder else { return self }
194 | for subView in subviews where subView.isFirstResponder {
/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/MGUtils/UIKit/UIView(extension).swift:140:18: error: 'UIView' is unavailable in watchOS
138 |
139 |
140 | public extension UIView {
| `- error: 'UIView' is unavailable in watchOS
141 |
142 | /// SwifterSwift: Border color of view; also inspectable from Storyboard.
/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/MGUtils/UIKit/UIView(extension).swift:262:18: error: 'UIView' is unavailable in watchOS
260 | }
261 |
262 | public extension UIView{
| `- error: 'UIView' is unavailable in watchOS
263 | /**
264 | 扩展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/MGUtils/UIKit/UIView(extension).swift:303:11: error: 'UICollectionView' is unavailable in watchOS
301 | }
302 |
303 | extension UICollectionView{
| `- error: 'UICollectionView' is unavailable in watchOS
304 | /// 滚动到制定item
305 | func scrollTo(indexPath: IndexPath,animated:Bool) {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionView.h:362:12: note: 'UICollectionView' has been explicitly marked unavailable here
360 |
361 | UIKIT_EXTERN API_AVAILABLE(ios(6.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
362 | @interface UICollectionView : UIScrollView <UIDataSourceTranslating>
| `- note: 'UICollectionView' has been explicitly marked unavailable here
363 |
364 | - (instancetype)initWithFrame:(CGRect)frame collectionViewLayout:(UICollectionViewLayout *)layout NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/MGUtils/Utils/DeviceUtils.swift:140:34: error: 'UIWindow' is unavailable in watchOS
138 |
139 | extension UIApplication {
140 | public var currentKeyWindow: UIWindow? {
| `- error: 'UIWindow' is unavailable in watchOS
141 | if #available(iOS 13.0, *) {
142 | return connectedScenes
/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/MGUtils/Utils/DeviceUtils.swift:139:11: error: 'UIApplication' is unavailable in watchOS
137 |
138 |
139 | extension UIApplication {
| `- error: 'UIApplication' is unavailable in watchOS
140 | public var currentKeyWindow: UIWindow? {
141 | if #available(iOS 13.0, *) {
/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/MGUtils/Utils/Toast.swift:15:33: error: 'UIWindow' is unavailable in watchOS
13 | public static let afterDelay:Float = 2
14 |
15 | public static let keyWindow:UIWindow = UIApplication.shared.windows.filter {$0.isKeyWindow}.first!
| `- error: 'UIWindow' is unavailable in watchOS
16 |
17 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/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/MGUtils/Utils/Toast.swift:15:44: error: 'UIApplication' is unavailable in watchOS
13 | public static let afterDelay:Float = 2
14 |
15 | public static let keyWindow:UIWindow = UIApplication.shared.windows.filter {$0.isKeyWindow}.first!
| `- error: 'UIApplication' is unavailable in watchOS
16 |
17 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/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/MGUtils/Utils/Toast.swift:15:65: error: 'windows' is unavailable in watchOS
13 | public static let afterDelay:Float = 2
14 |
15 | public static let keyWindow:UIWindow = UIApplication.shared.windows.filter {$0.isKeyWindow}.first!
| `- error: 'windows' is unavailable in watchOS
16 |
17 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h:109:62: note: 'windows' has been explicitly marked unavailable here
107 |
108 | @property(nullable, nonatomic,readonly) UIWindow *keyWindow API_DEPRECATED("Should not be used for applications that support multiple scenes as it returns a key window across all connected scenes", ios(2.0, 13.0)) API_UNAVAILABLE(visionos, watchos);
109 | @property(nonatomic,readonly) NSArray<__kindof UIWindow *> *windows API_DEPRECATED("Use UIWindowScene.windows on a relevant window scene instead", ios(2.0, 15.0), visionos(1.0, 1.0)) API_UNAVAILABLE(watchos);
| `- note: 'windows' has been explicitly marked unavailable here
110 |
111 | - (BOOL)sendAction:(SEL)action to:(nullable id)target from:(nullable id)sender forEvent:(nullable UIEvent *)event;
/Users/admin/builder/spi-builder-workspace/Sources/MGUtils/Utils/Toast.swift:22:58: error: 'UIView' is unavailable in watchOS
20 | /// - error: 错误信息
21 | /// - toView: 将要展示于哪个视图
22 | public class func showError(_ error:String, _ toView:UIView = keyWindow){
| `- error: 'UIView' is unavailable in watchOS
23 | self.showCustomIcon(iconName: "app_close_line", title: error, toView: toView)
24 | }
/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/MGUtils/Utils/Toast.swift:30:62: error: 'UIView' is unavailable in watchOS
28 | /// - success: 将要显示的文本
29 | /// - toView: 将要展示于哪个视图
30 | public class func showSuccess(_ success:String, _ toView:UIView = keyWindow){
| `- error: 'UIView' is unavailable in watchOS
31 | self.showCustomIcon(iconName: "app_check_line", title: success, toView: toView)
32 | }
/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/MGUtils/Utils/Toast.swift:39:75: error: 'UIView' is unavailable in watchOS
37 | /// - message: 文本
38 | /// - toView: 将要展示于哪个视图
39 | public class func showLoading(_ message:String="Loading...", _ toView:UIView = keyWindow){
| `- error: 'UIView' is unavailable in watchOS
40 | _ = self.createMessage(message: message, toView: toView)
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/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/MGUtils/Utils/Toast.swift:49:91: error: 'UIView' is unavailable in watchOS
47 | /// - delayTime: 展示时长
48 | /// - toView: 将要展示于哪个视图
49 | public class func showAutoHideMsg(_ message:String, delayTime:Float=afterDelay,toView:UIView = keyWindow){
| `- error: 'UIView' is unavailable in watchOS
50 | self.createAutoHideCustomHUD1(message: message, toView: toView, remainTime: delayTime, mode: .text)
51 | }
/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/MGUtils/Utils/Toast.swift:56:33: error: 'UIView' is unavailable in watchOS
54 | /// 隐藏toast
55 | /// - Parameter view: 将要移除视图上的toast
56 | public class func hide(view:UIView=keyWindow){
| `- error: 'UIView' is unavailable in watchOS
57 | do{
58 | if (Thread.isMainThread){
/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/MGUtils/Utils/Toast.swift:71:79: error: 'UIView' is unavailable in watchOS
69 |
70 |
71 | fileprivate class func showCustomIcon(iconName:String,title:String,toView:UIView = keyWindow){
| `- error: 'UIView' is unavailable in watchOS
72 |
73 | let hud = MBProgressHUD.showHUDAddedTo(toView, animated: 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/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/MGUtils/Utils/Toast.swift:87:64: error: 'UIView' is unavailable in watchOS
85 |
86 |
87 | fileprivate class func createMessage(message:String,toView:UIView = keyWindow) -> MBProgressHUD{
| `- error: 'UIView' is unavailable in watchOS
88 | let hud = MBProgressHUD.showHUDAddedTo(toView, animated: true)
89 | hud.detailsLabel.text = message
/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/MGUtils/Utils/Toast.swift:99:75: error: 'UIView' is unavailable in watchOS
97 | }
98 |
99 | fileprivate class func createAutoHideCustomHUD1(message:String,toView:UIView=keyWindow, remainTime:Float=afterDelay, mode:MBProgressHUDMode = .text){
| `- error: 'UIView' is unavailable in watchOS
100 | let hud = MBProgressHUD.showHUDAddedTo(toView, animated: true)
101 | hud.detailsLabel.text = message
/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:
SwiftCompile normal arm64_32 (in target 'MGUtils' from project 'MGUtils')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/MGUtils.build/Debug-watchos/MGUtils-t.build/DerivedSources/resource_bundle_accessor.swift /Users/admin/builder/spi-builder-workspace/Sources/MGUtils/Functions/Array\(extension\).swift /Users/admin/builder/spi-builder-workspace/Sources/MGUtils/Functions/Date\(extension\).swift /Users/admin/builder/spi-builder-workspace/Sources/MGUtils/Functions/Number\(extension\).swift /Users/admin/builder/spi-builder-workspace/Sources/MGUtils/Functions/String\(extension\).swift /Users/admin/builder/spi-builder-workspace/Sources/MGUtils/Functions/UIColor\(extension\).swift /Users/admin/builder/spi-builder-workspace/Sources/MGUtils/Functions/UIViewController\(extension\).swift /Users/admin/builder/spi-builder-workspace/Sources/MGUtils/Libs/MBProgressHUD.swift /Users/admin/builder/spi-builder-workspace/Sources/MGUtils/MGUtils.swift /Users/admin/builder/spi-builder-workspace/Sources/MGUtils/UIKit/CALayer+Heartbeat.swift /Users/admin/builder/spi-builder-workspace/Sources/MGUtils/UIKit/IB_UIKit.swift /Users/admin/builder/spi-builder-workspace/Sources/MGUtils/UIKit/UIButton+ImageTitleSpacing.swift /Users/admin/builder/spi-builder-workspace/Sources/MGUtils/UIKit/UITableView\(extension\).swift /Users/admin/builder/spi-builder-workspace/Sources/MGUtils/UIKit/UIView\(extension\).swift /Users/admin/builder/spi-builder-workspace/Sources/MGUtils/Utils/DeviceUtils.swift /Users/admin/builder/spi-builder-workspace/Sources/MGUtils/Utils/LaunchManage.swift /Users/admin/builder/spi-builder-workspace/Sources/MGUtils/Utils/Toast.swift /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/MGUtils.build/Debug-watchos/MGUtils-t.build/DerivedSources/GeneratedAssetSymbols.swift -target arm64_32-apple-watchos9.0 -module-can-import-version DeveloperToolsSupport 24.0.24 24.0.24 -module-can-import-version SwiftUI 8.0.84.1 8.0.84 -module-can-import-version UIKit 9127.0.84.1 9127.0.84 -disable-cross-import-overlay-search -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libFoundationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#FoundationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libObservationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#ObservationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libPreviewsMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#PreviewsMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libSwiftMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#SwiftMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libSwiftUIMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#SwiftUIMacros -disable-implicit-swift-modules -Xcc -fno-implicit-modules -Xcc -fno-implicit-module-maps -explicit-swift-module-map-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/MGUtils.build/Debug-watchos/MGUtils-t.build/Objects-normal/arm64_32/MGUtils-dependencies-1.json -enable-objc-interop -sdk /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/Developer/Library/Frameworks -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules -no-color-diagnostics -Xcc -fno-color-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -profile-generate -profile-coverage-mapping -swift-version 5 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_AVAILABLE -D Xcode -serialize-debugging-options -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -enable-anonymous-context-mangled-names -file-compilation-dir /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos27.0-24R360-e829b21a6f8c9b70876ba0858053c04477534ef55a1706bf4c1112bbb242f0a2.sdkstatcache -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/MGUtils.build/Debug-watchos/MGUtils-t.build/DerivedSources-normal/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/MGUtils.build/Debug-watchos/MGUtils-t.build/DerivedSources/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/MGUtils.build/Debug-watchos/MGUtils-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name MGUtils -package-name spi_builder_workspace -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/MGUtils.build/Debug-watchos/MGUtils-t.build/Objects-normal/arm64_32/MGUtils_const_extract_protocols.json -disable-clang-spi -clang-target arm64_32-apple-watchos27.0 -target-sdk-version 27.0 -target-sdk-name watchos27.0 -in-process-plugin-server-path /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/libSwiftInProcPluginServer.dylib -emit-module-doc-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/MGUtils.build/Debug-watchos/MGUtils-t.build/Objects-normal/arm64_32/MGUtils.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/MGUtils.build/Debug-watchos/MGUtils-t.build/Objects-normal/arm64_32/MGUtils.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/MGUtils.build/Debug-watchos/MGUtils-t.build/Objects-normal/arm64_32/MGUtils-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/MGUtils.build/Debug-watchos/MGUtils-t.build/Objects-normal/arm64_32/MGUtils-primary-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/MGUtils.build/Debug-watchos/MGUtils-t.build/Objects-normal/arm64_32/MGUtils-primary-emit-module.d -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/MGUtils.build/Debug-watchos/MGUtils-t.build/Objects-normal/arm64_32/MGUtils.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/MGUtils.build/Debug-watchos/MGUtils-t.build/Objects-normal/arm64_32/MGUtils.abi.json
SwiftCompile normal arm64_32 Compiling\ resource_bundle_accessor.swift,\ Array(extension).swift /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/MGUtils.build/Debug-watchos/MGUtils-t.build/DerivedSources/resource_bundle_accessor.swift /Users/admin/builder/spi-builder-workspace/Sources/MGUtils/Functions/Array(extension).swift (in target 'MGUtils' from project 'MGUtils')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/MGUtils.build/Debug-watchos/MGUtils-t.build/DerivedSources/resource_bundle_accessor.swift (in target 'MGUtils' from project 'MGUtils')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile resource_bundle_accessor.swift
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/MGUtils/Functions/Array(extension).swift (in target 'MGUtils' from project 'MGUtils')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile Array\(extension\).swift
SwiftCompile normal arm64_32 Compiling\ DeviceUtils.swift,\ LaunchManage.swift /Users/admin/builder/spi-builder-workspace/Sources/MGUtils/Utils/DeviceUtils.swift /Users/admin/builder/spi-builder-workspace/Sources/MGUtils/Utils/LaunchManage.swift (in target 'MGUtils' from project 'MGUtils')
/Users/admin/builder/spi-builder-workspace/Sources/MGUtils/Utils/DeviceUtils.swift:140:34: error: 'UIWindow' is unavailable in watchOS
138 |
139 | extension UIApplication {
140 | public var currentKeyWindow: UIWindow? {
| `- error: 'UIWindow' is unavailable in watchOS
141 | if #available(iOS 13.0, *) {
142 | return connectedScenes
/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/MGUtils/Utils/DeviceUtils.swift:139:11: error: 'UIApplication' is unavailable in watchOS
137 |
138 |
139 | extension UIApplication {
| `- error: 'UIApplication' is unavailable in watchOS
140 | public var currentKeyWindow: UIWindow? {
141 | if #available(iOS 13.0, *) {
/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/MGUtils/Utils/DeviceUtils.swift:17:16: error: 'UIScreen' is unavailable in watchOS
15 | /// 获取设备宽
16 | public var screenWidth:CGFloat {
17 | return UIScreen.main.bounds.width;
| `- error: 'UIScreen' is unavailable in watchOS
18 | };
19 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScreen.h:54:12: note: 'UIScreen' has been explicitly marked unavailable here
52 |
53 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(visionos, watchos) NS_SWIFT_UI_ACTOR
54 | @interface UIScreen : NSObject <UITraitEnvironment>
| `- note: 'UIScreen' has been explicitly marked unavailable here
55 |
56 | @property(class, nonatomic, readonly) NSArray<UIScreen *> *screens API_DEPRECATED("Use UIApplication.shared.openSessions to find open sessions with scenes from other screens", ios(3.2, 16.0), visionos(1.0, 1.0)) API_UNAVAILABLE(watchos); // all screens currently attached to the device
/Users/admin/builder/spi-builder-workspace/Sources/MGUtils/Utils/DeviceUtils.swift:17:25: error: 'main' is unavailable in watchOS
15 | /// 获取设备宽
16 | public var screenWidth:CGFloat {
17 | return UIScreen.main.bounds.width;
| `- error: 'main' is unavailable in watchOS
18 | };
19 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScreen.h:57:49: note: 'main' has been explicitly marked unavailable here
55 |
56 | @property(class, nonatomic, readonly) NSArray<UIScreen *> *screens API_DEPRECATED("Use UIApplication.shared.openSessions to find open sessions with scenes from other screens", ios(3.2, 16.0), visionos(1.0, 1.0)) API_UNAVAILABLE(watchos); // all screens currently attached to the device
57 | @property(class, nonatomic, readonly) UIScreen *mainScreen API_DEPRECATED("Use a UIScreen instance found through context instead (i.e, view.window.windowScene.screen), or for properties like UIScreen.scale with trait equivalents, use a traitCollection found through context.", ios(2.0, 26.0), tvos(9.0, 26.0), visionos(1.0, 26.0)) API_UNAVAILABLE(watchos);
| `- note: 'main' has been explicitly marked unavailable here
58 |
59 | @property(nonatomic,readonly) CGRect bounds; // Bounds of entire screen in points
/Users/admin/builder/spi-builder-workspace/Sources/MGUtils/Utils/DeviceUtils.swift:22:16: error: 'UIScreen' is unavailable in watchOS
20 | /// 获取设备高
21 | public var screenHeight:CGFloat{
22 | return UIScreen.main.bounds.height;
| `- error: 'UIScreen' is unavailable in watchOS
23 | };
24 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScreen.h:54:12: note: 'UIScreen' has been explicitly marked unavailable here
52 |
53 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(visionos, watchos) NS_SWIFT_UI_ACTOR
54 | @interface UIScreen : NSObject <UITraitEnvironment>
| `- note: 'UIScreen' has been explicitly marked unavailable here
55 |
56 | @property(class, nonatomic, readonly) NSArray<UIScreen *> *screens API_DEPRECATED("Use UIApplication.shared.openSessions to find open sessions with scenes from other screens", ios(3.2, 16.0), visionos(1.0, 1.0)) API_UNAVAILABLE(watchos); // all screens currently attached to the device
/Users/admin/builder/spi-builder-workspace/Sources/MGUtils/Utils/DeviceUtils.swift:22:25: error: 'main' is unavailable in watchOS
20 | /// 获取设备高
21 | public var screenHeight:CGFloat{
22 | return UIScreen.main.bounds.height;
| `- error: 'main' is unavailable in watchOS
23 | };
24 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScreen.h:57:49: note: 'main' has been explicitly marked unavailable here
55 |
56 | @property(class, nonatomic, readonly) NSArray<UIScreen *> *screens API_DEPRECATED("Use UIApplication.shared.openSessions to find open sessions with scenes from other screens", ios(3.2, 16.0), visionos(1.0, 1.0)) API_UNAVAILABLE(watchos); // all screens currently attached to the device
57 | @property(class, nonatomic, readonly) UIScreen *mainScreen API_DEPRECATED("Use a UIScreen instance found through context instead (i.e, view.window.windowScene.screen), or for properties like UIScreen.scale with trait equivalents, use a traitCollection found through context.", ios(2.0, 26.0), tvos(9.0, 26.0), visionos(1.0, 26.0)) API_UNAVAILABLE(watchos);
| `- note: 'main' has been explicitly marked unavailable here
58 |
59 | @property(nonatomic,readonly) CGRect bounds; // Bounds of entire screen in points
/Users/admin/builder/spi-builder-workspace/Sources/MGUtils/Utils/DeviceUtils.swift:28:20: error: 'UIApplication' is unavailable in watchOS
26 | public var statusBarHeight:CGFloat{
27 | if #available(iOS 13.0, *) {
28 | return UIApplication.shared.currentKeyWindow!.windowScene!.statusBarManager!.statusBarFrame.height
| `- error: 'UIApplication' is unavailable in watchOS
29 | } else {
30 | return UIApplication.shared.statusBarFrame.height
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/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/MGUtils/Utils/DeviceUtils.swift:28:59: error: 'windowScene' is unavailable in watchOS
26 | public var statusBarHeight:CGFloat{
27 | if #available(iOS 13.0, *) {
28 | return UIApplication.shared.currentKeyWindow!.windowScene!.statusBarManager!.statusBarFrame.height
| `- error: 'windowScene' is unavailable in watchOS
29 | } else {
30 | return UIApplication.shared.statusBarFrame.height
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/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).
/Users/admin/builder/spi-builder-workspace/Sources/MGUtils/Utils/DeviceUtils.swift:30:19: error: 'UIApplication' is unavailable in watchOS
28 | return UIApplication.shared.currentKeyWindow!.windowScene!.statusBarManager!.statusBarFrame.height
29 | } else {
30 | return UIApplication.shared.statusBarFrame.height
| `- error: 'UIApplication' is unavailable in watchOS
31 | };
32 | }
/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/MGUtils/Utils/DeviceUtils.swift:30:40: error: 'statusBarFrame' is unavailable in watchOS
28 | return UIApplication.shared.currentKeyWindow!.windowScene!.statusBarManager!.statusBarFrame.height
29 | } else {
30 | return UIApplication.shared.statusBarFrame.height
| `- error: 'statusBarFrame' is unavailable in watchOS
31 | };
32 | }
/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:131:38: note: 'statusBarFrame' has been explicitly marked unavailable here
129 |
130 | @property(nonatomic,readonly) NSTimeInterval statusBarOrientationAnimationDuration API_DEPRECATED("Use viewWillTransitionToSize:withTransitionCoordinator: instead.", ios(2.0, 13.0)) API_UNAVAILABLE(tvos) API_UNAVAILABLE(visionos, watchos); // Returns the animation duration for the status bar during a 90 degree orientation change. It should be doubled for a 180 degree orientation change.
131 | @property(nonatomic,readonly) CGRect statusBarFrame API_DEPRECATED("Use the statusBarManager property of the window scene instead.", ios(2.0, 13.0)) API_UNAVAILABLE(tvos) API_UNAVAILABLE(visionos, watchos); // returns CGRectZero if the status bar is hidden
| `- note: 'statusBarFrame' has been explicitly marked unavailable here
132 |
133 | @property(nonatomic) NSInteger applicationIconBadgeNumber API_DEPRECATED("Use -[UNUserNotificationCenter setBadgeCount:withCompletionHandler:] instead.", ios(2.0, 17.0)) API_UNAVAILABLE(watchos);
/Users/admin/builder/spi-builder-workspace/Sources/MGUtils/Utils/DeviceUtils.swift:52:16: error: 'UIDevice' is unavailable in watchOS
50 | /// 是否是iPad
51 | public var isIpad:Bool{
52 | return UIDevice.current.userInterfaceIdiom == UIUserInterfaceIdiom.pad ? true : false;
| `- error: 'UIDevice' is unavailable in watchOS
53 | }
54 | /// 是否是iPad Pro
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDevice.h:35:12: note: 'UIDevice' has been explicitly marked unavailable here
33 |
34 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
35 | @interface UIDevice : NSObject
| `- note: 'UIDevice' has been explicitly marked unavailable here
36 |
37 | @property(class, nonatomic, readonly) UIDevice *currentDevice;
/Users/admin/builder/spi-builder-workspace/Sources/MGUtils/Utils/DeviceUtils.swift:52:55: error: 'UIUserInterfaceIdiom' is unavailable in watchOS
50 | /// 是否是iPad
51 | public var isIpad:Bool{
52 | return UIDevice.current.userInterfaceIdiom == UIUserInterfaceIdiom.pad ? true : false;
| `- error: 'UIUserInterfaceIdiom' is unavailable in watchOS
53 | }
54 | /// 是否是iPad Pro
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDevice.h:22:28: note: 'UIUserInterfaceIdiom' has been explicitly marked unavailable here
20 | } API_UNAVAILABLE(tvos, watchos); // available in iPhone 3.0
21 |
22 | typedef NS_ENUM(NSInteger, UIUserInterfaceIdiom) {
| `- note: 'UIUserInterfaceIdiom' has been explicitly marked unavailable here
23 | UIUserInterfaceIdiomUnspecified = -1,
24 | UIUserInterfaceIdiomPhone API_AVAILABLE(ios(3.2)), // iPhone and iPod touch style UI
/Users/admin/builder/spi-builder-workspace/Sources/MGUtils/Utils/DeviceUtils.swift:142:20: error: 'connectedScenes' is unavailable in watchOS
140 | public var currentKeyWindow: UIWindow? {
141 | if #available(iOS 13.0, *) {
142 | return connectedScenes
| `- error: 'connectedScenes' is unavailable in watchOS
143 | .filter { $0.activationState == .foregroundActive }
144 | .first(where: { $0 is 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/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/MGUtils/Utils/DeviceUtils.swift:144:39: error: 'UIWindowScene' is unavailable in watchOS
142 | return connectedScenes
143 | .filter { $0.activationState == .foregroundActive }
144 | .first(where: { $0 is UIWindowScene })
| `- error: 'UIWindowScene' is unavailable in watchOS
145 | .flatMap { $0 as? UIWindowScene }?
146 | .windows
/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/MGUtils/Utils/DeviceUtils.swift:145:35: error: 'UIWindowScene' is unavailable in watchOS
143 | .filter { $0.activationState == .foregroundActive }
144 | .first(where: { $0 is UIWindowScene })
145 | .flatMap { $0 as? UIWindowScene }?
| `- error: 'UIWindowScene' is unavailable in watchOS
146 | .windows
147 | .first(where: \.isKeyWindow)
/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
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/MGUtils/Utils/DeviceUtils.swift (in target 'MGUtils' from project 'MGUtils')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile DeviceUtils.swift
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/MGUtils/Utils/LaunchManage.swift (in target 'MGUtils' from project 'MGUtils')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile LaunchManage.swift
SwiftCompile normal arm64_32 Compiling\ String(extension).swift,\ UIColor(extension).swift /Users/admin/builder/spi-builder-workspace/Sources/MGUtils/Functions/String(extension).swift /Users/admin/builder/spi-builder-workspace/Sources/MGUtils/Functions/UIColor(extension).swift (in target 'MGUtils' from project 'MGUtils')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/MGUtils/Functions/String(extension).swift (in target 'MGUtils' from project 'MGUtils')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile String\(extension\).swift
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/MGUtils/Functions/UIColor(extension).swift (in target 'MGUtils' from project 'MGUtils')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile UIColor\(extension\).swift
/Users/admin/builder/spi-builder-workspace/Sources/MGUtils/Functions/UIColor(extension).swift:69:18: error: 'init(dynamicProvider:)' is unavailable in watchOS
67 | convenience init(light:UIColor,dark:UIColor){
68 | if #available(iOS 13.0, *) {
69 | self.init { trainCollection in
| `- error: 'init(dynamicProvider:)' is unavailable in watchOS
70 | if (trainCollection.userInterfaceStyle == .light){
71 | return light;
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIColor.h:144:1: note: 'init(dynamicProvider:)' has been explicitly marked unavailable here
142 |
143 | + (UIColor *)colorWithDynamicProvider:(UIColor * (^)(UITraitCollection *traitCollection))dynamicProvider API_AVAILABLE(ios(13.0), tvos(13.0)) API_UNAVAILABLE(watchos);
144 | - (UIColor *)initWithDynamicProvider:(UIColor * (^)(UITraitCollection *traitCollection))dynamicProvider API_AVAILABLE(ios(13.0), tvos(13.0)) API_UNAVAILABLE(watchos);
| `- note: 'init(dynamicProvider:)' has been explicitly marked unavailable here
145 |
146 | /* Resolve any color to its most fundamental form (a non-dynamic color) for a specific trait collection.
/Users/admin/builder/spi-builder-workspace/Sources/MGUtils/Functions/UIColor(extension).swift:70:37: error: 'userInterfaceStyle' is unavailable in watchOS
68 | if #available(iOS 13.0, *) {
69 | self.init { trainCollection in
70 | if (trainCollection.userInterfaceStyle == .light){
| `- error: 'userInterfaceStyle' is unavailable in watchOS
71 | return light;
72 | }else{
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITraitCollection.h:42:54: note: 'userInterfaceStyle' has been explicitly marked unavailable here
40 |
41 | + (UITraitCollection *)traitCollectionWithUserInterfaceStyle:(UIUserInterfaceStyle)userInterfaceStyle API_AVAILABLE(tvos(10.0)) API_AVAILABLE(ios(12.0)) API_UNAVAILABLE(watchos);
42 | @property (nonatomic, readonly) UIUserInterfaceStyle userInterfaceStyle API_AVAILABLE(tvos(10.0)) API_AVAILABLE(ios(12.0)) API_UNAVAILABLE(watchos); // unspecified: UIUserInterfaceStyleUnspecified
| `- note: 'userInterfaceStyle' has been explicitly marked unavailable here
43 |
44 | + (UITraitCollection *)traitCollectionWithLayoutDirection:(UITraitEnvironmentLayoutDirection)layoutDirection API_AVAILABLE(ios(10.0)) API_UNAVAILABLE(watchos);
/Users/admin/builder/spi-builder-workspace/Sources/MGUtils/Functions/UIColor(extension).swift:88:18: error: 'init(dynamicProvider:)' is unavailable in watchOS
86 | convenience init(light:String,dark:String){
87 | if #available(iOS 13.0, *) {
88 | self.init { trainCollection in
| `- error: 'init(dynamicProvider:)' is unavailable in watchOS
89 | if (trainCollection.userInterfaceStyle == .light){
90 | return UIColor.init(light);
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIColor.h:144:1: note: 'init(dynamicProvider:)' has been explicitly marked unavailable here
142 |
143 | + (UIColor *)colorWithDynamicProvider:(UIColor * (^)(UITraitCollection *traitCollection))dynamicProvider API_AVAILABLE(ios(13.0), tvos(13.0)) API_UNAVAILABLE(watchos);
144 | - (UIColor *)initWithDynamicProvider:(UIColor * (^)(UITraitCollection *traitCollection))dynamicProvider API_AVAILABLE(ios(13.0), tvos(13.0)) API_UNAVAILABLE(watchos);
| `- note: 'init(dynamicProvider:)' has been explicitly marked unavailable here
145 |
146 | /* Resolve any color to its most fundamental form (a non-dynamic color) for a specific trait collection.
SwiftCompile normal arm64_32 Compiling\ MGUtils.swift,\ CALayer+Heartbeat.swift /Users/admin/builder/spi-builder-workspace/Sources/MGUtils/MGUtils.swift /Users/admin/builder/spi-builder-workspace/Sources/MGUtils/UIKit/CALayer+Heartbeat.swift (in target 'MGUtils' from project 'MGUtils')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/MGUtils/MGUtils.swift (in target 'MGUtils' from project 'MGUtils')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile MGUtils.swift
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/MGUtils/UIKit/CALayer+Heartbeat.swift (in target 'MGUtils' from project 'MGUtils')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile CALayer+Heartbeat.swift
/Users/admin/builder/spi-builder-workspace/Sources/MGUtils/UIKit/CALayer+Heartbeat.swift:10:11: error: 'CALayer' is unavailable in watchOS
8 | import QuartzCore
9 |
10 | extension CALayer {
| `- error: 'CALayer' is unavailable in watchOS
11 |
12 | // MARK: - 呼吸动画
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CALayer.h:117:12: note: 'CALayer' has been explicitly marked unavailable here
115 |
116 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
117 | @interface CALayer : NSObject <NSSecureCoding, CAMediaTiming>
| `- note: 'CALayer' has been explicitly marked unavailable here
118 |
119 | /** Layer creation and initialization. **/
/Users/admin/builder/spi-builder-workspace/Sources/MGUtils/UIKit/CALayer+Heartbeat.swift:14:32: error: 'CABasicAnimation' is unavailable in watchOS
12 | // MARK: - 呼吸动画
13 | public func beginBreathingAnimation(_ fromValue:Float = 1.0, _ toValue:Float = 0.5, _ duration:Double = 1.0) {
14 | let opacityAnimation = CABasicAnimation(keyPath: "opacity")
| `- error: 'CABasicAnimation' is unavailable in watchOS
15 | opacityAnimation.fromValue = fromValue
16 | opacityAnimation.toValue = toValue
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAAnimation.h:130:12: note: 'CABasicAnimation' has been explicitly marked unavailable here
128 |
129 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
130 | @interface CABasicAnimation : CAPropertyAnimation
| `- note: 'CABasicAnimation' has been explicitly marked unavailable here
131 |
132 | /* The objects defining the property values being interpolated between.
/Users/admin/builder/spi-builder-workspace/Sources/MGUtils/UIKit/CALayer+Heartbeat.swift:20:38: error: 'both' is unavailable in watchOS
18 | opacityAnimation.autoreverses = true
19 | opacityAnimation.repeatCount = .infinity
20 | opacityAnimation.fillMode = .both
| `- error: 'both' is unavailable in watchOS
21 | opacityAnimation.isRemovedOnCompletion = false
22 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAMediaTiming.h:90:39: note: 'both' has been explicitly marked unavailable here
88 | CA_EXTERN CAMediaTimingFillMode const kCAFillModeBackwards
89 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos);
90 | CA_EXTERN CAMediaTimingFillMode const kCAFillModeBoth
| `- note: 'both' has been explicitly marked unavailable here
91 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos);
92 | CA_EXTERN CAMediaTimingFillMode const kCAFillModeRemoved
/Users/admin/builder/spi-builder-workspace/Sources/MGUtils/UIKit/CALayer+Heartbeat.swift:32:30: error: 'CABasicAnimation' is unavailable in watchOS
30 | // MARK: - 心跳动画
31 | public func beginHeartbeatAnimation() {
32 | let scaleAnimation = CABasicAnimation(keyPath: "transform.scale")
| `- error: 'CABasicAnimation' is unavailable in watchOS
33 | scaleAnimation.fromValue = 1.0
34 | scaleAnimation.toValue = 1.03
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAAnimation.h:130:12: note: 'CABasicAnimation' has been explicitly marked unavailable here
128 |
129 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
130 | @interface CABasicAnimation : CAPropertyAnimation
| `- note: 'CABasicAnimation' has been explicitly marked unavailable here
131 |
132 | /* The objects defining the property values being interpolated between.
/Users/admin/builder/spi-builder-workspace/Sources/MGUtils/UIKit/CALayer+Heartbeat.swift:38:36: error: 'both' is unavailable in watchOS
36 | scaleAnimation.autoreverses = true
37 | scaleAnimation.repeatCount = 2
38 | scaleAnimation.fillMode = .both
| `- error: 'both' is unavailable in watchOS
39 | scaleAnimation.isRemovedOnCompletion = false
40 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAMediaTiming.h:90:39: note: 'both' has been explicitly marked unavailable here
88 | CA_EXTERN CAMediaTimingFillMode const kCAFillModeBackwards
89 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos);
90 | CA_EXTERN CAMediaTimingFillMode const kCAFillModeBoth
| `- note: 'both' has been explicitly marked unavailable here
91 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos);
92 | CA_EXTERN CAMediaTimingFillMode const kCAFillModeRemoved
/Users/admin/builder/spi-builder-workspace/Sources/MGUtils/UIKit/CALayer+Heartbeat.swift:50:33: error: 'CABasicAnimation' is unavailable in watchOS
48 | // MARK: - 弹跳动画
49 | public func beginBounceAnimation(positionY: CGFloat, range: CGFloat) {
50 | let positionAnimation = CABasicAnimation(keyPath: "position.y")
| `- error: 'CABasicAnimation' is unavailable in watchOS
51 | positionAnimation.fromValue = positionY - range
52 | positionAnimation.toValue = positionY + range
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAAnimation.h:130:12: note: 'CABasicAnimation' has been explicitly marked unavailable here
128 |
129 | API_AVAILABLE(macos(10.5), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos)
130 | @interface CABasicAnimation : CAPropertyAnimation
| `- note: 'CABasicAnimation' has been explicitly marked unavailable here
131 |
132 | /* The objects defining the property values being interpolated between.
SwiftCompile normal arm64_32 Compiling\ UIViewController(extension).swift,\ MBProgressHUD.swift /Users/admin/builder/spi-builder-workspace/Sources/MGUtils/Functions/UIViewController(extension).swift /Users/admin/builder/spi-builder-workspace/Sources/MGUtils/Libs/MBProgressHUD.swift (in target 'MGUtils' from project 'MGUtils')
/Users/admin/builder/spi-builder-workspace/Sources/MGUtils/Functions/UIViewController(extension).swift:16:48: error: 'UIViewController' is unavailable in watchOS
14 |
15 | /// celerity present
16 | @objc public func present(_ viewController:UIViewController){
| `- error: 'UIViewController' is unavailable in watchOS
17 | viewController.modalPresentationStyle = .fullScreen;
18 | self.present(viewController, animated: true, completion: 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/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/MGUtils/Functions/UIViewController(extension).swift:26:45: error: 'UIViewController' is unavailable in watchOS
24 | }
25 |
26 | @objc public func push(_ viewController:UIViewController){
| `- error: 'UIViewController' is unavailable in watchOS
27 | self.navigationController?.pushViewController(viewController, animated: true)
28 | }
/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/MGUtils/Functions/UIViewController(extension).swift:34:62: error: 'UIViewController' is unavailable in watchOS
32 | }
33 |
34 | public class func initStoryboard(_ storyboard:String) -> UIViewController{
| `- error: 'UIViewController' is unavailable in watchOS
35 | return UIStoryboard(name: storyboard, bundle: Bundle.main).instantiateViewController(withIdentifier: NSStringFromClass(self).components(separatedBy: ".").last!)
36 | }
/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/MGUtils/Functions/UIViewController(extension).swift:13:11: error: 'UIViewController' is unavailable in watchOS
11 |
12 |
13 | extension UIViewController{
| `- error: 'UIViewController' is unavailable in watchOS
14 |
15 | /// celerity present
/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/MGUtils/Functions/UIViewController(extension).swift:35:16: error: 'UIStoryboard' is unavailable in watchOS
33 |
34 | public class func initStoryboard(_ storyboard:String) -> UIViewController{
35 | return UIStoryboard(name: storyboard, bundle: Bundle.main).instantiateViewController(withIdentifier: NSStringFromClass(self).components(separatedBy: ".").last!)
| `- error: 'UIStoryboard' 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/UIStoryboard.h:19:12: note: 'UIStoryboard' has been explicitly marked unavailable here
17 |
18 | UIKIT_EXTERN API_AVAILABLE(ios(5.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR API_DEPRECATED("Loading Interface Builder products will not be supported in a future version of visionOS.", visionos(1.0, 1.0))
19 | @interface UIStoryboard : NSObject {
| `- note: 'UIStoryboard' has been explicitly marked unavailable here
20 | }
21 |
/Users/admin/builder/spi-builder-workspace/Sources/MGUtils/Functions/UIViewController(extension).swift:39:28: error: 'UINavigationController' is unavailable in watchOS
37 |
38 | @objc public func commonBackAction(){
39 | if self.isKind(of: UINavigationController.self) {
| `- error: 'UINavigationController' is unavailable in watchOS
40 | (self as! UINavigationController).popViewController(animated: true)
41 | }else{
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINavigationController.h:46:12: note: 'UINavigationController' has been explicitly marked unavailable here
44 |
45 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
46 | @interface UINavigationController : UIViewController
| `- note: 'UINavigationController' has been explicitly marked unavailable here
47 |
48 |
/Users/admin/builder/spi-builder-workspace/Sources/MGUtils/Functions/UIViewController(extension).swift:40:23: error: 'UINavigationController' is unavailable in watchOS
38 | @objc public func commonBackAction(){
39 | if self.isKind(of: UINavigationController.self) {
40 | (self as! UINavigationController).popViewController(animated: true)
| `- error: 'UINavigationController' is unavailable in watchOS
41 | }else{
42 | self.navigationController?.popViewController(animated: 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/UINavigationController.h:46:12: note: 'UINavigationController' has been explicitly marked unavailable here
44 |
45 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
46 | @interface UINavigationController : UIViewController
| `- note: 'UINavigationController' has been explicitly marked unavailable here
47 |
48 |
/Users/admin/builder/spi-builder-workspace/Sources/MGUtils/Libs/MBProgressHUD.swift:140:28: error: 'UIView' is unavailable in watchOS
138 | public private(set) var bezelView: MBBackgroundView!
139 | public private(set) var backgroundView: MBBackgroundView!
140 | public var customView: UIView? {
| `- error: 'UIView' is unavailable in watchOS
141 | didSet {
142 | if customView != oldValue && mode == .customView {
/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/MGUtils/Libs/MBProgressHUD.swift:148:36: error: 'UILabel' is unavailable in watchOS
146 | }
147 |
148 | public private(set) var label: UILabel!
| `- error: 'UILabel' is unavailable in watchOS
149 | public private(set) var detailsLabel: UILabel!
150 | public private(set) var button: UIButton!
/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/MGUtils/Libs/MBProgressHUD.swift:149:43: error: 'UILabel' is unavailable in watchOS
147 |
148 | public private(set) var label: UILabel!
149 | public private(set) var detailsLabel: UILabel!
| `- error: 'UILabel' is unavailable in watchOS
150 | public private(set) var button: UIButton!
151 |
/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/MGUtils/Libs/MBProgressHUD.swift:150:37: error: 'UIButton' is unavailable in watchOS
148 | public private(set) var label: UILabel!
149 | public private(set) var detailsLabel: UILabel!
150 | public private(set) var button: UIButton!
| `- error: 'UIButton' is unavailable in watchOS
151 |
152 | // MARK: - Private Properties
/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/MGUtils/Libs/MBProgressHUD.swift:156:28: error: 'UIView' is unavailable in watchOS
154 | private var useAnimation: Bool = false
155 | private var hasFinished: Bool = false
156 | private var indicator: UIView?
| `- error: 'UIView' is unavailable in watchOS
157 | private var showStarted: Date?
158 | private var paddingConstraints: [NSLayoutConstraint] = []
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/MGUtils/Libs/MBProgressHUD.swift:158:38: error: 'NSLayoutConstraint' is unavailable in watchOS
156 | private var indicator: UIView?
157 | private var showStarted: Date?
158 | private var paddingConstraints: [NSLayoutConstraint] = []
| `- error: 'NSLayoutConstraint' is unavailable in watchOS
159 | private var bezelConstraints: [NSLayoutConstraint] = []
160 | private var topSpacer: 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/NSLayoutConstraint.h:126:12: note: 'NSLayoutConstraint' has been explicitly marked unavailable here
124 |
125 | NSLAYOUTCONSTRAINT_EXTERN API_AVAILABLE(macos(10.7), ios(6.0), tvos(9.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
126 | @interface NSLayoutConstraint : NSObject
| `- note: 'NSLayoutConstraint' has been explicitly marked unavailable here
127 |
128 | /* Create an array of constraints using an ASCII-art-like visual format string. The values of the `metrics` dictionary should be NSNumber (or some other type that responds to -doubleValue and returns a double).
/Users/admin/builder/spi-builder-workspace/Sources/MGUtils/Libs/MBProgressHUD.swift:159:36: error: 'NSLayoutConstraint' is unavailable in watchOS
157 | private var showStarted: Date?
158 | private var paddingConstraints: [NSLayoutConstraint] = []
159 | private var bezelConstraints: [NSLayoutConstraint] = []
| `- error: 'NSLayoutConstraint' is unavailable in watchOS
160 | private var topSpacer: UIView!
161 | private var bottomSpacer: 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/NSLayoutConstraint.h:126:12: note: 'NSLayoutConstraint' has been explicitly marked unavailable here
124 |
125 | NSLAYOUTCONSTRAINT_EXTERN API_AVAILABLE(macos(10.7), ios(6.0), tvos(9.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
126 | @interface NSLayoutConstraint : NSObject
| `- note: 'NSLayoutConstraint' has been explicitly marked unavailable here
127 |
128 | /* Create an array of constraints using an ASCII-art-like visual format string. The values of the `metrics` dictionary should be NSNumber (or some other type that responds to -doubleValue and returns a double).
/Users/admin/builder/spi-builder-workspace/Sources/MGUtils/Libs/MBProgressHUD.swift:160:28: error: 'UIView' is unavailable in watchOS
158 | private var paddingConstraints: [NSLayoutConstraint] = []
159 | private var bezelConstraints: [NSLayoutConstraint] = []
160 | private var topSpacer: UIView!
| `- error: 'UIView' is unavailable in watchOS
161 | private var bottomSpacer: UIView!
162 | private var bezelMotionEffects: UIMotionEffectGroup?
/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/MGUtils/Libs/MBProgressHUD.swift:161:31: error: 'UIView' is unavailable in watchOS
159 | private var bezelConstraints: [NSLayoutConstraint] = []
160 | private var topSpacer: UIView!
161 | private var bottomSpacer: UIView!
| `- error: 'UIView' is unavailable in watchOS
162 | private var bezelMotionEffects: UIMotionEffectGroup?
163 |
/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/MGUtils/Libs/MBProgressHUD.swift:162:37: error: 'UIMotionEffectGroup' is unavailable in watchOS
160 | private var topSpacer: UIView!
161 | private var bottomSpacer: UIView!
162 | private var bezelMotionEffects: UIMotionEffectGroup?
| `- error: 'UIMotionEffectGroup' is unavailable in watchOS
163 |
164 | private weak var graceTimer: Timer?
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMotionEffect.h:81:12: note: 'UIMotionEffectGroup' has been explicitly marked unavailable here
79 | using Core Animation's implementations of addition for all the standard types. */
80 | UIKIT_EXTERN API_AVAILABLE(ios(7.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
81 | @interface UIMotionEffectGroup : UIMotionEffect
| `- note: 'UIMotionEffectGroup' has been explicitly marked unavailable here
82 | @property (nullable, copy, nonatomic) NSArray<__kindof UIMotionEffect *> *motionEffects;
83 | @end
/Users/admin/builder/spi-builder-workspace/Sources/MGUtils/Libs/MBProgressHUD.swift:167:44: error: 'CADisplayLink' is unavailable in watchOS
165 | private weak var minShowTimer: Timer?
166 | private weak var hideDelayTimer: Timer?
167 | private var progressObjectDisplayLink: CADisplayLink? {
| `- error: 'CADisplayLink' is unavailable in watchOS
168 | didSet {
169 | oldValue?.invalidate()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CADisplayLink.h:21:12: note: 'CADisplayLink' has been explicitly marked unavailable here
19 | API_AVAILABLE(macos(14.0))
20 |
21 | @interface CADisplayLink : NSObject
| `- note: 'CADisplayLink' has been explicitly marked unavailable here
22 | {
23 | @private
/Users/admin/builder/spi-builder-workspace/Sources/MGUtils/Libs/MBProgressHUD.swift:177:46: error: 'UIView' is unavailable in watchOS
175 |
176 | @discardableResult
177 | public class func showHUDAddedTo(_ view: UIView, animated: Bool) -> MBProgressHUD {
| `- error: 'UIView' is unavailable in watchOS
178 | let hud = MBProgressHUD(view: view)
179 | hud.removeFromSuperViewOnHide = 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/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/MGUtils/Libs/MBProgressHUD.swift:186:46: error: 'UIView' is unavailable in watchOS
184 |
185 | @discardableResult
186 | public class func hideHUDForView(_ view: UIView, animated: Bool) -> Bool {
| `- error: 'UIView' is unavailable in watchOS
187 | if let hud = HUDForView(view) {
188 | hud.removeFromSuperViewOnHide = 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/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/MGUtils/Libs/MBProgressHUD.swift:195:42: error: 'UIView' is unavailable in watchOS
193 | }
194 |
195 | public class func HUDForView(_ view: UIView) -> MBProgressHUD? {
| `- error: 'UIView' is unavailable in watchOS
196 | for subview in view.subviews.reversed() {
197 | if let hud = subview as? MBProgressHUD, !hud.hasFinished {
/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/MGUtils/Libs/MBProgressHUD.swift:206:35: error: 'UIView' is unavailable in watchOS
204 | // MARK: - Lifecycle
205 |
206 | public convenience init(view: UIView) {
| `- error: 'UIView' is unavailable in watchOS
207 | self.init(frame: view.bounds)
208 | }
/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/MGUtils/Libs/MBProgressHUD.swift:54:29: error: 'UIView' is unavailable in watchOS
52 | // MARK: - MBProgressHUD Main Class
53 |
54 | public class MBProgressHUD: UIView {
| `- error: 'UIView' is unavailable in watchOS
55 |
56 | // MARK: - Properties
/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/MGUtils/Libs/MBProgressHUD.swift:735:35: error: 'UIView' is unavailable in watchOS
733 | // MARK: - MBRoundProgressView
734 |
735 | public class MBRoundProgressView: UIView, ProgressViewProtocol {
| `- error: 'UIView' is unavailable in watchOS
736 |
737 | public var progress: Float = 0.0 {
/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/MGUtils/Libs/MBProgressHUD.swift:859:33: error: 'UIView' is unavailable in watchOS
857 | // MARK: - MBBarProgressView
858 |
859 | public class MBBarProgressView: UIView, ProgressViewProtocol {
| `- error: 'UIView' is unavailable in watchOS
860 |
861 | public var progress: Float = 0.0 {
/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/MGUtils/Libs/MBProgressHUD.swift:1005:33: error: 'UIBlurEffect' is unavailable in watchOS
1003 | }
1004 |
1005 | public var blurEffectStyle: UIBlurEffect.Style = {
| `- error: 'UIBlurEffect' is unavailable in watchOS
1006 | if #available(iOS 13.0, *) {
1007 | #if os(tvOS)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIBlurEffect.h:61:12: note: 'UIBlurEffect' has been explicitly marked unavailable here
59 | /* UIBlurEffect will provide a blur that appears to have been applied to the content layered behind the UIVisualEffectView. Views added to the contentView of a blur visual effect are not blurred themselves. */
60 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
61 | @interface UIBlurEffect : UIVisualEffect
| `- note: 'UIBlurEffect' has been explicitly marked unavailable here
62 |
63 | + (UIBlurEffect *)effectWithStyle:(UIBlurEffectStyle)style;
/Users/admin/builder/spi-builder-workspace/Sources/MGUtils/Libs/MBProgressHUD.swift:1010:21: error: 'systemThickMaterial' is unavailable in watchOS
1008 | return .regular
1009 | #else
1010 | return .systemThickMaterial
| `- error: 'systemThickMaterial' is unavailable in watchOS
1011 | #endif
1012 | } else {
UIKit.UIBlurEffect.Style.systemThickMaterial:4:10: note: 'systemThickMaterial' has been explicitly marked unavailable here
2 | enum Style {
3 | @available(watchOS, unavailable)
4 | case systemThickMaterial }
| `- note: 'systemThickMaterial' has been explicitly marked unavailable here
5 | }
6 |
/Users/admin/builder/spi-builder-workspace/Sources/MGUtils/Libs/MBProgressHUD.swift:1031:29: error: 'UIVisualEffectView' is unavailable in watchOS
1029 | }
1030 |
1031 | private var effectView: UIVisualEffectView?
| `- error: 'UIVisualEffectView' is unavailable in watchOS
1032 |
1033 | // MARK: - Lifecycle
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIVisualEffectView.h:28:12: note: 'UIVisualEffectView' has been explicitly marked unavailable here
26 |
27 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
28 | @interface UIVisualEffectView : UIView <NSSecureCoding>
| `- note: 'UIVisualEffectView' has been explicitly marked unavailable here
29 |
30 | @property (nonatomic, strong, readonly) UIView *contentView; // Do not add subviews directly to UIVisualEffectView, use this view instead.
/Users/admin/builder/spi-builder-workspace/Sources/MGUtils/Libs/MBProgressHUD.swift:995:32: error: 'UIView' is unavailable in watchOS
993 | // MARK: - MBBackgroundView
994 |
995 | public class MBBackgroundView: UIView {
| `- error: 'UIView' is unavailable in watchOS
996 |
997 | public var style: MBProgressHUDBackgroundStyle = .blur {
/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/MGUtils/Libs/MBProgressHUD.swift:1129:63: error: 'UIControl' is unavailable in watchOS
1127 | // MARK: - Color
1128 |
1129 | override func setTitleColor(_ color: UIColor?, for state: UIControl.State) {
| `- error: 'UIControl' is unavailable in watchOS
1130 | super.setTitleColor(color, for: state)
1131 | // Update related colors
/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/MGUtils/Libs/MBProgressHUD.swift:1089:35: error: 'UIButton' is unavailable in watchOS
1087 | // MARK: - MBProgressHUDRoundedButton
1088 |
1089 | class MBProgressHUDRoundedButton: UIButton {
| `- error: 'UIButton' is unavailable in watchOS
1090 |
1091 | // MARK: - Lifecycle
/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/MGUtils/Libs/MBProgressHUD.swift:1154:45: error: 'UIView' is unavailable in watchOS
1152 | /// - Returns: MBProgressHUD实例
1153 | @discardableResult
1154 | public static func showLoading(in view: UIView, text: String = "加载中...") -> MBProgressHUD {
| `- error: 'UIView' is unavailable in watchOS
1155 | let hud = MBProgressHUD.showHUDAddedTo(view, animated: true)
1156 | hud.mode = .indeterminate
/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/MGUtils/Libs/MBProgressHUD.swift:1167:45: error: 'UIView' is unavailable in watchOS
1165 | /// - delay: 延迟隐藏时间
1166 | @discardableResult
1167 | public static func showSuccess(in view: UIView, text: String, delay: TimeInterval = 2.0) -> MBProgressHUD {
| `- error: 'UIView' is unavailable in watchOS
1168 | let hud = MBProgressHUD.showHUDAddedTo(view, animated: true)
1169 | hud.mode = .customView
/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/MGUtils/Libs/MBProgressHUD.swift:1182:43: error: 'UIView' is unavailable in watchOS
1180 | /// - delay: 延迟隐藏时间
1181 | @discardableResult
1182 | public static func showError(in view: UIView, text: String, delay: TimeInterval = 2.0) -> MBProgressHUD {
| `- error: 'UIView' is unavailable in watchOS
1183 | let hud = MBProgressHUD.showHUDAddedTo(view, animated: true)
1184 | hud.mode = .customView
/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/MGUtils/Libs/MBProgressHUD.swift:1197:42: error: 'UIView' is unavailable in watchOS
1195 | /// - delay: 延迟隐藏时间
1196 | @discardableResult
1197 | public static func showText(in view: UIView, text: String, delay: TimeInterval = 2.0) -> MBProgressHUD {
| `- error: 'UIView' is unavailable in watchOS
1198 | let hud = MBProgressHUD.showHUDAddedTo(view, animated: true)
1199 | hud.mode = .text
/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/MGUtils/Libs/MBProgressHUD.swift:1212:46: error: 'UIView' is unavailable in watchOS
1210 | /// - Returns: MBProgressHUD实例
1211 | @discardableResult
1212 | public static func showProgress(in view: UIView, text: String = "进度", progress: Float = 0.0) -> MBProgressHUD {
| `- error: 'UIView' is unavailable in watchOS
1213 | let hud = MBProgressHUD.showHUDAddedTo(view, animated: true)
1214 | hud.mode = .determinate
/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/MGUtils/Libs/MBProgressHUD.swift:1222:41: error: 'UIView' is unavailable in watchOS
1220 | /// 隐藏指定视图中的所有HUD
1221 | /// - Parameter view: 父视图
1222 | public static func hideAll(in view: UIView) {
| `- error: 'UIView' is unavailable in watchOS
1223 | MBProgressHUD.hideHUDForView(view, animated: true)
1224 | }
/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/MGUtils/Libs/MBProgressHUD.swift:1229:11: error: 'UIViewController' is unavailable in watchOS
1227 | // MARK: - UIViewController Extension
1228 |
1229 | extension UIViewController {
| `- error: 'UIViewController' is unavailable in watchOS
1230 |
1231 | /// 在当前视图控制器中显示加载HUD
/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/MGUtils/Libs/MBProgressHUD.swift:227:36: error: 'label' is unavailable in watchOS
225 |
226 | if #available(iOS 13.0, *) {
227 | contentColor = UIColor.label.withAlphaComponent(0.7)
| `- error: 'label' is unavailable in watchOS
228 | } else {
229 | contentColor = UIColor(white: 0.0, alpha: 0.7)
/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:171:49: note: 'label' has been explicitly marked unavailable here
169 | /* Foreground colors for static text and related elements.
170 | */
171 | @property (class, nonatomic, readonly) UIColor *labelColor API_AVAILABLE(ios(13.0), tvos(13.0)) API_UNAVAILABLE(watchos);
| `- note: 'label' has been explicitly marked unavailable here
172 | @property (class, nonatomic, readonly) UIColor *secondaryLabelColor API_AVAILABLE(ios(13.0), tvos(13.0)) API_UNAVAILABLE(watchos);
173 | @property (class, nonatomic, readonly) UIColor *tertiaryLabelColor API_AVAILABLE(ios(13.0), tvos(13.0)) API_UNAVAILABLE(watchos);
/Users/admin/builder/spi-builder-workspace/Sources/MGUtils/Libs/MBProgressHUD.swift:236:15: error: 'allowsGroupOpacity' is unavailable in watchOS
234 | alpha = 0.0
235 | autoresizingMask = [.flexibleWidth, .flexibleHeight]
236 | layer.allowsGroupOpacity = false
| `- error: 'allowsGroupOpacity' is unavailable in watchOS
237 |
238 | setupViews()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CALayer.h:646:16: note: 'allowsGroupOpacity' has been explicitly marked unavailable here
644 | * and NO for iOS applications linked against an earlier SDK. */
645 |
646 | @property BOOL allowsGroupOpacity
| `- note: 'allowsGroupOpacity' has been explicitly marked unavailable here
647 | API_AVAILABLE(macos(10.10), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos);
648 |
/Users/admin/builder/spi-builder-workspace/Sources/MGUtils/Libs/MBProgressHUD.swift:358:9: error: 'UIView' is unavailable in watchOS
356 | }
357 |
358 | UIView.animate(withDuration: 0.3, delay: 0, usingSpringWithDamping: 1.0, initialSpringVelocity: 0, options: .beginFromCurrentState, animations: {
| `- error: 'UIView' is unavailable in watchOS
359 | if animatingIn {
360 | self.bezelView.transform = .identity
/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/MGUtils/Libs/MBProgressHUD.swift:401:21: error: 'init()' is unavailable in watchOS
399 |
400 | // Bezel view
401 | bezelView = MBBackgroundView()
| `- error: 'init()' is unavailable in watchOS
402 | bezelView.translatesAutoresizingMaskIntoConstraints = false
403 | bezelView.layer.cornerRadius = 5.0
/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/MGUtils/Libs/MBProgressHUD.swift:408:17: error: 'UILabel' is unavailable in watchOS
406 |
407 | // Label
408 | label = UILabel()
| `- error: 'UILabel' is unavailable in watchOS
409 | label.adjustsFontSizeToFitWidth = false
410 | label.textAlignment = .center
/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/MGUtils/Libs/MBProgressHUD.swift:408:17: error: 'init()' is unavailable in watchOS
406 |
407 | // Label
408 | label = UILabel()
| `- error: 'init()' is unavailable in watchOS
409 | label.adjustsFontSizeToFitWidth = false
410 | label.textAlignment = .center
/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/MGUtils/Libs/MBProgressHUD.swift:417:24: error: 'UILabel' is unavailable in watchOS
415 |
416 | // Details label
417 | detailsLabel = UILabel()
| `- error: 'UILabel' is unavailable in watchOS
418 | detailsLabel.adjustsFontSizeToFitWidth = false
419 | detailsLabel.textAlignment = .center
/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/MGUtils/Libs/MBProgressHUD.swift:417:24: error: 'init()' is unavailable in watchOS
415 |
416 | // Details label
417 | detailsLabel = UILabel()
| `- error: 'init()' is unavailable in watchOS
418 | detailsLabel.adjustsFontSizeToFitWidth = false
419 | detailsLabel.textAlignment = .center
/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/MGUtils/Libs/MBProgressHUD.swift:441:21: error: 'UIView' is unavailable in watchOS
439 |
440 | // Spacers
441 | topSpacer = UIView()
| `- error: 'UIView' is unavailable in watchOS
442 | topSpacer.translatesAutoresizingMaskIntoConstraints = false
443 | topSpacer.isHidden = 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/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/MGUtils/Libs/MBProgressHUD.swift:441:21: error: 'init()' is unavailable in watchOS
439 |
440 | // Spacers
441 | topSpacer = UIView()
| `- error: 'init()' is unavailable in watchOS
442 | topSpacer.translatesAutoresizingMaskIntoConstraints = false
443 | topSpacer.isHidden = 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/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/MGUtils/Libs/MBProgressHUD.swift:446:24: error: 'UIView' is unavailable in watchOS
444 | bezelView.addSubview(topSpacer)
445 |
446 | bottomSpacer = UIView()
| `- error: 'UIView' is unavailable in watchOS
447 | bottomSpacer.translatesAutoresizingMaskIntoConstraints = false
448 | bottomSpacer.isHidden = 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/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/MGUtils/Libs/MBProgressHUD.swift:446:24: error: 'init()' is unavailable in watchOS
444 | bezelView.addSubview(topSpacer)
445 |
446 | bottomSpacer = UIView()
| `- error: 'init()' is unavailable in watchOS
447 | bottomSpacer.translatesAutoresizingMaskIntoConstraints = false
448 | bottomSpacer.isHidden = 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/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/MGUtils/Libs/MBProgressHUD.swift:461:40: error: 'UIActivityIndicatorView' is unavailable in watchOS
459 | case .indeterminate:
460 | if !isActivityIndicator {
461 | let activityIndicator: UIActivityIndicatorView
| `- error: 'UIActivityIndicatorView' is unavailable in watchOS
462 | if #available(iOS 13.0, *) {
463 | activityIndicator = UIActivityIndicatorView(style: .large)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIActivityIndicatorView.h:24:12: note: 'UIActivityIndicatorView' has been explicitly marked unavailable here
22 |
23 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
24 | @interface UIActivityIndicatorView : UIView <NSCoding>
| `- note: 'UIActivityIndicatorView' has been explicitly marked unavailable here
25 |
26 | - (instancetype)initWithActivityIndicatorStyle:(UIActivityIndicatorViewStyle)style NS_DESIGNATED_INITIALIZER; // sizes the view according to the style
/Users/admin/builder/spi-builder-workspace/Sources/MGUtils/Libs/MBProgressHUD.swift:463:41: error: 'UIActivityIndicatorView' is unavailable in watchOS
461 | let activityIndicator: UIActivityIndicatorView
462 | if #available(iOS 13.0, *) {
463 | activityIndicator = UIActivityIndicatorView(style: .large)
| `- error: 'UIActivityIndicatorView' is unavailable in watchOS
464 | activityIndicator.color = .white
465 | } else {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIActivityIndicatorView.h:24:12: note: 'UIActivityIndicatorView' has been explicitly marked unavailable here
22 |
23 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
24 | @interface UIActivityIndicatorView : UIView <NSCoding>
| `- note: 'UIActivityIndicatorView' has been explicitly marked unavailable here
25 |
26 | - (instancetype)initWithActivityIndicatorStyle:(UIActivityIndicatorViewStyle)style NS_DESIGNATED_INITIALIZER; // sizes the view according to the style
/Users/admin/builder/spi-builder-workspace/Sources/MGUtils/Libs/MBProgressHUD.swift:463:73: error: 'large' is unavailable in watchOS
461 | let activityIndicator: UIActivityIndicatorView
462 | if #available(iOS 13.0, *) {
463 | activityIndicator = UIActivityIndicatorView(style: .large)
| `- error: 'large' is unavailable in watchOS
464 | activityIndicator.color = .white
465 | } else {
UIKit.UIActivityIndicatorView.Style.large:4:10: note: 'large' has been explicitly marked unavailable here
2 | enum Style {
3 | @available(watchOS, unavailable)
4 | case large }
| `- note: 'large' has been explicitly marked unavailable here
5 | }
6 |
/Users/admin/builder/spi-builder-workspace/Sources/MGUtils/Libs/MBProgressHUD.swift:466:41: error: 'UIActivityIndicatorView' is unavailable in watchOS
464 | activityIndicator.color = .white
465 | } else {
466 | activityIndicator = UIActivityIndicatorView(style: .whiteLarge)
| `- error: 'UIActivityIndicatorView' is unavailable in watchOS
467 | }
468 | activityIndicator.startAnimating()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIActivityIndicatorView.h:24:12: note: 'UIActivityIndicatorView' has been explicitly marked unavailable here
22 |
23 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
24 | @interface UIActivityIndicatorView : UIView <NSCoding>
| `- note: 'UIActivityIndicatorView' has been explicitly marked unavailable here
25 |
26 | - (instancetype)initWithActivityIndicatorStyle:(UIActivityIndicatorViewStyle)style NS_DESIGNATED_INITIALIZER; // sizes the view according to the style
/Users/admin/builder/spi-builder-workspace/Sources/MGUtils/Libs/MBProgressHUD.swift:466:73: error: 'whiteLarge' is unavailable in watchOS
464 | activityIndicator.color = .white
465 | } else {
466 | activityIndicator = UIActivityIndicatorView(style: .whiteLarge)
| `- error: 'whiteLarge' is unavailable in watchOS
467 | }
468 | activityIndicator.startAnimating()
UIKit.UIActivityIndicatorView.Style.whiteLarge:4:10: note: 'whiteLarge' has been explicitly marked unavailable here
2 | enum Style {
3 | @available(watchOS, unavailable)
4 | case whiteLarge }
| `- note: 'whiteLarge' has been explicitly marked unavailable here
5 | }
6 |
/Users/admin/builder/spi-builder-workspace/Sources/MGUtils/Libs/MBProgressHUD.swift:515:50: error: 'UIActivityIndicatorView' is unavailable in watchOS
513 | button?.setTitleColor(color, for: .normal)
514 |
515 | if let activityIndicator = indicator as? UIActivityIndicatorView {
| `- error: 'UIActivityIndicatorView' is unavailable in watchOS
516 | activityIndicator.color = color
517 | } else if let roundProgressView = indicator as? MBRoundProgressView {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIActivityIndicatorView.h:24:12: note: 'UIActivityIndicatorView' has been explicitly marked unavailable here
22 |
23 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
24 | @interface UIActivityIndicatorView : UIView <NSCoding>
| `- note: 'UIActivityIndicatorView' has been explicitly marked unavailable here
25 |
26 | - (instancetype)initWithActivityIndicatorStyle:(UIActivityIndicatorViewStyle)style NS_DESIGNATED_INITIALIZER; // sizes the view according to the style
/Users/admin/builder/spi-builder-workspace/Sources/MGUtils/Libs/MBProgressHUD.swift:537:27: error: 'UIInterpolatingMotionEffect' is unavailable in watchOS
535 | let effectOffset: CGFloat = 10.0
536 |
537 | let effectX = UIInterpolatingMotionEffect(keyPath: "center.x", type: .tiltAlongHorizontalAxis)
| `- error: 'UIInterpolatingMotionEffect' is unavailable in watchOS
538 | effectX.maximumRelativeValue = effectOffset
539 | effectX.minimumRelativeValue = -effectOffset
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMotionEffect.h:64:12: note: 'UIInterpolatingMotionEffect' has been explicitly marked unavailable here
62 | `keyPath` should be expressed relative to the effect's target view. */
63 | UIKIT_EXTERN API_AVAILABLE(ios(7.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
64 | @interface UIInterpolatingMotionEffect : UIMotionEffect
| `- note: 'UIInterpolatingMotionEffect' has been explicitly marked unavailable here
65 |
66 | - (instancetype)initWithKeyPath:(NSString *)keyPath type:(UIInterpolatingMotionEffectType)type NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/MGUtils/Libs/MBProgressHUD.swift:541:27: error: 'UIInterpolatingMotionEffect' is unavailable in watchOS
539 | effectX.minimumRelativeValue = -effectOffset
540 |
541 | let effectY = UIInterpolatingMotionEffect(keyPath: "center.y", type: .tiltAlongVerticalAxis)
| `- error: 'UIInterpolatingMotionEffect' is unavailable in watchOS
542 | effectY.maximumRelativeValue = effectOffset
543 | effectY.minimumRelativeValue = -effectOffset
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMotionEffect.h:64:12: note: 'UIInterpolatingMotionEffect' has been explicitly marked unavailable here
62 | `keyPath` should be expressed relative to the effect's target view. */
63 | UIKIT_EXTERN API_AVAILABLE(ios(7.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
64 | @interface UIInterpolatingMotionEffect : UIMotionEffect
| `- note: 'UIInterpolatingMotionEffect' has been explicitly marked unavailable here
65 |
66 | - (instancetype)initWithKeyPath:(NSString *)keyPath type:(UIInterpolatingMotionEffectType)type NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/MGUtils/Libs/MBProgressHUD.swift:545:25: error: 'UIMotionEffectGroup' is unavailable in watchOS
543 | effectY.minimumRelativeValue = -effectOffset
544 |
545 | let group = UIMotionEffectGroup()
| `- error: 'UIMotionEffectGroup' is unavailable in watchOS
546 | group.motionEffects = [effectX, effectY]
547 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMotionEffect.h:81:12: note: 'UIMotionEffectGroup' has been explicitly marked unavailable here
79 | using Core Animation's implementations of addition for all the standard types. */
80 | UIKIT_EXTERN API_AVAILABLE(ios(7.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
81 | @interface UIMotionEffectGroup : UIMotionEffect
| `- note: 'UIMotionEffectGroup' has been explicitly marked unavailable here
82 | @property (nullable, copy, nonatomic) NSArray<__kindof UIMotionEffect *> *motionEffects;
83 | @end
/Users/admin/builder/spi-builder-workspace/Sources/MGUtils/Libs/MBProgressHUD.swift:568:45: error: 'CADisplayLink' is unavailable in watchOS
566 | if enabled && progressObject != nil {
567 | if progressObjectDisplayLink == nil {
568 | progressObjectDisplayLink = CADisplayLink(target: self, selector: #selector(updateProgressFromProgressObject))
| `- error: 'CADisplayLink' is unavailable in watchOS
569 | }
570 | } else {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CADisplayLink.h:21:12: note: 'CADisplayLink' has been explicitly marked unavailable here
19 | API_AVAILABLE(macos(14.0))
20 |
21 | @interface CADisplayLink : NSObject
| `- note: 'CADisplayLink' has been explicitly marked unavailable here
22 | {
23 | @private
/Users/admin/builder/spi-builder-workspace/Sources/MGUtils/Libs/MBProgressHUD.swift:586:19: error: 'UIApplication' is unavailable in watchOS
584 | self,
585 | selector: #selector(statusBarOrientationDidChange),
586 | name: UIApplication.didChangeStatusBarOrientationNotification,
| `- error: 'UIApplication' is unavailable in watchOS
587 | object: nil
588 | )
/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/MGUtils/Libs/MBProgressHUD.swift:586:33: error: 'didChangeStatusBarOrientationNotification' is unavailable in watchOS
584 | self,
585 | selector: #selector(statusBarOrientationDidChange),
586 | name: UIApplication.didChangeStatusBarOrientationNotification,
| `- error: 'didChangeStatusBarOrientationNotification' is unavailable in watchOS
587 | object: nil
588 | )
/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:579:39: note: 'didChangeStatusBarOrientationNotification' has been explicitly marked unavailable here
577 | UIKIT_EXTERN NSNotificationName const UIApplicationSignificantTimeChangeNotification API_UNAVAILABLE(watchos) NS_SWIFT_NONISOLATED;
578 | UIKIT_EXTERN NSNotificationName const UIApplicationWillChangeStatusBarOrientationNotification API_DEPRECATED("Use viewWillTransitionToSize:withTransitionCoordinator: instead.", ios(2.0, 13.0)) API_UNAVAILABLE(tvos) API_UNAVAILABLE(visionos, watchos) NS_SWIFT_NONISOLATED; // userInfo contains NSNumber with new orientation
579 | UIKIT_EXTERN NSNotificationName const UIApplicationDidChangeStatusBarOrientationNotification API_DEPRECATED("Use viewWillTransitionToSize:withTransitionCoordinator: instead.", ios(2.0, 13.0)) API_UNAVAILABLE(tvos) API_UNAVAILABLE(visionos, watchos) NS_SWIFT_NONISOLATED; // userInfo contains NSNumber with old orientation
| `- note: 'didChangeStatusBarOrientationNotification' has been explicitly marked unavailable here
580 | UIKIT_EXTERN NSString *const UIApplicationStatusBarOrientationUserInfoKey API_DEPRECATED("Use viewWillTransitionToSize:withTransitionCoordinator: instead.", ios(2.0, 13.0)) API_UNAVAILABLE(tvos) API_UNAVAILABLE(visionos, watchos) NS_SWIFT_NONISOLATED; // userInfo dictionary key for status bar orientation
581 | UIKIT_EXTERN NSNotificationName const UIApplicationWillChangeStatusBarFrameNotification API_DEPRECATED("Use viewWillTransitionToSize:withTransitionCoordinator: instead.", ios(2.0, 13.0)) API_UNAVAILABLE(tvos) API_UNAVAILABLE(visionos, watchos) NS_SWIFT_NONISOLATED; // userInfo contains NSValue with new frame
/Users/admin/builder/spi-builder-workspace/Sources/MGUtils/Libs/MBProgressHUD.swift:619:32: error: 'NSLayoutConstraint' is unavailable in watchOS
617 | let bottomSpacer = self.bottomSpacer!
618 | let margin = self.margin
619 | var bezelConstraints: [NSLayoutConstraint] = []
| `- error: 'NSLayoutConstraint' is unavailable in watchOS
620 |
621 | var subviews = [topSpacer, label!, detailsLabel!, button!, bottomSpacer]
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutConstraint.h:126:12: note: 'NSLayoutConstraint' has been explicitly marked unavailable here
124 |
125 | NSLAYOUTCONSTRAINT_EXTERN API_AVAILABLE(macos(10.7), ios(6.0), tvos(9.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
126 | @interface NSLayoutConstraint : NSObject
| `- note: 'NSLayoutConstraint' has been explicitly marked unavailable here
127 |
128 | /* Create an array of constraints using an ASCII-art-like visual format string. The values of the `metrics` dictionary should be NSNumber (or some other type that responds to -doubleValue and returns a double).
/Users/admin/builder/spi-builder-workspace/Sources/MGUtils/Libs/MBProgressHUD.swift:640:54: error: 'UILayoutPriority' is unavailable in watchOS
638 | bezel.centerYAnchor.constraint(equalTo: centerYAnchor, constant: offset.y)
639 | ]
640 | centeringConstraints.forEach { $0.priority = UILayoutPriority(998) }
| `- error: 'UILayoutPriority' is unavailable in watchOS
641 | addConstraints(centeringConstraints)
642 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutConstraint.h:17:15: note: 'UILayoutPriority' has been explicitly marked unavailable here
15 | @class NSArray, NSDictionary, NSLayoutAnchor;
16 |
17 | typedef float UILayoutPriority NS_TYPED_EXTENSIBLE_ENUM API_UNAVAILABLE(watchos);
| `- note: 'UILayoutPriority' has been explicitly marked unavailable here
18 | static const UILayoutPriority UILayoutPriorityRequired API_AVAILABLE(ios(6.0)) API_UNAVAILABLE(watchos) = 1000; // A required constraint. Do not exceed this.
19 | static const UILayoutPriority UILayoutPriorityDefaultHigh API_AVAILABLE(ios(6.0)) API_UNAVAILABLE(watchos) = 750; // This is the priority level with which a button resists compressing its content.
/Users/admin/builder/spi-builder-workspace/Sources/MGUtils/Libs/MBProgressHUD.swift:650:49: error: 'UILayoutPriority' is unavailable in watchOS
648 | bottomAnchor.constraint(greaterThanOrEqualTo: bezel.bottomAnchor, constant: margin)
649 | ]
650 | sideConstraints.forEach { $0.priority = UILayoutPriority(999) }
| `- error: 'UILayoutPriority' is unavailable in watchOS
651 | addConstraints(sideConstraints)
652 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutConstraint.h:17:15: note: 'UILayoutPriority' has been explicitly marked unavailable here
15 | @class NSArray, NSDictionary, NSLayoutAnchor;
16 |
17 | typedef float UILayoutPriority NS_TYPED_EXTENSIBLE_ENUM API_UNAVAILABLE(watchos);
| `- note: 'UILayoutPriority' has been explicitly marked unavailable here
18 | static const UILayoutPriority UILayoutPriorityRequired API_AVAILABLE(ios(6.0)) API_UNAVAILABLE(watchos) = 1000; // A required constraint. Do not exceed this.
19 | static const UILayoutPriority UILayoutPriorityDefaultHigh API_AVAILABLE(ios(6.0)) API_UNAVAILABLE(watchos) = 750; // This is the priority level with which a button resists compressing its content.
/Users/admin/builder/spi-builder-workspace/Sources/MGUtils/Libs/MBProgressHUD.swift:659:56: error: 'UILayoutPriority' is unavailable in watchOS
657 | bezel.heightAnchor.constraint(greaterThanOrEqualToConstant: minSize.height)
658 | ]
659 | minSizeConstraints.forEach { $0.priority = UILayoutPriority(997) }
| `- error: 'UILayoutPriority' is unavailable in watchOS
660 | bezelConstraints.append(contentsOf: minSizeConstraints)
661 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutConstraint.h:17:15: note: 'UILayoutPriority' has been explicitly marked unavailable here
15 | @class NSArray, NSDictionary, NSLayoutAnchor;
16 |
17 | typedef float UILayoutPriority NS_TYPED_EXTENSIBLE_ENUM API_UNAVAILABLE(watchos);
| `- note: 'UILayoutPriority' has been explicitly marked unavailable here
18 | static const UILayoutPriority UILayoutPriorityRequired API_AVAILABLE(ios(6.0)) API_UNAVAILABLE(watchos) = 1000; // A required constraint. Do not exceed this.
19 | static const UILayoutPriority UILayoutPriorityDefaultHigh API_AVAILABLE(ios(6.0)) API_UNAVAILABLE(watchos) = 750; // This is the priority level with which a button resists compressing its content.
/Users/admin/builder/spi-builder-workspace/Sources/MGUtils/Libs/MBProgressHUD.swift:666:31: error: 'UILayoutPriority' is unavailable in watchOS
664 | if isSquare {
665 | let square = bezel.heightAnchor.constraint(equalTo: bezel.widthAnchor)
666 | square.priority = UILayoutPriority(997)
| `- error: 'UILayoutPriority' is unavailable in watchOS
667 | bezelConstraints.append(square)
668 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutConstraint.h:17:15: note: 'UILayoutPriority' has been explicitly marked unavailable here
15 | @class NSArray, NSDictionary, NSLayoutAnchor;
16 |
17 | typedef float UILayoutPriority NS_TYPED_EXTENSIBLE_ENUM API_UNAVAILABLE(watchos);
| `- note: 'UILayoutPriority' has been explicitly marked unavailable here
18 | static const UILayoutPriority UILayoutPriorityRequired API_AVAILABLE(ios(6.0)) API_UNAVAILABLE(watchos) = 1000; // A required constraint. Do not exceed this.
19 | static const UILayoutPriority UILayoutPriorityDefaultHigh API_AVAILABLE(ios(6.0)) API_UNAVAILABLE(watchos) = 750; // This is the priority level with which a button resists compressing its content.
/Users/admin/builder/spi-builder-workspace/Sources/MGUtils/Libs/MBProgressHUD.swift:676:34: error: 'NSLayoutConstraint' is unavailable in watchOS
674 |
675 | // Layout subviews in bezel
676 | var paddingConstraints: [NSLayoutConstraint] = []
| `- error: 'NSLayoutConstraint' is unavailable in watchOS
677 | for (index, view) in subviews.enumerated() {
678 | // Center in bezel
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutConstraint.h:126:12: note: 'NSLayoutConstraint' has been explicitly marked unavailable here
124 |
125 | NSLAYOUTCONSTRAINT_EXTERN API_AVAILABLE(macos(10.7), ios(6.0), tvos(9.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
126 | @interface NSLayoutConstraint : NSObject
| `- note: 'NSLayoutConstraint' has been explicitly marked unavailable here
127 |
128 | /* Create an array of constraints using an ASCII-art-like visual format string. The values of the `metrics` dictionary should be NSNumber (or some other type that responds to -doubleValue and returns a double).
/Users/admin/builder/spi-builder-workspace/Sources/MGUtils/Libs/MBProgressHUD.swift:717:57: error: 'UIView' is unavailable in watchOS
715 | var hasVisibleAncestors = false
716 | for padding in paddingConstraints {
717 | guard let firstView = padding.firstItem as? UIView,
| `- error: 'UIView' is unavailable in watchOS
718 | let secondView = padding.secondItem as? UIView else { continue }
719 |
/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/MGUtils/Libs/MBProgressHUD.swift:718:59: error: 'UIView' is unavailable in watchOS
716 | for padding in paddingConstraints {
717 | guard let firstView = padding.firstItem as? UIView,
718 | let secondView = padding.secondItem as? UIView else { continue }
| `- error: 'UIView' is unavailable in watchOS
719 |
720 | let firstVisible = !firstView.isHidden && !CGSizeEqualToSize(firstView.intrinsicContentSize, .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/MGUtils/Libs/MBProgressHUD.swift:1069:26: error: 'UIBlurEffect' is unavailable in watchOS
1067 |
1068 | if style == .blur {
1069 | let effect = UIBlurEffect(style: blurEffectStyle)
| `- error: 'UIBlurEffect' is unavailable in watchOS
1070 | let newEffectView = UIVisualEffectView(effect: effect)
1071 | insertSubview(newEffectView, at: 0)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIBlurEffect.h:61:12: note: 'UIBlurEffect' has been explicitly marked unavailable here
59 | /* UIBlurEffect will provide a blur that appears to have been applied to the content layered behind the UIVisualEffectView. Views added to the contentView of a blur visual effect are not blurred themselves. */
60 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
61 | @interface UIBlurEffect : UIVisualEffect
| `- note: 'UIBlurEffect' has been explicitly marked unavailable here
62 |
63 | + (UIBlurEffect *)effectWithStyle:(UIBlurEffectStyle)style;
/Users/admin/builder/spi-builder-workspace/Sources/MGUtils/Libs/MBProgressHUD.swift:1070:33: error: 'UIVisualEffectView' is unavailable in watchOS
1068 | if style == .blur {
1069 | let effect = UIBlurEffect(style: blurEffectStyle)
1070 | let newEffectView = UIVisualEffectView(effect: effect)
| `- error: 'UIVisualEffectView' is unavailable in watchOS
1071 | insertSubview(newEffectView, at: 0)
1072 | newEffectView.frame = bounds
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIVisualEffectView.h:28:12: note: 'UIVisualEffectView' has been explicitly marked unavailable here
26 |
27 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
28 | @interface UIVisualEffectView : UIView <NSSecureCoding>
| `- note: 'UIVisualEffectView' has been explicitly marked unavailable here
29 |
30 | @property (nonatomic, strong, readonly) UIView *contentView; // Do not add subviews directly to UIVisualEffectView, use this view instead.
/Users/admin/builder/spi-builder-workspace/Sources/MGUtils/Libs/MBProgressHUD.swift:1075:19: error: 'allowsGroupOpacity' is unavailable in watchOS
1073 | newEffectView.autoresizingMask = [.flexibleHeight, .flexibleWidth]
1074 | backgroundColor = color
1075 | layer.allowsGroupOpacity = false
| `- error: 'allowsGroupOpacity' is unavailable in watchOS
1076 | effectView = newEffectView
1077 | } else {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CALayer.h:646:16: note: 'allowsGroupOpacity' has been explicitly marked unavailable here
644 | * and NO for iOS applications linked against an earlier SDK. */
645 |
646 | @property BOOL allowsGroupOpacity
| `- note: 'allowsGroupOpacity' has been explicitly marked unavailable here
647 | API_AVAILABLE(macos(10.10), ios(2.0), tvos(9.0)) API_UNAVAILABLE(watchos);
648 |
/Users/admin/builder/spi-builder-workspace/Sources/MGUtils/Libs/MBProgressHUD.swift:1170:26: error: 'UIImageView' is unavailable in watchOS
1168 | let hud = MBProgressHUD.showHUDAddedTo(view, animated: true)
1169 | hud.mode = .customView
1170 | hud.customView = UIImageView(image: UIImage(systemName: "checkmark.circle.fill"))
| `- error: 'UIImageView' is unavailable in watchOS
1171 | hud.label.text = text
1172 | hud.hide(animated: true, afterDelay: delay)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImageView.h:21:12: note: 'UIImageView' has been explicitly marked unavailable here
19 |
20 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
21 | @interface UIImageView : UIView
| `- note: 'UIImageView' has been explicitly marked unavailable here
22 |
23 | - (instancetype)initWithImage:(nullable UIImage *)image;
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/MGUtils/Functions/UIViewController(extension).swift (in target 'MGUtils' from project 'MGUtils')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile UIViewController\(extension\).swift
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/MGUtils/Libs/MBProgressHUD.swift (in target 'MGUtils' from project 'MGUtils')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile MBProgressHUD.swift
SwiftCompile normal arm64_32 Compiling\ Date(extension).swift,\ Number(extension).swift /Users/admin/builder/spi-builder-workspace/Sources/MGUtils/Functions/Date(extension).swift /Users/admin/builder/spi-builder-workspace/Sources/MGUtils/Functions/Number(extension).swift (in target 'MGUtils' from project 'MGUtils')
/Users/admin/builder/spi-builder-workspace/Sources/MGUtils/Functions/Number(extension).swift:71:8: error: 'UIDevice' is unavailable in watchOS
69 | @MainActor
70 | func Adaptive(_ num:CGFloat) -> CGFloat{
71 | if UIDevice.current.userInterfaceIdiom == UIUserInterfaceIdiom.pad {
| `- error: 'UIDevice' is unavailable in watchOS
72 | return num / 768 * [UIScreen.main.bounds.width,UIScreen.main.bounds.height].min()!;
73 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDevice.h:35:12: note: 'UIDevice' has been explicitly marked unavailable here
33 |
34 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
35 | @interface UIDevice : NSObject
| `- note: 'UIDevice' has been explicitly marked unavailable here
36 |
37 | @property(class, nonatomic, readonly) UIDevice *currentDevice;
/Users/admin/builder/spi-builder-workspace/Sources/MGUtils/Functions/Number(extension).swift:71:47: error: 'UIUserInterfaceIdiom' is unavailable in watchOS
69 | @MainActor
70 | func Adaptive(_ num:CGFloat) -> CGFloat{
71 | if UIDevice.current.userInterfaceIdiom == UIUserInterfaceIdiom.pad {
| `- error: 'UIUserInterfaceIdiom' is unavailable in watchOS
72 | return num / 768 * [UIScreen.main.bounds.width,UIScreen.main.bounds.height].min()!;
73 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDevice.h:22:28: note: 'UIUserInterfaceIdiom' has been explicitly marked unavailable here
20 | } API_UNAVAILABLE(tvos, watchos); // available in iPhone 3.0
21 |
22 | typedef NS_ENUM(NSInteger, UIUserInterfaceIdiom) {
| `- note: 'UIUserInterfaceIdiom' has been explicitly marked unavailable here
23 | UIUserInterfaceIdiomUnspecified = -1,
24 | UIUserInterfaceIdiomPhone API_AVAILABLE(ios(3.2)), // iPhone and iPod touch style UI
/Users/admin/builder/spi-builder-workspace/Sources/MGUtils/Functions/Number(extension).swift:72:29: error: 'UIScreen' is unavailable in watchOS
70 | func Adaptive(_ num:CGFloat) -> CGFloat{
71 | if UIDevice.current.userInterfaceIdiom == UIUserInterfaceIdiom.pad {
72 | return num / 768 * [UIScreen.main.bounds.width,UIScreen.main.bounds.height].min()!;
| `- error: 'UIScreen' is unavailable in watchOS
73 | }
74 | return num / 375 * [UIScreen.main.bounds.width,UIScreen.main.bounds.height].min()!;
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScreen.h:54:12: note: 'UIScreen' has been explicitly marked unavailable here
52 |
53 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(visionos, watchos) NS_SWIFT_UI_ACTOR
54 | @interface UIScreen : NSObject <UITraitEnvironment>
| `- note: 'UIScreen' has been explicitly marked unavailable here
55 |
56 | @property(class, nonatomic, readonly) NSArray<UIScreen *> *screens API_DEPRECATED("Use UIApplication.shared.openSessions to find open sessions with scenes from other screens", ios(3.2, 16.0), visionos(1.0, 1.0)) API_UNAVAILABLE(watchos); // all screens currently attached to the device
/Users/admin/builder/spi-builder-workspace/Sources/MGUtils/Functions/Number(extension).swift:72:38: error: 'main' is unavailable in watchOS
70 | func Adaptive(_ num:CGFloat) -> CGFloat{
71 | if UIDevice.current.userInterfaceIdiom == UIUserInterfaceIdiom.pad {
72 | return num / 768 * [UIScreen.main.bounds.width,UIScreen.main.bounds.height].min()!;
| `- error: 'main' is unavailable in watchOS
73 | }
74 | return num / 375 * [UIScreen.main.bounds.width,UIScreen.main.bounds.height].min()!;
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScreen.h:57:49: note: 'main' has been explicitly marked unavailable here
55 |
56 | @property(class, nonatomic, readonly) NSArray<UIScreen *> *screens API_DEPRECATED("Use UIApplication.shared.openSessions to find open sessions with scenes from other screens", ios(3.2, 16.0), visionos(1.0, 1.0)) API_UNAVAILABLE(watchos); // all screens currently attached to the device
57 | @property(class, nonatomic, readonly) UIScreen *mainScreen API_DEPRECATED("Use a UIScreen instance found through context instead (i.e, view.window.windowScene.screen), or for properties like UIScreen.scale with trait equivalents, use a traitCollection found through context.", ios(2.0, 26.0), tvos(9.0, 26.0), visionos(1.0, 26.0)) API_UNAVAILABLE(watchos);
| `- note: 'main' has been explicitly marked unavailable here
58 |
59 | @property(nonatomic,readonly) CGRect bounds; // Bounds of entire screen in points
/Users/admin/builder/spi-builder-workspace/Sources/MGUtils/Functions/Number(extension).swift:72:56: error: 'UIScreen' is unavailable in watchOS
70 | func Adaptive(_ num:CGFloat) -> CGFloat{
71 | if UIDevice.current.userInterfaceIdiom == UIUserInterfaceIdiom.pad {
72 | return num / 768 * [UIScreen.main.bounds.width,UIScreen.main.bounds.height].min()!;
| `- error: 'UIScreen' is unavailable in watchOS
73 | }
74 | return num / 375 * [UIScreen.main.bounds.width,UIScreen.main.bounds.height].min()!;
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScreen.h:54:12: note: 'UIScreen' has been explicitly marked unavailable here
52 |
53 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(visionos, watchos) NS_SWIFT_UI_ACTOR
54 | @interface UIScreen : NSObject <UITraitEnvironment>
| `- note: 'UIScreen' has been explicitly marked unavailable here
55 |
56 | @property(class, nonatomic, readonly) NSArray<UIScreen *> *screens API_DEPRECATED("Use UIApplication.shared.openSessions to find open sessions with scenes from other screens", ios(3.2, 16.0), visionos(1.0, 1.0)) API_UNAVAILABLE(watchos); // all screens currently attached to the device
/Users/admin/builder/spi-builder-workspace/Sources/MGUtils/Functions/Number(extension).swift:72:65: error: 'main' is unavailable in watchOS
70 | func Adaptive(_ num:CGFloat) -> CGFloat{
71 | if UIDevice.current.userInterfaceIdiom == UIUserInterfaceIdiom.pad {
72 | return num / 768 * [UIScreen.main.bounds.width,UIScreen.main.bounds.height].min()!;
| `- error: 'main' is unavailable in watchOS
73 | }
74 | return num / 375 * [UIScreen.main.bounds.width,UIScreen.main.bounds.height].min()!;
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScreen.h:57:49: note: 'main' has been explicitly marked unavailable here
55 |
56 | @property(class, nonatomic, readonly) NSArray<UIScreen *> *screens API_DEPRECATED("Use UIApplication.shared.openSessions to find open sessions with scenes from other screens", ios(3.2, 16.0), visionos(1.0, 1.0)) API_UNAVAILABLE(watchos); // all screens currently attached to the device
57 | @property(class, nonatomic, readonly) UIScreen *mainScreen API_DEPRECATED("Use a UIScreen instance found through context instead (i.e, view.window.windowScene.screen), or for properties like UIScreen.scale with trait equivalents, use a traitCollection found through context.", ios(2.0, 26.0), tvos(9.0, 26.0), visionos(1.0, 26.0)) API_UNAVAILABLE(watchos);
| `- note: 'main' has been explicitly marked unavailable here
58 |
59 | @property(nonatomic,readonly) CGRect bounds; // Bounds of entire screen in points
/Users/admin/builder/spi-builder-workspace/Sources/MGUtils/Functions/Number(extension).swift:74:25: error: 'UIScreen' is unavailable in watchOS
72 | return num / 768 * [UIScreen.main.bounds.width,UIScreen.main.bounds.height].min()!;
73 | }
74 | return num / 375 * [UIScreen.main.bounds.width,UIScreen.main.bounds.height].min()!;
| `- error: 'UIScreen' is unavailable in watchOS
75 | }
76 | #endif
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScreen.h:54:12: note: 'UIScreen' has been explicitly marked unavailable here
52 |
53 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(visionos, watchos) NS_SWIFT_UI_ACTOR
54 | @interface UIScreen : NSObject <UITraitEnvironment>
| `- note: 'UIScreen' has been explicitly marked unavailable here
55 |
56 | @property(class, nonatomic, readonly) NSArray<UIScreen *> *screens API_DEPRECATED("Use UIApplication.shared.openSessions to find open sessions with scenes from other screens", ios(3.2, 16.0), visionos(1.0, 1.0)) API_UNAVAILABLE(watchos); // all screens currently attached to the device
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/MGUtils/Functions/Date(extension).swift (in target 'MGUtils' from project 'MGUtils')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile Date\(extension\).swift
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/MGUtils/Functions/Number(extension).swift (in target 'MGUtils' from project 'MGUtils')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile Number\(extension\).swift
/Users/admin/builder/spi-builder-workspace/Sources/MGUtils/Functions/Number(extension).swift:74:34: error: 'main' is unavailable in watchOS
72 | return num / 768 * [UIScreen.main.bounds.width,UIScreen.main.bounds.height].min()!;
73 | }
74 | return num / 375 * [UIScreen.main.bounds.width,UIScreen.main.bounds.height].min()!;
| `- error: 'main' is unavailable in watchOS
75 | }
76 | #endif
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScreen.h:57:49: note: 'main' has been explicitly marked unavailable here
55 |
56 | @property(class, nonatomic, readonly) NSArray<UIScreen *> *screens API_DEPRECATED("Use UIApplication.shared.openSessions to find open sessions with scenes from other screens", ios(3.2, 16.0), visionos(1.0, 1.0)) API_UNAVAILABLE(watchos); // all screens currently attached to the device
57 | @property(class, nonatomic, readonly) UIScreen *mainScreen API_DEPRECATED("Use a UIScreen instance found through context instead (i.e, view.window.windowScene.screen), or for properties like UIScreen.scale with trait equivalents, use a traitCollection found through context.", ios(2.0, 26.0), tvos(9.0, 26.0), visionos(1.0, 26.0)) API_UNAVAILABLE(watchos);
| `- note: 'main' has been explicitly marked unavailable here
58 |
59 | @property(nonatomic,readonly) CGRect bounds; // Bounds of entire screen in points
/Users/admin/builder/spi-builder-workspace/Sources/MGUtils/Functions/Number(extension).swift:74:52: error: 'UIScreen' is unavailable in watchOS
72 | return num / 768 * [UIScreen.main.bounds.width,UIScreen.main.bounds.height].min()!;
73 | }
74 | return num / 375 * [UIScreen.main.bounds.width,UIScreen.main.bounds.height].min()!;
| `- error: 'UIScreen' is unavailable in watchOS
75 | }
76 | #endif
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScreen.h:54:12: note: 'UIScreen' has been explicitly marked unavailable here
52 |
53 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(visionos, watchos) NS_SWIFT_UI_ACTOR
54 | @interface UIScreen : NSObject <UITraitEnvironment>
| `- note: 'UIScreen' has been explicitly marked unavailable here
55 |
56 | @property(class, nonatomic, readonly) NSArray<UIScreen *> *screens API_DEPRECATED("Use UIApplication.shared.openSessions to find open sessions with scenes from other screens", ios(3.2, 16.0), visionos(1.0, 1.0)) API_UNAVAILABLE(watchos); // all screens currently attached to the device
SwiftCompile normal arm64_32 Compiling\ UITableView(extension).swift,\ UIView(extension).swift /Users/admin/builder/spi-builder-workspace/Sources/MGUtils/UIKit/UITableView(extension).swift /Users/admin/builder/spi-builder-workspace/Sources/MGUtils/UIKit/UIView(extension).swift (in target 'MGUtils' from project 'MGUtils')
/Users/admin/builder/spi-builder-workspace/Sources/MGUtils/UIKit/UITableView(extension).swift:32:41: error: 'UIView' is unavailable in watchOS
30 | }
31 | /** 更新HeaderView */
32 | public func updateTableHeaderView<T:UIView>(_ view:T){
| `- error: 'UIView' is unavailable in watchOS
33 | self.removeTableHeaderView()
34 | self.tableHeaderView = view
/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/MGUtils/UIKit/UITableView(extension).swift:37:41: error: 'UIView' is unavailable in watchOS
35 | }
36 | /** 更新footerView */
37 | public func updateTableFooterView<T:UIView>(_ view:T){
| `- error: 'UIView' is unavailable in watchOS
38 | self.removeTableFooterView()
39 | self.tableFooterView = view
/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/MGUtils/UIKit/UITableView(extension).swift:52:28: error: 'UITableViewCell' is unavailable in watchOS
50 |
51 | /** 注册class Cell */
52 | public func register<T:UITableViewCell>(CellWithClass name: T.Type){
| `- error: 'UITableViewCell' is unavailable in watchOS
53 | register(T.self, forCellReuseIdentifier: String.init(describing: name))
54 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITableViewCell.h:81:12: note: 'UITableViewCell' has been explicitly marked unavailable here
79 |
80 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
81 | @interface UITableViewCell : UIView <NSCoding, UIGestureRecognizerDelegate>
| `- note: 'UITableViewCell' has been explicitly marked unavailable here
82 |
83 | // Designated initializer. If the cell can be reused, you must pass in a reuse identifier. You should use the same reuse identifier for all cells of the same form.
/Users/admin/builder/spi-builder-workspace/Sources/MGUtils/UIKit/UITableView(extension).swift:57:31: error: 'UITableViewCell' is unavailable in watchOS
55 |
56 | /** 注册Nib cell */
57 | public func registerNib<T:UITableViewCell>(CellWithNib name: T.Type){
| `- error: 'UITableViewCell' is unavailable in watchOS
58 | register(UINib.init(nibName: String.init(describing: name), bundle: Bundle.main), forCellReuseIdentifier: String.init(describing: name))
59 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITableViewCell.h:81:12: note: 'UITableViewCell' has been explicitly marked unavailable here
79 |
80 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
81 | @interface UITableViewCell : UIView <NSCoding, UIGestureRecognizerDelegate>
| `- note: 'UITableViewCell' has been explicitly marked unavailable here
82 |
83 | // Designated initializer. If the cell can be reused, you must pass in a reuse identifier. You should use the same reuse identifier for all cells of the same form.
/Users/admin/builder/spi-builder-workspace/Sources/MGUtils/UIKit/UITableView(extension).swift:62:39: error: 'UITableViewCell' is unavailable in watchOS
60 |
61 | /** 创建Cell */
62 | public func dequeueReusableCell<T:UITableViewCell>(className: T.Type, for indexPath: IndexPath) -> T{
| `- error: 'UITableViewCell' is unavailable in watchOS
63 | return dequeueReusableCell(withIdentifier: String(describing: className), for: indexPath) as! T
64 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITableViewCell.h:81:12: note: 'UITableViewCell' has been explicitly marked unavailable here
79 |
80 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
81 | @interface UITableViewCell : UIView <NSCoding, UIGestureRecognizerDelegate>
| `- note: 'UITableViewCell' has been explicitly marked unavailable here
82 |
83 | // Designated initializer. If the cell can be reused, you must pass in a reuse identifier. You should use the same reuse identifier for all cells of the same form.
/Users/admin/builder/spi-builder-workspace/Sources/MGUtils/UIKit/UITableView(extension).swift:12:11: error: 'UITableView' is unavailable in watchOS
10 | import UIKit
11 |
12 | extension UITableView{
| `- error: 'UITableView' is unavailable in watchOS
13 | /** 获取最后一个section */
14 | public var lastSection:Int{
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITableView.h:347:12: note: 'UITableView' has been explicitly marked unavailable here
345 |
346 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
347 | @interface UITableView : UIScrollView <NSCoding, UIDataSourceTranslating>
| `- note: 'UITableView' has been explicitly marked unavailable here
348 |
349 | - (instancetype)initWithFrame:(CGRect)frame style:(UITableViewStyle)style NS_DESIGNATED_INITIALIZER; // must specify style at creation. -initWithFrame: calls this with UITableViewStylePlain
/Users/admin/builder/spi-builder-workspace/Sources/MGUtils/UIKit/UITableView(extension).swift:44:9: error: 'UIView' is unavailable in watchOS
42 | /** 刷新完成后 执行操作 */
43 | public func reloadData(_ completion:@escaping () -> Void){
44 | UIView.animate(withDuration: 0, animations: {
| `- error: 'UIView' is unavailable in watchOS
45 | self.reloadData()
46 | }, completion: { (_) in
/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/MGUtils/UIKit/UITableView(extension).swift:58:18: error: 'UINib' is unavailable in watchOS
56 | /** 注册Nib cell */
57 | public func registerNib<T:UITableViewCell>(CellWithNib name: T.Type){
58 | register(UINib.init(nibName: String.init(describing: name), bundle: Bundle.main), forCellReuseIdentifier: String.init(describing: name))
| `- error: 'UINib' is unavailable in watchOS
59 | }
60 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINib.h:16:12: note: 'UINib' has been explicitly marked unavailable here
14 |
15 | UIKIT_EXTERN API_AVAILABLE(ios(4.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR API_DEPRECATED("Loading Interface Builder products will not be supported in a future version of visionOS.", visionos(1.0, 1.0))
16 | @interface UINib : NSObject
| `- note: 'UINib' has been explicitly marked unavailable here
17 |
18 | // If the bundle parameter is nil, the main bundle is used.
/Users/admin/builder/spi-builder-workspace/Sources/MGUtils/UIKit/UIView(extension).swift:116:43: error: 'UIViewController' is unavailable in watchOS
114 |
115 | /** 获取当前显示的控制器 */
116 | public func parentViewController() -> UIViewController? {
| `- error: 'UIViewController' is unavailable in watchOS
117 |
118 | let n = next
/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/MGUtils/UIKit/UIView(extension).swift:12:11: error: 'UIView' is unavailable in watchOS
10 | import UIKit
11 |
12 | extension UIView{
| `- error: 'UIView' is unavailable in watchOS
13 | public var left:CGFloat{
14 | 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.
/Users/admin/builder/spi-builder-workspace/Sources/MGUtils/UIKit/UIView(extension).swift:192:25: error: 'UIView' is unavailable in watchOS
190 |
191 | /// SwifterSwift: First responder.
192 | var firstResponder: UIView? {
| `- error: 'UIView' is unavailable in watchOS
193 | guard !isFirstResponder else { return self }
194 | for subView in subviews where subView.isFirstResponder {
/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/MGUtils/UIKit/UIView(extension).swift:140:18: error: 'UIView' is unavailable in watchOS
138 |
139 |
140 | public extension UIView {
| `- error: 'UIView' is unavailable in watchOS
141 |
142 | /// SwifterSwift: Border color of view; also inspectable from Storyboard.
/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/MGUtils/UIKit/UIView(extension).swift:262:18: error: 'UIView' is unavailable in watchOS
260 | }
261 |
262 | public extension UIView{
| `- error: 'UIView' is unavailable in watchOS
263 | /**
264 | 扩展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/MGUtils/UIKit/UIView(extension).swift:303:11: error: 'UICollectionView' is unavailable in watchOS
301 | }
302 |
303 | extension UICollectionView{
| `- error: 'UICollectionView' is unavailable in watchOS
304 | /// 滚动到制定item
305 | func scrollTo(indexPath: IndexPath,animated:Bool) {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionView.h:362:12: note: 'UICollectionView' has been explicitly marked unavailable here
360 |
361 | UIKIT_EXTERN API_AVAILABLE(ios(6.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
362 | @interface UICollectionView : UIScrollView <UIDataSourceTranslating>
| `- note: 'UICollectionView' has been explicitly marked unavailable here
363 |
364 | - (instancetype)initWithFrame:(CGRect)frame collectionViewLayout:(UICollectionViewLayout *)layout NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/MGUtils/UIKit/UIView(extension).swift:126:39: error: 'UIViewController' is unavailable in watchOS
124 | if (controller is UIViewController) {
125 |
126 | return controller as? UIViewController
| `- error: 'UIViewController' is unavailable in watchOS
127 | }
128 | }
/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/MGUtils/UIKit/UIView(extension).swift:276:9: error: 'UIView' is unavailable in watchOS
274 | completion: (() -> Void)? = nil) {
275 | //播放动画
276 | UIView.animate(withDuration: interval, animations: { () -> Void in
| `- error: 'UIView' is unavailable in watchOS
277 | switch direction {
278 | case .horizontal:
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/MGUtils/UIKit/UITableView(extension).swift (in target 'MGUtils' from project 'MGUtils')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile UITableView\(extension\).swift
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/MGUtils/UIKit/UIView(extension).swift (in target 'MGUtils' from project 'MGUtils')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile UIView\(extension\).swift
SwiftCompile normal arm64_32 Compiling\ IB_UIKit.swift,\ UIButton+ImageTitleSpacing.swift /Users/admin/builder/spi-builder-workspace/Sources/MGUtils/UIKit/IB_UIKit.swift /Users/admin/builder/spi-builder-workspace/Sources/MGUtils/UIKit/UIButton+ImageTitleSpacing.swift (in target 'MGUtils' from project 'MGUtils')
/Users/admin/builder/spi-builder-workspace/Sources/MGUtils/UIKit/IB_UIKit.swift:11:11: error: 'UILabel' is unavailable in watchOS
9 | import Foundation
10 | import UIKit
11 | extension UILabel{
| `- error: 'UILabel' is unavailable in watchOS
12 |
13 | @IBInspectable public var tr:String {
/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/MGUtils/UIKit/IB_UIKit.swift:34:11: error: 'UIButton' is unavailable in watchOS
32 | }
33 |
34 | extension UIButton{
| `- error: 'UIButton' is unavailable in watchOS
35 |
36 | @IBInspectable public var tr:String {
/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/MGUtils/UIKit/IB_UIKit.swift:58:11: error: 'UITextField' is unavailable in watchOS
56 |
57 |
58 | extension UITextField{
| `- error: 'UITextField' is unavailable in watchOS
59 | @IBInspectable public var ipadFontSize:CGFloat{
60 | get{
/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/MGUtils/UIKit/IB_UIKit.swift:70:11: error: 'UITextView' is unavailable in watchOS
68 |
69 |
70 | extension UITextView{
| `- error: 'UITextView' is unavailable in watchOS
71 | @IBInspectable public var ipadFontSize:CGFloat{
72 | get{
/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/MGUtils/UIKit/IB_UIKit.swift:81:11: error: 'NSLayoutConstraint' is unavailable in watchOS
79 | }
80 |
81 | extension NSLayoutConstraint{
| `- error: 'NSLayoutConstraint' is unavailable in watchOS
82 | @IBInspectable public var ipadConstraint:CGFloat{
83 | get{
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutConstraint.h:126:12: note: 'NSLayoutConstraint' has been explicitly marked unavailable here
124 |
125 | NSLAYOUTCONSTRAINT_EXTERN API_AVAILABLE(macos(10.7), ios(6.0), tvos(9.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
126 | @interface NSLayoutConstraint : NSObject
| `- note: 'NSLayoutConstraint' has been explicitly marked unavailable here
127 |
128 | /* Create an array of constraints using an ASCII-art-like visual format string. The values of the `metrics` dictionary should be NSNumber (or some other type that responds to -doubleValue and returns a double).
/Users/admin/builder/spi-builder-workspace/Sources/MGUtils/UIKit/IB_UIKit.swift:41:74: error: 'UIControl' is unavailable in watchOS
39 | }
40 | set{
41 | self.setTitle(NSLocalizedString(newValue, comment: ""), for: UIControl.State.normal)
| `- error: 'UIControl' is unavailable in watchOS
42 | }
43 | }
/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/MGUtils/UIKit/UIButton+ImageTitleSpacing.swift:18:11: error: 'UIButton' is unavailable in watchOS
16 | }
17 |
18 | extension UIButton{
| `- error: 'UIButton' is unavailable in watchOS
19 |
20 | /// 按钮文字与图片排版
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/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/MGUtils/UIKit/UIButton+ImageTitleSpacing.swift:50:14: error: 'titleEdgeInsets' is unavailable in watchOS
48 | }
49 |
50 | self.titleEdgeInsets = labelEdgeInsets;
| `- error: 'titleEdgeInsets' is unavailable in watchOS
51 | self.imageEdgeInsets = imageEdgeInsets;
52 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIButton.h:163:35: note: 'titleEdgeInsets' has been explicitly marked unavailable here
161 | // The effect of these properties can be replicated via UIButtonConfiguration.contentInset and UIButtonConfiguration.imageToTitlePadding. They are ignored when a configuration is set.
162 | @property(nonatomic) UIEdgeInsets contentEdgeInsets API_DEPRECATED("This property is ignored when using UIButtonConfiguration", ios(2.0,15.0), tvos(2.0,15.0), visionos(1.0, 1.0)) UI_APPEARANCE_SELECTOR API_UNAVAILABLE(watchos); // default is UIEdgeInsetsZero. On tvOS 10 or later, default is nonzero except for custom buttons.
163 | @property(nonatomic) UIEdgeInsets titleEdgeInsets API_DEPRECATED("This property is ignored when using UIButtonConfiguration", ios(2.0, 15.0), tvos(2.0, 15.0), visionos(1.0, 1.0)) API_UNAVAILABLE(watchos); // default is UIEdgeInsetsZero
| `- note: 'titleEdgeInsets' has been explicitly marked unavailable here
164 | @property(nonatomic) UIEdgeInsets imageEdgeInsets API_DEPRECATED("This property is ignored when using UIButtonConfiguration", ios(2.0, 15.0), tvos(2.0, 15.0), visionos(1.0, 1.0)) API_UNAVAILABLE(watchos); // default is UIEdgeInsetsZero
165 |
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/MGUtils/UIKit/IB_UIKit.swift (in target 'MGUtils' from project 'MGUtils')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile IB_UIKit.swift
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/MGUtils/UIKit/UIButton+ImageTitleSpacing.swift (in target 'MGUtils' from project 'MGUtils')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile UIButton+ImageTitleSpacing.swift
SwiftCompile normal arm64_32 Compiling\ GeneratedAssetSymbols.swift /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/MGUtils.build/Debug-watchos/MGUtils-t.build/DerivedSources/GeneratedAssetSymbols.swift (in target 'MGUtils' from project 'MGUtils')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/MGUtils.build/Debug-watchos/MGUtils-t.build/DerivedSources/GeneratedAssetSymbols.swift (in target 'MGUtils' from project 'MGUtils')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile GeneratedAssetSymbols.swift
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/SwiftUI-APXDH8ULYLM6FD17YRA73TULO.pcm
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules
2026-09-22 14:19:19.588 xcodebuild[814:4766] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
** BUILD FAILED **
The following build commands failed:
SwiftCompile normal arm64_32 (in target 'MGUtils' from project 'MGUtils')
SwiftEmitModule normal arm64_32 Emitting\ module\ for\ MGUtils (in target 'MGUtils' from project 'MGUtils')
Building workspace MGUtils with scheme MGUtils
(3 failures)
BUILD FAILURE 6.4 watchOS