Build Information
Failed to build ESTabBarController, reference 2.9.0 (93a30b), with Swift 6.4 for watchOS using Xcode 27.0 on 17 Sep 2026 10:56:12 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 ESTabBarController -destination generic/platform=watchOSBuild Log
29 |
30 | @property(nullable, nonatomic, weak) id<UITabBarDelegate> delegate; // weak reference. default is nil
/Users/admin/builder/spi-builder-workspace/Sources/ESTabBar.swift:76:53: error: 'UITabBarItem' is unavailable in watchOS
74 | /// - item: 当前item
75 | /// - Returns: Void
76 | func tabBar(_ tabBar: UITabBar, didHijack item: UITabBarItem)
| `- error: 'UITabBarItem' is unavailable in watchOS
77 | }
78 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITabBarItem.h:35:12: note: 'UITabBarItem' has been explicitly marked unavailable here
33 |
34 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
35 | @interface UITabBarItem : UIBarItem
| `- note: 'UITabBarItem' has been explicitly marked unavailable here
36 |
37 | - (instancetype)init NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/ESTabBar.swift:109:41: error: 'UITabBarController' is unavailable in watchOS
107 | internal var containers = [ESTabBarItemContainer]()
108 | /// 缓存当前tabBarController用来判断是否存在"More"Tab
109 | internal weak var tabBarController: UITabBarController?
| `- error: 'UITabBarController' is unavailable in watchOS
110 | /// 自定义'More'按钮样式,继承自ESTabBarItemContentView
111 | open var moreContentView: ESTabBarItemContentView? = ESTabBarItemMoreContentView.init() {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITabBarController.h:64:12: note: 'UITabBarController' has been explicitly marked unavailable here
62 |
63 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
64 | @interface UITabBarController : UIViewController <UITabBarDelegate, NSCoding>
| `- note: 'UITabBarController' has been explicitly marked unavailable here
65 |
66 | /// The object managing the delegate of the tab bar controller.
/Users/admin/builder/spi-builder-workspace/Sources/ESTabBar.swift:111:86: error: 'init()' is unavailable in watchOS
109 | internal weak var tabBarController: UITabBarController?
110 | /// 自定义'More'按钮样式,继承自ESTabBarItemContentView
111 | open var moreContentView: ESTabBarItemContentView? = ESTabBarItemMoreContentView.init() {
| `- error: 'init()' is unavailable in watchOS
112 | didSet { self.reload() }
113 | }
/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/ESTabBar.swift:115:31: error: 'UITabBarItem' is unavailable in watchOS
113 | }
114 |
115 | open override var items: [UITabBarItem]? {
| `- error: 'UITabBarItem' is unavailable in watchOS
116 | didSet {
117 | self.reload()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITabBarItem.h:35:12: note: 'UITabBarItem' has been explicitly marked unavailable here
33 |
34 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
35 | @interface UITabBarItem : UIBarItem
| `- note: 'UITabBarItem' has been explicitly marked unavailable here
36 |
37 | - (instancetype)init NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/ESTabBar.swift:129:43: error: 'UITabBarItem' is unavailable in watchOS
127 | }
128 |
129 | open override func setItems(_ items: [UITabBarItem]?, animated: Bool) {
| `- error: 'UITabBarItem' is unavailable in watchOS
130 | super.setItems(items, animated: animated)
131 | self.reload()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITabBarItem.h:35:12: note: 'UITabBarItem' has been explicitly marked unavailable here
33 |
34 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
35 | @interface UITabBarItem : UIBarItem
| `- note: 'UITabBarItem' has been explicitly marked unavailable here
36 |
37 | - (instancetype)init NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/ESTabBar.swift:134:56: error: 'UITabBarItem' is unavailable in watchOS
132 | }
133 |
134 | open override func beginCustomizingItems(_ items: [UITabBarItem]) {
| `- error: 'UITabBarItem' is unavailable in watchOS
135 | ESTabBarController.printError("beginCustomizingItems(_:) is unsupported in ESTabBar.")
136 | super.beginCustomizingItems(items)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITabBarItem.h:35:12: note: 'UITabBarItem' has been explicitly marked unavailable here
33 |
34 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
35 | @interface UITabBarItem : UIBarItem
| `- note: 'UITabBarItem' has been explicitly marked unavailable here
36 |
37 | - (instancetype)init NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/ESTabBar.swift:149:65: error: 'UIEvent' is unavailable in watchOS
147 | }
148 |
149 | open override func point(inside point: CGPoint, with event: UIEvent?) -> Bool {
| `- error: 'UIEvent' is unavailable in watchOS
150 | var b = super.point(inside: point, with: event)
151 | if !b {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIEvent.h:62:12: note: 'UIEvent' has been explicitly marked unavailable here
60 |
61 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
62 | @interface UIEvent : NSObject
| `- note: 'UIEvent' has been explicitly marked unavailable here
63 |
64 | @property(nonatomic,readonly) UIEventType type API_AVAILABLE(ios(3.0));
/Users/admin/builder/spi-builder-workspace/Sources/ESTabBar.swift:82:22: error: 'UITabBar' is unavailable in watchOS
80 |
81 | /// ESTabBar是高度自定义的UITabBar子类,通过添加UIControl的方式实现自定义tabBarItem的效果。目前支持tabBar的大部分属性的设置,例如delegate,items,selectedImge,itemPositioning,itemWidth,itemSpacing等,以后会更加细致的优化tabBar原有属性的设置效果。
82 | open class ESTabBar: UITabBar {
| `- error: 'UITabBar' is unavailable in watchOS
83 |
84 | internal weak var customDelegate: ESTabBarDelegate?
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITabBar.h:28:12: note: 'UITabBar' has been explicitly marked unavailable here
26 |
27 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
28 | @interface UITabBar : UIView
| `- note: 'UITabBar' has been explicitly marked unavailable here
29 |
30 | @property(nullable, nonatomic, weak) id<UITabBarDelegate> delegate; // weak reference. default is nil
/Users/admin/builder/spi-builder-workspace/Sources/ESTabBarController.swift:29:80: error: 'UITabBarController' is unavailable in watchOS
27 |
28 | /// 是否需要自定义点击事件回调类型
29 | public typealias ESTabBarControllerShouldHijackHandler = ((_ tabBarController: UITabBarController, _ viewController: UIViewController, _ index: Int) -> (Bool))
| `- error: 'UITabBarController' is unavailable in watchOS
30 | /// 自定义点击事件回调类型
31 | public typealias ESTabBarControllerDidHijackHandler = ((_ tabBarController: UITabBarController, _ viewController: UIViewController, _ index: Int) -> (Void))
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITabBarController.h:64:12: note: 'UITabBarController' has been explicitly marked unavailable here
62 |
63 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
64 | @interface UITabBarController : UIViewController <UITabBarDelegate, NSCoding>
| `- note: 'UITabBarController' has been explicitly marked unavailable here
65 |
66 | /// The object managing the delegate of the tab bar controller.
/Users/admin/builder/spi-builder-workspace/Sources/ESTabBarController.swift:29:118: error: 'UIViewController' is unavailable in watchOS
27 |
28 | /// 是否需要自定义点击事件回调类型
29 | public typealias ESTabBarControllerShouldHijackHandler = ((_ tabBarController: UITabBarController, _ viewController: UIViewController, _ index: Int) -> (Bool))
| `- error: 'UIViewController' is unavailable in watchOS
30 | /// 自定义点击事件回调类型
31 | public typealias ESTabBarControllerDidHijackHandler = ((_ tabBarController: UITabBarController, _ viewController: UIViewController, _ index: Int) -> (Void))
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/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/ESTabBarController.swift:31:77: error: 'UITabBarController' is unavailable in watchOS
29 | public typealias ESTabBarControllerShouldHijackHandler = ((_ tabBarController: UITabBarController, _ viewController: UIViewController, _ index: Int) -> (Bool))
30 | /// 自定义点击事件回调类型
31 | public typealias ESTabBarControllerDidHijackHandler = ((_ tabBarController: UITabBarController, _ viewController: UIViewController, _ index: Int) -> (Void))
| `- error: 'UITabBarController' is unavailable in watchOS
32 |
33 | open class ESTabBarController: UITabBarController, ESTabBarDelegate {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITabBarController.h:64:12: note: 'UITabBarController' has been explicitly marked unavailable here
62 |
63 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
64 | @interface UITabBarController : UIViewController <UITabBarDelegate, NSCoding>
| `- note: 'UITabBarController' has been explicitly marked unavailable here
65 |
66 | /// The object managing the delegate of the tab bar controller.
/Users/admin/builder/spi-builder-workspace/Sources/ESTabBarController.swift:31:115: error: 'UIViewController' is unavailable in watchOS
29 | public typealias ESTabBarControllerShouldHijackHandler = ((_ tabBarController: UITabBarController, _ viewController: UIViewController, _ index: Int) -> (Bool))
30 | /// 自定义点击事件回调类型
31 | public typealias ESTabBarControllerDidHijackHandler = ((_ tabBarController: UITabBarController, _ viewController: UIViewController, _ index: Int) -> (Void))
| `- error: 'UIViewController' is unavailable in watchOS
32 |
33 | open class ESTabBarController: UITabBarController, ESTabBarDelegate {
/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/ESTabBarController.swift:43:58: error: 'UITabBarController' is unavailable in watchOS
41 |
42 | /// 当前tabBarController是否存在"More"tab
43 | public static func isShowingMore(_ tabBarController: UITabBarController?) -> Bool {
| `- error: 'UITabBarController' is unavailable in watchOS
44 | return tabBarController?.moreNavigationController.parent != nil
45 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITabBarController.h:64:12: note: 'UITabBarController' has been explicitly marked unavailable here
62 |
63 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
64 | @interface UITabBarController : UIViewController <UITabBarDelegate, NSCoding>
| `- note: 'UITabBarController' has been explicitly marked unavailable here
65 |
66 | /// The object managing the delegate of the tab bar controller.
/Users/admin/builder/spi-builder-workspace/Sources/ESTabBarController.swift:56:47: error: 'UIViewController' is unavailable in watchOS
54 |
55 | /// Observer tabBarController's selectedViewController. change its selection when it will-set.
56 | open override var selectedViewController: UIViewController? {
| `- error: 'UIViewController' is unavailable in watchOS
57 | willSet {
58 | guard let newValue = newValue 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/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/ESTabBarController.swift:103:41: error: 'UITabBar' is unavailable in watchOS
101 |
102 | // MARK: - UITabBar delegate
103 | open override func tabBar(_ tabBar: UITabBar, didSelect item: UITabBarItem) {
| `- error: 'UITabBar' is unavailable in watchOS
104 | guard let idx = tabBar.items?.firstIndex(of: item) else {
105 | return;
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITabBar.h:28:12: note: 'UITabBar' has been explicitly marked unavailable here
26 |
27 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
28 | @interface UITabBar : UIView
| `- note: 'UITabBar' has been explicitly marked unavailable here
29 |
30 | @property(nullable, nonatomic, weak) id<UITabBarDelegate> delegate; // weak reference. default is nil
/Users/admin/builder/spi-builder-workspace/Sources/ESTabBarController.swift:103:67: error: 'UITabBarItem' is unavailable in watchOS
101 |
102 | // MARK: - UITabBar delegate
103 | open override func tabBar(_ tabBar: UITabBar, didSelect item: UITabBarItem) {
| `- error: 'UITabBarItem' is unavailable in watchOS
104 | guard let idx = tabBar.items?.firstIndex(of: item) else {
105 | return;
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITabBarItem.h:35:12: note: 'UITabBarItem' has been explicitly marked unavailable here
33 |
34 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
35 | @interface UITabBarItem : UIBarItem
| `- note: 'UITabBarItem' has been explicitly marked unavailable here
36 |
37 | - (instancetype)init NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/ESTabBarController.swift:119:41: error: 'UITabBar' is unavailable in watchOS
117 | }
118 |
119 | open override func tabBar(_ tabBar: UITabBar, willBeginCustomizing items: [UITabBarItem]) {
| `- error: 'UITabBar' is unavailable in watchOS
120 | if let tabBar = tabBar as? ESTabBar {
121 | tabBar.updateLayout()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITabBar.h:28:12: note: 'UITabBar' has been explicitly marked unavailable here
26 |
27 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
28 | @interface UITabBar : UIView
| `- note: 'UITabBar' has been explicitly marked unavailable here
29 |
30 | @property(nullable, nonatomic, weak) id<UITabBarDelegate> delegate; // weak reference. default is nil
/Users/admin/builder/spi-builder-workspace/Sources/ESTabBarController.swift:119:80: error: 'UITabBarItem' is unavailable in watchOS
117 | }
118 |
119 | open override func tabBar(_ tabBar: UITabBar, willBeginCustomizing items: [UITabBarItem]) {
| `- error: 'UITabBarItem' is unavailable in watchOS
120 | if let tabBar = tabBar as? ESTabBar {
121 | tabBar.updateLayout()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITabBarItem.h:35:12: note: 'UITabBarItem' has been explicitly marked unavailable here
33 |
34 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
35 | @interface UITabBarItem : UIBarItem
| `- note: 'UITabBarItem' has been explicitly marked unavailable here
36 |
37 | - (instancetype)init NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/ESTabBarController.swift:125:41: error: 'UITabBar' is unavailable in watchOS
123 | }
124 |
125 | open override func tabBar(_ tabBar: UITabBar, didEndCustomizing items: [UITabBarItem], changed: Bool) {
| `- error: 'UITabBar' is unavailable in watchOS
126 | if let tabBar = tabBar as? ESTabBar {
127 | tabBar.updateLayout()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITabBar.h:28:12: note: 'UITabBar' has been explicitly marked unavailable here
26 |
27 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
28 | @interface UITabBar : UIView
| `- note: 'UITabBar' has been explicitly marked unavailable here
29 |
30 | @property(nullable, nonatomic, weak) id<UITabBarDelegate> delegate; // weak reference. default is nil
/Users/admin/builder/spi-builder-workspace/Sources/ESTabBarController.swift:125:77: error: 'UITabBarItem' is unavailable in watchOS
123 | }
124 |
125 | open override func tabBar(_ tabBar: UITabBar, didEndCustomizing items: [UITabBarItem], changed: Bool) {
| `- error: 'UITabBarItem' is unavailable in watchOS
126 | if let tabBar = tabBar as? ESTabBar {
127 | tabBar.updateLayout()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITabBarItem.h:35:12: note: 'UITabBarItem' has been explicitly marked unavailable here
33 |
34 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
35 | @interface UITabBarItem : UIBarItem
| `- note: 'UITabBarItem' has been explicitly marked unavailable here
36 |
37 | - (instancetype)init NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/ESTabBarController.swift:132:36: error: 'UITabBar' is unavailable in watchOS
130 |
131 | // MARK: - ESTabBar delegate
132 | internal func tabBar(_ tabBar: UITabBar, shouldSelect item: UITabBarItem) -> Bool {
| `- error: 'UITabBar' is unavailable in watchOS
133 | if let idx = tabBar.items?.firstIndex(of: item), let vc = viewControllers?[idx] {
134 | return delegate?.tabBarController?(self, shouldSelect: vc) ?? 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/UITabBar.h:28:12: note: 'UITabBar' has been explicitly marked unavailable here
26 |
27 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
28 | @interface UITabBar : UIView
| `- note: 'UITabBar' has been explicitly marked unavailable here
29 |
30 | @property(nullable, nonatomic, weak) id<UITabBarDelegate> delegate; // weak reference. default is nil
/Users/admin/builder/spi-builder-workspace/Sources/ESTabBarController.swift:132:65: error: 'UITabBarItem' is unavailable in watchOS
130 |
131 | // MARK: - ESTabBar delegate
132 | internal func tabBar(_ tabBar: UITabBar, shouldSelect item: UITabBarItem) -> Bool {
| `- error: 'UITabBarItem' is unavailable in watchOS
133 | if let idx = tabBar.items?.firstIndex(of: item), let vc = viewControllers?[idx] {
134 | return delegate?.tabBarController?(self, shouldSelect: vc) ?? 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/UITabBarItem.h:35:12: note: 'UITabBarItem' has been explicitly marked unavailable here
33 |
34 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
35 | @interface UITabBarItem : UIBarItem
| `- note: 'UITabBarItem' has been explicitly marked unavailable here
36 |
37 | - (instancetype)init NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/ESTabBarController.swift:139:36: error: 'UITabBar' is unavailable in watchOS
137 | }
138 |
139 | internal func tabBar(_ tabBar: UITabBar, shouldHijack item: UITabBarItem) -> Bool {
| `- error: 'UITabBar' is unavailable in watchOS
140 | if let idx = tabBar.items?.firstIndex(of: item), let vc = viewControllers?[idx] {
141 | return shouldHijackHandler?(self, vc, idx) ?? false
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITabBar.h:28:12: note: 'UITabBar' has been explicitly marked unavailable here
26 |
27 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
28 | @interface UITabBar : UIView
| `- note: 'UITabBar' has been explicitly marked unavailable here
29 |
30 | @property(nullable, nonatomic, weak) id<UITabBarDelegate> delegate; // weak reference. default is nil
/Users/admin/builder/spi-builder-workspace/Sources/ESTabBarController.swift:139:65: error: 'UITabBarItem' is unavailable in watchOS
137 | }
138 |
139 | internal func tabBar(_ tabBar: UITabBar, shouldHijack item: UITabBarItem) -> Bool {
| `- error: 'UITabBarItem' is unavailable in watchOS
140 | if let idx = tabBar.items?.firstIndex(of: item), let vc = viewControllers?[idx] {
141 | return shouldHijackHandler?(self, vc, idx) ?? false
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITabBarItem.h:35:12: note: 'UITabBarItem' has been explicitly marked unavailable here
33 |
34 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
35 | @interface UITabBarItem : UIBarItem
| `- note: 'UITabBarItem' has been explicitly marked unavailable here
36 |
37 | - (instancetype)init NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/ESTabBarController.swift:146:36: error: 'UITabBar' is unavailable in watchOS
144 | }
145 |
146 | internal func tabBar(_ tabBar: UITabBar, didHijack item: UITabBarItem) {
| `- error: 'UITabBar' is unavailable in watchOS
147 | if let idx = tabBar.items?.firstIndex(of: item), let vc = viewControllers?[idx] {
148 | didHijackHandler?(self, vc, idx)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITabBar.h:28:12: note: 'UITabBar' has been explicitly marked unavailable here
26 |
27 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
28 | @interface UITabBar : UIView
| `- note: 'UITabBar' has been explicitly marked unavailable here
29 |
30 | @property(nullable, nonatomic, weak) id<UITabBarDelegate> delegate; // weak reference. default is nil
/Users/admin/builder/spi-builder-workspace/Sources/ESTabBarController.swift:146:62: error: 'UITabBarItem' is unavailable in watchOS
144 | }
145 |
146 | internal func tabBar(_ tabBar: UITabBar, didHijack item: UITabBarItem) {
| `- error: 'UITabBarItem' is unavailable in watchOS
147 | if let idx = tabBar.items?.firstIndex(of: item), let vc = viewControllers?[idx] {
148 | didHijackHandler?(self, vc, idx)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITabBarItem.h:35:12: note: 'UITabBarItem' has been explicitly marked unavailable here
33 |
34 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
35 | @interface UITabBarItem : UIBarItem
| `- note: 'UITabBarItem' has been explicitly marked unavailable here
36 |
37 | - (instancetype)init NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/ESTabBarController.swift:33:32: error: 'UITabBarController' is unavailable in watchOS
31 | public typealias ESTabBarControllerDidHijackHandler = ((_ tabBarController: UITabBarController, _ viewController: UIViewController, _ index: Int) -> (Void))
32 |
33 | open class ESTabBarController: UITabBarController, ESTabBarDelegate {
| `- error: 'UITabBarController' is unavailable in watchOS
34 |
35 | /// 打印异常
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITabBarController.h:64:12: note: 'UITabBarController' has been explicitly marked unavailable here
62 |
63 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
64 | @interface UITabBarController : UIViewController <UITabBarDelegate, NSCoding>
| `- note: 'UITabBarController' has been explicitly marked unavailable here
65 |
66 | /// The object managing the delegate of the tab bar controller.
/Users/admin/builder/spi-builder-workspace/Sources/ESTabBarItem.swift:98:23: error: cannot override 'badgeColor' which has been marked unavailable
96 | /// The background color to apply to the badge, make it available for iOS8.0 and later. If this item displays a badge, this color will be used for the badge's background. If set to nil, the default background color will be used instead.
97 | @available(iOS 8.0, *)
98 | open override var badgeColor: UIColor? {
| |- error: cannot override 'badgeColor' which has been marked unavailable
| `- note: remove 'override' modifier to declare a new 'badgeColor'
99 | get { return contentView.badgeColor }
100 | set(newValue) { contentView.badgeColor = newValue }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITabBarItem.h:64:59: note: 'badgeColor' has been explicitly marked unavailable here
62 |
63 | /// If this item displays a badge, this color will be used for the badge's background. If set to nil, the default background color will be used instead.
64 | @property (nonatomic, readwrite, copy, nullable) UIColor *badgeColor API_AVAILABLE(ios(10.0)) UI_APPEARANCE_SELECTOR API_UNAVAILABLE(watchos);
| `- note: 'badgeColor' has been explicitly marked unavailable here
65 |
66 | /// Provide text attributes to use to draw the badge text for the given singular control state (Normal, Disabled, Focused, Selected, or Highlighted). Default values will be supplied for keys that are not provided by this dictionary. See NSAttributedString.h for details on what keys are available.
/Users/admin/builder/spi-builder-workspace/Sources/ESTabBarItem.swift:106:53: error: 'init()' is unavailable in watchOS
104 |
105 | /// Customize content view, default is `ESTabBarItemContentView`
106 | open var contentView: ESTabBarItemContentView = ESTabBarItemContentView()
| `- error: 'init()' is unavailable in watchOS
107 | {
108 | didSet {
/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/ESTabBarItem.swift:115:58: error: 'init()' is unavailable in watchOS
113 |
114 | /// The unselected image is autogenerated from the image argument. The selected image is autogenerated from the selectedImage if provided and the image argument otherwise. To prevent system coloring, provide images with UIImageRenderingModeAlwaysOriginal (see UIImage.h)
115 | public init(_ contentView: ESTabBarItemContentView = ESTabBarItemContentView(), title: String? = nil, image: UIImage? = nil, selectedImage: UIImage? = nil, tag: Int = 0) {
| `- error: 'init()' is unavailable in watchOS
116 | super.init()
117 | self.contentView = contentView
/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/ESTabBarItem.swift:43:26: error: 'UITabBarItem' is unavailable in watchOS
41 | ///
42 | @available(iOS 8.0, *)
43 | open class ESTabBarItem: UITabBarItem {
| `- error: 'UITabBarItem' is unavailable in watchOS
44 |
45 | // MARK: UIView 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/UITabBarItem.h:35:12: note: 'UITabBarItem' has been explicitly marked unavailable here
33 |
34 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
35 | @interface UITabBarItem : UIBarItem
| `- note: 'UITabBarItem' has been explicitly marked unavailable here
36 |
37 | - (instancetype)init NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/ESTabBarItemBadgeView.swift:53:25: error: 'UIImageView' is unavailable in watchOS
51 |
52 | /// Image view
53 | open var imageView: UIImageView = {
| `- error: 'UIImageView' is unavailable in watchOS
54 | let imageView = UIImageView.init(frame: CGRect.zero)
55 | imageView.backgroundColor = .clear
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/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;
/Users/admin/builder/spi-builder-workspace/Sources/ESTabBarItemBadgeView.swift:54:25: error: 'UIImageView' is unavailable in watchOS
52 | /// Image view
53 | open var imageView: UIImageView = {
54 | let imageView = UIImageView.init(frame: CGRect.zero)
| `- error: 'UIImageView' is unavailable in watchOS
55 | imageView.backgroundColor = .clear
56 | return imageView
/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 (in target 'ESTabBarController' from project 'ESTabBarController')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64_32 Compiling\ ESTabBarItemBadgeView.swift /Users/admin/builder/spi-builder-workspace/Sources/ESTabBarItemBadgeView.swift (in target 'ESTabBarController' from project 'ESTabBarController')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/ESTabBarItemBadgeView.swift (in target 'ESTabBarController' from project 'ESTabBarController')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile ESTabBarItemBadgeView.swift
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-17 06:56:02.545 xcodebuild[690:4289] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
** BUILD FAILED **
The following build commands failed:
SwiftCompile normal arm64 (in target 'ESTabBarController' from project 'ESTabBarController')
SwiftEmitModule normal arm64 Emitting\ module\ for\ ESTabBarController (in target 'ESTabBarController' from project 'ESTabBarController')
Building workspace ESTabBarController with scheme ESTabBarController
(3 failures)
Command line invocation:
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -resolvePackageDependencies
Resolve Package Graph
Resolved source packages:
ESTabBarController: /Users/admin/builder/spi-builder-workspace
resolved source packages: ESTabBarController
2026-09-17 06:56:08.643 xcodebuild[861:5000] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
{
"dependencies" : [
],
"manifest_display_name" : "ESTabBarController",
"name" : "ESTabBarController",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "8.0"
}
],
"products" : [
{
"name" : "ESTabBarController",
"targets" : [
"ESTabBarController"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"swift_languages_versions" : [
"5"
],
"targets" : [
{
"c99name" : "ESTabBarController",
"module_type" : "SwiftTarget",
"name" : "ESTabBarController",
"path" : "Sources",
"product_memberships" : [
"ESTabBarController"
],
"sources" : [
"ESTabBar.swift",
"ESTabBarController.swift",
"ESTabBarItem.swift",
"ESTabBarItemBadgeView.swift",
"ESTabBarItemContainer.swift",
"ESTabBarItemContentView.swift",
"ESTabBarItemMoreContentView.swift"
],
"type" : "library"
}
],
"tools_version" : "5.1"
}
{
"workspace" : {
"name" : "ESTabBarController",
"schemes" : [
"ESTabBarController"
]
}
}
2026-09-17 06:56:09.845 xcodebuild[869:5068] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme ESTabBarController -destination generic/platform=watchOS
Command line invocation:
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath /Users/admin/builder/spi-builder-workspace/.derivedData build -scheme ESTabBarController -destination generic/platform=watchOS
Resolve Package Graph
Resolved source packages:
ESTabBarController: /Users/admin/builder/spi-builder-workspace
ComputePackagePrebuildTargetDependencyGraph
Prepare packages
CreateBuildRequest
SendProjectDescription
CreateBuildOperation
ComputeTargetDependencyGraph
note: Building targets in dependency order
note: Target dependency graph (2 targets)
Target 'ESTabBarController-product' in project 'ESTabBarController'
➜ Explicit dependency on target 'ESTabBarController' in project 'ESTabBarController'
Target 'ESTabBarController' in project 'ESTabBarController' (no dependencies)
GatherProvisioningInputs
CreateBuildDescription
ClangStatCache /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang-stat-cache /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos27.0-24R360-e829b21a6f8c9b70876ba0858053c04477534ef55a1706bf4c1112bbb242f0a2.sdkstatcache
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang-stat-cache /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk -o /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos27.0-24R360-e829b21a6f8c9b70876ba0858053c04477534ef55a1706bf4c1112bbb242f0a2.sdkstatcache
SwiftDriver ESTabBarController normal arm64_32 com.apple.xcode.tools.swift.compiler (in target 'ESTabBarController' from project 'ESTabBarController')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftDriver -- /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -parse-as-library -module-name ESTabBarController -Onone @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ESTabBarController.build/Debug-watchos/ESTabBarController-t.build/Objects-normal/arm64_32/ESTabBarController.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -DSWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -DXcode -plugin-path /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -enable-experimental-feature DebugDescriptionMacro -sdk /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk -target arm64_32-apple-watchos9.0 -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -Xfrontend -serialize-debugging-options -enable-testing -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -swift-version 5 -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/Developer/Library/Frameworks -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos27.0-24R360-e829b21a6f8c9b70876ba0858053c04477534ef55a1706bf4c1112bbb242f0a2.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ESTabBarController.build/Debug-watchos/ESTabBarController-t.build/Objects-normal/arm64_32/ESTabBarController-OutputFileMap.json -save-temps -no-color-diagnostics -explicit-module-build -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules -clang-scanner-module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -sdk-module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules -emit-dependencies -emit-module -emit-module-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ESTabBarController.build/Debug-watchos/ESTabBarController-t.build/Objects-normal/arm64_32/ESTabBarController.swiftmodule -serialize-diagnostics -dependency-scan-serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ESTabBarController.build/Debug-watchos/ESTabBarController-t.build/Objects-normal/arm64_32/ESTabBarController-dependency-scan.dia -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -emit-const-values -const-gather-protocols-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ESTabBarController.build/Debug-watchos/ESTabBarController-t.build/Objects-normal/arm64_32/ESTabBarController_const_extract_protocols.json -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ESTabBarController.build/Debug-watchos/ESTabBarController-t.build/DerivedSources-normal/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ESTabBarController.build/Debug-watchos/ESTabBarController-t.build/DerivedSources/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ESTabBarController.build/Debug-watchos/ESTabBarController-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -emit-objc-header -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ESTabBarController.build/Debug-watchos/ESTabBarController-t.build/Objects-normal/arm64_32/ESTabBarController-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
SwiftDriver ESTabBarController normal arm64 com.apple.xcode.tools.swift.compiler (in target 'ESTabBarController' from project 'ESTabBarController')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftDriver -- /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -parse-as-library -module-name ESTabBarController -Onone @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ESTabBarController.build/Debug-watchos/ESTabBarController-t.build/Objects-normal/arm64/ESTabBarController.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -DSWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -DXcode -plugin-path /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -enable-experimental-feature DebugDescriptionMacro -sdk /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk -target arm64-apple-watchos9.0 -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -Xfrontend -serialize-debugging-options -enable-testing -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -swift-version 5 -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/Developer/Library/Frameworks -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos27.0-24R360-e829b21a6f8c9b70876ba0858053c04477534ef55a1706bf4c1112bbb242f0a2.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ESTabBarController.build/Debug-watchos/ESTabBarController-t.build/Objects-normal/arm64/ESTabBarController-OutputFileMap.json -save-temps -no-color-diagnostics -explicit-module-build -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules -clang-scanner-module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -sdk-module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules -emit-dependencies -emit-module -emit-module-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ESTabBarController.build/Debug-watchos/ESTabBarController-t.build/Objects-normal/arm64/ESTabBarController.swiftmodule -serialize-diagnostics -dependency-scan-serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ESTabBarController.build/Debug-watchos/ESTabBarController-t.build/Objects-normal/arm64/ESTabBarController-dependency-scan.dia -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -emit-const-values -const-gather-protocols-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ESTabBarController.build/Debug-watchos/ESTabBarController-t.build/Objects-normal/arm64/ESTabBarController_const_extract_protocols.json -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ESTabBarController.build/Debug-watchos/ESTabBarController-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ESTabBarController.build/Debug-watchos/ESTabBarController-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ESTabBarController.build/Debug-watchos/ESTabBarController-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -emit-objc-header -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ESTabBarController.build/Debug-watchos/ESTabBarController-t.build/Objects-normal/arm64/ESTabBarController-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
SwiftCompile normal arm64_32 Compiling\ ESTabBarItemBadgeView.swift /Users/admin/builder/spi-builder-workspace/Sources/ESTabBarItemBadgeView.swift (in target 'ESTabBarController' from project 'ESTabBarController')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/ESTabBarItemBadgeView.swift (in target 'ESTabBarController' from project 'ESTabBarController')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile ESTabBarItemBadgeView.swift
/Users/admin/builder/spi-builder-workspace/Sources/ESTabBarItemBadgeView.swift:53:25: error: 'UIImageView' is unavailable in watchOS
51 |
52 | /// Image view
53 | open var imageView: UIImageView = {
| `- error: 'UIImageView' is unavailable in watchOS
54 | let imageView = UIImageView.init(frame: CGRect.zero)
55 | imageView.backgroundColor = .clear
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/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;
/Users/admin/builder/spi-builder-workspace/Sources/ESTabBarItemBadgeView.swift:54:25: error: 'UIImageView' is unavailable in watchOS
52 | /// Image view
53 | open var imageView: UIImageView = {
54 | let imageView = UIImageView.init(frame: CGRect.zero)
| `- error: 'UIImageView' is unavailable in watchOS
55 | imageView.backgroundColor = .clear
56 | return imageView
/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;
/Users/admin/builder/spi-builder-workspace/Sources/ESTabBarItemBadgeView.swift:60:26: error: 'UILabel' is unavailable in watchOS
58 |
59 | /// 显示badgeValue的Label
60 | open var badgeLabel: UILabel = {
| `- error: 'UILabel' is unavailable in watchOS
61 | let badgeLabel = UILabel.init(frame: CGRect.zero)
62 | badgeLabel.backgroundColor = .clear
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/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/ESTabBarItemBadgeView.swift:61:26: error: 'UILabel' is unavailable in watchOS
59 | /// 显示badgeValue的Label
60 | open var badgeLabel: UILabel = {
61 | let badgeLabel = UILabel.init(frame: CGRect.zero)
| `- error: 'UILabel' is unavailable in watchOS
62 | badgeLabel.backgroundColor = .clear
63 | badgeLabel.textColor = .white
/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
SwiftCompile normal arm64_32 Compiling\ ESTabBarController.swift /Users/admin/builder/spi-builder-workspace/Sources/ESTabBarController.swift (in target 'ESTabBarController' from project 'ESTabBarController')
/Users/admin/builder/spi-builder-workspace/Sources/ESTabBarController.swift:29:80: error: 'UITabBarController' is unavailable in watchOS
27 |
28 | /// 是否需要自定义点击事件回调类型
29 | public typealias ESTabBarControllerShouldHijackHandler = ((_ tabBarController: UITabBarController, _ viewController: UIViewController, _ index: Int) -> (Bool))
| `- error: 'UITabBarController' is unavailable in watchOS
30 | /// 自定义点击事件回调类型
31 | public typealias ESTabBarControllerDidHijackHandler = ((_ tabBarController: UITabBarController, _ viewController: UIViewController, _ index: Int) -> (Void))
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITabBarController.h:64:12: note: 'UITabBarController' has been explicitly marked unavailable here
62 |
63 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
64 | @interface UITabBarController : UIViewController <UITabBarDelegate, NSCoding>
| `- note: 'UITabBarController' has been explicitly marked unavailable here
65 |
66 | /// The object managing the delegate of the tab bar controller.
/Users/admin/builder/spi-builder-workspace/Sources/ESTabBarController.swift:29:118: error: 'UIViewController' is unavailable in watchOS
27 |
28 | /// 是否需要自定义点击事件回调类型
29 | public typealias ESTabBarControllerShouldHijackHandler = ((_ tabBarController: UITabBarController, _ viewController: UIViewController, _ index: Int) -> (Bool))
| `- error: 'UIViewController' is unavailable in watchOS
30 | /// 自定义点击事件回调类型
31 | public typealias ESTabBarControllerDidHijackHandler = ((_ tabBarController: UITabBarController, _ viewController: UIViewController, _ index: Int) -> (Void))
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/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/ESTabBarController.swift:31:77: error: 'UITabBarController' is unavailable in watchOS
29 | public typealias ESTabBarControllerShouldHijackHandler = ((_ tabBarController: UITabBarController, _ viewController: UIViewController, _ index: Int) -> (Bool))
30 | /// 自定义点击事件回调类型
31 | public typealias ESTabBarControllerDidHijackHandler = ((_ tabBarController: UITabBarController, _ viewController: UIViewController, _ index: Int) -> (Void))
| `- error: 'UITabBarController' is unavailable in watchOS
32 |
33 | open class ESTabBarController: UITabBarController, ESTabBarDelegate {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITabBarController.h:64:12: note: 'UITabBarController' has been explicitly marked unavailable here
62 |
63 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
64 | @interface UITabBarController : UIViewController <UITabBarDelegate, NSCoding>
| `- note: 'UITabBarController' has been explicitly marked unavailable here
65 |
66 | /// The object managing the delegate of the tab bar controller.
/Users/admin/builder/spi-builder-workspace/Sources/ESTabBarController.swift:31:115: error: 'UIViewController' is unavailable in watchOS
29 | public typealias ESTabBarControllerShouldHijackHandler = ((_ tabBarController: UITabBarController, _ viewController: UIViewController, _ index: Int) -> (Bool))
30 | /// 自定义点击事件回调类型
31 | public typealias ESTabBarControllerDidHijackHandler = ((_ tabBarController: UITabBarController, _ viewController: UIViewController, _ index: Int) -> (Void))
| `- error: 'UIViewController' is unavailable in watchOS
32 |
33 | open class ESTabBarController: UITabBarController, ESTabBarDelegate {
/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/ESTabBarController.swift:43:58: error: 'UITabBarController' is unavailable in watchOS
41 |
42 | /// 当前tabBarController是否存在"More"tab
43 | public static func isShowingMore(_ tabBarController: UITabBarController?) -> Bool {
| `- error: 'UITabBarController' is unavailable in watchOS
44 | return tabBarController?.moreNavigationController.parent != nil
45 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITabBarController.h:64:12: note: 'UITabBarController' has been explicitly marked unavailable here
62 |
63 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
64 | @interface UITabBarController : UIViewController <UITabBarDelegate, NSCoding>
| `- note: 'UITabBarController' has been explicitly marked unavailable here
65 |
66 | /// The object managing the delegate of the tab bar controller.
/Users/admin/builder/spi-builder-workspace/Sources/ESTabBarController.swift:56:47: error: 'UIViewController' is unavailable in watchOS
54 |
55 | /// Observer tabBarController's selectedViewController. change its selection when it will-set.
56 | open override var selectedViewController: UIViewController? {
| `- error: 'UIViewController' is unavailable in watchOS
57 | willSet {
58 | guard let newValue = newValue 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/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/ESTabBarController.swift:103:41: error: 'UITabBar' is unavailable in watchOS
101 |
102 | // MARK: - UITabBar delegate
103 | open override func tabBar(_ tabBar: UITabBar, didSelect item: UITabBarItem) {
| `- error: 'UITabBar' is unavailable in watchOS
104 | guard let idx = tabBar.items?.firstIndex(of: item) else {
105 | return;
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITabBar.h:28:12: note: 'UITabBar' has been explicitly marked unavailable here
26 |
27 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
28 | @interface UITabBar : UIView
| `- note: 'UITabBar' has been explicitly marked unavailable here
29 |
30 | @property(nullable, nonatomic, weak) id<UITabBarDelegate> delegate; // weak reference. default is nil
/Users/admin/builder/spi-builder-workspace/Sources/ESTabBarController.swift:103:67: error: 'UITabBarItem' is unavailable in watchOS
101 |
102 | // MARK: - UITabBar delegate
103 | open override func tabBar(_ tabBar: UITabBar, didSelect item: UITabBarItem) {
| `- error: 'UITabBarItem' is unavailable in watchOS
104 | guard let idx = tabBar.items?.firstIndex(of: item) else {
105 | return;
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITabBarItem.h:35:12: note: 'UITabBarItem' has been explicitly marked unavailable here
33 |
34 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
35 | @interface UITabBarItem : UIBarItem
| `- note: 'UITabBarItem' has been explicitly marked unavailable here
36 |
37 | - (instancetype)init NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/ESTabBarController.swift:119:41: error: 'UITabBar' is unavailable in watchOS
117 | }
118 |
119 | open override func tabBar(_ tabBar: UITabBar, willBeginCustomizing items: [UITabBarItem]) {
| `- error: 'UITabBar' is unavailable in watchOS
120 | if let tabBar = tabBar as? ESTabBar {
121 | tabBar.updateLayout()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITabBar.h:28:12: note: 'UITabBar' has been explicitly marked unavailable here
26 |
27 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
28 | @interface UITabBar : UIView
| `- note: 'UITabBar' has been explicitly marked unavailable here
29 |
30 | @property(nullable, nonatomic, weak) id<UITabBarDelegate> delegate; // weak reference. default is nil
/Users/admin/builder/spi-builder-workspace/Sources/ESTabBarController.swift:119:80: error: 'UITabBarItem' is unavailable in watchOS
117 | }
118 |
119 | open override func tabBar(_ tabBar: UITabBar, willBeginCustomizing items: [UITabBarItem]) {
| `- error: 'UITabBarItem' is unavailable in watchOS
120 | if let tabBar = tabBar as? ESTabBar {
121 | tabBar.updateLayout()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITabBarItem.h:35:12: note: 'UITabBarItem' has been explicitly marked unavailable here
33 |
34 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
35 | @interface UITabBarItem : UIBarItem
| `- note: 'UITabBarItem' has been explicitly marked unavailable here
36 |
37 | - (instancetype)init NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/ESTabBarController.swift:125:41: error: 'UITabBar' is unavailable in watchOS
123 | }
124 |
125 | open override func tabBar(_ tabBar: UITabBar, didEndCustomizing items: [UITabBarItem], changed: Bool) {
| `- error: 'UITabBar' is unavailable in watchOS
126 | if let tabBar = tabBar as? ESTabBar {
127 | tabBar.updateLayout()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITabBar.h:28:12: note: 'UITabBar' has been explicitly marked unavailable here
26 |
27 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
28 | @interface UITabBar : UIView
| `- note: 'UITabBar' has been explicitly marked unavailable here
29 |
30 | @property(nullable, nonatomic, weak) id<UITabBarDelegate> delegate; // weak reference. default is nil
/Users/admin/builder/spi-builder-workspace/Sources/ESTabBarController.swift:125:77: error: 'UITabBarItem' is unavailable in watchOS
123 | }
124 |
125 | open override func tabBar(_ tabBar: UITabBar, didEndCustomizing items: [UITabBarItem], changed: Bool) {
| `- error: 'UITabBarItem' is unavailable in watchOS
126 | if let tabBar = tabBar as? ESTabBar {
127 | tabBar.updateLayout()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITabBarItem.h:35:12: note: 'UITabBarItem' has been explicitly marked unavailable here
33 |
34 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
35 | @interface UITabBarItem : UIBarItem
| `- note: 'UITabBarItem' has been explicitly marked unavailable here
36 |
37 | - (instancetype)init NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/ESTabBarController.swift:132:36: error: 'UITabBar' is unavailable in watchOS
130 |
131 | // MARK: - ESTabBar delegate
132 | internal func tabBar(_ tabBar: UITabBar, shouldSelect item: UITabBarItem) -> Bool {
| `- error: 'UITabBar' is unavailable in watchOS
133 | if let idx = tabBar.items?.firstIndex(of: item), let vc = viewControllers?[idx] {
134 | return delegate?.tabBarController?(self, shouldSelect: vc) ?? 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/UITabBar.h:28:12: note: 'UITabBar' has been explicitly marked unavailable here
26 |
27 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
28 | @interface UITabBar : UIView
| `- note: 'UITabBar' has been explicitly marked unavailable here
29 |
30 | @property(nullable, nonatomic, weak) id<UITabBarDelegate> delegate; // weak reference. default is nil
/Users/admin/builder/spi-builder-workspace/Sources/ESTabBarController.swift:132:65: error: 'UITabBarItem' is unavailable in watchOS
130 |
131 | // MARK: - ESTabBar delegate
132 | internal func tabBar(_ tabBar: UITabBar, shouldSelect item: UITabBarItem) -> Bool {
| `- error: 'UITabBarItem' is unavailable in watchOS
133 | if let idx = tabBar.items?.firstIndex(of: item), let vc = viewControllers?[idx] {
134 | return delegate?.tabBarController?(self, shouldSelect: vc) ?? 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/UITabBarItem.h:35:12: note: 'UITabBarItem' has been explicitly marked unavailable here
33 |
34 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
35 | @interface UITabBarItem : UIBarItem
| `- note: 'UITabBarItem' has been explicitly marked unavailable here
36 |
37 | - (instancetype)init NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/ESTabBarController.swift:139:36: error: 'UITabBar' is unavailable in watchOS
137 | }
138 |
139 | internal func tabBar(_ tabBar: UITabBar, shouldHijack item: UITabBarItem) -> Bool {
| `- error: 'UITabBar' is unavailable in watchOS
140 | if let idx = tabBar.items?.firstIndex(of: item), let vc = viewControllers?[idx] {
141 | return shouldHijackHandler?(self, vc, idx) ?? false
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITabBar.h:28:12: note: 'UITabBar' has been explicitly marked unavailable here
26 |
27 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
28 | @interface UITabBar : UIView
| `- note: 'UITabBar' has been explicitly marked unavailable here
29 |
30 | @property(nullable, nonatomic, weak) id<UITabBarDelegate> delegate; // weak reference. default is nil
/Users/admin/builder/spi-builder-workspace/Sources/ESTabBarController.swift:139:65: error: 'UITabBarItem' is unavailable in watchOS
137 | }
138 |
139 | internal func tabBar(_ tabBar: UITabBar, shouldHijack item: UITabBarItem) -> Bool {
| `- error: 'UITabBarItem' is unavailable in watchOS
140 | if let idx = tabBar.items?.firstIndex(of: item), let vc = viewControllers?[idx] {
141 | return shouldHijackHandler?(self, vc, idx) ?? false
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITabBarItem.h:35:12: note: 'UITabBarItem' has been explicitly marked unavailable here
33 |
34 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
35 | @interface UITabBarItem : UIBarItem
| `- note: 'UITabBarItem' has been explicitly marked unavailable here
36 |
37 | - (instancetype)init NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/ESTabBarController.swift:146:36: error: 'UITabBar' is unavailable in watchOS
144 | }
145 |
146 | internal func tabBar(_ tabBar: UITabBar, didHijack item: UITabBarItem) {
| `- error: 'UITabBar' is unavailable in watchOS
147 | if let idx = tabBar.items?.firstIndex(of: item), let vc = viewControllers?[idx] {
148 | didHijackHandler?(self, vc, idx)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITabBar.h:28:12: note: 'UITabBar' has been explicitly marked unavailable here
26 |
27 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
28 | @interface UITabBar : UIView
| `- note: 'UITabBar' has been explicitly marked unavailable here
29 |
30 | @property(nullable, nonatomic, weak) id<UITabBarDelegate> delegate; // weak reference. default is nil
/Users/admin/builder/spi-builder-workspace/Sources/ESTabBarController.swift:146:62: error: 'UITabBarItem' is unavailable in watchOS
144 | }
145 |
146 | internal func tabBar(_ tabBar: UITabBar, didHijack item: UITabBarItem) {
| `- error: 'UITabBarItem' is unavailable in watchOS
147 | if let idx = tabBar.items?.firstIndex(of: item), let vc = viewControllers?[idx] {
148 | didHijackHandler?(self, vc, idx)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITabBarItem.h:35:12: note: 'UITabBarItem' has been explicitly marked unavailable here
33 |
34 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
35 | @interface UITabBarItem : UIBarItem
| `- note: 'UITabBarItem' has been explicitly marked unavailable here
36 |
37 | - (instancetype)init NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/ESTabBarController.swift:33:32: error: 'UITabBarController' is unavailable in watchOS
31 | public typealias ESTabBarControllerDidHijackHandler = ((_ tabBarController: UITabBarController, _ viewController: UIViewController, _ index: Int) -> (Void))
32 |
33 | open class ESTabBarController: UITabBarController, ESTabBarDelegate {
| `- error: 'UITabBarController' is unavailable in watchOS
34 |
35 | /// 打印异常
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITabBarController.h:64:12: note: 'UITabBarController' has been explicitly marked unavailable here
62 |
63 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
64 | @interface UITabBarController : UIViewController <UITabBarDelegate, NSCoding>
| `- note: 'UITabBarController' has been explicitly marked unavailable here
65 |
66 | /// The object managing the delegate of the tab bar controller.
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/ESTabBarController.swift (in target 'ESTabBarController' from project 'ESTabBarController')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile ESTabBarController.swift
SwiftEmitModule normal arm64_32 Emitting\ module\ for\ ESTabBarController (in target 'ESTabBarController' from project 'ESTabBarController')
/Users/admin/builder/spi-builder-workspace/Sources/ESTabBar.swift:60:27: error: 'UITabBar' is unavailable in watchOS
58 | /// - item: 当前item
59 | /// - Returns: Bool
60 | func tabBar(_ tabBar: UITabBar, shouldSelect item: UITabBarItem) -> Bool
| `- error: 'UITabBar' is unavailable in watchOS
61 |
62 | /// 当前item是否需要被劫持
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITabBar.h:28:12: note: 'UITabBar' has been explicitly marked unavailable here
26 |
27 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
28 | @interface UITabBar : UIView
| `- note: 'UITabBar' has been explicitly marked unavailable here
29 |
30 | @property(nullable, nonatomic, weak) id<UITabBarDelegate> delegate; // weak reference. default is nil
/Users/admin/builder/spi-builder-workspace/Sources/ESTabBar.swift:60:56: error: 'UITabBarItem' is unavailable in watchOS
58 | /// - item: 当前item
59 | /// - Returns: Bool
60 | func tabBar(_ tabBar: UITabBar, shouldSelect item: UITabBarItem) -> Bool
| `- error: 'UITabBarItem' is unavailable in watchOS
61 |
62 | /// 当前item是否需要被劫持
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITabBarItem.h:35:12: note: 'UITabBarItem' has been explicitly marked unavailable here
33 |
34 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
35 | @interface UITabBarItem : UIBarItem
| `- note: 'UITabBarItem' has been explicitly marked unavailable here
36 |
37 | - (instancetype)init NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/ESTabBar.swift:68:27: error: 'UITabBar' is unavailable in watchOS
66 | /// - item: 当前item
67 | /// - Returns: Bool
68 | func tabBar(_ tabBar: UITabBar, shouldHijack item: UITabBarItem) -> Bool
| `- error: 'UITabBar' is unavailable in watchOS
69 |
70 | /// 当前item的点击被劫持
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITabBar.h:28:12: note: 'UITabBar' has been explicitly marked unavailable here
26 |
27 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
28 | @interface UITabBar : UIView
| `- note: 'UITabBar' has been explicitly marked unavailable here
29 |
30 | @property(nullable, nonatomic, weak) id<UITabBarDelegate> delegate; // weak reference. default is nil
/Users/admin/builder/spi-builder-workspace/Sources/ESTabBar.swift:68:56: error: 'UITabBarItem' is unavailable in watchOS
66 | /// - item: 当前item
67 | /// - Returns: Bool
68 | func tabBar(_ tabBar: UITabBar, shouldHijack item: UITabBarItem) -> Bool
| `- error: 'UITabBarItem' is unavailable in watchOS
69 |
70 | /// 当前item的点击被劫持
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITabBarItem.h:35:12: note: 'UITabBarItem' has been explicitly marked unavailable here
33 |
34 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
35 | @interface UITabBarItem : UIBarItem
| `- note: 'UITabBarItem' has been explicitly marked unavailable here
36 |
37 | - (instancetype)init NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/ESTabBar.swift:76:27: error: 'UITabBar' is unavailable in watchOS
74 | /// - item: 当前item
75 | /// - Returns: Void
76 | func tabBar(_ tabBar: UITabBar, didHijack item: UITabBarItem)
| `- error: 'UITabBar' is unavailable in watchOS
77 | }
78 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITabBar.h:28:12: note: 'UITabBar' has been explicitly marked unavailable here
26 |
27 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
28 | @interface UITabBar : UIView
| `- note: 'UITabBar' has been explicitly marked unavailable here
29 |
30 | @property(nullable, nonatomic, weak) id<UITabBarDelegate> delegate; // weak reference. default is nil
/Users/admin/builder/spi-builder-workspace/Sources/ESTabBar.swift:76:53: error: 'UITabBarItem' is unavailable in watchOS
74 | /// - item: 当前item
75 | /// - Returns: Void
76 | func tabBar(_ tabBar: UITabBar, didHijack item: UITabBarItem)
| `- error: 'UITabBarItem' is unavailable in watchOS
77 | }
78 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITabBarItem.h:35:12: note: 'UITabBarItem' has been explicitly marked unavailable here
33 |
34 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
35 | @interface UITabBarItem : UIBarItem
| `- note: 'UITabBarItem' has been explicitly marked unavailable here
36 |
37 | - (instancetype)init NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/ESTabBar.swift:109:41: error: 'UITabBarController' is unavailable in watchOS
107 | internal var containers = [ESTabBarItemContainer]()
108 | /// 缓存当前tabBarController用来判断是否存在"More"Tab
109 | internal weak var tabBarController: UITabBarController?
| `- error: 'UITabBarController' is unavailable in watchOS
110 | /// 自定义'More'按钮样式,继承自ESTabBarItemContentView
111 | open var moreContentView: ESTabBarItemContentView? = ESTabBarItemMoreContentView.init() {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITabBarController.h:64:12: note: 'UITabBarController' has been explicitly marked unavailable here
62 |
63 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
64 | @interface UITabBarController : UIViewController <UITabBarDelegate, NSCoding>
| `- note: 'UITabBarController' has been explicitly marked unavailable here
65 |
66 | /// The object managing the delegate of the tab bar controller.
/Users/admin/builder/spi-builder-workspace/Sources/ESTabBar.swift:111:86: error: 'init()' is unavailable in watchOS
109 | internal weak var tabBarController: UITabBarController?
110 | /// 自定义'More'按钮样式,继承自ESTabBarItemContentView
111 | open var moreContentView: ESTabBarItemContentView? = ESTabBarItemMoreContentView.init() {
| `- error: 'init()' is unavailable in watchOS
112 | didSet { self.reload() }
113 | }
/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/ESTabBar.swift:115:31: error: 'UITabBarItem' is unavailable in watchOS
113 | }
114 |
115 | open override var items: [UITabBarItem]? {
| `- error: 'UITabBarItem' is unavailable in watchOS
116 | didSet {
117 | self.reload()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITabBarItem.h:35:12: note: 'UITabBarItem' has been explicitly marked unavailable here
33 |
34 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
35 | @interface UITabBarItem : UIBarItem
| `- note: 'UITabBarItem' has been explicitly marked unavailable here
36 |
37 | - (instancetype)init NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/ESTabBar.swift:129:43: error: 'UITabBarItem' is unavailable in watchOS
127 | }
128 |
129 | open override func setItems(_ items: [UITabBarItem]?, animated: Bool) {
| `- error: 'UITabBarItem' is unavailable in watchOS
130 | super.setItems(items, animated: animated)
131 | self.reload()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITabBarItem.h:35:12: note: 'UITabBarItem' has been explicitly marked unavailable here
33 |
34 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
35 | @interface UITabBarItem : UIBarItem
| `- note: 'UITabBarItem' has been explicitly marked unavailable here
36 |
37 | - (instancetype)init NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/ESTabBar.swift:134:56: error: 'UITabBarItem' is unavailable in watchOS
132 | }
133 |
134 | open override func beginCustomizingItems(_ items: [UITabBarItem]) {
| `- error: 'UITabBarItem' is unavailable in watchOS
135 | ESTabBarController.printError("beginCustomizingItems(_:) is unsupported in ESTabBar.")
136 | super.beginCustomizingItems(items)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITabBarItem.h:35:12: note: 'UITabBarItem' has been explicitly marked unavailable here
33 |
34 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
35 | @interface UITabBarItem : UIBarItem
| `- note: 'UITabBarItem' has been explicitly marked unavailable here
36 |
37 | - (instancetype)init NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/ESTabBar.swift:149:65: error: 'UIEvent' is unavailable in watchOS
147 | }
148 |
149 | open override func point(inside point: CGPoint, with event: UIEvent?) -> Bool {
| `- error: 'UIEvent' is unavailable in watchOS
150 | var b = super.point(inside: point, with: event)
151 | if !b {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIEvent.h:62:12: note: 'UIEvent' has been explicitly marked unavailable here
60 |
61 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
62 | @interface UIEvent : NSObject
| `- note: 'UIEvent' has been explicitly marked unavailable here
63 |
64 | @property(nonatomic,readonly) UIEventType type API_AVAILABLE(ios(3.0));
/Users/admin/builder/spi-builder-workspace/Sources/ESTabBar.swift:82:22: error: 'UITabBar' is unavailable in watchOS
80 |
81 | /// ESTabBar是高度自定义的UITabBar子类,通过添加UIControl的方式实现自定义tabBarItem的效果。目前支持tabBar的大部分属性的设置,例如delegate,items,selectedImge,itemPositioning,itemWidth,itemSpacing等,以后会更加细致的优化tabBar原有属性的设置效果。
82 | open class ESTabBar: UITabBar {
| `- error: 'UITabBar' is unavailable in watchOS
83 |
84 | internal weak var customDelegate: ESTabBarDelegate?
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITabBar.h:28:12: note: 'UITabBar' has been explicitly marked unavailable here
26 |
27 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
28 | @interface UITabBar : UIView
| `- note: 'UITabBar' has been explicitly marked unavailable here
29 |
30 | @property(nullable, nonatomic, weak) id<UITabBarDelegate> delegate; // weak reference. default is nil
/Users/admin/builder/spi-builder-workspace/Sources/ESTabBarController.swift:29:80: error: 'UITabBarController' is unavailable in watchOS
27 |
28 | /// 是否需要自定义点击事件回调类型
29 | public typealias ESTabBarControllerShouldHijackHandler = ((_ tabBarController: UITabBarController, _ viewController: UIViewController, _ index: Int) -> (Bool))
| `- error: 'UITabBarController' is unavailable in watchOS
30 | /// 自定义点击事件回调类型
31 | public typealias ESTabBarControllerDidHijackHandler = ((_ tabBarController: UITabBarController, _ viewController: UIViewController, _ index: Int) -> (Void))
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITabBarController.h:64:12: note: 'UITabBarController' has been explicitly marked unavailable here
62 |
63 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
64 | @interface UITabBarController : UIViewController <UITabBarDelegate, NSCoding>
| `- note: 'UITabBarController' has been explicitly marked unavailable here
65 |
66 | /// The object managing the delegate of the tab bar controller.
/Users/admin/builder/spi-builder-workspace/Sources/ESTabBarController.swift:29:118: error: 'UIViewController' is unavailable in watchOS
27 |
28 | /// 是否需要自定义点击事件回调类型
29 | public typealias ESTabBarControllerShouldHijackHandler = ((_ tabBarController: UITabBarController, _ viewController: UIViewController, _ index: Int) -> (Bool))
| `- error: 'UIViewController' is unavailable in watchOS
30 | /// 自定义点击事件回调类型
31 | public typealias ESTabBarControllerDidHijackHandler = ((_ tabBarController: UITabBarController, _ viewController: UIViewController, _ index: Int) -> (Void))
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/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/ESTabBarController.swift:31:77: error: 'UITabBarController' is unavailable in watchOS
29 | public typealias ESTabBarControllerShouldHijackHandler = ((_ tabBarController: UITabBarController, _ viewController: UIViewController, _ index: Int) -> (Bool))
30 | /// 自定义点击事件回调类型
31 | public typealias ESTabBarControllerDidHijackHandler = ((_ tabBarController: UITabBarController, _ viewController: UIViewController, _ index: Int) -> (Void))
| `- error: 'UITabBarController' is unavailable in watchOS
32 |
33 | open class ESTabBarController: UITabBarController, ESTabBarDelegate {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITabBarController.h:64:12: note: 'UITabBarController' has been explicitly marked unavailable here
62 |
63 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
64 | @interface UITabBarController : UIViewController <UITabBarDelegate, NSCoding>
| `- note: 'UITabBarController' has been explicitly marked unavailable here
65 |
66 | /// The object managing the delegate of the tab bar controller.
/Users/admin/builder/spi-builder-workspace/Sources/ESTabBarController.swift:31:115: error: 'UIViewController' is unavailable in watchOS
29 | public typealias ESTabBarControllerShouldHijackHandler = ((_ tabBarController: UITabBarController, _ viewController: UIViewController, _ index: Int) -> (Bool))
30 | /// 自定义点击事件回调类型
31 | public typealias ESTabBarControllerDidHijackHandler = ((_ tabBarController: UITabBarController, _ viewController: UIViewController, _ index: Int) -> (Void))
| `- error: 'UIViewController' is unavailable in watchOS
32 |
33 | open class ESTabBarController: UITabBarController, ESTabBarDelegate {
/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/ESTabBarController.swift:43:58: error: 'UITabBarController' is unavailable in watchOS
41 |
42 | /// 当前tabBarController是否存在"More"tab
43 | public static func isShowingMore(_ tabBarController: UITabBarController?) -> Bool {
| `- error: 'UITabBarController' is unavailable in watchOS
44 | return tabBarController?.moreNavigationController.parent != nil
45 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITabBarController.h:64:12: note: 'UITabBarController' has been explicitly marked unavailable here
62 |
63 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
64 | @interface UITabBarController : UIViewController <UITabBarDelegate, NSCoding>
| `- note: 'UITabBarController' has been explicitly marked unavailable here
65 |
66 | /// The object managing the delegate of the tab bar controller.
/Users/admin/builder/spi-builder-workspace/Sources/ESTabBarController.swift:56:47: error: 'UIViewController' is unavailable in watchOS
54 |
55 | /// Observer tabBarController's selectedViewController. change its selection when it will-set.
56 | open override var selectedViewController: UIViewController? {
| `- error: 'UIViewController' is unavailable in watchOS
57 | willSet {
58 | guard let newValue = newValue 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/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/ESTabBarController.swift:103:41: error: 'UITabBar' is unavailable in watchOS
101 |
102 | // MARK: - UITabBar delegate
103 | open override func tabBar(_ tabBar: UITabBar, didSelect item: UITabBarItem) {
| `- error: 'UITabBar' is unavailable in watchOS
104 | guard let idx = tabBar.items?.firstIndex(of: item) else {
105 | return;
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITabBar.h:28:12: note: 'UITabBar' has been explicitly marked unavailable here
26 |
27 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
28 | @interface UITabBar : UIView
| `- note: 'UITabBar' has been explicitly marked unavailable here
29 |
30 | @property(nullable, nonatomic, weak) id<UITabBarDelegate> delegate; // weak reference. default is nil
/Users/admin/builder/spi-builder-workspace/Sources/ESTabBarController.swift:103:67: error: 'UITabBarItem' is unavailable in watchOS
101 |
102 | // MARK: - UITabBar delegate
103 | open override func tabBar(_ tabBar: UITabBar, didSelect item: UITabBarItem) {
| `- error: 'UITabBarItem' is unavailable in watchOS
104 | guard let idx = tabBar.items?.firstIndex(of: item) else {
105 | return;
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITabBarItem.h:35:12: note: 'UITabBarItem' has been explicitly marked unavailable here
33 |
34 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
35 | @interface UITabBarItem : UIBarItem
| `- note: 'UITabBarItem' has been explicitly marked unavailable here
36 |
37 | - (instancetype)init NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/ESTabBarController.swift:119:41: error: 'UITabBar' is unavailable in watchOS
117 | }
118 |
119 | open override func tabBar(_ tabBar: UITabBar, willBeginCustomizing items: [UITabBarItem]) {
| `- error: 'UITabBar' is unavailable in watchOS
120 | if let tabBar = tabBar as? ESTabBar {
121 | tabBar.updateLayout()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITabBar.h:28:12: note: 'UITabBar' has been explicitly marked unavailable here
26 |
27 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
28 | @interface UITabBar : UIView
| `- note: 'UITabBar' has been explicitly marked unavailable here
29 |
30 | @property(nullable, nonatomic, weak) id<UITabBarDelegate> delegate; // weak reference. default is nil
/Users/admin/builder/spi-builder-workspace/Sources/ESTabBarController.swift:119:80: error: 'UITabBarItem' is unavailable in watchOS
117 | }
118 |
119 | open override func tabBar(_ tabBar: UITabBar, willBeginCustomizing items: [UITabBarItem]) {
| `- error: 'UITabBarItem' is unavailable in watchOS
120 | if let tabBar = tabBar as? ESTabBar {
121 | tabBar.updateLayout()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITabBarItem.h:35:12: note: 'UITabBarItem' has been explicitly marked unavailable here
33 |
34 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
35 | @interface UITabBarItem : UIBarItem
| `- note: 'UITabBarItem' has been explicitly marked unavailable here
36 |
37 | - (instancetype)init NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/ESTabBarController.swift:125:41: error: 'UITabBar' is unavailable in watchOS
123 | }
124 |
125 | open override func tabBar(_ tabBar: UITabBar, didEndCustomizing items: [UITabBarItem], changed: Bool) {
| `- error: 'UITabBar' is unavailable in watchOS
126 | if let tabBar = tabBar as? ESTabBar {
127 | tabBar.updateLayout()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITabBar.h:28:12: note: 'UITabBar' has been explicitly marked unavailable here
26 |
27 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
28 | @interface UITabBar : UIView
| `- note: 'UITabBar' has been explicitly marked unavailable here
29 |
30 | @property(nullable, nonatomic, weak) id<UITabBarDelegate> delegate; // weak reference. default is nil
/Users/admin/builder/spi-builder-workspace/Sources/ESTabBarController.swift:125:77: error: 'UITabBarItem' is unavailable in watchOS
123 | }
124 |
125 | open override func tabBar(_ tabBar: UITabBar, didEndCustomizing items: [UITabBarItem], changed: Bool) {
| `- error: 'UITabBarItem' is unavailable in watchOS
126 | if let tabBar = tabBar as? ESTabBar {
127 | tabBar.updateLayout()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITabBarItem.h:35:12: note: 'UITabBarItem' has been explicitly marked unavailable here
33 |
34 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
35 | @interface UITabBarItem : UIBarItem
| `- note: 'UITabBarItem' has been explicitly marked unavailable here
36 |
37 | - (instancetype)init NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/ESTabBarController.swift:132:36: error: 'UITabBar' is unavailable in watchOS
130 |
131 | // MARK: - ESTabBar delegate
132 | internal func tabBar(_ tabBar: UITabBar, shouldSelect item: UITabBarItem) -> Bool {
| `- error: 'UITabBar' is unavailable in watchOS
133 | if let idx = tabBar.items?.firstIndex(of: item), let vc = viewControllers?[idx] {
134 | return delegate?.tabBarController?(self, shouldSelect: vc) ?? 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/UITabBar.h:28:12: note: 'UITabBar' has been explicitly marked unavailable here
26 |
27 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
28 | @interface UITabBar : UIView
| `- note: 'UITabBar' has been explicitly marked unavailable here
29 |
30 | @property(nullable, nonatomic, weak) id<UITabBarDelegate> delegate; // weak reference. default is nil
/Users/admin/builder/spi-builder-workspace/Sources/ESTabBarController.swift:132:65: error: 'UITabBarItem' is unavailable in watchOS
130 |
131 | // MARK: - ESTabBar delegate
132 | internal func tabBar(_ tabBar: UITabBar, shouldSelect item: UITabBarItem) -> Bool {
| `- error: 'UITabBarItem' is unavailable in watchOS
133 | if let idx = tabBar.items?.firstIndex(of: item), let vc = viewControllers?[idx] {
134 | return delegate?.tabBarController?(self, shouldSelect: vc) ?? 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/UITabBarItem.h:35:12: note: 'UITabBarItem' has been explicitly marked unavailable here
33 |
34 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
35 | @interface UITabBarItem : UIBarItem
| `- note: 'UITabBarItem' has been explicitly marked unavailable here
36 |
37 | - (instancetype)init NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/ESTabBarController.swift:139:36: error: 'UITabBar' is unavailable in watchOS
137 | }
138 |
139 | internal func tabBar(_ tabBar: UITabBar, shouldHijack item: UITabBarItem) -> Bool {
| `- error: 'UITabBar' is unavailable in watchOS
140 | if let idx = tabBar.items?.firstIndex(of: item), let vc = viewControllers?[idx] {
141 | return shouldHijackHandler?(self, vc, idx) ?? false
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITabBar.h:28:12: note: 'UITabBar' has been explicitly marked unavailable here
26 |
27 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
28 | @interface UITabBar : UIView
| `- note: 'UITabBar' has been explicitly marked unavailable here
29 |
30 | @property(nullable, nonatomic, weak) id<UITabBarDelegate> delegate; // weak reference. default is nil
/Users/admin/builder/spi-builder-workspace/Sources/ESTabBarController.swift:139:65: error: 'UITabBarItem' is unavailable in watchOS
137 | }
138 |
139 | internal func tabBar(_ tabBar: UITabBar, shouldHijack item: UITabBarItem) -> Bool {
| `- error: 'UITabBarItem' is unavailable in watchOS
140 | if let idx = tabBar.items?.firstIndex(of: item), let vc = viewControllers?[idx] {
141 | return shouldHijackHandler?(self, vc, idx) ?? false
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITabBarItem.h:35:12: note: 'UITabBarItem' has been explicitly marked unavailable here
33 |
34 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
35 | @interface UITabBarItem : UIBarItem
| `- note: 'UITabBarItem' has been explicitly marked unavailable here
36 |
37 | - (instancetype)init NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/ESTabBarController.swift:146:36: error: 'UITabBar' is unavailable in watchOS
144 | }
145 |
146 | internal func tabBar(_ tabBar: UITabBar, didHijack item: UITabBarItem) {
| `- error: 'UITabBar' is unavailable in watchOS
147 | if let idx = tabBar.items?.firstIndex(of: item), let vc = viewControllers?[idx] {
148 | didHijackHandler?(self, vc, idx)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITabBar.h:28:12: note: 'UITabBar' has been explicitly marked unavailable here
26 |
27 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
28 | @interface UITabBar : UIView
| `- note: 'UITabBar' has been explicitly marked unavailable here
29 |
30 | @property(nullable, nonatomic, weak) id<UITabBarDelegate> delegate; // weak reference. default is nil
/Users/admin/builder/spi-builder-workspace/Sources/ESTabBarController.swift:146:62: error: 'UITabBarItem' is unavailable in watchOS
144 | }
145 |
146 | internal func tabBar(_ tabBar: UITabBar, didHijack item: UITabBarItem) {
| `- error: 'UITabBarItem' is unavailable in watchOS
147 | if let idx = tabBar.items?.firstIndex(of: item), let vc = viewControllers?[idx] {
148 | didHijackHandler?(self, vc, idx)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITabBarItem.h:35:12: note: 'UITabBarItem' has been explicitly marked unavailable here
33 |
34 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
35 | @interface UITabBarItem : UIBarItem
| `- note: 'UITabBarItem' has been explicitly marked unavailable here
36 |
37 | - (instancetype)init NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/ESTabBarController.swift:33:32: error: 'UITabBarController' is unavailable in watchOS
31 | public typealias ESTabBarControllerDidHijackHandler = ((_ tabBarController: UITabBarController, _ viewController: UIViewController, _ index: Int) -> (Void))
32 |
33 | open class ESTabBarController: UITabBarController, ESTabBarDelegate {
| `- error: 'UITabBarController' is unavailable in watchOS
34 |
35 | /// 打印异常
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITabBarController.h:64:12: note: 'UITabBarController' has been explicitly marked unavailable here
62 |
63 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
64 | @interface UITabBarController : UIViewController <UITabBarDelegate, NSCoding>
| `- note: 'UITabBarController' has been explicitly marked unavailable here
65 |
66 | /// The object managing the delegate of the tab bar controller.
/Users/admin/builder/spi-builder-workspace/Sources/ESTabBarItem.swift:98:23: error: cannot override 'badgeColor' which has been marked unavailable
96 | /// The background color to apply to the badge, make it available for iOS8.0 and later. If this item displays a badge, this color will be used for the badge's background. If set to nil, the default background color will be used instead.
97 | @available(iOS 8.0, *)
98 | open override var badgeColor: UIColor? {
| |- error: cannot override 'badgeColor' which has been marked unavailable
| `- note: remove 'override' modifier to declare a new 'badgeColor'
99 | get { return contentView.badgeColor }
100 | set(newValue) { contentView.badgeColor = newValue }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITabBarItem.h:64:59: note: 'badgeColor' has been explicitly marked unavailable here
62 |
63 | /// If this item displays a badge, this color will be used for the badge's background. If set to nil, the default background color will be used instead.
64 | @property (nonatomic, readwrite, copy, nullable) UIColor *badgeColor API_AVAILABLE(ios(10.0)) UI_APPEARANCE_SELECTOR API_UNAVAILABLE(watchos);
| `- note: 'badgeColor' has been explicitly marked unavailable here
65 |
66 | /// Provide text attributes to use to draw the badge text for the given singular control state (Normal, Disabled, Focused, Selected, or Highlighted). Default values will be supplied for keys that are not provided by this dictionary. See NSAttributedString.h for details on what keys are available.
/Users/admin/builder/spi-builder-workspace/Sources/ESTabBarItem.swift:106:53: error: 'init()' is unavailable in watchOS
104 |
105 | /// Customize content view, default is `ESTabBarItemContentView`
106 | open var contentView: ESTabBarItemContentView = ESTabBarItemContentView()
| `- error: 'init()' is unavailable in watchOS
107 | {
108 | didSet {
/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/ESTabBarItem.swift:115:58: error: 'init()' is unavailable in watchOS
113 |
114 | /// The unselected image is autogenerated from the image argument. The selected image is autogenerated from the selectedImage if provided and the image argument otherwise. To prevent system coloring, provide images with UIImageRenderingModeAlwaysOriginal (see UIImage.h)
115 | public init(_ contentView: ESTabBarItemContentView = ESTabBarItemContentView(), title: String? = nil, image: UIImage? = nil, selectedImage: UIImage? = nil, tag: Int = 0) {
| `- error: 'init()' is unavailable in watchOS
116 | super.init()
117 | self.contentView = contentView
/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/ESTabBarItem.swift:43:26: error: 'UITabBarItem' is unavailable in watchOS
41 | ///
42 | @available(iOS 8.0, *)
43 | open class ESTabBarItem: UITabBarItem {
| `- error: 'UITabBarItem' is unavailable in watchOS
44 |
45 | // MARK: UIView 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/UITabBarItem.h:35:12: note: 'UITabBarItem' has been explicitly marked unavailable here
33 |
34 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
35 | @interface UITabBarItem : UIBarItem
| `- note: 'UITabBarItem' has been explicitly marked unavailable here
36 |
37 | - (instancetype)init NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/ESTabBarItemBadgeView.swift:53:25: error: 'UIImageView' is unavailable in watchOS
51 |
52 | /// Image view
53 | open var imageView: UIImageView = {
| `- error: 'UIImageView' is unavailable in watchOS
54 | let imageView = UIImageView.init(frame: CGRect.zero)
55 | imageView.backgroundColor = .clear
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/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;
/Users/admin/builder/spi-builder-workspace/Sources/ESTabBarItemBadgeView.swift:54:25: error: 'UIImageView' is unavailable in watchOS
52 | /// Image view
53 | open var imageView: UIImageView = {
54 | let imageView = UIImageView.init(frame: CGRect.zero)
| `- error: 'UIImageView' is unavailable in watchOS
55 | imageView.backgroundColor = .clear
56 | return imageView
/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;
/Users/admin/builder/spi-builder-workspace/Sources/ESTabBarItemBadgeView.swift:60:26: error: 'UILabel' is unavailable in watchOS
58 |
59 | /// 显示badgeValue的Label
60 | open var badgeLabel: UILabel = {
| `- error: 'UILabel' is unavailable in watchOS
61 | let badgeLabel = UILabel.init(frame: CGRect.zero)
62 | badgeLabel.backgroundColor = .clear
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/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/ESTabBarItemBadgeView.swift:61:26: error: 'UILabel' is unavailable in watchOS
59 | /// 显示badgeValue的Label
60 | open var badgeLabel: UILabel = {
61 | let badgeLabel = UILabel.init(frame: CGRect.zero)
| `- error: 'UILabel' is unavailable in watchOS
62 | badgeLabel.backgroundColor = .clear
63 | badgeLabel.textColor = .white
/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/ESTabBarItemBadgeView.swift:33:35: error: 'UIView' is unavailable in watchOS
31 | * 你可以设置ESTabBarItemContentView的badgeView属性为自定义的ESTabBarItemBadgeView子类,这样就可以轻松实现 自定义通知样式了。
32 | */
33 | open class ESTabBarItemBadgeView: UIView {
| `- error: 'UIView' is unavailable in watchOS
34 |
35 | /// 默认颜色
/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/ESTabBarItemContainer.swift:55:69: error: 'UIEvent' is unavailable in watchOS
53 | }
54 |
55 | internal override func point(inside point: CGPoint, with event: UIEvent?) -> Bool {
| `- error: 'UIEvent' is unavailable in watchOS
56 | var b = super.point(inside: point, with: event)
57 | if !b {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIEvent.h:62:12: note: 'UIEvent' has been explicitly marked unavailable here
60 |
61 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
62 | @interface UIEvent : NSObject
| `- note: 'UIEvent' has been explicitly marked unavailable here
63 |
64 | @property(nonatomic,readonly) UIEventType type API_AVAILABLE(ios(3.0));
/Users/admin/builder/spi-builder-workspace/Sources/ESTabBarItemContainer.swift:28:39: error: 'UIControl' is unavailable in watchOS
26 | import UIKit
27 |
28 | internal class ESTabBarItemContainer: UIControl {
| `- error: 'UIControl' is unavailable in watchOS
29 |
30 | internal init(_ target: AnyObject?, tag: 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/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/ESTabBarItemContentView.swift:142:25: error: 'UIImageView' is unavailable in watchOS
140 | }
141 |
142 | open var imageView: UIImageView = {
| `- error: 'UIImageView' is unavailable in watchOS
143 | let imageView = UIImageView.init(frame: CGRect.zero)
144 | imageView.backgroundColor = .clear
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/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;
/Users/admin/builder/spi-builder-workspace/Sources/ESTabBarItemContentView.swift:143:25: error: 'UIImageView' is unavailable in watchOS
141 |
142 | open var imageView: UIImageView = {
143 | let imageView = UIImageView.init(frame: CGRect.zero)
| `- error: 'UIImageView' is unavailable in watchOS
144 | imageView.backgroundColor = .clear
145 | return imageView
/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;
/Users/admin/builder/spi-builder-workspace/Sources/ESTabBarItemContentView.swift:148:26: error: 'UILabel' is unavailable in watchOS
146 | }()
147 |
148 | open var titleLabel: UILabel = {
| `- error: 'UILabel' is unavailable in watchOS
149 | let titleLabel = UILabel.init(frame: CGRect.zero)
150 | titleLabel.backgroundColor = .clear
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/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/ESTabBarItemContentView.swift:149:26: error: 'UILabel' is unavailable in watchOS
147 |
148 | open var titleLabel: UILabel = {
149 | let titleLabel = UILabel.init(frame: CGRect.zero)
| `- error: 'UILabel' is unavailable in watchOS
150 | titleLabel.backgroundColor = .clear
151 | titleLabel.textColor = .clear
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/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/ESTabBarItemContentView.swift:183:49: error: 'init()' is unavailable in watchOS
181 |
182 | /// Badge view, default is `ESTabBarItemBadgeView()`.
183 | open var badgeView: ESTabBarItemBadgeView = ESTabBarItemBadgeView() {
| `- error: 'init()' is unavailable in watchOS
184 | willSet {
185 | if let _ = badgeView.superview {
/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/ESTabBarItemContentView.swift:36:37: error: 'UIView' is unavailable in watchOS
34 |
35 |
36 | open class ESTabBarItemContentView: UIView {
| `- error: 'UIView' is unavailable in watchOS
37 |
38 | // MARK: - PROPERTY SETTING
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
Failed frontend command:
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /Users/admin/builder/spi-builder-workspace/Sources/ESTabBar.swift /Users/admin/builder/spi-builder-workspace/Sources/ESTabBarController.swift /Users/admin/builder/spi-builder-workspace/Sources/ESTabBarItem.swift /Users/admin/builder/spi-builder-workspace/Sources/ESTabBarItemBadgeView.swift /Users/admin/builder/spi-builder-workspace/Sources/ESTabBarItemContainer.swift /Users/admin/builder/spi-builder-workspace/Sources/ESTabBarItemContentView.swift /Users/admin/builder/spi-builder-workspace/Sources/ESTabBarItemMoreContentView.swift -target arm64_32-apple-watchos9.0 -disable-cross-import-overlay-search -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libFoundationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#FoundationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libObservationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#ObservationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libSwiftMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#SwiftMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libSwiftUIMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#SwiftUIMacros -disable-implicit-swift-modules -Xcc -fno-implicit-modules -Xcc -fno-implicit-module-maps -explicit-swift-module-map-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ESTabBarController.build/Debug-watchos/ESTabBarController-t.build/Objects-normal/arm64_32/ESTabBarController-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 -swift-version 5 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -enable-anonymous-context-mangled-names -file-compilation-dir /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos27.0-24R360-e829b21a6f8c9b70876ba0858053c04477534ef55a1706bf4c1112bbb242f0a2.sdkstatcache -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ESTabBarController.build/Debug-watchos/ESTabBarController-t.build/DerivedSources-normal/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ESTabBarController.build/Debug-watchos/ESTabBarController-t.build/DerivedSources/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ESTabBarController.build/Debug-watchos/ESTabBarController-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name ESTabBarController -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ESTabBarController.build/Debug-watchos/ESTabBarController-t.build/Objects-normal/arm64_32/ESTabBarController_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/ESTabBarController.build/Debug-watchos/ESTabBarController-t.build/Objects-normal/arm64_32/ESTabBarController.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ESTabBarController.build/Debug-watchos/ESTabBarController-t.build/Objects-normal/arm64_32/ESTabBarController.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ESTabBarController.build/Debug-watchos/ESTabBarController-t.build/Objects-normal/arm64_32/ESTabBarController-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ESTabBarController.build/Debug-watchos/ESTabBarController-t.build/Objects-normal/arm64_32/ESTabBarController-primary-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ESTabBarController.build/Debug-watchos/ESTabBarController-t.build/Objects-normal/arm64_32/ESTabBarController-primary-emit-module.d -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ESTabBarController.build/Debug-watchos/ESTabBarController-t.build/Objects-normal/arm64_32/ESTabBarController.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ESTabBarController.build/Debug-watchos/ESTabBarController-t.build/Objects-normal/arm64_32/ESTabBarController.abi.json
SwiftCompile normal arm64_32 (in target 'ESTabBarController' from project 'ESTabBarController')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64_32 Compiling\ ESTabBarItem.swift /Users/admin/builder/spi-builder-workspace/Sources/ESTabBarItem.swift (in target 'ESTabBarController' from project 'ESTabBarController')
/Users/admin/builder/spi-builder-workspace/Sources/ESTabBarItem.swift:98:23: error: cannot override 'badgeColor' which has been marked unavailable
96 | /// The background color to apply to the badge, make it available for iOS8.0 and later. If this item displays a badge, this color will be used for the badge's background. If set to nil, the default background color will be used instead.
97 | @available(iOS 8.0, *)
98 | open override var badgeColor: UIColor? {
| |- error: cannot override 'badgeColor' which has been marked unavailable
| `- note: remove 'override' modifier to declare a new 'badgeColor'
99 | get { return contentView.badgeColor }
100 | set(newValue) { contentView.badgeColor = newValue }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITabBarItem.h:64:59: note: 'badgeColor' has been explicitly marked unavailable here
62 |
63 | /// If this item displays a badge, this color will be used for the badge's background. If set to nil, the default background color will be used instead.
64 | @property (nonatomic, readwrite, copy, nullable) UIColor *badgeColor API_AVAILABLE(ios(10.0)) UI_APPEARANCE_SELECTOR API_UNAVAILABLE(watchos);
| `- note: 'badgeColor' has been explicitly marked unavailable here
65 |
66 | /// Provide text attributes to use to draw the badge text for the given singular control state (Normal, Disabled, Focused, Selected, or Highlighted). Default values will be supplied for keys that are not provided by this dictionary. See NSAttributedString.h for details on what keys are available.
/Users/admin/builder/spi-builder-workspace/Sources/ESTabBarItem.swift:106:53: error: 'init()' is unavailable in watchOS
104 |
105 | /// Customize content view, default is `ESTabBarItemContentView`
106 | open var contentView: ESTabBarItemContentView = ESTabBarItemContentView()
| `- error: 'init()' is unavailable in watchOS
107 | {
108 | didSet {
/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/ESTabBarItem.swift:115:58: error: 'init()' is unavailable in watchOS
113 |
114 | /// The unselected image is autogenerated from the image argument. The selected image is autogenerated from the selectedImage if provided and the image argument otherwise. To prevent system coloring, provide images with UIImageRenderingModeAlwaysOriginal (see UIImage.h)
115 | public init(_ contentView: ESTabBarItemContentView = ESTabBarItemContentView(), title: String? = nil, image: UIImage? = nil, selectedImage: UIImage? = nil, tag: Int = 0) {
| `- error: 'init()' is unavailable in watchOS
116 | super.init()
117 | self.contentView = contentView
/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.
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/ESTabBarItem.swift (in target 'ESTabBarController' from project 'ESTabBarController')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile ESTabBarItem.swift
SwiftCompile normal arm64_32 Compiling\ ESTabBarItemMoreContentView.swift /Users/admin/builder/spi-builder-workspace/Sources/ESTabBarItemMoreContentView.swift (in target 'ESTabBarController' from project 'ESTabBarController')
/Users/admin/builder/spi-builder-workspace/Sources/ESTabBarItemMoreContentView.swift:44:21: error: 'UIScreen' is unavailable in watchOS
42 | let image = UIImage.init()
43 | let circleDiameter = isHighlighted ? 5.0 : 4.0
44 | let scale = UIScreen.main.scale
| `- error: 'UIScreen' is unavailable in watchOS
45 |
46 | UIGraphicsBeginImageContextWithOptions(CGSize.init(width: 32, height: 32), false, scale)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScreen.h:54:12: note: 'UIScreen' has been explicitly marked unavailable here
52 |
53 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(visionos, watchos) NS_SWIFT_UI_ACTOR
54 | @interface UIScreen : NSObject <UITraitEnvironment>
| `- note: 'UIScreen' has been explicitly marked unavailable here
55 |
56 | @property(class, nonatomic, readonly) NSArray<UIScreen *> *screens API_DEPRECATED("Use UIApplication.shared.openSessions to find open sessions with scenes from other screens", ios(3.2, 16.0), visionos(1.0, 1.0)) API_UNAVAILABLE(watchos); // all screens currently attached to the device
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/ESTabBarItemMoreContentView.swift (in target 'ESTabBarController' from project 'ESTabBarController')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile ESTabBarItemMoreContentView.swift
SwiftCompile normal arm64_32 Compiling\ ESTabBarItemContentView.swift /Users/admin/builder/spi-builder-workspace/Sources/ESTabBarItemContentView.swift (in target 'ESTabBarController' from project 'ESTabBarController')
/Users/admin/builder/spi-builder-workspace/Sources/ESTabBarItemContentView.swift:142:25: error: 'UIImageView' is unavailable in watchOS
140 | }
141 |
142 | open var imageView: UIImageView = {
| `- error: 'UIImageView' is unavailable in watchOS
143 | let imageView = UIImageView.init(frame: CGRect.zero)
144 | imageView.backgroundColor = .clear
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/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;
/Users/admin/builder/spi-builder-workspace/Sources/ESTabBarItemContentView.swift:143:25: error: 'UIImageView' is unavailable in watchOS
141 |
142 | open var imageView: UIImageView = {
143 | let imageView = UIImageView.init(frame: CGRect.zero)
| `- error: 'UIImageView' is unavailable in watchOS
144 | imageView.backgroundColor = .clear
145 | return imageView
/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;
/Users/admin/builder/spi-builder-workspace/Sources/ESTabBarItemContentView.swift:148:26: error: 'UILabel' is unavailable in watchOS
146 | }()
147 |
148 | open var titleLabel: UILabel = {
| `- error: 'UILabel' is unavailable in watchOS
149 | let titleLabel = UILabel.init(frame: CGRect.zero)
150 | titleLabel.backgroundColor = .clear
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/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/ESTabBarItemContentView.swift:149:26: error: 'UILabel' is unavailable in watchOS
147 |
148 | open var titleLabel: UILabel = {
149 | let titleLabel = UILabel.init(frame: CGRect.zero)
| `- error: 'UILabel' is unavailable in watchOS
150 | titleLabel.backgroundColor = .clear
151 | titleLabel.textColor = .clear
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/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/ESTabBarItemContentView.swift:183:49: error: 'init()' is unavailable in watchOS
181 |
182 | /// Badge view, default is `ESTabBarItemBadgeView()`.
183 | open var badgeView: ESTabBarItemBadgeView = ESTabBarItemBadgeView() {
| `- error: 'init()' is unavailable in watchOS
184 | willSet {
185 | if let _ = badgeView.superview {
/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/ESTabBarItemContentView.swift:36:37: error: 'UIView' is unavailable in watchOS
34 |
35 |
36 | open class ESTabBarItemContentView: UIView {
| `- error: 'UIView' is unavailable in watchOS
37 |
38 | // MARK: - PROPERTY SETTING
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/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/ESTabBarItemContentView.swift:240:32: error: 'UIApplication' is unavailable in watchOS
238 | var f: CGFloat = 0.0 // font
239 | var isLandscape = false
240 | if let keyWindow = UIApplication.shared.keyWindow {
| `- error: 'UIApplication' is unavailable in watchOS
241 | isLandscape = keyWindow.bounds.width > keyWindow.bounds.height
242 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h:85:12: note: 'UIApplication' has been explicitly marked unavailable here
83 |
84 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
85 | @interface UIApplication : UIResponder
| `- note: 'UIApplication' has been explicitly marked unavailable here
86 |
87 | @property(class, nonatomic, readonly) UIApplication *sharedApplication NS_EXTENSION_UNAVAILABLE_IOS("Use view controller based solutions where appropriate instead.");
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/ESTabBarItemContentView.swift (in target 'ESTabBarController' from project 'ESTabBarController')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile ESTabBarItemContentView.swift
SwiftCompile normal arm64_32 Compiling\ ESTabBar.swift /Users/admin/builder/spi-builder-workspace/Sources/ESTabBar.swift (in target 'ESTabBarController' from project 'ESTabBarController')
/Users/admin/builder/spi-builder-workspace/Sources/ESTabBar.swift:60:27: error: 'UITabBar' is unavailable in watchOS
58 | /// - item: 当前item
59 | /// - Returns: Bool
60 | func tabBar(_ tabBar: UITabBar, shouldSelect item: UITabBarItem) -> Bool
| `- error: 'UITabBar' is unavailable in watchOS
61 |
62 | /// 当前item是否需要被劫持
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITabBar.h:28:12: note: 'UITabBar' has been explicitly marked unavailable here
26 |
27 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
28 | @interface UITabBar : UIView
| `- note: 'UITabBar' has been explicitly marked unavailable here
29 |
30 | @property(nullable, nonatomic, weak) id<UITabBarDelegate> delegate; // weak reference. default is nil
/Users/admin/builder/spi-builder-workspace/Sources/ESTabBar.swift:60:56: error: 'UITabBarItem' is unavailable in watchOS
58 | /// - item: 当前item
59 | /// - Returns: Bool
60 | func tabBar(_ tabBar: UITabBar, shouldSelect item: UITabBarItem) -> Bool
| `- error: 'UITabBarItem' is unavailable in watchOS
61 |
62 | /// 当前item是否需要被劫持
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITabBarItem.h:35:12: note: 'UITabBarItem' has been explicitly marked unavailable here
33 |
34 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
35 | @interface UITabBarItem : UIBarItem
| `- note: 'UITabBarItem' has been explicitly marked unavailable here
36 |
37 | - (instancetype)init NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/ESTabBar.swift:68:27: error: 'UITabBar' is unavailable in watchOS
66 | /// - item: 当前item
67 | /// - Returns: Bool
68 | func tabBar(_ tabBar: UITabBar, shouldHijack item: UITabBarItem) -> Bool
| `- error: 'UITabBar' is unavailable in watchOS
69 |
70 | /// 当前item的点击被劫持
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITabBar.h:28:12: note: 'UITabBar' has been explicitly marked unavailable here
26 |
27 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
28 | @interface UITabBar : UIView
| `- note: 'UITabBar' has been explicitly marked unavailable here
29 |
30 | @property(nullable, nonatomic, weak) id<UITabBarDelegate> delegate; // weak reference. default is nil
/Users/admin/builder/spi-builder-workspace/Sources/ESTabBar.swift:68:56: error: 'UITabBarItem' is unavailable in watchOS
66 | /// - item: 当前item
67 | /// - Returns: Bool
68 | func tabBar(_ tabBar: UITabBar, shouldHijack item: UITabBarItem) -> Bool
| `- error: 'UITabBarItem' is unavailable in watchOS
69 |
70 | /// 当前item的点击被劫持
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITabBarItem.h:35:12: note: 'UITabBarItem' has been explicitly marked unavailable here
33 |
34 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
35 | @interface UITabBarItem : UIBarItem
| `- note: 'UITabBarItem' has been explicitly marked unavailable here
36 |
37 | - (instancetype)init NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/ESTabBar.swift:76:27: error: 'UITabBar' is unavailable in watchOS
74 | /// - item: 当前item
75 | /// - Returns: Void
76 | func tabBar(_ tabBar: UITabBar, didHijack item: UITabBarItem)
| `- error: 'UITabBar' is unavailable in watchOS
77 | }
78 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITabBar.h:28:12: note: 'UITabBar' has been explicitly marked unavailable here
26 |
27 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
28 | @interface UITabBar : UIView
| `- note: 'UITabBar' has been explicitly marked unavailable here
29 |
30 | @property(nullable, nonatomic, weak) id<UITabBarDelegate> delegate; // weak reference. default is nil
/Users/admin/builder/spi-builder-workspace/Sources/ESTabBar.swift:76:53: error: 'UITabBarItem' is unavailable in watchOS
74 | /// - item: 当前item
75 | /// - Returns: Void
76 | func tabBar(_ tabBar: UITabBar, didHijack item: UITabBarItem)
| `- error: 'UITabBarItem' is unavailable in watchOS
77 | }
78 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITabBarItem.h:35:12: note: 'UITabBarItem' has been explicitly marked unavailable here
33 |
34 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
35 | @interface UITabBarItem : UIBarItem
| `- note: 'UITabBarItem' has been explicitly marked unavailable here
36 |
37 | - (instancetype)init NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/ESTabBar.swift:109:41: error: 'UITabBarController' is unavailable in watchOS
107 | internal var containers = [ESTabBarItemContainer]()
108 | /// 缓存当前tabBarController用来判断是否存在"More"Tab
109 | internal weak var tabBarController: UITabBarController?
| `- error: 'UITabBarController' is unavailable in watchOS
110 | /// 自定义'More'按钮样式,继承自ESTabBarItemContentView
111 | open var moreContentView: ESTabBarItemContentView? = ESTabBarItemMoreContentView.init() {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITabBarController.h:64:12: note: 'UITabBarController' has been explicitly marked unavailable here
62 |
63 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
64 | @interface UITabBarController : UIViewController <UITabBarDelegate, NSCoding>
| `- note: 'UITabBarController' has been explicitly marked unavailable here
65 |
66 | /// The object managing the delegate of the tab bar controller.
/Users/admin/builder/spi-builder-workspace/Sources/ESTabBar.swift:111:86: error: 'init()' is unavailable in watchOS
109 | internal weak var tabBarController: UITabBarController?
110 | /// 自定义'More'按钮样式,继承自ESTabBarItemContentView
111 | open var moreContentView: ESTabBarItemContentView? = ESTabBarItemMoreContentView.init() {
| `- error: 'init()' is unavailable in watchOS
112 | didSet { self.reload() }
113 | }
/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/ESTabBar.swift:115:31: error: 'UITabBarItem' is unavailable in watchOS
113 | }
114 |
115 | open override var items: [UITabBarItem]? {
| `- error: 'UITabBarItem' is unavailable in watchOS
116 | didSet {
117 | self.reload()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITabBarItem.h:35:12: note: 'UITabBarItem' has been explicitly marked unavailable here
33 |
34 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
35 | @interface UITabBarItem : UIBarItem
| `- note: 'UITabBarItem' has been explicitly marked unavailable here
36 |
37 | - (instancetype)init NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/ESTabBar.swift:129:43: error: 'UITabBarItem' is unavailable in watchOS
127 | }
128 |
129 | open override func setItems(_ items: [UITabBarItem]?, animated: Bool) {
| `- error: 'UITabBarItem' is unavailable in watchOS
130 | super.setItems(items, animated: animated)
131 | self.reload()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITabBarItem.h:35:12: note: 'UITabBarItem' has been explicitly marked unavailable here
33 |
34 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
35 | @interface UITabBarItem : UIBarItem
| `- note: 'UITabBarItem' has been explicitly marked unavailable here
36 |
37 | - (instancetype)init NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/ESTabBar.swift:134:56: error: 'UITabBarItem' is unavailable in watchOS
132 | }
133 |
134 | open override func beginCustomizingItems(_ items: [UITabBarItem]) {
| `- error: 'UITabBarItem' is unavailable in watchOS
135 | ESTabBarController.printError("beginCustomizingItems(_:) is unsupported in ESTabBar.")
136 | super.beginCustomizingItems(items)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITabBarItem.h:35:12: note: 'UITabBarItem' has been explicitly marked unavailable here
33 |
34 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
35 | @interface UITabBarItem : UIBarItem
| `- note: 'UITabBarItem' has been explicitly marked unavailable here
36 |
37 | - (instancetype)init NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/ESTabBar.swift:149:65: error: 'UIEvent' is unavailable in watchOS
147 | }
148 |
149 | open override func point(inside point: CGPoint, with event: UIEvent?) -> Bool {
| `- error: 'UIEvent' is unavailable in watchOS
150 | var b = super.point(inside: point, with: event)
151 | if !b {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIEvent.h:62:12: note: 'UIEvent' has been explicitly marked unavailable here
60 |
61 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
62 | @interface UIEvent : NSObject
| `- note: 'UIEvent' has been explicitly marked unavailable here
63 |
64 | @property(nonatomic,readonly) UIEventType type API_AVAILABLE(ios(3.0));
/Users/admin/builder/spi-builder-workspace/Sources/ESTabBar.swift:82:22: error: 'UITabBar' is unavailable in watchOS
80 |
81 | /// ESTabBar是高度自定义的UITabBar子类,通过添加UIControl的方式实现自定义tabBarItem的效果。目前支持tabBar的大部分属性的设置,例如delegate,items,selectedImge,itemPositioning,itemWidth,itemSpacing等,以后会更加细致的优化tabBar原有属性的设置效果。
82 | open class ESTabBar: UITabBar {
| `- error: 'UITabBar' is unavailable in watchOS
83 |
84 | internal weak var customDelegate: ESTabBarDelegate?
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITabBar.h:28:12: note: 'UITabBar' has been explicitly marked unavailable here
26 |
27 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
28 | @interface UITabBar : UIView
| `- note: 'UITabBar' has been explicitly marked unavailable here
29 |
30 | @property(nullable, nonatomic, weak) id<UITabBarDelegate> delegate; // weak reference. default is nil
/Users/admin/builder/spi-builder-workspace/Sources/ESTabBar.swift:180:12: error: 'isCustomizing' is unavailable in watchOS
178 | }
179 |
180 | if isCustomizing {
| `- error: 'isCustomizing' is unavailable in watchOS
181 | for (idx, _) in tabBarItems.enumerated() {
182 | tabBarButtons[idx].isHidden = false
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITabBar.h:41:59: note: 'isCustomizing' has been explicitly marked unavailable here
39 | - (BOOL)endCustomizingAnimated:(BOOL)animated API_UNAVAILABLE(tvos, visionos); // hide customization sheet. normally you should let the user do it. check list of items to see new layout. returns YES if layout changed
40 |
41 | @property(nonatomic, readonly, getter=isCustomizing) BOOL customizing API_UNAVAILABLE(tvos, visionos, watchos);
| `- note: 'isCustomizing' has been explicitly marked unavailable here
42 |
43 | /*
/Users/admin/builder/spi-builder-workspace/Sources/ESTabBar.swift:378:28: error: 'UINavigationController' is unavailable in watchOS
376 |
377 | if let tabBarController = tabBarController {
378 | var navVC: UINavigationController?
| `- error: 'UINavigationController' is unavailable in watchOS
379 | if let n = tabBarController.selectedViewController as? UINavigationController {
380 | navVC = n
/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/ESTabBar.swift:379:72: error: 'UINavigationController' is unavailable in watchOS
377 | if let tabBarController = tabBarController {
378 | var navVC: UINavigationController?
379 | if let n = tabBarController.selectedViewController as? UINavigationController {
| `- error: 'UINavigationController' is unavailable in watchOS
380 | navVC = n
381 | } else if let n = tabBarController.selectedViewController?.navigationController {
/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/ESTabBar.swift:412:23: error: 'accessibilityTraits' is unavailable in watchOS
410 | let container = self.containers[idx]
411 | container.accessibilityIdentifier = item.accessibilityIdentifier
412 | container.accessibilityTraits = item.accessibilityTraits
| `- error: 'accessibilityTraits' is unavailable in watchOS
413 |
414 | if item == selectedItem {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibility.h:113:45: note: 'accessibilityTraits' has been explicitly marked unavailable here
111 | Setting the property will change the traits that are returned to the accessibility client.
112 | */
113 | @property (nonatomic) UIAccessibilityTraits accessibilityTraits API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR;
| `- note: 'accessibilityTraits' has been explicitly marked unavailable here
114 |
115 | /*
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/ESTabBar.swift (in target 'ESTabBarController' from project 'ESTabBarController')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile ESTabBar.swift
SwiftCompile normal arm64_32 Compiling\ ESTabBarItemContainer.swift /Users/admin/builder/spi-builder-workspace/Sources/ESTabBarItemContainer.swift (in target 'ESTabBarController' from project 'ESTabBarController')
/Users/admin/builder/spi-builder-workspace/Sources/ESTabBarItemContainer.swift:55:69: error: 'UIEvent' is unavailable in watchOS
53 | }
54 |
55 | internal override func point(inside point: CGPoint, with event: UIEvent?) -> Bool {
| `- error: 'UIEvent' is unavailable in watchOS
56 | var b = super.point(inside: point, with: event)
57 | if !b {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIEvent.h:62:12: note: 'UIEvent' has been explicitly marked unavailable here
60 |
61 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
62 | @interface UIEvent : NSObject
| `- note: 'UIEvent' has been explicitly marked unavailable here
63 |
64 | @property(nonatomic,readonly) UIEventType type API_AVAILABLE(ios(3.0));
/Users/admin/builder/spi-builder-workspace/Sources/ESTabBarItemContainer.swift:28:39: error: 'UIControl' is unavailable in watchOS
26 | import UIKit
27 |
28 | internal class ESTabBarItemContainer: UIControl {
| `- error: 'UIControl' is unavailable in watchOS
29 |
30 | internal init(_ target: AnyObject?, tag: 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/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;
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/ESTabBarItemContainer.swift (in target 'ESTabBarController' from project 'ESTabBarController')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile ESTabBarItemContainer.swift
SwiftCompile normal arm64 Compiling\ ESTabBarController.swift /Users/admin/builder/spi-builder-workspace/Sources/ESTabBarController.swift (in target 'ESTabBarController' from project 'ESTabBarController')
/Users/admin/builder/spi-builder-workspace/Sources/ESTabBarController.swift:29:80: error: 'UITabBarController' is unavailable in watchOS
27 |
28 | /// 是否需要自定义点击事件回调类型
29 | public typealias ESTabBarControllerShouldHijackHandler = ((_ tabBarController: UITabBarController, _ viewController: UIViewController, _ index: Int) -> (Bool))
| `- error: 'UITabBarController' is unavailable in watchOS
30 | /// 自定义点击事件回调类型
31 | public typealias ESTabBarControllerDidHijackHandler = ((_ tabBarController: UITabBarController, _ viewController: UIViewController, _ index: Int) -> (Void))
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITabBarController.h:64:12: note: 'UITabBarController' has been explicitly marked unavailable here
62 |
63 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
64 | @interface UITabBarController : UIViewController <UITabBarDelegate, NSCoding>
| `- note: 'UITabBarController' has been explicitly marked unavailable here
65 |
66 | /// The object managing the delegate of the tab bar controller.
/Users/admin/builder/spi-builder-workspace/Sources/ESTabBarController.swift:29:118: error: 'UIViewController' is unavailable in watchOS
27 |
28 | /// 是否需要自定义点击事件回调类型
29 | public typealias ESTabBarControllerShouldHijackHandler = ((_ tabBarController: UITabBarController, _ viewController: UIViewController, _ index: Int) -> (Bool))
| `- error: 'UIViewController' is unavailable in watchOS
30 | /// 自定义点击事件回调类型
31 | public typealias ESTabBarControllerDidHijackHandler = ((_ tabBarController: UITabBarController, _ viewController: UIViewController, _ index: Int) -> (Void))
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/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/ESTabBarController.swift:31:77: error: 'UITabBarController' is unavailable in watchOS
29 | public typealias ESTabBarControllerShouldHijackHandler = ((_ tabBarController: UITabBarController, _ viewController: UIViewController, _ index: Int) -> (Bool))
30 | /// 自定义点击事件回调类型
31 | public typealias ESTabBarControllerDidHijackHandler = ((_ tabBarController: UITabBarController, _ viewController: UIViewController, _ index: Int) -> (Void))
| `- error: 'UITabBarController' is unavailable in watchOS
32 |
33 | open class ESTabBarController: UITabBarController, ESTabBarDelegate {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITabBarController.h:64:12: note: 'UITabBarController' has been explicitly marked unavailable here
62 |
63 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
64 | @interface UITabBarController : UIViewController <UITabBarDelegate, NSCoding>
| `- note: 'UITabBarController' has been explicitly marked unavailable here
65 |
66 | /// The object managing the delegate of the tab bar controller.
/Users/admin/builder/spi-builder-workspace/Sources/ESTabBarController.swift:31:115: error: 'UIViewController' is unavailable in watchOS
29 | public typealias ESTabBarControllerShouldHijackHandler = ((_ tabBarController: UITabBarController, _ viewController: UIViewController, _ index: Int) -> (Bool))
30 | /// 自定义点击事件回调类型
31 | public typealias ESTabBarControllerDidHijackHandler = ((_ tabBarController: UITabBarController, _ viewController: UIViewController, _ index: Int) -> (Void))
| `- error: 'UIViewController' is unavailable in watchOS
32 |
33 | open class ESTabBarController: UITabBarController, ESTabBarDelegate {
/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/ESTabBarController.swift:43:58: error: 'UITabBarController' is unavailable in watchOS
41 |
42 | /// 当前tabBarController是否存在"More"tab
43 | public static func isShowingMore(_ tabBarController: UITabBarController?) -> Bool {
| `- error: 'UITabBarController' is unavailable in watchOS
44 | return tabBarController?.moreNavigationController.parent != nil
45 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITabBarController.h:64:12: note: 'UITabBarController' has been explicitly marked unavailable here
62 |
63 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
64 | @interface UITabBarController : UIViewController <UITabBarDelegate, NSCoding>
| `- note: 'UITabBarController' has been explicitly marked unavailable here
65 |
66 | /// The object managing the delegate of the tab bar controller.
/Users/admin/builder/spi-builder-workspace/Sources/ESTabBarController.swift:56:47: error: 'UIViewController' is unavailable in watchOS
54 |
55 | /// Observer tabBarController's selectedViewController. change its selection when it will-set.
56 | open override var selectedViewController: UIViewController? {
| `- error: 'UIViewController' is unavailable in watchOS
57 | willSet {
58 | guard let newValue = newValue 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/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/ESTabBarController.swift:103:41: error: 'UITabBar' is unavailable in watchOS
101 |
102 | // MARK: - UITabBar delegate
103 | open override func tabBar(_ tabBar: UITabBar, didSelect item: UITabBarItem) {
| `- error: 'UITabBar' is unavailable in watchOS
104 | guard let idx = tabBar.items?.firstIndex(of: item) else {
105 | return;
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITabBar.h:28:12: note: 'UITabBar' has been explicitly marked unavailable here
26 |
27 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
28 | @interface UITabBar : UIView
| `- note: 'UITabBar' has been explicitly marked unavailable here
29 |
30 | @property(nullable, nonatomic, weak) id<UITabBarDelegate> delegate; // weak reference. default is nil
/Users/admin/builder/spi-builder-workspace/Sources/ESTabBarController.swift:103:67: error: 'UITabBarItem' is unavailable in watchOS
101 |
102 | // MARK: - UITabBar delegate
103 | open override func tabBar(_ tabBar: UITabBar, didSelect item: UITabBarItem) {
| `- error: 'UITabBarItem' is unavailable in watchOS
104 | guard let idx = tabBar.items?.firstIndex(of: item) else {
105 | return;
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITabBarItem.h:35:12: note: 'UITabBarItem' has been explicitly marked unavailable here
33 |
34 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
35 | @interface UITabBarItem : UIBarItem
| `- note: 'UITabBarItem' has been explicitly marked unavailable here
36 |
37 | - (instancetype)init NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/ESTabBarController.swift:119:41: error: 'UITabBar' is unavailable in watchOS
117 | }
118 |
119 | open override func tabBar(_ tabBar: UITabBar, willBeginCustomizing items: [UITabBarItem]) {
| `- error: 'UITabBar' is unavailable in watchOS
120 | if let tabBar = tabBar as? ESTabBar {
121 | tabBar.updateLayout()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITabBar.h:28:12: note: 'UITabBar' has been explicitly marked unavailable here
26 |
27 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
28 | @interface UITabBar : UIView
| `- note: 'UITabBar' has been explicitly marked unavailable here
29 |
30 | @property(nullable, nonatomic, weak) id<UITabBarDelegate> delegate; // weak reference. default is nil
/Users/admin/builder/spi-builder-workspace/Sources/ESTabBarController.swift:119:80: error: 'UITabBarItem' is unavailable in watchOS
117 | }
118 |
119 | open override func tabBar(_ tabBar: UITabBar, willBeginCustomizing items: [UITabBarItem]) {
| `- error: 'UITabBarItem' is unavailable in watchOS
120 | if let tabBar = tabBar as? ESTabBar {
121 | tabBar.updateLayout()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITabBarItem.h:35:12: note: 'UITabBarItem' has been explicitly marked unavailable here
33 |
34 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
35 | @interface UITabBarItem : UIBarItem
| `- note: 'UITabBarItem' has been explicitly marked unavailable here
36 |
37 | - (instancetype)init NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/ESTabBarController.swift:125:41: error: 'UITabBar' is unavailable in watchOS
123 | }
124 |
125 | open override func tabBar(_ tabBar: UITabBar, didEndCustomizing items: [UITabBarItem], changed: Bool) {
| `- error: 'UITabBar' is unavailable in watchOS
126 | if let tabBar = tabBar as? ESTabBar {
127 | tabBar.updateLayout()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITabBar.h:28:12: note: 'UITabBar' has been explicitly marked unavailable here
26 |
27 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
28 | @interface UITabBar : UIView
| `- note: 'UITabBar' has been explicitly marked unavailable here
29 |
30 | @property(nullable, nonatomic, weak) id<UITabBarDelegate> delegate; // weak reference. default is nil
/Users/admin/builder/spi-builder-workspace/Sources/ESTabBarController.swift:125:77: error: 'UITabBarItem' is unavailable in watchOS
123 | }
124 |
125 | open override func tabBar(_ tabBar: UITabBar, didEndCustomizing items: [UITabBarItem], changed: Bool) {
| `- error: 'UITabBarItem' is unavailable in watchOS
126 | if let tabBar = tabBar as? ESTabBar {
127 | tabBar.updateLayout()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITabBarItem.h:35:12: note: 'UITabBarItem' has been explicitly marked unavailable here
33 |
34 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
35 | @interface UITabBarItem : UIBarItem
| `- note: 'UITabBarItem' has been explicitly marked unavailable here
36 |
37 | - (instancetype)init NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/ESTabBarController.swift:132:36: error: 'UITabBar' is unavailable in watchOS
130 |
131 | // MARK: - ESTabBar delegate
132 | internal func tabBar(_ tabBar: UITabBar, shouldSelect item: UITabBarItem) -> Bool {
| `- error: 'UITabBar' is unavailable in watchOS
133 | if let idx = tabBar.items?.firstIndex(of: item), let vc = viewControllers?[idx] {
134 | return delegate?.tabBarController?(self, shouldSelect: vc) ?? 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/UITabBar.h:28:12: note: 'UITabBar' has been explicitly marked unavailable here
26 |
27 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
28 | @interface UITabBar : UIView
| `- note: 'UITabBar' has been explicitly marked unavailable here
29 |
30 | @property(nullable, nonatomic, weak) id<UITabBarDelegate> delegate; // weak reference. default is nil
/Users/admin/builder/spi-builder-workspace/Sources/ESTabBarController.swift:132:65: error: 'UITabBarItem' is unavailable in watchOS
130 |
131 | // MARK: - ESTabBar delegate
132 | internal func tabBar(_ tabBar: UITabBar, shouldSelect item: UITabBarItem) -> Bool {
| `- error: 'UITabBarItem' is unavailable in watchOS
133 | if let idx = tabBar.items?.firstIndex(of: item), let vc = viewControllers?[idx] {
134 | return delegate?.tabBarController?(self, shouldSelect: vc) ?? 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/UITabBarItem.h:35:12: note: 'UITabBarItem' has been explicitly marked unavailable here
33 |
34 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
35 | @interface UITabBarItem : UIBarItem
| `- note: 'UITabBarItem' has been explicitly marked unavailable here
36 |
37 | - (instancetype)init NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/ESTabBarController.swift:139:36: error: 'UITabBar' is unavailable in watchOS
137 | }
138 |
139 | internal func tabBar(_ tabBar: UITabBar, shouldHijack item: UITabBarItem) -> Bool {
| `- error: 'UITabBar' is unavailable in watchOS
140 | if let idx = tabBar.items?.firstIndex(of: item), let vc = viewControllers?[idx] {
141 | return shouldHijackHandler?(self, vc, idx) ?? false
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITabBar.h:28:12: note: 'UITabBar' has been explicitly marked unavailable here
26 |
27 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
28 | @interface UITabBar : UIView
| `- note: 'UITabBar' has been explicitly marked unavailable here
29 |
30 | @property(nullable, nonatomic, weak) id<UITabBarDelegate> delegate; // weak reference. default is nil
/Users/admin/builder/spi-builder-workspace/Sources/ESTabBarController.swift:139:65: error: 'UITabBarItem' is unavailable in watchOS
137 | }
138 |
139 | internal func tabBar(_ tabBar: UITabBar, shouldHijack item: UITabBarItem) -> Bool {
| `- error: 'UITabBarItem' is unavailable in watchOS
140 | if let idx = tabBar.items?.firstIndex(of: item), let vc = viewControllers?[idx] {
141 | return shouldHijackHandler?(self, vc, idx) ?? false
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITabBarItem.h:35:12: note: 'UITabBarItem' has been explicitly marked unavailable here
33 |
34 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
35 | @interface UITabBarItem : UIBarItem
| `- note: 'UITabBarItem' has been explicitly marked unavailable here
36 |
37 | - (instancetype)init NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/ESTabBarController.swift:146:36: error: 'UITabBar' is unavailable in watchOS
144 | }
145 |
146 | internal func tabBar(_ tabBar: UITabBar, didHijack item: UITabBarItem) {
| `- error: 'UITabBar' is unavailable in watchOS
147 | if let idx = tabBar.items?.firstIndex(of: item), let vc = viewControllers?[idx] {
148 | didHijackHandler?(self, vc, idx)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITabBar.h:28:12: note: 'UITabBar' has been explicitly marked unavailable here
26 |
27 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
28 | @interface UITabBar : UIView
| `- note: 'UITabBar' has been explicitly marked unavailable here
29 |
30 | @property(nullable, nonatomic, weak) id<UITabBarDelegate> delegate; // weak reference. default is nil
/Users/admin/builder/spi-builder-workspace/Sources/ESTabBarController.swift:146:62: error: 'UITabBarItem' is unavailable in watchOS
144 | }
145 |
146 | internal func tabBar(_ tabBar: UITabBar, didHijack item: UITabBarItem) {
| `- error: 'UITabBarItem' is unavailable in watchOS
147 | if let idx = tabBar.items?.firstIndex(of: item), let vc = viewControllers?[idx] {
148 | didHijackHandler?(self, vc, idx)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITabBarItem.h:35:12: note: 'UITabBarItem' has been explicitly marked unavailable here
33 |
34 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
35 | @interface UITabBarItem : UIBarItem
| `- note: 'UITabBarItem' has been explicitly marked unavailable here
36 |
37 | - (instancetype)init NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/ESTabBarController.swift:33:32: error: 'UITabBarController' is unavailable in watchOS
31 | public typealias ESTabBarControllerDidHijackHandler = ((_ tabBarController: UITabBarController, _ viewController: UIViewController, _ index: Int) -> (Void))
32 |
33 | open class ESTabBarController: UITabBarController, ESTabBarDelegate {
| `- error: 'UITabBarController' is unavailable in watchOS
34 |
35 | /// 打印异常
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITabBarController.h:64:12: note: 'UITabBarController' has been explicitly marked unavailable here
62 |
63 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
64 | @interface UITabBarController : UIViewController <UITabBarDelegate, NSCoding>
| `- note: 'UITabBarController' has been explicitly marked unavailable here
65 |
66 | /// The object managing the delegate of the tab bar controller.
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/ESTabBarController.swift (in target 'ESTabBarController' from project 'ESTabBarController')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile ESTabBarController.swift
SwiftCompile normal arm64 Compiling\ ESTabBarItemContainer.swift /Users/admin/builder/spi-builder-workspace/Sources/ESTabBarItemContainer.swift (in target 'ESTabBarController' from project 'ESTabBarController')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/ESTabBarItemContainer.swift (in target 'ESTabBarController' from project 'ESTabBarController')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile ESTabBarItemContainer.swift
/Users/admin/builder/spi-builder-workspace/Sources/ESTabBarItemContainer.swift:55:69: error: 'UIEvent' is unavailable in watchOS
53 | }
54 |
55 | internal override func point(inside point: CGPoint, with event: UIEvent?) -> Bool {
| `- error: 'UIEvent' is unavailable in watchOS
56 | var b = super.point(inside: point, with: event)
57 | if !b {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIEvent.h:62:12: note: 'UIEvent' has been explicitly marked unavailable here
60 |
61 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
62 | @interface UIEvent : NSObject
| `- note: 'UIEvent' has been explicitly marked unavailable here
63 |
64 | @property(nonatomic,readonly) UIEventType type API_AVAILABLE(ios(3.0));
/Users/admin/builder/spi-builder-workspace/Sources/ESTabBarItemContainer.swift:28:39: error: 'UIControl' is unavailable in watchOS
26 | import UIKit
27 |
28 | internal class ESTabBarItemContainer: UIControl {
| `- error: 'UIControl' is unavailable in watchOS
29 |
30 | internal init(_ target: AnyObject?, tag: 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/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;
SwiftEmitModule normal arm64 Emitting\ module\ for\ ESTabBarController (in target 'ESTabBarController' from project 'ESTabBarController')
SwiftCompile normal arm64 (in target 'ESTabBarController' from project 'ESTabBarController')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules
2026-09-17 06:56:10.771 xcodebuild[870:5093] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
** BUILD FAILED **
The following build commands failed:
SwiftEmitModule normal arm64_32 Emitting\ module\ for\ ESTabBarController (in target 'ESTabBarController' from project 'ESTabBarController')
SwiftCompile normal arm64_32 (in target 'ESTabBarController' from project 'ESTabBarController')
Building workspace ESTabBarController with scheme ESTabBarController
(3 failures)
BUILD FAILURE 6.4 watchOS