Build Information
Failed to build TabBarMenu, reference v0.7.14 (9ea749), with Swift 6.4 for watchOS using Xcode 27.0 on 18 Nov 2026 20:37:21 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-27.0.0.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme TabBarMenu-Package -destination generic/platform=watchOSBuild Log
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/TabBarMenu/TabBarMenuTabBarControllerDelegateProxy.swift:89:10: error: cannot override 'tabBarController' which has been marked unavailable
87 | }
88 |
89 | func tabBarController(_ tabBarController: UITabBarController, shouldSelectTab tab: UITab) -> Bool {
| `- error: cannot override 'tabBarController' which has been marked unavailable
90 | if coordinator?.isSelectingProgrammatically == true { return true }
91 | coordinator?.willSelectNativeContent(.tab(tab))
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITabBarController.h:177:1: note: 'tabBarController(_:shouldSelectTab:)' has been explicitly marked unavailable here
175 | ///
176 | /// Return @c YES if the specified @c tab can be selected by the user. Otherwise, return @c NO
177 | - (BOOL)tabBarController:(UITabBarController *)tabBarController shouldSelectTab:(UITab *)tab NS_SWIFT_NAME(tabBarController(_:shouldSelectTab:)) API_AVAILABLE(ios(18.0), tvos(18.0), visionos(2.0)) API_UNAVAILABLE(watchos);
| `- note: 'tabBarController(_:shouldSelectTab:)' has been explicitly marked unavailable here
178 |
179 | /// Tells the delegate that the user selected the specified @c selectedTab in the tab bar controller.
/Users/admin/builder/spi-builder-workspace/Sources/TabBarMenu/TabBarMenuTabBarControllerDelegateProxy.swift:107:10: error: cannot override 'tabBarController' which has been marked unavailable
105 | }
106 |
107 | func tabBarController(
| `- error: cannot override 'tabBarController' which has been marked unavailable
108 | _ tabBarController: UITabBarController,
109 | didSelectTab tab: UITab,
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITabBarController.h:182:1: note: 'tabBarController(_:didSelectTab:previousTab:)' has been explicitly marked unavailable here
180 | ///
181 | /// This specified @c selectedTab is either a root tab or any of their descendants.
182 | - (void)tabBarController:(UITabBarController *)tabBarController didSelectTab:(UITab *)selectedTab previousTab:(nullable UITab *)previousTab NS_SWIFT_NAME(tabBarController(_:didSelectTab:previousTab:)) API_AVAILABLE(ios(18.0), tvos(18.0), visionos(2.0)) API_UNAVAILABLE(watchos);
| `- note: 'tabBarController(_:didSelectTab:previousTab:)' has been explicitly marked unavailable here
183 |
184 | /// Asks the delegate for a drop operation to determine if drag items can be dropped into the specified @c tab
/Users/admin/builder/spi-builder-workspace/Sources/TabBarMenu/TabBarMenuTabBarControllerDelegateProxy.swift:48:10: error: cannot override 'tabBarController' which has been marked unavailable
46 | }
47 |
48 | func tabBarController(
| `- error: cannot override 'tabBarController' which has been marked unavailable
49 | _ tabBarController: UITabBarController,
50 | displayedViewControllersFor tab: UITab,
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITabBarController.h:218:1: note: 'tabBarController(_:displayedViewControllersFor:proposedViewControllers:)' has been explicitly marked unavailable here
216 | ///
217 | /// @return A list of view controllers represented by the tab in the navigation stack.
218 | - (NSArray<UIViewController *> *)tabBarController:(UITabBarController *)tabBarController
| `- note: 'tabBarController(_:displayedViewControllersFor:proposedViewControllers:)' has been explicitly marked unavailable here
219 | displayedViewControllersForTab:(UITab *)tab
220 | proposedViewControllers:(NSArray<UIViewController *> *)proposedViewControllers API_AVAILABLE(ios(18.0), visionos(2.0)) API_UNAVAILABLE(tvos, watchos);
/Users/admin/builder/spi-builder-workspace/Sources/TabBarMenu/TabBarMenuCoordinator.swift:340:80: error: 'UITabBarControllerDelegate' is unavailable in watchOS
338 |
339 | if tabBarController.delegate !== proxy {
340 | proxy.originalDelegate = tabBarController.delegate as? (NSObject & UITabBarControllerDelegate)
| `- error: 'UITabBarControllerDelegate' is unavailable in watchOS
341 | tabBarController.delegate = proxy
342 | }
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITabBarController.h:170:11: note: 'UITabBarControllerDelegate' has been explicitly marked unavailable here
168 |
169 | API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
170 | @protocol UITabBarControllerDelegate <NSObject>
| `- note: 'UITabBarControllerDelegate' has been explicitly marked unavailable here
171 |
172 | @optional
/Users/admin/builder/spi-builder-workspace/Sources/TabBarMenu/TabBarMenuCoordinator.swift:350:94: error: 'UINavigationControllerDelegate' is unavailable in watchOS
348 | moreNavigationDelegateProxy = navigationProxy
349 | if navigationController.delegate !== navigationProxy {
350 | navigationProxy.originalDelegate = navigationController.delegate as? (NSObject & UINavigationControllerDelegate)
| `- error: 'UINavigationControllerDelegate' is unavailable in watchOS
351 | navigationController.delegate = navigationProxy
352 | }
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINavigationController.h:128:11: note: 'UINavigationControllerDelegate' has been explicitly marked unavailable here
126 |
127 | API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
128 | @protocol UINavigationControllerDelegate <NSObject>
| `- note: 'UINavigationControllerDelegate' has been explicitly marked unavailable here
129 |
130 | @optional
/Users/admin/builder/spi-builder-workspace/Sources/TabBarMenu/TabBarMenuCoordinator.swift:487:16: error: 'performPrimaryAction()' is unavailable in watchOS
485 |
486 | private func presentMenu(from button: UIButton) {
487 | button.performPrimaryAction()
| `- error: 'performPrimaryAction()' is unavailable in watchOS
488 | }
489 |
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIControl.h:116:1: note: 'performPrimaryAction()' has been explicitly marked unavailable here
114 |
115 | /// Performs the control's primary action.
116 | - (void)performPrimaryAction API_AVAILABLE(ios(17.4)) API_UNAVAILABLE(watchos);
| `- note: 'performPrimaryAction()' has been explicitly marked unavailable here
117 |
118 | // get info about target & actions. this makes it possible to enumerate all target/actions by checking for each event kind
/Users/admin/builder/spi-builder-workspace/Sources/TabBarMenu/TabBarMenuCoordinator.swift:505:20: error: 'menu' is unavailable in watchOS
503 | }
504 |
505 | hostButton.menu = menu
| `- error: 'menu' is unavailable in watchOS
506 | presentMenu(from: hostButton)
507 | cancelTabBarTracking(for: sourceView)
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIButton.h:105:58: note: 'menu' has been explicitly marked unavailable here
103 |
104 | /// An optional menu for the button to display. The button will automatically enable or disable its contextMenuInteraction when a non-nil or nil menu is set. Defaults to nil.
105 | @property (nonatomic, readwrite, copy, nullable) UIMenu *menu API_AVAILABLE(ios(14.0), tvos(17.0)) API_UNAVAILABLE(watchos);
| `- note: 'menu' has been explicitly marked unavailable here
106 |
107 | /// Preferred menu element ordering strategy for menus displayed by this button.
/Users/admin/builder/spi-builder-workspace/Sources/TabBarMenu/TabBarMenuCoordinator.swift:511:35: error: 'UIControl' is unavailable in watchOS
509 |
510 | private func cancelTabBarTracking(for view: UIView?) {
511 | if let control = view as? UIControl {
| `- error: 'UIControl' is unavailable in watchOS
512 | control.isHighlighted = false
513 | control.cancelTracking(with: nil)
/Applications/Xcode-27.0.0.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/TabBarMenu/TabBarMenuCoordinator.swift:529:22: error: 'UIControl' is unavailable in watchOS
527 |
528 | private func tabBarControls(in view: UIView) -> [UIControl] {
529 | var result: [UIControl] = []
| `- error: 'UIControl' is unavailable in watchOS
530 | for subview in view.subviews {
531 | if let control = subview as? UIControl {
/Applications/Xcode-27.0.0.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/TabBarMenu/TabBarMenuCoordinator.swift:531:42: error: 'UIControl' is unavailable in watchOS
529 | var result: [UIControl] = []
530 | for subview in view.subviews {
531 | if let control = subview as? UIControl {
| `- error: 'UIControl' is unavailable in watchOS
532 | result.append(control)
533 | }
/Applications/Xcode-27.0.0.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/TabBarMenu/TabBarMenuCoordinator.swift:566:28: error: 'effectiveUserInterfaceLayoutDirection' is unavailable in watchOS
564 | }
565 |
566 | let isRTL = tabBar.effectiveUserInterfaceLayoutDirection == .rightToLeft
| `- error: 'effectiveUserInterfaceLayoutDirection' is unavailable in watchOS
567 | // Match the visual order so indices align with items in RTL.
568 | let sortedControls = controls.sorted { left, right in
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:186:64: note: 'effectiveUserInterfaceLayoutDirection' has been explicitly marked unavailable here
184 |
185 | // Returns the user interface layout direction appropriate for arranging the immediate content of this view. Always consult the effectiveUserInterfaceLayoutDirection of the view whose immediate content is being arranged or drawn. Do not assume that the value propagates through the view’s subtree.
186 | @property (readonly, nonatomic) UIUserInterfaceLayoutDirection effectiveUserInterfaceLayoutDirection API_AVAILABLE(ios(10.0)) API_UNAVAILABLE(watchos);
| `- note: 'effectiveUserInterfaceLayoutDirection' has been explicitly marked unavailable here
187 |
188 | @end
/Users/admin/builder/spi-builder-workspace/Sources/TabBarMenu/TabBarMenuCoordinator.swift:596:16: error: 'showsMenuAsPrimaryAction' is unavailable in watchOS
594 | let button = MenuHostButton(type: .custom)
595 | button.backgroundColor = .clear
596 | button.showsMenuAsPrimaryAction = true
| `- error: 'showsMenuAsPrimaryAction' is unavailable in watchOS
597 | containerView.addSubview(button)
598 |
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIControl.h:139:47: note: 'showsMenuAsPrimaryAction' has been explicitly marked unavailable here
137 | @property (nonatomic, readwrite, assign, getter = isContextMenuInteractionEnabled) BOOL contextMenuInteractionEnabled API_AVAILABLE(ios(14.0), tvos(17.0)) API_UNAVAILABLE(watchos);
138 | /// If the contextMenuInteraction is the primary action of the control, invoked on touch-down. NO by default.
139 | @property (nonatomic, readwrite, assign) BOOL showsMenuAsPrimaryAction API_AVAILABLE(ios(14.0), tvos(17.0)) API_UNAVAILABLE(watchos);
| `- note: 'showsMenuAsPrimaryAction' has been explicitly marked unavailable here
140 |
141 | /// Return a point in this control's coordinate space to which to attach the given configuration's menu.
/Users/admin/builder/spi-builder-workspace/Sources/TabBarMenu/TabBarMenuCoordinator.swift:632:90: error: 'UIView' is unavailable in watchOS
630 |
631 | private func tabBarItemView(_ item: UITabBarItem) -> UIView? {
632 | if let view = performSelector(UITabBarItemRuntimeMethodNames.view, on: item) as? UIView {
| `- error: 'UIView' is unavailable in watchOS
633 | return view
634 | }
/Applications/Xcode-27.0.0.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/TabBarMenu/TabBarMenuCoordinator.swift:655:44: error: 'UIControl' is unavailable in watchOS
653 | }
654 |
655 | guard let control = sourceView as? UIControl else {
| `- error: 'UIControl' is unavailable in watchOS
656 | return nil
657 | }
/Applications/Xcode-27.0.0.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/TabBarMenu/TabBarMenuCoordinator.swift (in target 'TabBarMenu' from project 'TabBarMenu')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile TabBarMenuCoordinator.swift
SwiftCompile normal arm64_32 Compiling\ TabBarMenu.swift /Users/admin/builder/spi-builder-workspace/Sources/TabBarMenu/TabBarMenu.swift (in target 'TabBarMenu' from project 'TabBarMenu')
/Users/admin/builder/spi-builder-workspace/Sources/TabBarMenu/TabBarMenu.swift:55:14: error: 'UITab' is unavailable in watchOS
53 | @MainActor
54 | public enum TabBarItem {
55 | case tab(UITab)
| `- error: 'UITab' is unavailable in watchOS
56 | case more(tabs: [UITab], selectedTab: UITab?)
57 | /// A tab configured through `UITabBarController.viewControllers`.
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITab.h:42:12: note: 'UITab' has been explicitly marked unavailable here
40 | UIKIT_EXTERN NS_SWIFT_UI_ACTOR
41 | API_AVAILABLE(ios(18.0), tvos(18.0), visionos(2.0)) API_UNAVAILABLE(watchos)
42 | @interface UITab : NSObject
| `- note: 'UITab' has been explicitly marked unavailable here
43 |
44 | /// The identifier associated with the tab, must be unique across the tab bar controller.
/Users/admin/builder/spi-builder-workspace/Sources/TabBarMenu/TabBarMenu.swift:56:22: error: 'UITab' is unavailable in watchOS
54 | public enum TabBarItem {
55 | case tab(UITab)
56 | case more(tabs: [UITab], selectedTab: UITab?)
| `- error: 'UITab' is unavailable in watchOS
57 | /// A tab configured through `UITabBarController.viewControllers`.
58 | case viewController(UIViewController)
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITab.h:42:12: note: 'UITab' has been explicitly marked unavailable here
40 | UIKIT_EXTERN NS_SWIFT_UI_ACTOR
41 | API_AVAILABLE(ios(18.0), tvos(18.0), visionos(2.0)) API_UNAVAILABLE(watchos)
42 | @interface UITab : NSObject
| `- note: 'UITab' has been explicitly marked unavailable here
43 |
44 | /// The identifier associated with the tab, must be unique across the tab bar controller.
/Users/admin/builder/spi-builder-workspace/Sources/TabBarMenu/TabBarMenu.swift:56:43: error: 'UITab' is unavailable in watchOS
54 | public enum TabBarItem {
55 | case tab(UITab)
56 | case more(tabs: [UITab], selectedTab: UITab?)
| `- error: 'UITab' is unavailable in watchOS
57 | /// A tab configured through `UITabBarController.viewControllers`.
58 | case viewController(UIViewController)
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITab.h:42:12: note: 'UITab' has been explicitly marked unavailable here
40 | UIKIT_EXTERN NS_SWIFT_UI_ACTOR
41 | API_AVAILABLE(ios(18.0), tvos(18.0), visionos(2.0)) API_UNAVAILABLE(watchos)
42 | @interface UITab : NSObject
| `- note: 'UITab' has been explicitly marked unavailable here
43 |
44 | /// The identifier associated with the tab, must be unique across the tab bar controller.
/Users/admin/builder/spi-builder-workspace/Sources/TabBarMenu/TabBarMenu.swift:58:25: error: 'UIViewController' is unavailable in watchOS
56 | case more(tabs: [UITab], selectedTab: UITab?)
57 | /// A tab configured through `UITabBarController.viewControllers`.
58 | case viewController(UIViewController)
| `- error: 'UIViewController' is unavailable in watchOS
59 | case moreViewControllers(viewControllers: [UIViewController], selectedViewController: UIViewController?)
60 | }
/Applications/Xcode-27.0.0.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/TabBarMenu/TabBarMenu.swift:59:48: error: 'UIViewController' is unavailable in watchOS
57 | /// A tab configured through `UITabBarController.viewControllers`.
58 | case viewController(UIViewController)
59 | case moreViewControllers(viewControllers: [UIViewController], selectedViewController: UIViewController?)
| `- error: 'UIViewController' is unavailable in watchOS
60 | }
61 |
/Applications/Xcode-27.0.0.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/TabBarMenu/TabBarMenu.swift:59:91: error: 'UIViewController' is unavailable in watchOS
57 | /// A tab configured through `UITabBarController.viewControllers`.
58 | case viewController(UIViewController)
59 | case moreViewControllers(viewControllers: [UIViewController], selectedViewController: UIViewController?)
| `- error: 'UIViewController' is unavailable in watchOS
60 | }
61 |
/Applications/Xcode-27.0.0.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/TabBarMenu/TabBarMenu.swift:65:22: error: 'UIMenu' is unavailable in watchOS
63 | @MainActor
64 | public struct TabBarMenuPresentation {
65 | public var menu: UIMenu
| `- error: 'UIMenu' is unavailable in watchOS
66 | public var anchorPlacement: TabBarMenuAnchorPlacement
67 | /// Defaults to UIKit's automatic ordering. Use `.fixed` to preserve the children array order.
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenu.h:43:12: note: 'UIMenu' has been explicitly marked unavailable here
41 |
42 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
43 | @interface UIMenu : UIMenuElement
| `- note: 'UIMenu' has been explicitly marked unavailable here
44 |
45 | /// Unique identifier.
/Users/admin/builder/spi-builder-workspace/Sources/TabBarMenu/TabBarMenu.swift:68:43: error: 'UIContextMenuConfiguration' is unavailable in watchOS
66 | public var anchorPlacement: TabBarMenuAnchorPlacement
67 | /// Defaults to UIKit's automatic ordering. Use `.fixed` to preserve the children array order.
68 | public var preferredMenuElementOrder: UIContextMenuConfiguration.ElementOrder
| `- error: 'UIContextMenuConfiguration' is unavailable in watchOS
69 |
70 | public init(
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIContextMenuConfiguration.h:39:12: note: 'UIContextMenuConfiguration' has been explicitly marked unavailable here
37 |
38 | UIKIT_EXTERN API_AVAILABLE(ios(13.0), tvos(17.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
39 | @interface UIContextMenuConfiguration : NSObject
| `- note: 'UIContextMenuConfiguration' has been explicitly marked unavailable here
40 |
41 | /// This configuration's identifier. When representing multiple items in your app, this identifier
/Users/admin/builder/spi-builder-workspace/Sources/TabBarMenu/TabBarMenu.swift:71:15: error: 'UIMenu' is unavailable in watchOS
69 |
70 | public init(
71 | menu: UIMenu,
| `- error: 'UIMenu' is unavailable in watchOS
72 | anchorPlacement: TabBarMenuAnchorPlacement = .above(),
73 | preferredMenuElementOrder: UIContextMenuConfiguration.ElementOrder = .automatic
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenu.h:43:12: note: 'UIMenu' has been explicitly marked unavailable here
41 |
42 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
43 | @interface UIMenu : UIMenuElement
| `- note: 'UIMenu' has been explicitly marked unavailable here
44 |
45 | /// Unique identifier.
/Users/admin/builder/spi-builder-workspace/Sources/TabBarMenu/TabBarMenu.swift:73:36: error: 'UIContextMenuConfiguration' is unavailable in watchOS
71 | menu: UIMenu,
72 | anchorPlacement: TabBarMenuAnchorPlacement = .above(),
73 | preferredMenuElementOrder: UIContextMenuConfiguration.ElementOrder = .automatic
| `- error: 'UIContextMenuConfiguration' is unavailable in watchOS
74 | ) {
75 | self.menu = menu
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIContextMenuConfiguration.h:39:12: note: 'UIContextMenuConfiguration' has been explicitly marked unavailable here
37 |
38 | UIKIT_EXTERN API_AVAILABLE(ios(13.0), tvos(17.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
39 | @interface UIContextMenuConfiguration : NSObject
| `- note: 'UIContextMenuConfiguration' has been explicitly marked unavailable here
40 |
41 | /// This configuration's identifier. When representing multiple items in your app, this identifier
/Users/admin/builder/spi-builder-workspace/Sources/TabBarMenu/TabBarMenu.swift:92:29: error: 'UITabBarController' is unavailable in watchOS
90 | /// This method is not called for layout, programmatic selection, or menu action execution.
91 | func tabBarController(
92 | _ tabBarController: UITabBarController,
| `- error: 'UITabBarController' is unavailable in watchOS
93 | prepareFor interaction: TabBarInteraction,
94 | on item: TabBarItem
/Applications/Xcode-27.0.0.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/TabBarMenu/TabBarMenu.swift:105:29: error: 'UITabBarController' is unavailable in watchOS
103 | /// `didShow` callback, so synchronous changes there cannot discard the completed selection.
104 | func tabBarController(
105 | _ tabBarController: UITabBarController,
| `- error: 'UITabBarController' is unavailable in watchOS
106 | didSelect selectedTab: UITab,
107 | previousTab: UITab?,
/Applications/Xcode-27.0.0.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/TabBarMenu/TabBarMenu.swift:106:32: error: 'UITab' is unavailable in watchOS
104 | func tabBarController(
105 | _ tabBarController: UITabBarController,
106 | didSelect selectedTab: UITab,
| `- error: 'UITab' is unavailable in watchOS
107 | previousTab: UITab?,
108 | isOverflow: Bool
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITab.h:42:12: note: 'UITab' has been explicitly marked unavailable here
40 | UIKIT_EXTERN NS_SWIFT_UI_ACTOR
41 | API_AVAILABLE(ios(18.0), tvos(18.0), visionos(2.0)) API_UNAVAILABLE(watchos)
42 | @interface UITab : NSObject
| `- note: 'UITab' has been explicitly marked unavailable here
43 |
44 | /// The identifier associated with the tab, must be unique across the tab bar controller.
/Users/admin/builder/spi-builder-workspace/Sources/TabBarMenu/TabBarMenu.swift:107:22: error: 'UITab' is unavailable in watchOS
105 | _ tabBarController: UITabBarController,
106 | didSelect selectedTab: UITab,
107 | previousTab: UITab?,
| `- error: 'UITab' is unavailable in watchOS
108 | isOverflow: Bool
109 | )
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITab.h:42:12: note: 'UITab' has been explicitly marked unavailable here
40 | UIKIT_EXTERN NS_SWIFT_UI_ACTOR
41 | API_AVAILABLE(ios(18.0), tvos(18.0), visionos(2.0)) API_UNAVAILABLE(watchos)
42 | @interface UITab : NSObject
| `- note: 'UITab' has been explicitly marked unavailable here
43 |
44 | /// The identifier associated with the tab, must be unique across the tab bar controller.
/Users/admin/builder/spi-builder-workspace/Sources/TabBarMenu/TabBarMenu.swift:113:29: error: 'UITabBarController' is unavailable in watchOS
111 | /// The selection notification for a controller configured with `viewControllers`.
112 | func tabBarController(
113 | _ tabBarController: UITabBarController,
| `- error: 'UITabBarController' is unavailable in watchOS
114 | didSelect selectedViewController: UIViewController,
115 | previousViewController: UIViewController?,
/Applications/Xcode-27.0.0.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/TabBarMenu/TabBarMenu.swift:114:43: error: 'UIViewController' is unavailable in watchOS
112 | func tabBarController(
113 | _ tabBarController: UITabBarController,
114 | didSelect selectedViewController: UIViewController,
| `- error: 'UIViewController' is unavailable in watchOS
115 | previousViewController: UIViewController?,
116 | isOverflow: Bool
/Applications/Xcode-27.0.0.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/TabBarMenu/TabBarMenu.swift:115:33: error: 'UIViewController' is unavailable in watchOS
113 | _ tabBarController: UITabBarController,
114 | didSelect selectedViewController: UIViewController,
115 | previousViewController: UIViewController?,
| `- error: 'UIViewController' is unavailable in watchOS
116 | isOverflow: Bool
117 | )
/Applications/Xcode-27.0.0.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/TabBarMenu/TabBarMenu.swift:122:29: error: 'UITabBarController' is unavailable in watchOS
120 | public extension TabBarMenuDelegate {
121 | func tabBarController(
122 | _ tabBarController: UITabBarController,
| `- error: 'UITabBarController' is unavailable in watchOS
123 | prepareFor interaction: TabBarInteraction,
124 | on item: TabBarItem
/Applications/Xcode-27.0.0.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/TabBarMenu/TabBarMenu.swift:128:29: error: 'UITabBarController' is unavailable in watchOS
126 |
127 | func tabBarController(
128 | _ tabBarController: UITabBarController,
| `- error: 'UITabBarController' is unavailable in watchOS
129 | didSelect selectedTab: UITab,
130 | previousTab: UITab?,
/Applications/Xcode-27.0.0.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/TabBarMenu/TabBarMenu.swift:129:32: error: 'UITab' is unavailable in watchOS
127 | func tabBarController(
128 | _ tabBarController: UITabBarController,
129 | didSelect selectedTab: UITab,
| `- error: 'UITab' is unavailable in watchOS
130 | previousTab: UITab?,
131 | isOverflow: Bool
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITab.h:42:12: note: 'UITab' has been explicitly marked unavailable here
40 | UIKIT_EXTERN NS_SWIFT_UI_ACTOR
41 | API_AVAILABLE(ios(18.0), tvos(18.0), visionos(2.0)) API_UNAVAILABLE(watchos)
42 | @interface UITab : NSObject
| `- note: 'UITab' has been explicitly marked unavailable here
43 |
44 | /// The identifier associated with the tab, must be unique across the tab bar controller.
/Users/admin/builder/spi-builder-workspace/Sources/TabBarMenu/TabBarMenu.swift:130:22: error: 'UITab' is unavailable in watchOS
128 | _ tabBarController: UITabBarController,
129 | didSelect selectedTab: UITab,
130 | previousTab: UITab?,
| `- error: 'UITab' is unavailable in watchOS
131 | isOverflow: Bool
132 | ) {}
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITab.h:42:12: note: 'UITab' has been explicitly marked unavailable here
40 | UIKIT_EXTERN NS_SWIFT_UI_ACTOR
41 | API_AVAILABLE(ios(18.0), tvos(18.0), visionos(2.0)) API_UNAVAILABLE(watchos)
42 | @interface UITab : NSObject
| `- note: 'UITab' has been explicitly marked unavailable here
43 |
44 | /// The identifier associated with the tab, must be unique across the tab bar controller.
/Users/admin/builder/spi-builder-workspace/Sources/TabBarMenu/TabBarMenu.swift:135:29: error: 'UITabBarController' is unavailable in watchOS
133 |
134 | func tabBarController(
135 | _ tabBarController: UITabBarController,
| `- error: 'UITabBarController' is unavailable in watchOS
136 | didSelect selectedViewController: UIViewController,
137 | previousViewController: UIViewController?,
/Applications/Xcode-27.0.0.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/TabBarMenu/TabBarMenu.swift:136:43: error: 'UIViewController' is unavailable in watchOS
134 | func tabBarController(
135 | _ tabBarController: UITabBarController,
136 | didSelect selectedViewController: UIViewController,
| `- error: 'UIViewController' is unavailable in watchOS
137 | previousViewController: UIViewController?,
138 | isOverflow: Bool
/Applications/Xcode-27.0.0.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/TabBarMenu/TabBarMenu.swift:137:33: error: 'UIViewController' is unavailable in watchOS
135 | _ tabBarController: UITabBarController,
136 | didSelect selectedViewController: UIViewController,
137 | previousViewController: UIViewController?,
| `- error: 'UIViewController' is unavailable in watchOS
138 | isOverflow: Bool
139 | ) {}
/Applications/Xcode-27.0.0.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/TabBarMenu/TabBarMenu.swift:189:38: error: 'UIMenu' is unavailable in watchOS
187 | /// - Returns: `true` when a menu host button exists and the update was applied.
188 | @discardableResult
189 | func updateTabBarMenu(_ update: (UIMenu?) -> UIMenu?) -> Bool {
| `- error: 'UIMenu' is unavailable in watchOS
190 | tabBarMenuCoordinator?.updateVisibleMenu(update) ?? false
191 | }
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenu.h:43:12: note: 'UIMenu' has been explicitly marked unavailable here
41 |
42 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
43 | @interface UIMenu : UIMenuElement
| `- note: 'UIMenu' has been explicitly marked unavailable here
44 |
45 | /// Unique identifier.
/Users/admin/builder/spi-builder-workspace/Sources/TabBarMenu/TabBarMenu.swift:189:50: error: 'UIMenu' is unavailable in watchOS
187 | /// - Returns: `true` when a menu host button exists and the update was applied.
188 | @discardableResult
189 | func updateTabBarMenu(_ update: (UIMenu?) -> UIMenu?) -> Bool {
| `- error: 'UIMenu' is unavailable in watchOS
190 | tabBarMenuCoordinator?.updateVisibleMenu(update) ?? false
191 | }
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenu.h:43:12: note: 'UIMenu' has been explicitly marked unavailable here
41 |
42 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
43 | @interface UIMenu : UIMenuElement
| `- note: 'UIMenu' has been explicitly marked unavailable here
44 |
45 | /// Unique identifier.
/Users/admin/builder/spi-builder-workspace/Sources/TabBarMenu/TabBarMenu.swift:195:35: error: 'UITab' is unavailable in watchOS
193 | /// Makes an action that selects this tab and sends one user-selection notification.
194 | /// Membership and the UIKit delegate's selection permission are checked when the action runs.
195 | func selectionAction(for tab: UITab) -> UIAction {
| `- error: 'UITab' is unavailable in watchOS
196 | UIAction(title: tab.title, image: tab.image, state: tabBarMenuSelectedTab === tab ? .on : .off) { [weak self, weak tab] _ in
197 | guard let self, let tab else { return }
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITab.h:42:12: note: 'UITab' has been explicitly marked unavailable here
40 | UIKIT_EXTERN NS_SWIFT_UI_ACTOR
41 | API_AVAILABLE(ios(18.0), tvos(18.0), visionos(2.0)) API_UNAVAILABLE(watchos)
42 | @interface UITab : NSObject
| `- note: 'UITab' has been explicitly marked unavailable here
43 |
44 | /// The identifier associated with the tab, must be unique across the tab bar controller.
/Users/admin/builder/spi-builder-workspace/Sources/TabBarMenu/TabBarMenu.swift:195:45: error: 'UIAction' is unavailable in watchOS
193 | /// Makes an action that selects this tab and sends one user-selection notification.
194 | /// Membership and the UIKit delegate's selection permission are checked when the action runs.
195 | func selectionAction(for tab: UITab) -> UIAction {
| `- error: 'UIAction' is unavailable in watchOS
196 | UIAction(title: tab.title, image: tab.image, state: tabBarMenuSelectedTab === tab ? .on : .off) { [weak self, weak tab] _ in
197 | guard let self, let tab else { return }
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAction.h:29:12: note: 'UIAction' has been explicitly marked unavailable here
27 |
28 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
29 | @interface UIAction : UIMenuElement <UIMenuLeaf>
| `- note: 'UIAction' has been explicitly marked unavailable here
30 |
31 | /// Short display title.
/Users/admin/builder/spi-builder-workspace/Sources/TabBarMenu/TabBarMenu.swift:203:46: error: 'UIViewController' is unavailable in watchOS
201 |
202 | /// Makes a user-selection action for a `viewControllers`-based tab bar.
203 | func selectionAction(for viewController: UIViewController) -> UIAction {
| `- error: 'UIViewController' is unavailable in watchOS
204 | UIAction(
205 | title: viewController.tabBarItem.title ?? viewController.title ?? "",
/Applications/Xcode-27.0.0.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/TabBarMenu/TabBarMenu.swift:203:67: error: 'UIAction' is unavailable in watchOS
201 |
202 | /// Makes a user-selection action for a `viewControllers`-based tab bar.
203 | func selectionAction(for viewController: UIViewController) -> UIAction {
| `- error: 'UIAction' is unavailable in watchOS
204 | UIAction(
205 | title: viewController.tabBarItem.title ?? viewController.title ?? "",
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAction.h:29:12: note: 'UIAction' has been explicitly marked unavailable here
27 |
28 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
29 | @interface UIAction : UIMenuElement <UIMenuLeaf>
| `- note: 'UIAction' has been explicitly marked unavailable here
30 |
31 | /// Short display title.
/Users/admin/builder/spi-builder-workspace/Sources/TabBarMenu/TabBarMenu.swift:143:18: error: 'UITabBarController' is unavailable in watchOS
141 |
142 | @MainActor
143 | public extension UITabBarController {
| `- error: 'UITabBarController' is unavailable in watchOS
144 | /// The delegate that supplies menus for tab bar items.
145 | /// Set this to automatically attach menu handling to the tab bar controller.
/Applications/Xcode-27.0.0.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/TabBarMenu/TabBarMenu.swift:196:9: error: 'UIAction' is unavailable in watchOS
194 | /// Membership and the UIKit delegate's selection permission are checked when the action runs.
195 | func selectionAction(for tab: UITab) -> UIAction {
196 | UIAction(title: tab.title, image: tab.image, state: tabBarMenuSelectedTab === tab ? .on : .off) { [weak self, weak tab] _ in
| `- error: 'UIAction' is unavailable in watchOS
197 | guard let self, let tab else { return }
198 | self.tabBarMenuCoordinator?.selectFromUser(.tab(tab))
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAction.h:29:12: note: 'UIAction' has been explicitly marked unavailable here
27 |
28 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
29 | @interface UIAction : UIMenuElement <UIMenuLeaf>
| `- note: 'UIAction' has been explicitly marked unavailable here
30 |
31 | /// Short display title.
/Users/admin/builder/spi-builder-workspace/Sources/TabBarMenu/TabBarMenu.swift:196:9: error: 'init(title:subtitle:image:selectedImage:preferredImageVisibility:identifier:discoverabilityTitle:attributes:state:handler:)' is unavailable in watchOS
194 | /// Membership and the UIKit delegate's selection permission are checked when the action runs.
195 | func selectionAction(for tab: UITab) -> UIAction {
196 | UIAction(title: tab.title, image: tab.image, state: tabBarMenuSelectedTab === tab ? .on : .off) { [weak self, weak tab] _ in
| `- error: 'init(title:subtitle:image:selectedImage:preferredImageVisibility:identifier:discoverabilityTitle:attributes:state:handler:)' is unavailable in watchOS
197 | guard let self, let tab else { return }
198 | self.tabBarMenuCoordinator?.selectFromUser(.tab(tab))
UIKit.UIAction.init:4:49: note: 'init(title:subtitle:image:selectedImage:preferredImageVisibility:identifier:discoverabilityTitle:attributes:state:handler:)' has been explicitly marked unavailable here
2 | @available(iOS 27.0, tvOS 27.0, *)
3 | @available(watchOS, unavailable)
4 | @MainActor @preconcurrency public convenience init(title: String = "", subtitle: String? = nil, image: UIImage? = nil, selectedImage: UIImage? = nil, preferredImageVisibility: UIMenuElement.ImageVisibility = .automatic, identifier: UIAction.Identifier? = nil, discoverabilityTitle: String? = nil, attributes: UIMenuElement.Attributes = [], state: UIMenuElement.State = .off, handler: @escaping UIActionHandler)}
| `- note: 'init(title:subtitle:image:selectedImage:preferredImageVisibility:identifier:discoverabilityTitle:attributes:state:handler:)' has been explicitly marked unavailable here
5 |
/Users/admin/builder/spi-builder-workspace/Sources/TabBarMenu/TabBarMenu.swift:204:9: error: 'UIAction' is unavailable in watchOS
202 | /// Makes a user-selection action for a `viewControllers`-based tab bar.
203 | func selectionAction(for viewController: UIViewController) -> UIAction {
204 | UIAction(
| `- error: 'UIAction' is unavailable in watchOS
205 | title: viewController.tabBarItem.title ?? viewController.title ?? "",
206 | image: viewController.tabBarItem.image,
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAction.h:29:12: note: 'UIAction' has been explicitly marked unavailable here
27 |
28 | UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
29 | @interface UIAction : UIMenuElement <UIMenuLeaf>
| `- note: 'UIAction' has been explicitly marked unavailable here
30 |
31 | /// Short display title.
SwiftCompile normal arm64_32 (in target 'TabBarMenu' from project 'TabBarMenu')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64_32 Compiling\ TabBarMenuRequests.swift /Users/admin/builder/spi-builder-workspace/Sources/TabBarMenu/TabBarMenuRequests.swift (in target 'TabBarMenu' from project 'TabBarMenu')
/Users/admin/builder/spi-builder-workspace/Sources/TabBarMenu/TabBarMenuRequests.swift:5:24: error: 'UIView' is unavailable in watchOS
3 | @MainActor
4 | struct PresentationContext {
5 | let containerView: UIView
| `- error: 'UIView' is unavailable in watchOS
6 | let tabFrame: CGRect
7 | }
/Applications/Xcode-27.0.0.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/TabBarMenu/TabBarMenuRequests.swift:21:66: error: 'UITabBarController' is unavailable in watchOS
19 | }
20 |
21 | func moreTabStartIndex(totalCount: Int, in tabBarController: UITabBarController) -> Int? {
| `- error: 'UITabBarController' is unavailable in watchOS
22 | if let actualMoreTabIndex = tabBarController.actualMoreTabIndexInTabElements,
23 | actualMoreTabIndex < totalCount {
/Applications/Xcode-27.0.0.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/TabBarMenu/TabBarMenuRequests.swift:53:77: error: 'UITabBarController' is unavailable in watchOS
51 | }
52 |
53 | func isMoreTabIndex(_ index: Int, totalCount: Int, in tabBarController: UITabBarController) -> Bool {
| `- error: 'UITabBarController' is unavailable in watchOS
54 | guard let startIndex = moreTabStartIndex(totalCount: totalCount, in: tabBarController) else {
55 | return false
/Applications/Xcode-27.0.0.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/TabBarMenu/TabBarMenuRequests.swift:70:73: error: 'UITabBarController' is unavailable in watchOS
68 | }
69 |
70 | func itemForMenu<T>(at index: Int, in items: [T], tabBarController: UITabBarController) -> T? {
| `- error: 'UITabBarController' is unavailable in watchOS
71 | guard !items.isEmpty else {
72 | return nil
/Applications/Xcode-27.0.0.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/TabBarMenu/TabBarMenuRequests.swift:89:58: error: 'UITabBarController' is unavailable in watchOS
87 | }
88 |
89 | func moreItems<T>(from items: [T], tabBarController: UITabBarController) -> [T] {
| `- error: 'UITabBarController' is unavailable in watchOS
90 | guard let startIndex = moreTabStartIndex(totalCount: items.count, in: tabBarController),
91 | items.indices.contains(startIndex) else {
/Applications/Xcode-27.0.0.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/TabBarMenu/TabBarMenuRequests.swift:99:19: error: 'UITabBarController' is unavailable in watchOS
97 |
98 | @MainActor
99 | private extension UITabBarController {
| `- error: 'UITabBarController' is unavailable in watchOS
100 | var effectiveMaxTabBarItemCount: Int? {
101 | guard let value = ObjectiveCInterop.performUnsignedIntegerSelector(
/Applications/Xcode-27.0.0.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/TabBarMenu/TabBarMenuRequests.swift:139:37: error: 'UITabBarController' is unavailable in watchOS
137 |
138 | var core: TabBarMenuRequestCore { get }
139 | func items(in tabBarController: UITabBarController) -> [Item]
| `- error: 'UITabBarController' is unavailable in watchOS
140 | }
141 |
/Applications/Xcode-27.0.0.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/TabBarMenu/TabBarMenuRequests.swift:143:42: error: 'UITabBarController' is unavailable in watchOS
141 |
142 | extension TabBarMenuRequestContext {
143 | func totalCount(in tabBarController: UITabBarController) -> Int {
| `- error: 'UITabBarController' is unavailable in watchOS
144 | items(in: tabBarController).count
145 | }
/Applications/Xcode-27.0.0.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/TabBarMenu/TabBarMenuRequests.swift:147:41: error: 'UITabBarController' is unavailable in watchOS
145 | }
146 |
147 | func moreItems(in tabBarController: UITabBarController) -> [Item] {
| `- error: 'UITabBarController' is unavailable in watchOS
148 | core.moreItems(from: items(in: tabBarController), tabBarController: tabBarController)
149 | }
/Applications/Xcode-27.0.0.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/TabBarMenu/TabBarMenuRequests.swift:151:58: error: 'UITabBarController' is unavailable in watchOS
149 | }
150 |
151 | func itemForMenu(at index: Int, in tabBarController: UITabBarController) -> Item? {
| `- error: 'UITabBarController' is unavailable in watchOS
152 | core.itemForMenu(at: index, in: items(in: tabBarController), tabBarController: tabBarController)
153 | }
/Applications/Xcode-27.0.0.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/TabBarMenu/TabBarMenuRequests.swift:155:30: error: 'UITabBarItem' is unavailable in watchOS
153 | }
154 |
155 | func matchesItem(_ item: UITabBarItem, in tabBarController: UITabBarController) -> Bool {
| `- error: 'UITabBarItem' is unavailable in watchOS
156 | guard let items = tabBarController.tabBar.items,
157 | let index = items.firstIndex(where: { $0 === item }) else {
/Applications/Xcode-27.0.0.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/TabBarMenu/TabBarMenuRequests.swift:155:65: error: 'UITabBarController' is unavailable in watchOS
153 | }
154 |
155 | func matchesItem(_ item: UITabBarItem, in tabBarController: UITabBarController) -> Bool {
| `- error: 'UITabBarController' is unavailable in watchOS
156 | guard let items = tabBarController.tabBar.items,
157 | let index = items.firstIndex(where: { $0 === item }) else {
/Applications/Xcode-27.0.0.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/TabBarMenu/TabBarMenuRequests.swift:168:37: error: 'UITabBarController' is unavailable in watchOS
166 | let core: TabBarMenuRequestCore
167 |
168 | func items(in tabBarController: UITabBarController) -> [UITab] {
| `- error: 'UITabBarController' is unavailable in watchOS
169 | identityUniqued(tabBarController.tabs)
170 | }
/Applications/Xcode-27.0.0.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/TabBarMenu/TabBarMenuRequests.swift:168:61: error: 'UITab' is unavailable in watchOS
166 | let core: TabBarMenuRequestCore
167 |
168 | func items(in tabBarController: UITabBarController) -> [UITab] {
| `- error: 'UITab' is unavailable in watchOS
169 | identityUniqued(tabBarController.tabs)
170 | }
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITab.h:42:12: note: 'UITab' has been explicitly marked unavailable here
40 | UIKIT_EXTERN NS_SWIFT_UI_ACTOR
41 | API_AVAILABLE(ios(18.0), tvos(18.0), visionos(2.0)) API_UNAVAILABLE(watchos)
42 | @interface UITab : NSObject
| `- note: 'UITab' has been explicitly marked unavailable here
43 |
44 | /// The identifier associated with the tab, must be unique across the tab bar controller.
/Users/admin/builder/spi-builder-workspace/Sources/TabBarMenu/TabBarMenuRequests.swift:165:8: warning: unavailable class 'UITab' was used to satisfy a requirement of protocol 'TabBarMenuRequestContext'; this will be an error in a future Swift language mode
134 | @MainActor
135 | protocol TabBarMenuRequestContext {
136 | associatedtype Item
| `- note: requirement 'Item' declared here
137 |
138 | var core: TabBarMenuRequestCore { get }
:
163 |
164 | @MainActor
165 | struct TabBarMenuTabRequestContext: TabBarMenuRequestContext {
| `- warning: unavailable class 'UITab' was used to satisfy a requirement of protocol 'TabBarMenuRequestContext'; this will be an error in a future Swift language mode
166 | let core: TabBarMenuRequestCore
167 |
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITab.h:42:12: note: 'UITab' declared here
40 | UIKIT_EXTERN NS_SWIFT_UI_ACTOR
41 | API_AVAILABLE(ios(18.0), tvos(18.0), visionos(2.0)) API_UNAVAILABLE(watchos)
42 | @interface UITab : NSObject
| `- note: 'UITab' declared here
43 |
44 | /// The identifier associated with the tab, must be unique across the tab bar controller.
/Users/admin/builder/spi-builder-workspace/Sources/TabBarMenu/TabBarMenuRequests.swift:177:37: error: 'UITabBarController' is unavailable in watchOS
175 | let core: TabBarMenuRequestCore
176 |
177 | func items(in tabBarController: UITabBarController) -> [UIViewController] {
| `- error: 'UITabBarController' is unavailable in watchOS
178 | identityUniqued(tabBarController.viewControllers ?? [])
179 | }
/Applications/Xcode-27.0.0.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/TabBarMenu/TabBarMenuRequests.swift:177:61: error: 'UIViewController' is unavailable in watchOS
175 | let core: TabBarMenuRequestCore
176 |
177 | func items(in tabBarController: UITabBarController) -> [UIViewController] {
| `- error: 'UIViewController' is unavailable in watchOS
178 | identityUniqued(tabBarController.viewControllers ?? [])
179 | }
/Applications/Xcode-27.0.0.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/TabBarMenu/TabBarMenuRequests.swift:181:45: error: 'UITabBarController' is unavailable in watchOS
179 | }
180 |
181 | func moreMenuItems(in tabBarController: UITabBarController) -> [UIViewController] {
| `- error: 'UITabBarController' is unavailable in watchOS
182 | if let moreViewControllers = ObjectiveCInterop.performObjectSelector(
183 | UIMoreNavigationControllerRuntimeMethodNames.moreViewControllers,
/Applications/Xcode-27.0.0.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/TabBarMenu/TabBarMenuRequests.swift:181:69: error: 'UIViewController' is unavailable in watchOS
179 | }
180 |
181 | func moreMenuItems(in tabBarController: UITabBarController) -> [UIViewController] {
| `- error: 'UIViewController' is unavailable in watchOS
182 | if let moreViewControllers = ObjectiveCInterop.performObjectSelector(
183 | UIMoreNavigationControllerRuntimeMethodNames.moreViewControllers,
/Applications/Xcode-27.0.0.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/TabBarMenu/TabBarMenuRequests.swift:174:8: warning: unavailable class 'UIViewController' was used to satisfy a requirement of protocol 'TabBarMenuRequestContext'; this will be an error in a future Swift language mode
134 | @MainActor
135 | protocol TabBarMenuRequestContext {
136 | associatedtype Item
| `- note: requirement 'Item' declared here
137 |
138 | var core: TabBarMenuRequestCore { get }
:
172 |
173 | @MainActor
174 | struct TabBarMenuViewControllerRequestContext: TabBarMenuRequestContext {
| `- warning: unavailable class 'UIViewController' was used to satisfy a requirement of protocol 'TabBarMenuRequestContext'; this will be an error in a future Swift language mode
175 | let core: TabBarMenuRequestCore
176 |
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' declared 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' declared here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/TabBarMenu/TabBarMenuRequests.swift:203:14: error: 'UITab' is unavailable in watchOS
201 | @MainActor
202 | enum TabBarContent: @MainActor Equatable {
203 | case tab(UITab)
| `- error: 'UITab' is unavailable in watchOS
204 | case viewController(UIViewController)
205 |
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITab.h:42:12: note: 'UITab' has been explicitly marked unavailable here
40 | UIKIT_EXTERN NS_SWIFT_UI_ACTOR
41 | API_AVAILABLE(ios(18.0), tvos(18.0), visionos(2.0)) API_UNAVAILABLE(watchos)
42 | @interface UITab : NSObject
| `- note: 'UITab' has been explicitly marked unavailable here
43 |
44 | /// The identifier associated with the tab, must be unique across the tab bar controller.
/Users/admin/builder/spi-builder-workspace/Sources/TabBarMenu/TabBarMenuRequests.swift:204:25: error: 'UIViewController' is unavailable in watchOS
202 | enum TabBarContent: @MainActor Equatable {
203 | case tab(UITab)
204 | case viewController(UIViewController)
| `- error: 'UIViewController' is unavailable in watchOS
205 |
206 | static func == (lhs: Self, rhs: Self) -> Bool {
/Applications/Xcode-27.0.0.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/TabBarMenu/TabBarMenuRequests.swift:233:11: error: 'UITabBarController' is unavailable in watchOS
231 | }
232 |
233 | extension UITabBarController {
| `- error: 'UITabBarController' is unavailable in watchOS
234 | func tabBarMenuItem(at index: Int) -> TabBarItem? {
235 | let core = TabBarMenuRequestCore(configuration: menuConfiguration)
/Applications/Xcode-27.0.0.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/TabBarMenu/TabBarMenuRequests.swift:169:42: error: 'tabs' is unavailable in watchOS
167 |
168 | func items(in tabBarController: UITabBarController) -> [UITab] {
169 | identityUniqued(tabBarController.tabs)
| `- error: 'tabs' is unavailable in watchOS
170 | }
171 | }
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITabBarController.h:109:56: note: 'tabs' has been explicitly marked unavailable here
107 | ///
108 | /// Once set, `UITabBarController.viewControllers` and related properties and methods will not be called.
109 | @property (nonatomic, copy) NSArray<__kindof UITab *> *tabs API_AVAILABLE(ios(18.0), tvos(18.0), visionos(2.0)) API_UNAVAILABLE(watchos);
| `- note: 'tabs' has been explicitly marked unavailable here
110 |
111 | /// Sets the root tabs of the tab bar controller, with an option to animate the change.
/Users/admin/builder/spi-builder-workspace/Sources/TabBarMenu/TabBarMenuRequests.swift:185:16: error: 'UIViewController' is unavailable in watchOS
183 | UIMoreNavigationControllerRuntimeMethodNames.moreViewControllers,
184 | on: tabBarController.moreNavigationController
185 | ) as? [UIViewController], !moreViewControllers.isEmpty {
| `- error: 'UIViewController' is unavailable in watchOS
186 | return identityUniqued(moreViewControllers)
187 | }
/Applications/Xcode-27.0.0.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/TabBarMenu/TabBarMenuRequests.swift:236:13: error: 'tabs' is unavailable in watchOS
234 | func tabBarMenuItem(at index: Int) -> TabBarItem? {
235 | let core = TabBarMenuRequestCore(configuration: menuConfiguration)
236 | if !tabs.isEmpty {
| `- error: 'tabs' is unavailable in watchOS
237 | let context = TabBarMenuTabRequestContext(core: core)
238 | if core.isMoreTabIndex(index, totalCount: tabs.count, in: self) {
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITabBarController.h:109:56: note: 'tabs' has been explicitly marked unavailable here
107 | ///
108 | /// Once set, `UITabBarController.viewControllers` and related properties and methods will not be called.
109 | @property (nonatomic, copy) NSArray<__kindof UITab *> *tabs API_AVAILABLE(ios(18.0), tvos(18.0), visionos(2.0)) API_UNAVAILABLE(watchos);
| `- note: 'tabs' has been explicitly marked unavailable here
110 |
111 | /// Sets the root tabs of the tab bar controller, with an option to animate the change.
/Users/admin/builder/spi-builder-workspace/Sources/TabBarMenu/TabBarMenuRequests.swift:238:55: error: 'tabs' is unavailable in watchOS
236 | if !tabs.isEmpty {
237 | let context = TabBarMenuTabRequestContext(core: core)
238 | if core.isMoreTabIndex(index, totalCount: tabs.count, in: self) {
| `- error: 'tabs' is unavailable in watchOS
239 | let moreTabs = context.moreItems(in: self)
240 | let selected = tabBarMenuSelectedTab.flatMap { selected in
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITabBarController.h:109:56: note: 'tabs' has been explicitly marked unavailable here
107 | ///
108 | /// Once set, `UITabBarController.viewControllers` and related properties and methods will not be called.
109 | @property (nonatomic, copy) NSArray<__kindof UITab *> *tabs API_AVAILABLE(ios(18.0), tvos(18.0), visionos(2.0)) API_UNAVAILABLE(watchos);
| `- note: 'tabs' has been explicitly marked unavailable here
110 |
111 | /// Sets the root tabs of the tab bar controller, with an option to animate the change.
/Users/admin/builder/spi-builder-workspace/Sources/TabBarMenu/TabBarMenuRequests.swift:259:13: error: 'tabs' is unavailable in watchOS
257 |
258 | var tabBarMenuSelectedContent: TabBarContent? {
259 | if !tabs.isEmpty {
| `- error: 'tabs' is unavailable in watchOS
260 | return tabBarMenuSelectedTab.map(TabBarContent.tab)
261 | }
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITabBarController.h:109:56: note: 'tabs' has been explicitly marked unavailable here
107 | ///
108 | /// Once set, `UITabBarController.viewControllers` and related properties and methods will not be called.
109 | @property (nonatomic, copy) NSArray<__kindof UITab *> *tabs API_AVAILABLE(ios(18.0), tvos(18.0), visionos(2.0)) API_UNAVAILABLE(watchos);
| `- note: 'tabs' has been explicitly marked unavailable here
110 |
111 | /// Sets the root tabs of the tab bar controller, with an option to animate the change.
/Users/admin/builder/spi-builder-workspace/Sources/TabBarMenu/TabBarMenuRequests.swift:267:29: error: 'tabs' is unavailable in watchOS
265 | func tabBarMenuOwns(_ content: TabBarContent) -> Bool {
266 | switch content {
267 | case .tab(let tab): tabs.contains { $0 === tab }
| `- error: 'tabs' is unavailable in watchOS
268 | case .viewController(let controller): viewControllers?.contains { $0 === controller } == true
269 | }
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITabBarController.h:109:56: note: 'tabs' has been explicitly marked unavailable here
107 | ///
108 | /// Once set, `UITabBarController.viewControllers` and related properties and methods will not be called.
109 | @property (nonatomic, copy) NSArray<__kindof UITab *> *tabs API_AVAILABLE(ios(18.0), tvos(18.0), visionos(2.0)) API_UNAVAILABLE(watchos);
| `- note: 'tabs' has been explicitly marked unavailable here
110 |
111 | /// Sets the root tabs of the tab bar controller, with an option to animate the change.
/Users/admin/builder/spi-builder-workspace/Sources/TabBarMenu/TabBarMenuRequests.swift:277:21: error: 'tabs' is unavailable in watchOS
275 | switch content {
276 | case .tab(let tab):
277 | index = tabs.firstIndex { $0 === tab }
| `- error: 'tabs' is unavailable in watchOS
278 | count = tabs.count
279 | case .viewController(let controller):
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITabBarController.h:109:56: note: 'tabs' has been explicitly marked unavailable here
107 | ///
108 | /// Once set, `UITabBarController.viewControllers` and related properties and methods will not be called.
109 | @property (nonatomic, copy) NSArray<__kindof UITab *> *tabs API_AVAILABLE(ios(18.0), tvos(18.0), visionos(2.0)) API_UNAVAILABLE(watchos);
| `- note: 'tabs' has been explicitly marked unavailable here
110 |
111 | /// Sets the root tabs of the tab bar controller, with an option to animate the change.
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/TabBarMenu/TabBarMenuRequests.swift (in target 'TabBarMenu' from project 'TabBarMenu')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile TabBarMenuRequests.swift
SwiftCompile normal arm64_32 Compiling\ UITab+MoreSelection.swift /Users/admin/builder/spi-builder-workspace/Sources/TabBarMenu/UITab+MoreSelection.swift (in target 'TabBarMenu' from project 'TabBarMenu')
/Users/admin/builder/spi-builder-workspace/Sources/TabBarMenu/UITab+MoreSelection.swift:4:46: error: 'UIViewController' is unavailable in watchOS
2 |
3 | public extension UITab {
4 | var resolvedMoreSelectionViewController: UIViewController? {
| `- error: 'UIViewController' is unavailable in watchOS
5 | if let viewController {
6 | return viewController
/Applications/Xcode-27.0.0.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/TabBarMenu/UITab+MoreSelection.swift:3:18: error: 'UITab' is unavailable in watchOS
1 | import UIKit
2 |
3 | public extension UITab {
| `- error: 'UITab' is unavailable in watchOS
4 | var resolvedMoreSelectionViewController: UIViewController? {
5 | if let viewController {
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITab.h:42:12: note: 'UITab' has been explicitly marked unavailable here
40 | UIKIT_EXTERN NS_SWIFT_UI_ACTOR
41 | API_AVAILABLE(ios(18.0), tvos(18.0), visionos(2.0)) API_UNAVAILABLE(watchos)
42 | @interface UITab : NSObject
| `- note: 'UITab' has been explicitly marked unavailable here
43 |
44 | /// The identifier associated with the tab, must be unique across the tab bar controller.
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/TabBarMenu/UITab+MoreSelection.swift (in target 'TabBarMenu' from project 'TabBarMenu')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile UITab+MoreSelection.swift
SwiftCompile normal arm64_32 Compiling\ UITabBarController+MoreSelection.swift /Users/admin/builder/spi-builder-workspace/Sources/TabBarMenu/UITabBarController+MoreSelection.swift (in target 'TabBarMenu' from project 'TabBarMenu')
/Users/admin/builder/spi-builder-workspace/Sources/TabBarMenu/UITabBarController+MoreSelection.swift:11:34: error: 'UITab' is unavailable in watchOS
9 | /// - Returns: Whether the content selection succeeded.
10 | @discardableResult
11 | func selectTabContent(_ tab: UITab) -> Bool {
| `- error: 'UITab' is unavailable in watchOS
12 | guard let index = tabs.firstIndex(where: { $0 === tab }),
13 | let resolvedViewController = resolvedMoreSelectionViewController(for: tab) else {
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITab.h:42:12: note: 'UITab' has been explicitly marked unavailable here
40 | UIKIT_EXTERN NS_SWIFT_UI_ACTOR
41 | API_AVAILABLE(ios(18.0), tvos(18.0), visionos(2.0)) API_UNAVAILABLE(watchos)
42 | @interface UITab : NSObject
| `- note: 'UITab' has been explicitly marked unavailable here
43 |
44 | /// The identifier associated with the tab, must be unique across the tab bar controller.
/Users/admin/builder/spi-builder-workspace/Sources/TabBarMenu/UITabBarController+MoreSelection.swift:35:45: error: 'UIViewController' is unavailable in watchOS
33 | /// - Returns: Whether the content selection succeeded.
34 | @discardableResult
35 | func selectTabContent(_ viewController: UIViewController) -> Bool {
| `- error: 'UIViewController' is unavailable in watchOS
36 | guard let viewControllers,
37 | let index = viewControllers.firstIndex(where: { $0 === viewController }) else {
/Applications/Xcode-27.0.0.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/TabBarMenu/UITabBarController+MoreSelection.swift:5:18: error: 'UITabBarController' is unavailable in watchOS
3 |
4 | @MainActor
5 | public extension UITabBarController {
| `- error: 'UITabBarController' is unavailable in watchOS
6 | /// Selects tab content programmatically, without a `TabBarMenuDelegate.didSelect` notification.
7 | /// - Note: Overflow `UITab` items use the private displayed-view path on iOS 26+ and fall back to selecting the More navigation stack directly on iOS 18 to keep selection reliable.
/Applications/Xcode-27.0.0.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/TabBarMenu/UITabBarController+MoreSelection.swift:62:49: error: 'UIViewController' is unavailable in watchOS
60 | @MainActor
61 | extension UITabBarController {
62 | func tabBarMenuIsMoreList(_ viewController: UIViewController?) -> Bool {
| `- error: 'UIViewController' is unavailable in watchOS
63 | guard let viewController else { return false }
64 | return viewController === moreListControllerObject()
/Applications/Xcode-27.0.0.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/TabBarMenu/UITabBarController+MoreSelection.swift:67:48: error: 'UIViewController' is unavailable in watchOS
65 | }
66 |
67 | func tabBarMenuContent(for viewController: UIViewController) -> TabBarContent? {
| `- error: 'UIViewController' is unavailable in watchOS
68 | if !tabs.isEmpty {
69 | if let tab = matchingTab(for: viewController) { return .tab(tab) }
/Applications/Xcode-27.0.0.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/TabBarMenu/UITabBarController+MoreSelection.swift:80:32: error: 'UITab' is unavailable in watchOS
78 | }
79 |
80 | var tabBarMenuSelectedTab: UITab? {
| `- error: 'UITab' is unavailable in watchOS
81 | // WORKAROUND: On iOS 18 the selected tab element can still name the previous visible tab
82 | // while More is displaying the content selected through its navigation stack.
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITab.h:42:12: note: 'UITab' has been explicitly marked unavailable here
40 | UIKIT_EXTERN NS_SWIFT_UI_ACTOR
41 | API_AVAILABLE(ios(18.0), tvos(18.0), visionos(2.0)) API_UNAVAILABLE(watchos)
42 | @interface UITab : NSObject
| `- note: 'UITab' has been explicitly marked unavailable here
43 |
44 | /// The identifier associated with the tab, must be unique across the tab bar controller.
/Users/admin/builder/spi-builder-workspace/Sources/TabBarMenu/UITabBarController+MoreSelection.swift:98:43: error: 'UIViewController' is unavailable in watchOS
96 | }
97 |
98 | var tabBarMenuSelectedViewController: UIViewController? {
| `- error: 'UIViewController' is unavailable in watchOS
99 | if let transient = currentTransientViewController() { return transient }
100 | let current = currentSelectedViewControllerInTabBar()
/Applications/Xcode-27.0.0.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/TabBarMenu/UITabBarController+MoreSelection.swift:118:71: error: 'UIViewController' is unavailable in watchOS
116 | }
117 |
118 | private func owningTabViewController(for displayedViewController: UIViewController) -> UIViewController? {
| `- error: 'UIViewController' is unavailable in watchOS
119 | let owners = tabs.isEmpty
120 | ? (viewControllers ?? [])
/Applications/Xcode-27.0.0.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/TabBarMenu/UITabBarController+MoreSelection.swift:118:92: error: 'UIViewController' is unavailable in watchOS
116 | }
117 |
118 | private func owningTabViewController(for displayedViewController: UIViewController) -> UIViewController? {
| `- error: 'UIViewController' is unavailable in watchOS
119 | let owners = tabs.isEmpty
120 | ? (viewControllers ?? [])
/Applications/Xcode-27.0.0.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/TabBarMenu/UITabBarController+MoreSelection.swift:153:18: error: 'UITab' is unavailable in watchOS
151 |
152 | func tabBarMenuDisplayedViewControllersOverride(
153 | for tab: UITab,
| `- error: 'UITab' is unavailable in watchOS
154 | proposedViewControllers: [UIViewController]
155 | ) -> [UIViewController]? {
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITab.h:42:12: note: 'UITab' has been explicitly marked unavailable here
40 | UIKIT_EXTERN NS_SWIFT_UI_ACTOR
41 | API_AVAILABLE(ios(18.0), tvos(18.0), visionos(2.0)) API_UNAVAILABLE(watchos)
42 | @interface UITab : NSObject
| `- note: 'UITab' has been explicitly marked unavailable here
43 |
44 | /// The identifier associated with the tab, must be unique across the tab bar controller.
/Users/admin/builder/spi-builder-workspace/Sources/TabBarMenu/UITabBarController+MoreSelection.swift:154:35: error: 'UIViewController' is unavailable in watchOS
152 | func tabBarMenuDisplayedViewControllersOverride(
153 | for tab: UITab,
154 | proposedViewControllers: [UIViewController]
| `- error: 'UIViewController' is unavailable in watchOS
155 | ) -> [UIViewController]? {
156 | guard usesUITabDisplayedViewControllersOverflowPath else {
/Applications/Xcode-27.0.0.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/TabBarMenu/UITabBarController+MoreSelection.swift:155:11: error: 'UIViewController' is unavailable in watchOS
153 | for tab: UITab,
154 | proposedViewControllers: [UIViewController]
155 | ) -> [UIViewController]? {
| `- error: 'UIViewController' is unavailable in watchOS
156 | guard usesUITabDisplayedViewControllersOverflowPath else {
157 | return nil
/Applications/Xcode-27.0.0.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/TabBarMenu/UITabBarController+MoreSelection.swift:168:40: error: 'UITab' is unavailable in watchOS
166 | }
167 |
168 | func tabBarMenuDidSelectTab(_ tab: UITab, previousTab: UITab?) {
| `- error: 'UITab' is unavailable in watchOS
169 | guard !isReplacingUITabOverflowSelection else {
170 | return
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITab.h:42:12: note: 'UITab' has been explicitly marked unavailable here
40 | UIKIT_EXTERN NS_SWIFT_UI_ACTOR
41 | API_AVAILABLE(ios(18.0), tvos(18.0), visionos(2.0)) API_UNAVAILABLE(watchos)
42 | @interface UITab : NSObject
| `- note: 'UITab' has been explicitly marked unavailable here
43 |
44 | /// The identifier associated with the tab, must be unique across the tab bar controller.
/Users/admin/builder/spi-builder-workspace/Sources/TabBarMenu/UITabBarController+MoreSelection.swift:168:60: error: 'UITab' is unavailable in watchOS
166 | }
167 |
168 | func tabBarMenuDidSelectTab(_ tab: UITab, previousTab: UITab?) {
| `- error: 'UITab' is unavailable in watchOS
169 | guard !isReplacingUITabOverflowSelection else {
170 | return
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITab.h:42:12: note: 'UITab' has been explicitly marked unavailable here
40 | UIKIT_EXTERN NS_SWIFT_UI_ACTOR
41 | API_AVAILABLE(ios(18.0), tvos(18.0), visionos(2.0)) API_UNAVAILABLE(watchos)
42 | @interface UITab : NSObject
| `- note: 'UITab' has been explicitly marked unavailable here
43 |
44 | /// The identifier associated with the tab, must be unique across the tab bar controller.
/Users/admin/builder/spi-builder-workspace/Sources/TabBarMenu/UITabBarController+MoreSelection.swift:181:62: error: 'UIViewController' is unavailable in watchOS
179 | }
180 |
181 | func tabBarMenuDidSelectViewController(_ viewController: UIViewController) {
| `- error: 'UIViewController' is unavailable in watchOS
182 | guard !isReplacingUITabOverflowSelection else {
183 | return
/Applications/Xcode-27.0.0.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/TabBarMenu/UITabBarController+MoreSelection.swift:225:27: error: 'UIViewController' is unavailable in watchOS
223 |
224 | private func selectResolvedTabContent(
225 | _ viewController: UIViewController,
| `- error: 'UIViewController' is unavailable in watchOS
226 | syncedTab: UITab?
227 | ) -> Bool {
/Applications/Xcode-27.0.0.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/TabBarMenu/UITabBarController+MoreSelection.swift:226:20: error: 'UITab' is unavailable in watchOS
224 | private func selectResolvedTabContent(
225 | _ viewController: UIViewController,
226 | syncedTab: UITab?
| `- error: 'UITab' is unavailable in watchOS
227 | ) -> Bool {
228 | _ = dismissTabBarMenuTransientOverflowIfNeeded()
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITab.h:42:12: note: 'UITab' has been explicitly marked unavailable here
40 | UIKIT_EXTERN NS_SWIFT_UI_ACTOR
41 | API_AVAILABLE(ios(18.0), tvos(18.0), visionos(2.0)) API_UNAVAILABLE(watchos)
42 | @interface UITab : NSObject
| `- note: 'UITab' has been explicitly marked unavailable here
43 |
44 | /// The identifier associated with the tab, must be unique across the tab bar controller.
/Users/admin/builder/spi-builder-workspace/Sources/TabBarMenu/UITabBarController+MoreSelection.swift:255:27: error: 'UIViewController' is unavailable in watchOS
253 |
254 | private func selectOverflowTabContent(
255 | _ viewController: UIViewController,
| `- error: 'UIViewController' is unavailable in watchOS
256 | syncedMoreItem: UITabBarItem?,
257 | sourceTab: UITab?
/Applications/Xcode-27.0.0.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/TabBarMenu/UITabBarController+MoreSelection.swift:256:25: error: 'UITabBarItem' is unavailable in watchOS
254 | private func selectOverflowTabContent(
255 | _ viewController: UIViewController,
256 | syncedMoreItem: UITabBarItem?,
| `- error: 'UITabBarItem' is unavailable in watchOS
257 | sourceTab: UITab?
258 | ) -> Bool {
/Applications/Xcode-27.0.0.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/TabBarMenu/UITabBarController+MoreSelection.swift:257:20: error: 'UITab' is unavailable in watchOS
255 | _ viewController: UIViewController,
256 | syncedMoreItem: UITabBarItem?,
257 | sourceTab: UITab?
| `- error: 'UITab' is unavailable in watchOS
258 | ) -> Bool {
259 | // UIKit may already own this presentation after the selected tab moves into More.
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITab.h:42:12: note: 'UITab' has been explicitly marked unavailable here
40 | UIKIT_EXTERN NS_SWIFT_UI_ACTOR
41 | API_AVAILABLE(ios(18.0), tvos(18.0), visionos(2.0)) API_UNAVAILABLE(watchos)
42 | @interface UITab : NSObject
| `- note: 'UITab' has been explicitly marked unavailable here
43 |
44 | /// The identifier associated with the tab, must be unique across the tab bar controller.
/Users/admin/builder/spi-builder-workspace/Sources/TabBarMenu/UITabBarController+MoreSelection.swift:286:27: error: 'UIViewController' is unavailable in watchOS
284 |
285 | private func selectViewControllerOverflowTabContent(
286 | _ viewController: UIViewController,
| `- error: 'UIViewController' is unavailable in watchOS
287 | syncedMoreItem: UITabBarItem
288 | ) -> Bool {
/Applications/Xcode-27.0.0.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/TabBarMenu/UITabBarController+MoreSelection.swift:287:25: error: 'UITabBarItem' is unavailable in watchOS
285 | private func selectViewControllerOverflowTabContent(
286 | _ viewController: UIViewController,
287 | syncedMoreItem: UITabBarItem
| `- error: 'UITabBarItem' is unavailable in watchOS
288 | ) -> Bool {
289 | _ = dismissTabBarMenuTransientOverflowIfNeeded()
/Applications/Xcode-27.0.0.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/TabBarMenu/UITabBarController+MoreSelection.swift:303:27: error: 'UIViewController' is unavailable in watchOS
301 |
302 | private func selectUITabOverflowTabContent(
303 | _ viewController: UIViewController,
| `- error: 'UIViewController' is unavailable in watchOS
304 | sourceTab: UITab,
305 | syncedMoreItem: UITabBarItem
/Applications/Xcode-27.0.0.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/TabBarMenu/UITabBarController+MoreSelection.swift:304:20: error: 'UITab' is unavailable in watchOS
302 | private func selectUITabOverflowTabContent(
303 | _ viewController: UIViewController,
304 | sourceTab: UITab,
| `- error: 'UITab' is unavailable in watchOS
305 | syncedMoreItem: UITabBarItem
306 | ) -> Bool {
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITab.h:42:12: note: 'UITab' has been explicitly marked unavailable here
40 | UIKIT_EXTERN NS_SWIFT_UI_ACTOR
41 | API_AVAILABLE(ios(18.0), tvos(18.0), visionos(2.0)) API_UNAVAILABLE(watchos)
42 | @interface UITab : NSObject
| `- note: 'UITab' has been explicitly marked unavailable here
43 |
44 | /// The identifier associated with the tab, must be unique across the tab bar controller.
/Users/admin/builder/spi-builder-workspace/Sources/TabBarMenu/UITabBarController+MoreSelection.swift:305:25: error: 'UITabBarItem' is unavailable in watchOS
303 | _ viewController: UIViewController,
304 | sourceTab: UITab,
305 | syncedMoreItem: UITabBarItem
| `- error: 'UITabBarItem' is unavailable in watchOS
306 | ) -> Bool {
307 | let isReplacingActiveUITabOverflow = uiTabOverflowPresentationState != nil
/Applications/Xcode-27.0.0.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/TabBarMenu/UITabBarController+MoreSelection.swift:476:77: error: 'UITabBarItem' is unavailable in watchOS
474 | }
475 |
476 | private func selectLegacyUITabOverflowContainer(with preservedMoreItem: UITabBarItem) -> Bool {
| `- error: 'UITabBarItem' is unavailable in watchOS
477 | let targetViewController = moreNavigationController
478 |
/Applications/Xcode-27.0.0.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/TabBarMenu/UITabBarController+MoreSelection.swift:500:31: error: 'UIViewController' is unavailable in watchOS
498 |
499 | private func selectLegacyUITabOverflowViaMoreList(
500 | targetViewController: UIViewController,
| `- error: 'UIViewController' is unavailable in watchOS
501 | sourceTab: UITab,
502 | syncedMoreItem: UITabBarItem
/Applications/Xcode-27.0.0.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/TabBarMenu/UITabBarController+MoreSelection.swift:501:20: error: 'UITab' is unavailable in watchOS
499 | private func selectLegacyUITabOverflowViaMoreList(
500 | targetViewController: UIViewController,
501 | sourceTab: UITab,
| `- error: 'UITab' is unavailable in watchOS
502 | syncedMoreItem: UITabBarItem
503 | ) -> Bool {
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITab.h:42:12: note: 'UITab' has been explicitly marked unavailable here
40 | UIKIT_EXTERN NS_SWIFT_UI_ACTOR
41 | API_AVAILABLE(ios(18.0), tvos(18.0), visionos(2.0)) API_UNAVAILABLE(watchos)
42 | @interface UITab : NSObject
| `- note: 'UITab' has been explicitly marked unavailable here
43 |
44 | /// The identifier associated with the tab, must be unique across the tab bar controller.
/Users/admin/builder/spi-builder-workspace/Sources/TabBarMenu/UITabBarController+MoreSelection.swift:502:25: error: 'UITabBarItem' is unavailable in watchOS
500 | targetViewController: UIViewController,
501 | sourceTab: UITab,
502 | syncedMoreItem: UITabBarItem
| `- error: 'UITabBarItem' is unavailable in watchOS
503 | ) -> Bool {
504 | let shouldHideVisibleMoreContent = currentSelectedViewControllerInTabBar() === moreNavigationController
/Applications/Xcode-27.0.0.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/TabBarMenu/UITabBarController+MoreSelection.swift:549:31: error: 'UIViewController' is unavailable in watchOS
547 |
548 | private func replaceLegacyUITabOverflowContent(
549 | targetViewController: UIViewController,
| `- error: 'UIViewController' is unavailable in watchOS
550 | preparedViewController: UIViewController,
551 | syncedMoreItem: UITabBarItem
/Applications/Xcode-27.0.0.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/TabBarMenu/UITabBarController+MoreSelection.swift:550:33: error: 'UIViewController' is unavailable in watchOS
548 | private func replaceLegacyUITabOverflowContent(
549 | targetViewController: UIViewController,
550 | preparedViewController: UIViewController,
| `- error: 'UIViewController' is unavailable in watchOS
551 | syncedMoreItem: UITabBarItem
552 | ) -> Bool {
/Applications/Xcode-27.0.0.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/TabBarMenu/UITabBarController+MoreSelection.swift:551:25: error: 'UITabBarItem' is unavailable in watchOS
549 | targetViewController: UIViewController,
550 | preparedViewController: UIViewController,
551 | syncedMoreItem: UITabBarItem
| `- error: 'UITabBarItem' is unavailable in watchOS
552 | ) -> Bool {
553 | let currentTopViewController = moreNavigationController.topViewController
/Applications/Xcode-27.0.0.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/TabBarMenu/UITabBarController+MoreSelection.swift:600:64: error: 'UITableView' is unavailable in watchOS
598 | }
599 |
600 | private func moreListTableView(in controller: NSObject) -> UITableView? {
| `- error: 'UITableView' is unavailable in watchOS
601 | ObjectiveCInterop.performObjectSelector(
602 | UIMoreListControllerRuntimeMethodNames.table,
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITableView.h:347:12: note: 'UITableView' has been explicitly marked unavailable here
345 |
346 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
347 | @interface UITableView : UIScrollView <NSCoding, UIDataSourceTranslating>
| `- note: 'UITableView' has been explicitly marked unavailable here
348 |
349 | - (instancetype)initWithFrame:(CGRect)frame style:(UITableViewStyle)style NS_DESIGNATED_INITIALIZER; // must specify style at creation. -initWithFrame: calls this with UITableViewStylePlain
/Users/admin/builder/spi-builder-workspace/Sources/TabBarMenu/UITabBarController+MoreSelection.swift:608:35: error: 'UIViewController' is unavailable in watchOS
606 |
607 | private func legacyMoreListRowIndex(
608 | for targetViewController: UIViewController,
| `- error: 'UIViewController' is unavailable in watchOS
609 | sourceTab: UITab
610 | ) -> Int? {
/Applications/Xcode-27.0.0.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/TabBarMenu/UITabBarController+MoreSelection.swift:609:20: error: 'UITab' is unavailable in watchOS
607 | private func legacyMoreListRowIndex(
608 | for targetViewController: UIViewController,
609 | sourceTab: UITab
| `- error: 'UITab' is unavailable in watchOS
610 | ) -> Int? {
611 | guard let moreViewControllers = ObjectiveCInterop.performObjectSelector(
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITab.h:42:12: note: 'UITab' has been explicitly marked unavailable here
40 | UIKIT_EXTERN NS_SWIFT_UI_ACTOR
41 | API_AVAILABLE(ios(18.0), tvos(18.0), visionos(2.0)) API_UNAVAILABLE(watchos)
42 | @interface UITab : NSObject
| `- note: 'UITab' has been explicitly marked unavailable here
43 |
44 | /// The identifier associated with the tab, must be unique across the tab bar controller.
/Users/admin/builder/spi-builder-workspace/Sources/TabBarMenu/UITabBarController+MoreSelection.swift:645:31: error: 'UIViewController' is unavailable in watchOS
643 |
644 | private func containsLegacyMoreTarget(
645 | _ rootViewController: UIViewController,
| `- error: 'UIViewController' is unavailable in watchOS
646 | descendant targetViewController: UIViewController
647 | ) -> Bool {
/Applications/Xcode-27.0.0.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/TabBarMenu/UITabBarController+MoreSelection.swift:646:42: error: 'UIViewController' is unavailable in watchOS
644 | private func containsLegacyMoreTarget(
645 | _ rootViewController: UIViewController,
646 | descendant targetViewController: UIViewController
| `- error: 'UIViewController' is unavailable in watchOS
647 | ) -> Bool {
648 | if rootViewController === targetViewController {
/Applications/Xcode-27.0.0.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/TabBarMenu/UITabBarController+MoreSelection.swift:732:27: error: 'UIViewController' is unavailable in watchOS
730 |
731 | private func setTransientViewControllerPrivately(
732 | _ viewController: UIViewController?,
| `- error: 'UIViewController' is unavailable in watchOS
733 | animated: Bool
734 | ) -> Bool {
/Applications/Xcode-27.0.0.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/TabBarMenu/UITabBarController+MoreSelection.swift:755:54: error: 'UIViewController' is unavailable in watchOS
753 | }
754 |
755 | private func currentTransientViewController() -> UIViewController? {
| `- error: 'UIViewController' is unavailable in watchOS
756 | ObjectiveCInterop.performObjectSelector(
757 | UITabBarControllerRuntimeMethodNames.transientViewController,
/Applications/Xcode-27.0.0.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/TabBarMenu/UITabBarController+MoreSelection.swift:762:61: error: 'UIViewController' is unavailable in watchOS
760 | }
761 |
762 | private func currentSelectedViewControllerInTabBar() -> UIViewController? {
| `- error: 'UIViewController' is unavailable in watchOS
763 | if let viewController = ObjectiveCInterop.performObjectSelector(
764 | UITabBarControllerRuntimeMethodNames.selectedViewControllerInTabBar,
/Applications/Xcode-27.0.0.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/TabBarMenu/UITabBarController+MoreSelection.swift:772:49: error: 'UITab' is unavailable in watchOS
770 | }
771 |
772 | private func currentSelectedTabElement() -> UITab? {
| `- error: 'UITab' is unavailable in watchOS
773 | ObjectiveCInterop.performObjectSelector(
774 | UITabBarControllerRuntimeMethodNames.selectedTabElement,
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITab.h:42:12: note: 'UITab' has been explicitly marked unavailable here
40 | UIKIT_EXTERN NS_SWIFT_UI_ACTOR
41 | API_AVAILABLE(ios(18.0), tvos(18.0), visionos(2.0)) API_UNAVAILABLE(watchos)
42 | @interface UITab : NSObject
| `- note: 'UITab' has been explicitly marked unavailable here
43 |
44 | /// The identifier associated with the tab, must be unique across the tab bar controller.
/Users/admin/builder/spi-builder-workspace/Sources/TabBarMenu/UITabBarController+MoreSelection.swift:779:46: error: 'UITab' is unavailable in watchOS
777 | }
778 |
779 | private func resolvedMoreTabElement() -> UITab? {
| `- error: 'UITab' is unavailable in watchOS
780 | ObjectiveCInterop.performObjectSelector(
781 | UIMoreNavigationControllerRuntimeMethodNames.resolvedTab,
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITab.h:42:12: note: 'UITab' has been explicitly marked unavailable here
40 | UIKIT_EXTERN NS_SWIFT_UI_ACTOR
41 | API_AVAILABLE(ios(18.0), tvos(18.0), visionos(2.0)) API_UNAVAILABLE(watchos)
42 | @interface UITab : NSObject
| `- note: 'UITab' has been explicitly marked unavailable here
43 |
44 | /// The identifier associated with the tab, must be unique across the tab bar controller.
/Users/admin/builder/spi-builder-workspace/Sources/TabBarMenu/UITabBarController+MoreSelection.swift:786:52: error: 'UITab' is unavailable in watchOS
784 | }
785 |
786 | private func displayedViewControllers(for tab: UITab) -> [UIViewController] {
| `- error: 'UITab' is unavailable in watchOS
787 | (ObjectiveCInterop.performObjectSelector(
788 | UITabRuntimeMethodNames.displayedViewControllers,
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITab.h:42:12: note: 'UITab' has been explicitly marked unavailable here
40 | UIKIT_EXTERN NS_SWIFT_UI_ACTOR
41 | API_AVAILABLE(ios(18.0), tvos(18.0), visionos(2.0)) API_UNAVAILABLE(watchos)
42 | @interface UITab : NSObject
| `- note: 'UITab' has been explicitly marked unavailable here
43 |
44 | /// The identifier associated with the tab, must be unique across the tab bar controller.
/Users/admin/builder/spi-builder-workspace/Sources/TabBarMenu/UITabBarController+MoreSelection.swift:786:63: error: 'UIViewController' is unavailable in watchOS
784 | }
785 |
786 | private func displayedViewControllers(for tab: UITab) -> [UIViewController] {
| `- error: 'UIViewController' is unavailable in watchOS
787 | (ObjectiveCInterop.performObjectSelector(
788 | UITabRuntimeMethodNames.displayedViewControllers,
/Applications/Xcode-27.0.0.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/TabBarMenu/UITabBarController+MoreSelection.swift:794:29: error: 'UIViewController' is unavailable in watchOS
792 |
793 | private func setDisplayedViewControllers(
794 | _ viewControllers: [UIViewController],
| `- error: 'UIViewController' is unavailable in watchOS
795 | for tab: UITab
796 | ) {
/Applications/Xcode-27.0.0.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/TabBarMenu/UITabBarController+MoreSelection.swift:795:18: error: 'UITab' is unavailable in watchOS
793 | private func setDisplayedViewControllers(
794 | _ viewControllers: [UIViewController],
795 | for tab: UITab
| `- error: 'UITab' is unavailable in watchOS
796 | ) {
797 | _ = ObjectiveCInterop.performVoidSelector(
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITab.h:42:12: note: 'UITab' has been explicitly marked unavailable here
40 | UIKIT_EXTERN NS_SWIFT_UI_ACTOR
41 | API_AVAILABLE(ios(18.0), tvos(18.0), visionos(2.0)) API_UNAVAILABLE(watchos)
42 | @interface UITab : NSObject
| `- note: 'UITab' has been explicitly marked unavailable here
43 |
44 | /// The identifier associated with the tab, must be unique across the tab bar controller.
/Users/admin/builder/spi-builder-workspace/Sources/TabBarMenu/UITabBarController+MoreSelection.swift:804:42: error: 'UITab' is unavailable in watchOS
802 | }
803 |
804 | private func isMoreTabElement(_ tab: UITab) -> Bool {
| `- error: 'UITab' is unavailable in watchOS
805 | ObjectiveCInterop.performBoolSelector(
806 | UITabRuntimeMethodNames.isMoreTab,
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITab.h:42:12: note: 'UITab' has been explicitly marked unavailable here
40 | UIKIT_EXTERN NS_SWIFT_UI_ACTOR
41 | API_AVAILABLE(ios(18.0), tvos(18.0), visionos(2.0)) API_UNAVAILABLE(watchos)
42 | @interface UITab : NSObject
| `- note: 'UITab' has been explicitly marked unavailable here
43 |
44 | /// The identifier associated with the tab, must be unique across the tab bar controller.
/Users/admin/builder/spi-builder-workspace/Sources/TabBarMenu/UITabBarController+MoreSelection.swift:811:63: error: 'UITab' is unavailable in watchOS
809 | }
810 |
811 | private func resolvedMoreSelectionViewController(for tab: UITab) -> UIViewController? {
| `- error: 'UITab' is unavailable in watchOS
812 | if let viewController = tab.viewController {
813 | return viewController
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITab.h:42:12: note: 'UITab' has been explicitly marked unavailable here
40 | UIKIT_EXTERN NS_SWIFT_UI_ACTOR
41 | API_AVAILABLE(ios(18.0), tvos(18.0), visionos(2.0)) API_UNAVAILABLE(watchos)
42 | @interface UITab : NSObject
| `- note: 'UITab' has been explicitly marked unavailable here
43 |
44 | /// The identifier associated with the tab, must be unique across the tab bar controller.
/Users/admin/builder/spi-builder-workspace/Sources/TabBarMenu/UITabBarController+MoreSelection.swift:811:73: error: 'UIViewController' is unavailable in watchOS
809 | }
810 |
811 | private func resolvedMoreSelectionViewController(for tab: UITab) -> UIViewController? {
| `- error: 'UIViewController' is unavailable in watchOS
812 | if let viewController = tab.viewController {
813 | return viewController
/Applications/Xcode-27.0.0.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/TabBarMenu/UITabBarController+MoreSelection.swift:826:50: error: 'UIViewController' is unavailable in watchOS
824 | }
825 |
826 | private func matchingTab(for viewController: UIViewController) -> UITab? {
| `- error: 'UIViewController' is unavailable in watchOS
827 | tabs.first { tab in
828 | guard let owner = resolvedMoreSelectionViewController(for: tab) else { return false }
/Applications/Xcode-27.0.0.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/TabBarMenu/UITabBarController+MoreSelection.swift:826:71: error: 'UITab' is unavailable in watchOS
824 | }
825 |
826 | private func matchingTab(for viewController: UIViewController) -> UITab? {
| `- error: 'UITab' is unavailable in watchOS
827 | tabs.first { tab in
828 | guard let owner = resolvedMoreSelectionViewController(for: tab) else { return false }
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITab.h:42:12: note: 'UITab' has been explicitly marked unavailable here
40 | UIKIT_EXTERN NS_SWIFT_UI_ACTOR
41 | API_AVAILABLE(ios(18.0), tvos(18.0), visionos(2.0)) API_UNAVAILABLE(watchos)
42 | @interface UITab : NSObject
| `- note: 'UITab' has been explicitly marked unavailable here
43 |
44 | /// The identifier associated with the tab, must be unique across the tab bar controller.
/Users/admin/builder/spi-builder-workspace/Sources/TabBarMenu/UITabBarController+MoreSelection.swift:833:65: error: 'UIViewController' is unavailable in watchOS
831 | }
832 |
833 | private func ownsTabContentViewController(_ viewController: UIViewController) -> Bool {
| `- error: 'UIViewController' is unavailable in watchOS
834 | if viewControllers?.contains(where: { $0 === viewController }) == true {
835 | return true
/Applications/Xcode-27.0.0.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/TabBarMenu/UITabBarController+MoreSelection.swift:845:74: error: 'UITabBarItem' is unavailable in watchOS
843 | }
844 |
845 | private func restoreMoreTabSelectionIfNeeded(with preservedMoreItem: UITabBarItem?) {
| `- error: 'UITabBarItem' is unavailable in watchOS
846 | let moreItem = preservedMoreItem
847 | ?? uiTabOverflowPresentationState?.preservedMoreItem
/Applications/Xcode-27.0.0.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/TabBarMenu/UITabBarController+MoreSelection.swift:897:77: error: 'UINavigationController' is unavailable in watchOS
895 | }
896 |
897 | private func restoreMoreListControllerIfNeeded(in navigationController: UINavigationController) {
| `- error: 'UINavigationController' is unavailable in watchOS
898 | guard let moreListController = ObjectiveCInterop.performObjectSelector(
899 | UIMoreNavigationControllerRuntimeMethodNames.moreListController,
/Applications/Xcode-27.0.0.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/TabBarMenu/UITabBarController+MoreSelection.swift:907:45: error: 'UITabBarItem' is unavailable in watchOS
905 | }
906 |
907 | private func currentMoreTabBarItem() -> UITabBarItem? {
| `- error: 'UITabBarItem' is unavailable in watchOS
908 | let totalCount = max(tabs.count, viewControllers?.count ?? 0)
909 | let requestCore = TabBarMenuRequestCore(configuration: menuConfiguration)
/Applications/Xcode-27.0.0.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/TabBarMenu/UITabBarController+MoreSelection.swift:918:64: error: 'UITabBarItem' is unavailable in watchOS
916 | }
917 |
918 | private func syncedMoreTabBarItemForOverflowSelection() -> UITabBarItem? {
| `- error: 'UITabBarItem' is unavailable in watchOS
919 | uiTabOverflowPresentationState?.preservedMoreItem ?? currentMoreTabBarItem()
920 | }
/Applications/Xcode-27.0.0.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/TabBarMenu/UITabBarController+MoreSelection.swift:992:65: error: 'UIViewController' is unavailable in watchOS
990 | }
991 |
992 | private func preparedMoreViewController(for viewController: UIViewController) -> UIViewController {
| `- error: 'UIViewController' is unavailable in watchOS
993 | // WORKAROUND: UIKit can return nil after borrowing the navigation controller's root.
994 | let navigationRoot = (viewController as? UINavigationController)?.viewControllers.first
/Applications/Xcode-27.0.0.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/TabBarMenu/UITabBarController+MoreSelection.swift:992:86: error: 'UIViewController' is unavailable in watchOS
990 | }
991 |
992 | private func preparedMoreViewController(for viewController: UIViewController) -> UIViewController {
| `- error: 'UIViewController' is unavailable in watchOS
993 | // WORKAROUND: UIKit can return nil after borrowing the navigation controller's root.
994 | let navigationRoot = (viewController as? UINavigationController)?.viewControllers.first
/Applications/Xcode-27.0.0.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/TabBarMenu/UITabBarController+MoreSelection.swift:1007:17: error: 'UITab' is unavailable in watchOS
1005 | private func restoreDisplayedViewControllers(
1006 | from originalDisplayedViewControllers: NSArray,
1007 | to tab: UITab
| `- error: 'UITab' is unavailable in watchOS
1008 | ) {
1009 | let originalViewControllers = originalDisplayedViewControllers.compactMap { $0 as? UIViewController }
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITab.h:42:12: note: 'UITab' has been explicitly marked unavailable here
40 | UIKIT_EXTERN NS_SWIFT_UI_ACTOR
41 | API_AVAILABLE(ios(18.0), tvos(18.0), visionos(2.0)) API_UNAVAILABLE(watchos)
42 | @interface UITab : NSObject
| `- note: 'UITab' has been explicitly marked unavailable here
43 |
44 | /// The identifier associated with the tab, must be unique across the tab bar controller.
/Users/admin/builder/spi-builder-workspace/Sources/TabBarMenu/UITabBarController+MoreSelection.swift:61:11: error: 'UITabBarController' is unavailable in watchOS
59 |
60 | @MainActor
61 | extension UITabBarController {
| `- error: 'UITabBarController' is unavailable in watchOS
62 | func tabBarMenuIsMoreList(_ viewController: UIViewController?) -> Bool {
63 | guard let viewController else { return false }
/Applications/Xcode-27.0.0.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/TabBarMenu/UITabBarController+MoreSelection.swift:1057:20: error: 'UITab' is unavailable in watchOS
1055 |
1056 | private final class UITabOverflowPresentationState {
1057 | let sourceTab: UITab
| `- error: 'UITab' is unavailable in watchOS
1058 | let moreTabElement: UITab
1059 | let targetViewController: UIViewController
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITab.h:42:12: note: 'UITab' has been explicitly marked unavailable here
40 | UIKIT_EXTERN NS_SWIFT_UI_ACTOR
41 | API_AVAILABLE(ios(18.0), tvos(18.0), visionos(2.0)) API_UNAVAILABLE(watchos)
42 | @interface UITab : NSObject
| `- note: 'UITab' has been explicitly marked unavailable here
43 |
44 | /// The identifier associated with the tab, must be unique across the tab bar controller.
/Users/admin/builder/spi-builder-workspace/Sources/TabBarMenu/UITabBarController+MoreSelection.swift:1058:25: error: 'UITab' is unavailable in watchOS
1056 | private final class UITabOverflowPresentationState {
1057 | let sourceTab: UITab
1058 | let moreTabElement: UITab
| `- error: 'UITab' is unavailable in watchOS
1059 | let targetViewController: UIViewController
1060 | let preparedDisplayedViewControllers: [UIViewController]
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITab.h:42:12: note: 'UITab' has been explicitly marked unavailable here
40 | UIKIT_EXTERN NS_SWIFT_UI_ACTOR
41 | API_AVAILABLE(ios(18.0), tvos(18.0), visionos(2.0)) API_UNAVAILABLE(watchos)
42 | @interface UITab : NSObject
| `- note: 'UITab' has been explicitly marked unavailable here
43 |
44 | /// The identifier associated with the tab, must be unique across the tab bar controller.
/Users/admin/builder/spi-builder-workspace/Sources/TabBarMenu/UITabBarController+MoreSelection.swift:1059:31: error: 'UIViewController' is unavailable in watchOS
1057 | let sourceTab: UITab
1058 | let moreTabElement: UITab
1059 | let targetViewController: UIViewController
| `- error: 'UIViewController' is unavailable in watchOS
1060 | let preparedDisplayedViewControllers: [UIViewController]
1061 | let originalDisplayedViewControllers: NSArray
/Applications/Xcode-27.0.0.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/TabBarMenu/UITabBarController+MoreSelection.swift:1060:44: error: 'UIViewController' is unavailable in watchOS
1058 | let moreTabElement: UITab
1059 | let targetViewController: UIViewController
1060 | let preparedDisplayedViewControllers: [UIViewController]
| `- error: 'UIViewController' is unavailable in watchOS
1061 | let originalDisplayedViewControllers: NSArray
1062 | let originalMoreDisplayedViewControllers: NSArray
/Applications/Xcode-27.0.0.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/TabBarMenu/UITabBarController+MoreSelection.swift:1063:28: error: 'UITabBarItem' is unavailable in watchOS
1061 | let originalDisplayedViewControllers: NSArray
1062 | let originalMoreDisplayedViewControllers: NSArray
1063 | let preservedMoreItem: UITabBarItem
| `- error: 'UITabBarItem' is unavailable in watchOS
1064 | var originalInteractivePopGestureStates: [InteractivePopGestureState]
1065 |
/Applications/Xcode-27.0.0.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/TabBarMenu/UITabBarController+MoreSelection.swift:1067:20: error: 'UITab' is unavailable in watchOS
1065 |
1066 | init(
1067 | sourceTab: UITab,
| `- error: 'UITab' is unavailable in watchOS
1068 | moreTabElement: UITab,
1069 | targetViewController: UIViewController,
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITab.h:42:12: note: 'UITab' has been explicitly marked unavailable here
40 | UIKIT_EXTERN NS_SWIFT_UI_ACTOR
41 | API_AVAILABLE(ios(18.0), tvos(18.0), visionos(2.0)) API_UNAVAILABLE(watchos)
42 | @interface UITab : NSObject
| `- note: 'UITab' has been explicitly marked unavailable here
43 |
44 | /// The identifier associated with the tab, must be unique across the tab bar controller.
/Users/admin/builder/spi-builder-workspace/Sources/TabBarMenu/UITabBarController+MoreSelection.swift:1068:25: error: 'UITab' is unavailable in watchOS
1066 | init(
1067 | sourceTab: UITab,
1068 | moreTabElement: UITab,
| `- error: 'UITab' is unavailable in watchOS
1069 | targetViewController: UIViewController,
1070 | preparedDisplayedViewControllers: [UIViewController],
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITab.h:42:12: note: 'UITab' has been explicitly marked unavailable here
40 | UIKIT_EXTERN NS_SWIFT_UI_ACTOR
41 | API_AVAILABLE(ios(18.0), tvos(18.0), visionos(2.0)) API_UNAVAILABLE(watchos)
42 | @interface UITab : NSObject
| `- note: 'UITab' has been explicitly marked unavailable here
43 |
44 | /// The identifier associated with the tab, must be unique across the tab bar controller.
/Users/admin/builder/spi-builder-workspace/Sources/TabBarMenu/UITabBarController+MoreSelection.swift:1069:31: error: 'UIViewController' is unavailable in watchOS
1067 | sourceTab: UITab,
1068 | moreTabElement: UITab,
1069 | targetViewController: UIViewController,
| `- error: 'UIViewController' is unavailable in watchOS
1070 | preparedDisplayedViewControllers: [UIViewController],
1071 | originalDisplayedViewControllers: NSArray,
/Applications/Xcode-27.0.0.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/TabBarMenu/UITabBarController+MoreSelection.swift:1070:44: error: 'UIViewController' is unavailable in watchOS
1068 | moreTabElement: UITab,
1069 | targetViewController: UIViewController,
1070 | preparedDisplayedViewControllers: [UIViewController],
| `- error: 'UIViewController' is unavailable in watchOS
1071 | originalDisplayedViewControllers: NSArray,
1072 | originalMoreDisplayedViewControllers: NSArray,
/Applications/Xcode-27.0.0.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/TabBarMenu/UITabBarController+MoreSelection.swift:1073:28: error: 'UITabBarItem' is unavailable in watchOS
1071 | originalDisplayedViewControllers: NSArray,
1072 | originalMoreDisplayedViewControllers: NSArray,
1073 | preservedMoreItem: UITabBarItem,
| `- error: 'UITabBarItem' is unavailable in watchOS
1074 | originalInteractivePopGestureStates: [InteractivePopGestureState] = []
1075 | ) {
/Applications/Xcode-27.0.0.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/TabBarMenu/UITabBarController+MoreSelection.swift:1088:31: error: 'UINavigationController' is unavailable in watchOS
1086 |
1087 | package struct InteractivePopGestureState {
1088 | let navigationController: UINavigationController
| `- error: 'UINavigationController' is unavailable in watchOS
1089 | let wasEnabled: Bool
1090 |
/Applications/Xcode-27.0.0.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/TabBarMenu/UITabBarController+MoreSelection.swift:1098:22: error: 'UIViewController' is unavailable in watchOS
1096 | @MainActor
1097 | package func tabBarMenuRecordDisabledInteractivePopGestures(
1098 | for candidates: [UIViewController],
| `- error: 'UIViewController' is unavailable in watchOS
1099 | excluding excludedNavigationController: UINavigationController?,
1100 | preserving existingStates: [InteractivePopGestureState] = []
/Applications/Xcode-27.0.0.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/TabBarMenu/UITabBarController+MoreSelection.swift:1099:45: error: 'UINavigationController' is unavailable in watchOS
1097 | package func tabBarMenuRecordDisabledInteractivePopGestures(
1098 | for candidates: [UIViewController],
1099 | excluding excludedNavigationController: UINavigationController?,
| `- error: 'UINavigationController' is unavailable in watchOS
1100 | preserving existingStates: [InteractivePopGestureState] = []
1101 | ) -> [InteractivePopGestureState] {
/Applications/Xcode-27.0.0.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/TabBarMenu/UITabBarController+MoreSelection.swift:12:27: error: 'tabs' is unavailable in watchOS
10 | @discardableResult
11 | func selectTabContent(_ tab: UITab) -> Bool {
12 | guard let index = tabs.firstIndex(where: { $0 === tab }),
| `- error: 'tabs' is unavailable in watchOS
13 | let resolvedViewController = resolvedMoreSelectionViewController(for: tab) else {
14 | return false
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITabBarController.h:109:56: note: 'tabs' has been explicitly marked unavailable here
107 | ///
108 | /// Once set, `UITabBarController.viewControllers` and related properties and methods will not be called.
109 | @property (nonatomic, copy) NSArray<__kindof UITab *> *tabs API_AVAILABLE(ios(18.0), tvos(18.0), visionos(2.0)) API_UNAVAILABLE(watchos);
| `- note: 'tabs' has been explicitly marked unavailable here
110 |
111 | /// Sets the root tabs of the tab bar controller, with an option to animate the change.
/Users/admin/builder/spi-builder-workspace/Sources/TabBarMenu/UITabBarController+MoreSelection.swift:20:51: error: 'tabs' is unavailable in watchOS
18 | coordinator?.beginProgrammaticSelection()
19 | defer { coordinator?.endProgrammaticSelection() }
20 | if isOverflowItemIndex(index, totalCount: tabs.count) {
| `- error: 'tabs' is unavailable in watchOS
21 | return selectOverflowTabContent(
22 | resolvedViewController,
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITabBarController.h:109:56: note: 'tabs' has been explicitly marked unavailable here
107 | ///
108 | /// Once set, `UITabBarController.viewControllers` and related properties and methods will not be called.
109 | @property (nonatomic, copy) NSArray<__kindof UITab *> *tabs API_AVAILABLE(ios(18.0), tvos(18.0), visionos(2.0)) API_UNAVAILABLE(watchos);
| `- note: 'tabs' has been explicitly marked unavailable here
110 |
111 | /// Sets the root tabs of the tab bar controller, with an option to animate the change.
/Users/admin/builder/spi-builder-workspace/Sources/TabBarMenu/UITabBarController+MoreSelection.swift:68:13: error: 'tabs' is unavailable in watchOS
66 |
67 | func tabBarMenuContent(for viewController: UIViewController) -> TabBarContent? {
68 | if !tabs.isEmpty {
| `- error: 'tabs' is unavailable in watchOS
69 | if let tab = matchingTab(for: viewController) { return .tab(tab) }
70 | let resolved = ObjectiveCInterop.performObjectSelector(
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITabBarController.h:109:56: note: 'tabs' has been explicitly marked unavailable here
107 | ///
108 | /// Once set, `UITabBarController.viewControllers` and related properties and methods will not be called.
109 | @property (nonatomic, copy) NSArray<__kindof UITab *> *tabs API_AVAILABLE(ios(18.0), tvos(18.0), visionos(2.0)) API_UNAVAILABLE(watchos);
| `- note: 'tabs' has been explicitly marked unavailable here
110 |
111 | /// Sets the root tabs of the tab bar controller, with an option to animate the change.
/Users/admin/builder/spi-builder-workspace/Sources/TabBarMenu/UITabBarController+MoreSelection.swift:72:19: error: 'UITab' is unavailable in watchOS
70 | let resolved = ObjectiveCInterop.performObjectSelector(
71 | UIViewControllerRuntimeMethodNames.resolvedTab, on: viewController
72 | ) as? UITab
| `- error: 'UITab' is unavailable in watchOS
73 | if let resolved, tabs.contains(where: { $0 === resolved }) { return .tab(resolved) }
74 | } else if let owner = owningTabViewController(for: viewController) {
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITab.h:42:12: note: 'UITab' has been explicitly marked unavailable here
40 | UIKIT_EXTERN NS_SWIFT_UI_ACTOR
41 | API_AVAILABLE(ios(18.0), tvos(18.0), visionos(2.0)) API_UNAVAILABLE(watchos)
42 | @interface UITab : NSObject
| `- note: 'UITab' has been explicitly marked unavailable here
43 |
44 | /// The identifier associated with the tab, must be unique across the tab bar controller.
/Users/admin/builder/spi-builder-workspace/Sources/TabBarMenu/UITabBarController+MoreSelection.swift:73:30: error: 'tabs' is unavailable in watchOS
71 | UIViewControllerRuntimeMethodNames.resolvedTab, on: viewController
72 | ) as? UITab
73 | if let resolved, tabs.contains(where: { $0 === resolved }) { return .tab(resolved) }
| `- error: 'tabs' is unavailable in watchOS
74 | } else if let owner = owningTabViewController(for: viewController) {
75 | return .viewController(owner)
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITabBarController.h:109:56: note: 'tabs' has been explicitly marked unavailable here
107 | ///
108 | /// Once set, `UITabBarController.viewControllers` and related properties and methods will not be called.
109 | @property (nonatomic, copy) NSArray<__kindof UITab *> *tabs API_AVAILABLE(ios(18.0), tvos(18.0), visionos(2.0)) API_UNAVAILABLE(watchos);
| `- note: 'tabs' has been explicitly marked unavailable here
110 |
111 | /// Sets the root tabs of the tab bar controller, with an option to animate the change.
/Users/admin/builder/spi-builder-workspace/Sources/TabBarMenu/UITabBarController+MoreSelection.swift:92:51: error: 'tabs' is unavailable in watchOS
90 | return tabBarMenuSelectedViewController.flatMap { matchingTab(for: $0) }
91 | }
92 | if let tab = currentSelectedTabElement(), tabs.contains(where: { $0 === tab }) {
| `- error: 'tabs' is unavailable in watchOS
93 | return tab
94 | }
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITabBarController.h:109:56: note: 'tabs' has been explicitly marked unavailable here
107 | ///
108 | /// Once set, `UITabBarController.viewControllers` and related properties and methods will not be called.
109 | @property (nonatomic, copy) NSArray<__kindof UITab *> *tabs API_AVAILABLE(ios(18.0), tvos(18.0), visionos(2.0)) API_UNAVAILABLE(watchos);
| `- note: 'tabs' has been explicitly marked unavailable here
110 |
111 | /// Sets the root tabs of the tab bar controller, with an option to animate the change.
/Users/admin/builder/spi-builder-workspace/Sources/TabBarMenu/UITabBarController+MoreSelection.swift:111:15: error: 'UIViewController' is unavailable in watchOS
109 | UIMoreNavigationControllerRuntimeMethodNames.displayedViewController,
110 | on: moreNavigationController
111 | ) as? UIViewController
| `- error: 'UIViewController' is unavailable in watchOS
112 | let candidate = displayed === moreNavigationController
113 | ? moreNavigationController.topViewController : displayed
/Applications/Xcode-27.0.0.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/TabBarMenu/UITabBarController+MoreSelection.swift:119:22: error: 'tabs' is unavailable in watchOS
117 |
118 | private func owningTabViewController(for displayedViewController: UIViewController) -> UIViewController? {
119 | let owners = tabs.isEmpty
| `- error: 'tabs' is unavailable in watchOS
120 | ? (viewControllers ?? [])
121 | : tabs.compactMap { resolvedMoreSelectionViewController(for: $0) }
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITabBarController.h:109:56: note: 'tabs' has been explicitly marked unavailable here
107 | ///
108 | /// Once set, `UITabBarController.viewControllers` and related properties and methods will not be called.
109 | @property (nonatomic, copy) NSArray<__kindof UITab *> *tabs API_AVAILABLE(ios(18.0), tvos(18.0), visionos(2.0)) API_UNAVAILABLE(watchos);
| `- note: 'tabs' has been explicitly marked unavailable here
110 |
111 | /// Sets the root tabs of the tab bar controller, with an option to animate the change.
/Users/admin/builder/spi-builder-workspace/Sources/TabBarMenu/UITabBarController+MoreSelection.swift:121:15: error: 'tabs' is unavailable in watchOS
119 | let owners = tabs.isEmpty
120 | ? (viewControllers ?? [])
121 | : tabs.compactMap { resolvedMoreSelectionViewController(for: $0) }
| `- error: 'tabs' is unavailable in watchOS
122 | return owners.first { containsLegacyMoreTarget($0, descendant: displayedViewController) }
123 | }
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITabBarController.h:109:56: note: 'tabs' has been explicitly marked unavailable here
107 | ///
108 | /// Once set, `UITabBarController.viewControllers` and related properties and methods will not be called.
109 | @property (nonatomic, copy) NSArray<__kindof UITab *> *tabs API_AVAILABLE(ios(18.0), tvos(18.0), visionos(2.0)) API_UNAVAILABLE(watchos);
| `- note: 'tabs' has been explicitly marked unavailable here
110 |
111 | /// Sets the root tabs of the tab bar controller, with an option to animate the change.
/Users/admin/builder/spi-builder-workspace/Sources/TabBarMenu/UITabBarController+MoreSelection.swift:247:13: error: 'selectedTab' is unavailable in watchOS
245 | }
246 | if #available(iOS 26.0, *), let syncedTab {
247 | selectedTab = syncedTab
| `- error: 'selectedTab' is unavailable in watchOS
248 | }
249 |
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITabBarController.h:104:48: note: 'selectedTab' has been explicitly marked unavailable here
102 | ///
103 | /// The default value for this property is `nil`.
104 | @property (nonatomic, strong, nullable) UITab *selectedTab API_AVAILABLE(ios(18.0), tvos(18.0), visionos(2.0)) API_UNAVAILABLE(watchos);
| `- note: 'selectedTab' has been explicitly marked unavailable here
105 |
106 | /// An array of root tabs representing view controllers to display by the tab bar interface.
/Users/admin/builder/spi-builder-workspace/Sources/TabBarMenu/UITabBarController+MoreSelection.swift:323:37: error: 'UIViewController' is unavailable in watchOS
321 | return false
322 | }
323 | let preparedViewController: UIViewController
| `- error: 'UIViewController' is unavailable in watchOS
324 | if let previousState, previousState.targetViewController === viewController,
325 | let prepared = previousState.preparedDisplayedViewControllers.first {
/Applications/Xcode-27.0.0.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/TabBarMenu/UITabBarController+MoreSelection.swift:334:58: error: 'UINavigationController' is unavailable in watchOS
332 | preparedViewController = preparedMoreViewController(for: viewController)
333 | } else {
334 | preparedViewController = (viewController as? UINavigationController)?.viewControllers.first
| `- error: 'UINavigationController' is unavailable in watchOS
335 | ?? viewController
336 | }
/Applications/Xcode-27.0.0.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/TabBarMenu/UITabBarController+MoreSelection.swift:529:9: error: 'UIView' is unavailable in watchOS
527 | let indexPath = IndexPath(row: rowIndex, section: 0)
528 | var didRequestSelection = false
529 | UIView.performWithoutAnimation {
| `- error: 'UIView' is unavailable in watchOS
530 | tableView.selectRow(at: indexPath, animated: false, scrollPosition: .none)
531 | didRequestSelection = ObjectiveCInterop.performVoidSelector(
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/TabBarMenu/UITabBarController+MoreSelection.swift (in target 'TabBarMenu' from project 'TabBarMenu')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile UITabBarController+MoreSelection.swift
SwiftEmitModule normal arm64_32 Emitting\ module\ for\ ABIBridge (in target 'ABIBridge' from project 'ABIBridge')
SwiftCompile normal arm64_32 (in target 'ABIBridge' from project 'ABIBridge')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftDriverJobDiscovery normal arm64_32 Compiling ObjectiveCInterop.swift (in target 'TabBarMenu' from project 'TabBarMenu')
SwiftCompile normal arm64_32 Compiling\ UITabBar+ItemsObservation.swift /Users/admin/builder/spi-builder-workspace/Sources/TabBarMenu/UITabBar+ItemsObservation.swift (in target 'TabBarMenu' from project 'TabBarMenu')
/Users/admin/builder/spi-builder-workspace/Sources/TabBarMenu/UITabBar+ItemsObservation.swift:7:42: error: 'UITabBar' is unavailable in watchOS
5 | @MainActor
6 | extension UITabBar {
7 | typealias TabBarMenuLayoutHandler = (UITabBar) -> Void
| `- error: 'UITabBar' is unavailable in watchOS
8 | typealias TabBarMenuSelectionHandler = (UITabBar, UITabBarItem) -> Bool
9 | // nil leaves an unresolved control to UIKit's item-based selection path.
/Applications/Xcode-27.0.0.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/TabBarMenu/UITabBar+ItemsObservation.swift:8:45: error: 'UITabBar' is unavailable in watchOS
6 | extension UITabBar {
7 | typealias TabBarMenuLayoutHandler = (UITabBar) -> Void
8 | typealias TabBarMenuSelectionHandler = (UITabBar, UITabBarItem) -> Bool
| `- error: 'UITabBar' is unavailable in watchOS
9 | // nil leaves an unresolved control to UIKit's item-based selection path.
10 | typealias TabBarMenuControlSelectionHandler = (UITabBar, UIControl) -> Bool?
/Applications/Xcode-27.0.0.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/TabBarMenu/UITabBar+ItemsObservation.swift:8:55: error: 'UITabBarItem' is unavailable in watchOS
6 | extension UITabBar {
7 | typealias TabBarMenuLayoutHandler = (UITabBar) -> Void
8 | typealias TabBarMenuSelectionHandler = (UITabBar, UITabBarItem) -> Bool
| `- error: 'UITabBarItem' is unavailable in watchOS
9 | // nil leaves an unresolved control to UIKit's item-based selection path.
10 | typealias TabBarMenuControlSelectionHandler = (UITabBar, UIControl) -> Bool?
/Applications/Xcode-27.0.0.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/TabBarMenu/UITabBar+ItemsObservation.swift:10:52: error: 'UITabBar' is unavailable in watchOS
8 | typealias TabBarMenuSelectionHandler = (UITabBar, UITabBarItem) -> Bool
9 | // nil leaves an unresolved control to UIKit's item-based selection path.
10 | typealias TabBarMenuControlSelectionHandler = (UITabBar, UIControl) -> Bool?
| `- error: 'UITabBar' is unavailable in watchOS
11 |
12 | var tabBarMenuLayoutHandler: TabBarMenuLayoutHandler? {
/Applications/Xcode-27.0.0.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/TabBarMenu/UITabBar+ItemsObservation.swift:10:62: error: 'UIControl' is unavailable in watchOS
8 | typealias TabBarMenuSelectionHandler = (UITabBar, UITabBarItem) -> Bool
9 | // nil leaves an unresolved control to UIKit's item-based selection path.
10 | typealias TabBarMenuControlSelectionHandler = (UITabBar, UIControl) -> Bool?
| `- error: 'UIControl' is unavailable in watchOS
11 |
12 | var tabBarMenuLayoutHandler: TabBarMenuLayoutHandler? {
/Applications/Xcode-27.0.0.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/TabBarMenu/UITabBar+ItemsObservation.swift:6:11: error: 'UITabBar' is unavailable in watchOS
4 |
5 | @MainActor
6 | extension UITabBar {
| `- error: 'UITabBar' is unavailable in watchOS
7 | typealias TabBarMenuLayoutHandler = (UITabBar) -> Void
8 | typealias TabBarMenuSelectionHandler = (UITabBar, UITabBarItem) -> Bool
/Applications/Xcode-27.0.0.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/TabBarMenu/UITabBar+ItemsObservation.swift:70:24: error: 'UITabBar' is unavailable in watchOS
68 | @MainActor
69 | private final class TabBarMenuHooks {
70 | var layoutHandler: UITabBar.TabBarMenuLayoutHandler?
| `- error: 'UITabBar' is unavailable in watchOS
71 | var selectionHandler: UITabBar.TabBarMenuSelectionHandler?
72 | var controlSelectionHandler: UITabBar.TabBarMenuControlSelectionHandler?
/Applications/Xcode-27.0.0.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/TabBarMenu/UITabBar+ItemsObservation.swift:71:27: error: 'UITabBar' is unavailable in watchOS
69 | private final class TabBarMenuHooks {
70 | var layoutHandler: UITabBar.TabBarMenuLayoutHandler?
71 | var selectionHandler: UITabBar.TabBarMenuSelectionHandler?
| `- error: 'UITabBar' is unavailable in watchOS
72 | var controlSelectionHandler: UITabBar.TabBarMenuControlSelectionHandler?
73 | var preferredSelectionOverrideKind: TabBarMenuSelectionOverrideKind = .none
/Applications/Xcode-27.0.0.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/TabBarMenu/UITabBar+ItemsObservation.swift:72:34: error: 'UITabBar' is unavailable in watchOS
70 | var layoutHandler: UITabBar.TabBarMenuLayoutHandler?
71 | var selectionHandler: UITabBar.TabBarMenuSelectionHandler?
72 | var controlSelectionHandler: UITabBar.TabBarMenuControlSelectionHandler?
| `- error: 'UITabBar' is unavailable in watchOS
73 | var preferredSelectionOverrideKind: TabBarMenuSelectionOverrideKind = .none
74 | var layoutHook: NativeObjCMethodHook?
/Applications/Xcode-27.0.0.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/TabBarMenu/UITabBar+ItemsObservation.swift:88:38: error: 'UITabBar' is unavailable in watchOS
86 | }
87 |
88 | func updateLayoutHook(on tabBar: UITabBar) {
| `- error: 'UITabBar' is unavailable in watchOS
89 | guard layoutHandler != nil else {
90 | layoutHook = nil
/Applications/Xcode-27.0.0.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/TabBarMenu/UITabBar+ItemsObservation.swift:100:42: error: 'UITabBar' is unavailable in watchOS
98 | }
99 |
100 | func updateSelectionHooks(on tabBar: UITabBar) {
| `- error: 'UITabBar' is unavailable in watchOS
101 | guard selectionHandler != nil || controlSelectionHandler != nil else {
102 | itemHook = nil
/Applications/Xcode-27.0.0.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/TabBarMenu/UITabBar+ItemsObservation.swift:140:20: error: 'UITabBar' is unavailable in watchOS
138 | @safe
139 | private func install<each Argument>(
140 | on tabBar: UITabBar,
| `- error: 'UITabBar' is unavailable in watchOS
141 | selector: String,
142 | as signature: ((repeat each Argument) -> Void).Type,
/Applications/Xcode-27.0.0.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/TabBarMenu/UITabBar+ItemsObservation.swift:114:47: error: 'UITabBarItem' is unavailable in watchOS
112 | if self.bypassItemHook {
113 | self.bypassItemHook = false
114 | } else if let item = item as? UITabBarItem, self.selectionHandler?(tabBar, item) == false {
| `- error: 'UITabBarItem' is unavailable in watchOS
115 | return
116 | }
/Applications/Xcode-27.0.0.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;
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/TabBarMenu/UITabBar+ItemsObservation.swift (in target 'TabBarMenu' from project 'TabBarMenu')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile UITabBar+ItemsObservation.swift
SwiftEmitModule normal arm64 Emitting\ module\ for\ TabBarMenu (in target 'TabBarMenu' from project 'TabBarMenu')
SwiftCompile normal arm64 (in target 'TabBarMenu' from project 'TabBarMenu')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftEmitModule normal arm64 Emitting\ module\ for\ ABIBridge (in target 'ABIBridge' from project 'ABIBridge')
SwiftCompile normal arm64 (in target 'ABIBridge' from project 'ABIBridge')
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-11-18 15:37:18.254 xcodebuild[2261:12304] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
** BUILD FAILED **
The following build commands failed:
SwiftCompile normal arm64_32 (in target 'TabBarMenu' from project 'TabBarMenu')
SwiftEmitModule normal arm64_32 Emitting\ module\ for\ TabBarMenu (in target 'TabBarMenu' from project 'TabBarMenu')
Building workspace TabBarMenu with scheme TabBarMenu-Package
(3 failures)
BUILD FAILURE 6.4 watchOS