Build Information
Failed to build StatefulTabView, reference 0.1.10 (9faa43), with Swift 6.4 for watchOS using Xcode 27.0 on 18 Sep 2026 19:01:41 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme StatefulTabView -destination generic/platform=watchOSBuild Log
13 | static let boundsContainsPoint = CGPoint(x: 0, y: -89)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITabBarController.h: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/StatefulTabView/Helpers/TabBarCoordinator.swift:43:47: error: 'UINavigationController' is unavailable in watchOS
41 |
42 | private extension TabBarCoordinator {
43 | func scrollToTop(in navigationController: UINavigationController, selectedIndex: Int) {
| `- error: 'UINavigationController' is unavailable in watchOS
44 | let views = navigationController.viewControllers
45 | .map { $0.view.subviews }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINavigationController.h:46:12: note: 'UINavigationController' has been explicitly marked unavailable here
44 |
45 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
46 | @interface UINavigationController : UIViewController
| `- note: 'UINavigationController' has been explicitly marked unavailable here
47 |
48 |
/Users/admin/builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarCoordinator.swift:59:41: error: 'UIViewController' is unavailable in watchOS
57 | }
58 |
59 | func scrollToTop(in viewController: UIViewController) {
| `- error: 'UIViewController' is unavailable in watchOS
60 | let views = viewController.view.subviews
61 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarCoordinator.swift:69:50: error: 'UIViewController' is unavailable in watchOS
67 |
68 | private extension TabBarCoordinator {
69 | func navigationController(in viewController: UIViewController) -> UINavigationController? {
| `- error: 'UIViewController' is unavailable in watchOS
70 | var controller: UINavigationController?
71 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarCoordinator.swift:69:71: error: 'UINavigationController' is unavailable in watchOS
67 |
68 | private extension TabBarCoordinator {
69 | func navigationController(in viewController: UIViewController) -> UINavigationController? {
| `- error: 'UINavigationController' is unavailable in watchOS
70 | var controller: UINavigationController?
71 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINavigationController.h:46:12: note: 'UINavigationController' has been explicitly marked unavailable here
44 |
45 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
46 | @interface UINavigationController : UIViewController
| `- note: 'UINavigationController' has been explicitly marked unavailable here
47 |
48 |
/Users/admin/builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarCoordinator.swift:87:32: error: 'UIView' is unavailable in watchOS
85 | }
86 |
87 | func scrollView(in views: [UIView]) -> UIScrollView? {
| `- error: 'UIView' is unavailable in watchOS
88 | var view: UIScrollView?
89 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarCoordinator.swift:87:44: error: 'UIScrollView' is unavailable in watchOS
85 | }
86 |
87 | func scrollView(in views: [UIView]) -> UIScrollView? {
| `- error: 'UIScrollView' is unavailable in watchOS
88 | var view: UIScrollView?
89 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScrollView.h:87:12: note: 'UIScrollView' has been explicitly marked unavailable here
85 |
86 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
87 | @interface UIScrollView : UIView <NSCoding, UIFocusItemScrollableContainer>
| `- note: 'UIScrollView' has been explicitly marked unavailable here
88 |
89 | @property(nonatomic) CGPoint contentOffset; // default CGPointZero
/Users/admin/builder/spi-builder-workspace/Sources/StatefulTabView/StatefulTabView.swift:11:36: error: cannot find type 'UIHostingController' in scope
9 |
10 | public struct StatefulTabView: View {
11 | internal var viewControllers: [UIHostingController<AnyView>] = []
| `- error: cannot find type 'UIHostingController' in scope
12 | internal var tabBarItems: [Tab] = []
13 |
Failed frontend command:
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /Users/admin/builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/Tab.swift /Users/admin/builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarController.swift /Users/admin/builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarCoordinator.swift /Users/admin/builder/spi-builder-workspace/Sources/StatefulTabView/Modifiers/StatefulTabView+Modifiers.swift /Users/admin/builder/spi-builder-workspace/Sources/StatefulTabView/Modifiers/Tab+Modifiers.swift /Users/admin/builder/spi-builder-workspace/Sources/StatefulTabView/StatefulTabView.swift -target arm64-apple-watchos9.0 -disable-cross-import-overlay-search -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libFoundationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#FoundationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libObservationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#ObservationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libPreviewsMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#PreviewsMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libSwiftMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#SwiftMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libSwiftUIMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#SwiftUIMacros -disable-implicit-swift-modules -Xcc -fno-implicit-modules -Xcc -fno-implicit-module-maps -explicit-swift-module-map-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/StatefulTabView.build/Debug-watchos/StatefulTabView-t.build/Objects-normal/arm64/StatefulTabView-dependencies-2.json -Xllvm -aarch64-use-tbi -enable-objc-interop -stack-check -sdk /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/Developer/Library/Frameworks -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules -no-color-diagnostics -Xcc -fno-color-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -profile-generate -profile-coverage-mapping -swift-version 5 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -enable-anonymous-context-mangled-names -file-compilation-dir /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos27.0-24R360-e829b21a6f8c9b70876ba0858053c04477534ef55a1706bf4c1112bbb242f0a2.sdkstatcache -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/StatefulTabView.build/Debug-watchos/StatefulTabView-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/StatefulTabView.build/Debug-watchos/StatefulTabView-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/StatefulTabView.build/Debug-watchos/StatefulTabView-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name StatefulTabView -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/StatefulTabView.build/Debug-watchos/StatefulTabView-t.build/Objects-normal/arm64/StatefulTabView_const_extract_protocols.json -disable-clang-spi -clang-target arm64-apple-watchos27.0 -target-sdk-version 27.0 -target-sdk-name watchos27.0 -in-process-plugin-server-path /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/libSwiftInProcPluginServer.dylib -emit-module-doc-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/StatefulTabView.build/Debug-watchos/StatefulTabView-t.build/Objects-normal/arm64/StatefulTabView.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/StatefulTabView.build/Debug-watchos/StatefulTabView-t.build/Objects-normal/arm64/StatefulTabView.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/StatefulTabView.build/Debug-watchos/StatefulTabView-t.build/Objects-normal/arm64/StatefulTabView-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/StatefulTabView.build/Debug-watchos/StatefulTabView-t.build/Objects-normal/arm64/StatefulTabView-primary-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/StatefulTabView.build/Debug-watchos/StatefulTabView-t.build/Objects-normal/arm64/StatefulTabView-primary-emit-module.d -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/StatefulTabView.build/Debug-watchos/StatefulTabView-t.build/Objects-normal/arm64/StatefulTabView.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/StatefulTabView.build/Debug-watchos/StatefulTabView-t.build/Objects-normal/arm64/StatefulTabView.abi.json
SwiftCompile normal arm64 (in target 'StatefulTabView' from project 'StatefulTabView')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 Compiling\ StatefulTabView+Modifiers.swift /Users/admin/builder/spi-builder-workspace/Sources/StatefulTabView/Modifiers/StatefulTabView+Modifiers.swift (in target 'StatefulTabView' from project 'StatefulTabView')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/StatefulTabView/Modifiers/StatefulTabView+Modifiers.swift (in target 'StatefulTabView' from project 'StatefulTabView')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile StatefulTabView+Modifiers.swift
SwiftCompile normal arm64 Compiling\ Tab.swift /Users/admin/builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/Tab.swift (in target 'StatefulTabView' from project 'StatefulTabView')
/Users/admin/builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/Tab.swift:12:18: error: 'UITabBarItem' is unavailable in watchOS
10 | public struct Tab {
11 | var view: AnyView
12 | var barItem: UITabBarItem? = nil
| `- error: 'UITabBarItem' is unavailable in watchOS
13 |
14 | internal var prefersLargeTitle: Bool = false
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITabBarItem.h:35:12: note: 'UITabBarItem' has been explicitly marked unavailable here
33 |
34 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
35 | @interface UITabBarItem : UIBarItem
| `- note: 'UITabBarItem' has been explicitly marked unavailable here
36 |
37 | - (instancetype)init NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/Tab.swift:32:19: error: 'UITabBarItem' is unavailable in watchOS
30 | }
31 |
32 | barItem = UITabBarItem(title: title, image: UIImage(named: imageName), selectedImage: selectedImage)
| `- error: 'UITabBarItem' is unavailable in watchOS
33 |
34 | self.view = AnyView(content())
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITabBarItem.h:35:12: note: 'UITabBarItem' has been explicitly marked unavailable here
33 |
34 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
35 | @interface UITabBarItem : UIBarItem
| `- note: 'UITabBarItem' has been explicitly marked unavailable here
36 |
37 | - (instancetype)init NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/Tab.swift:52:19: error: 'UITabBarItem' is unavailable in watchOS
50 | }
51 |
52 | barItem = UITabBarItem(title: title, image: UIImage(systemName: systemImageName), selectedImage: selectedImage)
| `- error: 'UITabBarItem' is unavailable in watchOS
53 |
54 | self.view = AnyView(content())
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITabBarItem.h:35:12: note: 'UITabBarItem' has been explicitly marked unavailable here
33 |
34 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
35 | @interface UITabBarItem : UIBarItem
| `- note: 'UITabBarItem' has been explicitly marked unavailable here
36 |
37 | - (instancetype)init NS_DESIGNATED_INITIALIZER;
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/Tab.swift (in target 'StatefulTabView' from project 'StatefulTabView')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile Tab.swift
SwiftCompile normal arm64 Compiling\ TabBarCoordinator.swift /Users/admin/builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarCoordinator.swift (in target 'StatefulTabView' from project 'StatefulTabView')
/Users/admin/builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarCoordinator.swift:24:47: error: 'UITabBarController' is unavailable in watchOS
22 | }
23 |
24 | func tabBarController(_ tabBarController: UITabBarController, didSelect viewController: UIViewController) {
| `- error: 'UITabBarController' is unavailable in watchOS
25 | if parent.selectedIndex == tabBarController.selectedIndex {
26 | guard let navigationController = navigationController(in: viewController) else {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/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/StatefulTabView/Helpers/TabBarCoordinator.swift:24:93: error: 'UIViewController' is unavailable in watchOS
22 | }
23 |
24 | func tabBarController(_ tabBarController: UITabBarController, didSelect viewController: UIViewController) {
| `- error: 'UIViewController' is unavailable in watchOS
25 | if parent.selectedIndex == tabBarController.selectedIndex {
26 | guard let navigationController = navigationController(in: viewController) else {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarCoordinator.swift:11:36: error: 'UITabBarControllerDelegate' is unavailable in watchOS
9 | import SwiftUI
10 |
11 | class TabBarCoordinator: NSObject, UITabBarControllerDelegate {
| `- error: 'UITabBarControllerDelegate' is unavailable in watchOS
12 | private enum Constants {
13 | static let boundsContainsPoint = CGPoint(x: 0, y: -89)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITabBarController.h: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/StatefulTabView/Helpers/TabBarCoordinator.swift:43:47: error: 'UINavigationController' is unavailable in watchOS
41 |
42 | private extension TabBarCoordinator {
43 | func scrollToTop(in navigationController: UINavigationController, selectedIndex: Int) {
| `- error: 'UINavigationController' is unavailable in watchOS
44 | let views = navigationController.viewControllers
45 | .map { $0.view.subviews }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINavigationController.h:46:12: note: 'UINavigationController' has been explicitly marked unavailable here
44 |
45 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
46 | @interface UINavigationController : UIViewController
| `- note: 'UINavigationController' has been explicitly marked unavailable here
47 |
48 |
/Users/admin/builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarCoordinator.swift:59:41: error: 'UIViewController' is unavailable in watchOS
57 | }
58 |
59 | func scrollToTop(in viewController: UIViewController) {
| `- error: 'UIViewController' is unavailable in watchOS
60 | let views = viewController.view.subviews
61 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarCoordinator.swift:69:50: error: 'UIViewController' is unavailable in watchOS
67 |
68 | private extension TabBarCoordinator {
69 | func navigationController(in viewController: UIViewController) -> UINavigationController? {
| `- error: 'UIViewController' is unavailable in watchOS
70 | var controller: UINavigationController?
71 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarCoordinator.swift:69:71: error: 'UINavigationController' is unavailable in watchOS
67 |
68 | private extension TabBarCoordinator {
69 | func navigationController(in viewController: UIViewController) -> UINavigationController? {
| `- error: 'UINavigationController' is unavailable in watchOS
70 | var controller: UINavigationController?
71 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINavigationController.h:46:12: note: 'UINavigationController' has been explicitly marked unavailable here
44 |
45 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
46 | @interface UINavigationController : UIViewController
| `- note: 'UINavigationController' has been explicitly marked unavailable here
47 |
48 |
/Users/admin/builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarCoordinator.swift:87:32: error: 'UIView' is unavailable in watchOS
85 | }
86 |
87 | func scrollView(in views: [UIView]) -> UIScrollView? {
| `- error: 'UIView' is unavailable in watchOS
88 | var view: UIScrollView?
89 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarCoordinator.swift:87:44: error: 'UIScrollView' is unavailable in watchOS
85 | }
86 |
87 | func scrollView(in views: [UIView]) -> UIScrollView? {
| `- error: 'UIScrollView' is unavailable in watchOS
88 | var view: UIScrollView?
89 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScrollView.h:87:12: note: 'UIScrollView' has been explicitly marked unavailable here
85 |
86 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
87 | @interface UIScrollView : UIView <NSCoding, UIFocusItemScrollableContainer>
| `- note: 'UIScrollView' has been explicitly marked unavailable here
88 |
89 | @property(nonatomic) CGPoint contentOffset; // default CGPointZero
/Users/admin/builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarCoordinator.swift:70:25: error: 'UINavigationController' is unavailable in watchOS
68 | private extension TabBarCoordinator {
69 | func navigationController(in viewController: UIViewController) -> UINavigationController? {
70 | var controller: UINavigationController?
| `- error: 'UINavigationController' is unavailable in watchOS
71 |
72 | if let navigationController = viewController as? UINavigationController {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINavigationController.h:46:12: note: 'UINavigationController' has been explicitly marked unavailable here
44 |
45 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
46 | @interface UINavigationController : UIViewController
| `- note: 'UINavigationController' has been explicitly marked unavailable here
47 |
48 |
/Users/admin/builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarCoordinator.swift:72:58: error: 'UINavigationController' is unavailable in watchOS
70 | var controller: UINavigationController?
71 |
72 | if let navigationController = viewController as? UINavigationController {
| `- error: 'UINavigationController' is unavailable in watchOS
73 | return navigationController
74 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINavigationController.h:46:12: note: 'UINavigationController' has been explicitly marked unavailable here
44 |
45 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
46 | @interface UINavigationController : UIViewController
| `- note: 'UINavigationController' has been explicitly marked unavailable here
47 |
48 |
/Users/admin/builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarCoordinator.swift:77:50: error: 'UINavigationController' is unavailable in watchOS
75 |
76 | viewController.children.forEach {
77 | if let navigationController = $0 as? UINavigationController {
| `- error: 'UINavigationController' is unavailable in watchOS
78 | controller = navigationController
79 | } else {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINavigationController.h:46:12: note: 'UINavigationController' has been explicitly marked unavailable here
44 |
45 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
46 | @interface UINavigationController : UIViewController
| `- note: 'UINavigationController' has been explicitly marked unavailable here
47 |
48 |
/Users/admin/builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarCoordinator.swift:88:19: error: 'UIScrollView' is unavailable in watchOS
86 |
87 | func scrollView(in views: [UIView]) -> UIScrollView? {
88 | var view: UIScrollView?
| `- error: 'UIScrollView' is unavailable in watchOS
89 |
90 | views.forEach {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScrollView.h:87:12: note: 'UIScrollView' has been explicitly marked unavailable here
85 |
86 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
87 | @interface UIScrollView : UIView <NSCoding, UIFocusItemScrollableContainer>
| `- note: 'UIScrollView' has been explicitly marked unavailable here
88 |
89 | @property(nonatomic) CGPoint contentOffset; // default CGPointZero
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarCoordinator.swift (in target 'StatefulTabView' from project 'StatefulTabView')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile TabBarCoordinator.swift
SwiftCompile normal arm64 Compiling\ StatefulTabView.swift /Users/admin/builder/spi-builder-workspace/Sources/StatefulTabView/StatefulTabView.swift (in target 'StatefulTabView' from project 'StatefulTabView')
/Users/admin/builder/spi-builder-workspace/Sources/StatefulTabView/StatefulTabView.swift:11:36: error: cannot find type 'UIHostingController' in scope
9 |
10 | public struct StatefulTabView: View {
11 | internal var viewControllers: [UIHostingController<AnyView>] = []
| `- error: cannot find type 'UIHostingController' in scope
12 | internal var tabBarItems: [Tab] = []
13 |
/Users/admin/builder/spi-builder-workspace/Sources/StatefulTabView/StatefulTabView.swift:44:14: error: value of type 'TabBarController' has no member 'edgesIgnoringSafeArea'
42 | tabBarConfiguration: tabBarConfiguration,
43 | selectedIndex: useBindableIndex ? $bindableIndex : $stateIndex)
44 | .edgesIgnoringSafeArea(.all)
| `- error: value of type 'TabBarController' has no member 'edgesIgnoringSafeArea'
45 | }
46 | }
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/StatefulTabView/StatefulTabView.swift (in target 'StatefulTabView' from project 'StatefulTabView')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile StatefulTabView.swift
SwiftCompile normal arm64 Compiling\ TabBarController.swift /Users/admin/builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarController.swift (in target 'StatefulTabView' from project 'StatefulTabView')
/Users/admin/builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarController.swift:17:23: error: 'UIViewController' is unavailable in watchOS
15 |
16 | struct TabBarController: UIViewControllerRepresentable {
17 | var controllers: [UIViewController]
| `- error: 'UIViewController' is unavailable in watchOS
18 | var tabBarItems: [Tab]
19 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/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/StatefulTabView/Helpers/TabBarController.swift:27:40: error: cannot find type 'Context' in scope
25 | @Binding var selectedIndex: Int
26 |
27 | func makeUIViewController(context: Context) -> UITabBarController {
| `- error: cannot find type 'Context' in scope
28 | let tabBarController = UITabBarController()
29 | tabBarController.viewControllers = controllers
/Users/admin/builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarController.swift:27:52: error: 'UITabBarController' is unavailable in watchOS
25 | @Binding var selectedIndex: Int
26 |
27 | func makeUIViewController(context: Context) -> UITabBarController {
| `- error: 'UITabBarController' is unavailable in watchOS
28 | let tabBarController = UITabBarController()
29 | tabBarController.viewControllers = controllers
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITabBarController.h:64:12: note: 'UITabBarController' has been explicitly marked unavailable here
62 |
63 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
64 | @interface UITabBarController : UIViewController <UITabBarDelegate, NSCoding>
| `- note: 'UITabBarController' has been explicitly marked unavailable here
65 |
66 | /// The object managing the delegate of the tab bar controller.
/Users/admin/builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarController.swift:37:82: error: cannot find type 'Context' in scope
35 | }
36 |
37 | func updateUIViewController(_ tabBarController: UITabBarController, context: Context) {
| `- error: cannot find type 'Context' in scope
38 | tabBarController.selectedIndex = selectedIndex
39 |
/Users/admin/builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarController.swift:37:53: error: 'UITabBarController' is unavailable in watchOS
35 | }
36 |
37 | func updateUIViewController(_ tabBarController: UITabBarController, context: Context) {
| `- error: 'UITabBarController' is unavailable in watchOS
38 | tabBarController.selectedIndex = selectedIndex
39 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITabBarController.h:64:12: note: 'UITabBarController' has been explicitly marked unavailable here
62 |
63 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
64 | @interface UITabBarController : UIViewController <UITabBarDelegate, NSCoding>
| `- note: 'UITabBarController' has been explicitly marked unavailable here
65 |
66 | /// The object managing the delegate of the tab bar controller.
/Users/admin/builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarController.swift:16:26: error: cannot find type 'UIViewControllerRepresentable' in scope
14 | }
15 |
16 | struct TabBarController: UIViewControllerRepresentable {
| `- error: cannot find type 'UIViewControllerRepresentable' in scope
17 | var controllers: [UIViewController]
18 | var tabBarItems: [Tab]
/Users/admin/builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarController.swift:55:30: error: 'UITabBar' is unavailable in watchOS
53 |
54 | private extension TabBarController {
55 | func configure(_ tabBar: UITabBar) {
| `- error: 'UITabBar' is unavailable in watchOS
56 | let appearance = tabBar.standardAppearance.copy()
57 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITabBar.h:28:12: note: 'UITabBar' has been explicitly marked unavailable here
26 |
27 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
28 | @interface UITabBar : UIView
| `- note: 'UITabBar' has been explicitly marked unavailable here
29 |
30 | @property(nullable, nonatomic, weak) id<UITabBarDelegate> delegate; // weak reference. default is nil
/Users/admin/builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarController.swift:89:50: error: 'UIViewController' is unavailable in watchOS
87 | }
88 |
89 | func navigationController(in viewController: UIViewController) -> UINavigationController? {
| `- error: 'UIViewController' is unavailable in watchOS
90 | var controller: UINavigationController?
91 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarController.swift:89:71: error: 'UINavigationController' is unavailable in watchOS
87 | }
88 |
89 | func navigationController(in viewController: UIViewController) -> UINavigationController? {
| `- error: 'UINavigationController' is unavailable in watchOS
90 | var controller: UINavigationController?
91 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINavigationController.h:46:12: note: 'UINavigationController' has been explicitly marked unavailable here
44 |
45 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
46 | @interface UINavigationController : UIViewController
| `- note: 'UINavigationController' has been explicitly marked unavailable here
47 |
48 |
/Users/admin/builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarController.swift:28:32: error: 'UITabBarController' is unavailable in watchOS
26 |
27 | func makeUIViewController(context: Context) -> UITabBarController {
28 | let tabBarController = UITabBarController()
| `- error: 'UITabBarController' is unavailable in watchOS
29 | tabBarController.viewControllers = controllers
30 | tabBarController.delegate = context.coordinator
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITabBarController.h:64:12: note: 'UITabBarController' has been explicitly marked unavailable here
62 |
63 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
64 | @interface UITabBarController : UIViewController <UITabBarDelegate, NSCoding>
| `- note: 'UITabBarController' has been explicitly marked unavailable here
65 |
66 | /// The object managing the delegate of the tab bar controller.
/Users/admin/builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarController.swift:56:33: error: 'standardAppearance' is unavailable in watchOS
54 | private extension TabBarController {
55 | func configure(_ tabBar: UITabBar) {
56 | let appearance = tabBar.standardAppearance.copy()
| `- error: 'standardAppearance' is unavailable in watchOS
57 |
58 | if let config = tabBarConfiguration {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITabBar.h:120:60: note: 'standardAppearance' has been explicitly marked unavailable here
118 |
119 | /// Describes the appearance attributes for the tab bar to use.
120 | @property (nonatomic, readwrite, copy) UITabBarAppearance *standardAppearance UI_APPEARANCE_SELECTOR API_AVAILABLE(ios(13.0), tvos(13.0)) API_UNAVAILABLE(watchos);
| `- note: 'standardAppearance' has been explicitly marked unavailable here
121 | /// Describes the appearance attributes for the tabBar to use when an observable scroll view is scrolled to the bottom. If not set, standardAppearance will be used instead.
122 | @property (nonatomic, readwrite, copy, nullable) UITabBarAppearance *scrollEdgeAppearance UI_APPEARANCE_SELECTOR API_AVAILABLE(ios(15.0)) API_UNAVAILABLE(watchos);
/Users/admin/builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarController.swift:78:24: error: 'unselectedItemTintColor' is unavailable in watchOS
76 | appearance.stackedLayoutAppearance.normal.iconColor = unselectedItemTintColor
77 | } else {
78 | tabBar.unselectedItemTintColor = unselectedItemTintColor
| `- error: 'unselectedItemTintColor' is unavailable in watchOS
79 | }
80 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITabBar.h:51:59: note: 'unselectedItemTintColor' has been explicitly marked unavailable here
49 | @property(nullable, nonatomic, strong) UIColor *barTintColor API_AVAILABLE(ios(7.0)) UI_APPEARANCE_SELECTOR; // default is nil
50 | /// Unselected items in this tab bar will be tinted with this color. Setting this value to nil indicates that UITabBar should use its default value instead.
51 | @property (nonatomic, readwrite, copy, nullable) UIColor *unselectedItemTintColor API_AVAILABLE(ios(10.0)) UI_APPEARANCE_SELECTOR API_UNAVAILABLE(watchos);
| `- note: 'unselectedItemTintColor' has been explicitly marked unavailable here
52 |
53 | /* selectedImageTintColor will be applied to the gradient image used when creating the
/Users/admin/builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarController.swift:86:16: error: 'standardAppearance' is unavailable in watchOS
84 | }
85 |
86 | tabBar.standardAppearance = appearance
| `- error: 'standardAppearance' is unavailable in watchOS
87 | }
88 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITabBar.h:120:60: note: 'standardAppearance' has been explicitly marked unavailable here
118 |
119 | /// Describes the appearance attributes for the tab bar to use.
120 | @property (nonatomic, readwrite, copy) UITabBarAppearance *standardAppearance UI_APPEARANCE_SELECTOR API_AVAILABLE(ios(13.0), tvos(13.0)) API_UNAVAILABLE(watchos);
| `- note: 'standardAppearance' has been explicitly marked unavailable here
121 | /// Describes the appearance attributes for the tabBar to use when an observable scroll view is scrolled to the bottom. If not set, standardAppearance will be used instead.
122 | @property (nonatomic, readwrite, copy, nullable) UITabBarAppearance *scrollEdgeAppearance UI_APPEARANCE_SELECTOR API_AVAILABLE(ios(15.0)) API_UNAVAILABLE(watchos);
/Users/admin/builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarController.swift:90:25: error: 'UINavigationController' is unavailable in watchOS
88 |
89 | func navigationController(in viewController: UIViewController) -> UINavigationController? {
90 | var controller: UINavigationController?
| `- error: 'UINavigationController' is unavailable in watchOS
91 |
92 | if let navigationController = viewController as? UINavigationController {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINavigationController.h:46:12: note: 'UINavigationController' has been explicitly marked unavailable here
44 |
45 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
46 | @interface UINavigationController : UIViewController
| `- note: 'UINavigationController' has been explicitly marked unavailable here
47 |
48 |
/Users/admin/builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarController.swift:92:58: error: 'UINavigationController' is unavailable in watchOS
90 | var controller: UINavigationController?
91 |
92 | if let navigationController = viewController as? UINavigationController {
| `- error: 'UINavigationController' is unavailable in watchOS
93 | return navigationController
94 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINavigationController.h:46:12: note: 'UINavigationController' has been explicitly marked unavailable here
44 |
45 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
46 | @interface UINavigationController : UIViewController
| `- note: 'UINavigationController' has been explicitly marked unavailable here
47 |
48 |
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarController.swift (in target 'StatefulTabView' from project 'StatefulTabView')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile TabBarController.swift
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/SwiftUI-9AYG9OCT5VOJK7V4MX1WYR86T.pcm
SwiftEmitModule normal arm64_32 Emitting\ module\ for\ StatefulTabView (in target 'StatefulTabView' from project 'StatefulTabView')
/Users/admin/builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/Tab.swift:12:18: error: 'UITabBarItem' is unavailable in watchOS
10 | public struct Tab {
11 | var view: AnyView
12 | var barItem: UITabBarItem? = nil
| `- error: 'UITabBarItem' is unavailable in watchOS
13 |
14 | internal var prefersLargeTitle: Bool = false
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITabBarItem.h:35:12: note: 'UITabBarItem' has been explicitly marked unavailable here
33 |
34 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
35 | @interface UITabBarItem : UIBarItem
| `- note: 'UITabBarItem' has been explicitly marked unavailable here
36 |
37 | - (instancetype)init NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarController.swift:17:23: error: 'UIViewController' is unavailable in watchOS
15 |
16 | struct TabBarController: UIViewControllerRepresentable {
17 | var controllers: [UIViewController]
| `- error: 'UIViewController' is unavailable in watchOS
18 | var tabBarItems: [Tab]
19 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/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/StatefulTabView/Helpers/TabBarController.swift:27:40: error: cannot find type 'Context' in scope
25 | @Binding var selectedIndex: Int
26 |
27 | func makeUIViewController(context: Context) -> UITabBarController {
| `- error: cannot find type 'Context' in scope
28 | let tabBarController = UITabBarController()
29 | tabBarController.viewControllers = controllers
/Users/admin/builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarController.swift:27:52: error: 'UITabBarController' is unavailable in watchOS
25 | @Binding var selectedIndex: Int
26 |
27 | func makeUIViewController(context: Context) -> UITabBarController {
| `- error: 'UITabBarController' is unavailable in watchOS
28 | let tabBarController = UITabBarController()
29 | tabBarController.viewControllers = controllers
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITabBarController.h:64:12: note: 'UITabBarController' has been explicitly marked unavailable here
62 |
63 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
64 | @interface UITabBarController : UIViewController <UITabBarDelegate, NSCoding>
| `- note: 'UITabBarController' has been explicitly marked unavailable here
65 |
66 | /// The object managing the delegate of the tab bar controller.
/Users/admin/builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarController.swift:37:82: error: cannot find type 'Context' in scope
35 | }
36 |
37 | func updateUIViewController(_ tabBarController: UITabBarController, context: Context) {
| `- error: cannot find type 'Context' in scope
38 | tabBarController.selectedIndex = selectedIndex
39 |
/Users/admin/builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarController.swift:37:53: error: 'UITabBarController' is unavailable in watchOS
35 | }
36 |
37 | func updateUIViewController(_ tabBarController: UITabBarController, context: Context) {
| `- error: 'UITabBarController' is unavailable in watchOS
38 | tabBarController.selectedIndex = selectedIndex
39 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITabBarController.h:64:12: note: 'UITabBarController' has been explicitly marked unavailable here
62 |
63 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
64 | @interface UITabBarController : UIViewController <UITabBarDelegate, NSCoding>
| `- note: 'UITabBarController' has been explicitly marked unavailable here
65 |
66 | /// The object managing the delegate of the tab bar controller.
/Users/admin/builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarController.swift:16:26: error: cannot find type 'UIViewControllerRepresentable' in scope
14 | }
15 |
16 | struct TabBarController: UIViewControllerRepresentable {
| `- error: cannot find type 'UIViewControllerRepresentable' in scope
17 | var controllers: [UIViewController]
18 | var tabBarItems: [Tab]
/Users/admin/builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarController.swift:55:30: error: 'UITabBar' is unavailable in watchOS
53 |
54 | private extension TabBarController {
55 | func configure(_ tabBar: UITabBar) {
| `- error: 'UITabBar' is unavailable in watchOS
56 | let appearance = tabBar.standardAppearance.copy()
57 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITabBar.h:28:12: note: 'UITabBar' has been explicitly marked unavailable here
26 |
27 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
28 | @interface UITabBar : UIView
| `- note: 'UITabBar' has been explicitly marked unavailable here
29 |
30 | @property(nullable, nonatomic, weak) id<UITabBarDelegate> delegate; // weak reference. default is nil
/Users/admin/builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarController.swift:89:50: error: 'UIViewController' is unavailable in watchOS
87 | }
88 |
89 | func navigationController(in viewController: UIViewController) -> UINavigationController? {
| `- error: 'UIViewController' is unavailable in watchOS
90 | var controller: UINavigationController?
91 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarController.swift:89:71: error: 'UINavigationController' is unavailable in watchOS
87 | }
88 |
89 | func navigationController(in viewController: UIViewController) -> UINavigationController? {
| `- error: 'UINavigationController' is unavailable in watchOS
90 | var controller: UINavigationController?
91 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINavigationController.h:46:12: note: 'UINavigationController' has been explicitly marked unavailable here
44 |
45 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
46 | @interface UINavigationController : UIViewController
| `- note: 'UINavigationController' has been explicitly marked unavailable here
47 |
48 |
/Users/admin/builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarCoordinator.swift:24:47: error: 'UITabBarController' is unavailable in watchOS
22 | }
23 |
24 | func tabBarController(_ tabBarController: UITabBarController, didSelect viewController: UIViewController) {
| `- error: 'UITabBarController' is unavailable in watchOS
25 | if parent.selectedIndex == tabBarController.selectedIndex {
26 | guard let navigationController = navigationController(in: viewController) else {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/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/StatefulTabView/Helpers/TabBarCoordinator.swift:24:93: error: 'UIViewController' is unavailable in watchOS
22 | }
23 |
24 | func tabBarController(_ tabBarController: UITabBarController, didSelect viewController: UIViewController) {
| `- error: 'UIViewController' is unavailable in watchOS
25 | if parent.selectedIndex == tabBarController.selectedIndex {
26 | guard let navigationController = navigationController(in: viewController) else {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarCoordinator.swift:11:36: error: 'UITabBarControllerDelegate' is unavailable in watchOS
9 | import SwiftUI
10 |
11 | class TabBarCoordinator: NSObject, UITabBarControllerDelegate {
| `- error: 'UITabBarControllerDelegate' is unavailable in watchOS
12 | private enum Constants {
13 | static let boundsContainsPoint = CGPoint(x: 0, y: -89)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITabBarController.h: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/StatefulTabView/Helpers/TabBarCoordinator.swift:43:47: error: 'UINavigationController' is unavailable in watchOS
41 |
42 | private extension TabBarCoordinator {
43 | func scrollToTop(in navigationController: UINavigationController, selectedIndex: Int) {
| `- error: 'UINavigationController' is unavailable in watchOS
44 | let views = navigationController.viewControllers
45 | .map { $0.view.subviews }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINavigationController.h:46:12: note: 'UINavigationController' has been explicitly marked unavailable here
44 |
45 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
46 | @interface UINavigationController : UIViewController
| `- note: 'UINavigationController' has been explicitly marked unavailable here
47 |
48 |
/Users/admin/builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarCoordinator.swift:59:41: error: 'UIViewController' is unavailable in watchOS
57 | }
58 |
59 | func scrollToTop(in viewController: UIViewController) {
| `- error: 'UIViewController' is unavailable in watchOS
60 | let views = viewController.view.subviews
61 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarCoordinator.swift:69:50: error: 'UIViewController' is unavailable in watchOS
67 |
68 | private extension TabBarCoordinator {
69 | func navigationController(in viewController: UIViewController) -> UINavigationController? {
| `- error: 'UIViewController' is unavailable in watchOS
70 | var controller: UINavigationController?
71 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarCoordinator.swift:69:71: error: 'UINavigationController' is unavailable in watchOS
67 |
68 | private extension TabBarCoordinator {
69 | func navigationController(in viewController: UIViewController) -> UINavigationController? {
| `- error: 'UINavigationController' is unavailable in watchOS
70 | var controller: UINavigationController?
71 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINavigationController.h:46:12: note: 'UINavigationController' has been explicitly marked unavailable here
44 |
45 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
46 | @interface UINavigationController : UIViewController
| `- note: 'UINavigationController' has been explicitly marked unavailable here
47 |
48 |
SwiftCompile normal arm64_32 (in target 'StatefulTabView' from project 'StatefulTabView')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64_32 Compiling\ Tab+Modifiers.swift /Users/admin/builder/spi-builder-workspace/Sources/StatefulTabView/Modifiers/Tab+Modifiers.swift (in target 'StatefulTabView' from project 'StatefulTabView')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/StatefulTabView/Modifiers/Tab+Modifiers.swift (in target 'StatefulTabView' from project 'StatefulTabView')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile Tab+Modifiers.swift
SwiftCompile normal arm64_32 Compiling\ TabBarCoordinator.swift /Users/admin/builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarCoordinator.swift (in target 'StatefulTabView' from project 'StatefulTabView')
/Users/admin/builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarCoordinator.swift:24:47: error: 'UITabBarController' is unavailable in watchOS
22 | }
23 |
24 | func tabBarController(_ tabBarController: UITabBarController, didSelect viewController: UIViewController) {
| `- error: 'UITabBarController' is unavailable in watchOS
25 | if parent.selectedIndex == tabBarController.selectedIndex {
26 | guard let navigationController = navigationController(in: viewController) else {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/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/StatefulTabView/Helpers/TabBarCoordinator.swift:24:93: error: 'UIViewController' is unavailable in watchOS
22 | }
23 |
24 | func tabBarController(_ tabBarController: UITabBarController, didSelect viewController: UIViewController) {
| `- error: 'UIViewController' is unavailable in watchOS
25 | if parent.selectedIndex == tabBarController.selectedIndex {
26 | guard let navigationController = navigationController(in: viewController) else {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarCoordinator.swift:11:36: error: 'UITabBarControllerDelegate' is unavailable in watchOS
9 | import SwiftUI
10 |
11 | class TabBarCoordinator: NSObject, UITabBarControllerDelegate {
| `- error: 'UITabBarControllerDelegate' is unavailable in watchOS
12 | private enum Constants {
13 | static let boundsContainsPoint = CGPoint(x: 0, y: -89)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITabBarController.h: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/StatefulTabView/Helpers/TabBarCoordinator.swift:43:47: error: 'UINavigationController' is unavailable in watchOS
41 |
42 | private extension TabBarCoordinator {
43 | func scrollToTop(in navigationController: UINavigationController, selectedIndex: Int) {
| `- error: 'UINavigationController' is unavailable in watchOS
44 | let views = navigationController.viewControllers
45 | .map { $0.view.subviews }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINavigationController.h:46:12: note: 'UINavigationController' has been explicitly marked unavailable here
44 |
45 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
46 | @interface UINavigationController : UIViewController
| `- note: 'UINavigationController' has been explicitly marked unavailable here
47 |
48 |
/Users/admin/builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarCoordinator.swift:59:41: error: 'UIViewController' is unavailable in watchOS
57 | }
58 |
59 | func scrollToTop(in viewController: UIViewController) {
| `- error: 'UIViewController' is unavailable in watchOS
60 | let views = viewController.view.subviews
61 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarCoordinator.swift:69:50: error: 'UIViewController' is unavailable in watchOS
67 |
68 | private extension TabBarCoordinator {
69 | func navigationController(in viewController: UIViewController) -> UINavigationController? {
| `- error: 'UIViewController' is unavailable in watchOS
70 | var controller: UINavigationController?
71 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarCoordinator.swift:69:71: error: 'UINavigationController' is unavailable in watchOS
67 |
68 | private extension TabBarCoordinator {
69 | func navigationController(in viewController: UIViewController) -> UINavigationController? {
| `- error: 'UINavigationController' is unavailable in watchOS
70 | var controller: UINavigationController?
71 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINavigationController.h:46:12: note: 'UINavigationController' has been explicitly marked unavailable here
44 |
45 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
46 | @interface UINavigationController : UIViewController
| `- note: 'UINavigationController' has been explicitly marked unavailable here
47 |
48 |
/Users/admin/builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarCoordinator.swift:87:32: error: 'UIView' is unavailable in watchOS
85 | }
86 |
87 | func scrollView(in views: [UIView]) -> UIScrollView? {
| `- error: 'UIView' is unavailable in watchOS
88 | var view: UIScrollView?
89 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarCoordinator.swift (in target 'StatefulTabView' from project 'StatefulTabView')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile TabBarCoordinator.swift
SwiftCompile normal arm64_32 Compiling\ StatefulTabView.swift /Users/admin/builder/spi-builder-workspace/Sources/StatefulTabView/StatefulTabView.swift (in target 'StatefulTabView' from project 'StatefulTabView')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/StatefulTabView/StatefulTabView.swift (in target 'StatefulTabView' from project 'StatefulTabView')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile StatefulTabView.swift
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules
2026-09-18 15:01:31.259 xcodebuild[653:4231] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
** BUILD FAILED **
The following build commands failed:
SwiftEmitModule normal arm64 Emitting\ module\ for\ StatefulTabView (in target 'StatefulTabView' from project 'StatefulTabView')
SwiftCompile normal arm64 (in target 'StatefulTabView' from project 'StatefulTabView')
Building workspace StatefulTabView with scheme StatefulTabView
(3 failures)
Command line invocation:
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -resolvePackageDependencies
Resolve Package Graph
Resolved source packages:
StatefulTabView: /Users/admin/builder/spi-builder-workspace
resolved source packages: StatefulTabView
2026-09-18 15:01:37.738 xcodebuild[801:4794] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
{
"dependencies" : [
],
"manifest_display_name" : "StatefulTabView",
"name" : "StatefulTabView",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "13.0"
}
],
"products" : [
{
"name" : "StatefulTabView",
"targets" : [
"StatefulTabView"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "StatefulTabViewTests",
"module_type" : "SwiftTarget",
"name" : "StatefulTabViewTests",
"path" : "Tests/StatefulTabViewTests",
"sources" : [
"StatefulTabViewTests.swift",
"XCTestManifests.swift"
],
"target_dependencies" : [
"StatefulTabView"
],
"type" : "test"
},
{
"c99name" : "StatefulTabView",
"module_type" : "SwiftTarget",
"name" : "StatefulTabView",
"path" : "Sources/StatefulTabView",
"product_memberships" : [
"StatefulTabView"
],
"sources" : [
"Helpers/Tab.swift",
"Helpers/TabBarController.swift",
"Helpers/TabBarCoordinator.swift",
"Modifiers/StatefulTabView+Modifiers.swift",
"Modifiers/Tab+Modifiers.swift",
"StatefulTabView.swift"
],
"type" : "library"
}
],
"tools_version" : "5.2"
}
{
"workspace" : {
"name" : "StatefulTabView",
"schemes" : [
"StatefulTabView"
]
}
}
2026-09-18 15:01:38.954 xcodebuild[809:4861] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme StatefulTabView -destination generic/platform=watchOS
Command line invocation:
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath /Users/admin/builder/spi-builder-workspace/.derivedData build -scheme StatefulTabView -destination generic/platform=watchOS
Resolve Package Graph
Resolved source packages:
StatefulTabView: /Users/admin/builder/spi-builder-workspace
ComputePackagePrebuildTargetDependencyGraph
Prepare packages
CreateBuildRequest
SendProjectDescription
CreateBuildOperation
ComputeTargetDependencyGraph
note: Building targets in dependency order
note: Target dependency graph (2 targets)
Target 'StatefulTabView-product' in project 'StatefulTabView'
➜ Explicit dependency on target 'StatefulTabView' in project 'StatefulTabView'
Target 'StatefulTabView' in project 'StatefulTabView' (no dependencies)
GatherProvisioningInputs
CreateBuildDescription
ClangStatCache /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang-stat-cache /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos27.0-24R360-e829b21a6f8c9b70876ba0858053c04477534ef55a1706bf4c1112bbb242f0a2.sdkstatcache
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang-stat-cache /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk -o /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos27.0-24R360-e829b21a6f8c9b70876ba0858053c04477534ef55a1706bf4c1112bbb242f0a2.sdkstatcache
SwiftDriver StatefulTabView normal arm64_32 com.apple.xcode.tools.swift.compiler (in target 'StatefulTabView' from project 'StatefulTabView')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftDriver -- /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -parse-as-library -module-name StatefulTabView -Onone @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/StatefulTabView.build/Debug-watchos/StatefulTabView-t.build/Objects-normal/arm64_32/StatefulTabView.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -DSWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -DXcode -plugin-path /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -enable-experimental-feature DebugDescriptionMacro -sdk /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk -target arm64_32-apple-watchos9.0 -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -Xfrontend -serialize-debugging-options -profile-coverage-mapping -profile-generate -enable-testing -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -swift-version 5 -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/Developer/Library/Frameworks -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos27.0-24R360-e829b21a6f8c9b70876ba0858053c04477534ef55a1706bf4c1112bbb242f0a2.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/StatefulTabView.build/Debug-watchos/StatefulTabView-t.build/Objects-normal/arm64_32/StatefulTabView-OutputFileMap.json -save-temps -no-color-diagnostics -explicit-module-build -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules -clang-scanner-module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -sdk-module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules -emit-dependencies -emit-module -emit-module-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/StatefulTabView.build/Debug-watchos/StatefulTabView-t.build/Objects-normal/arm64_32/StatefulTabView.swiftmodule -serialize-diagnostics -dependency-scan-serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/StatefulTabView.build/Debug-watchos/StatefulTabView-t.build/Objects-normal/arm64_32/StatefulTabView-dependency-scan.dia -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -emit-const-values -const-gather-protocols-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/StatefulTabView.build/Debug-watchos/StatefulTabView-t.build/Objects-normal/arm64_32/StatefulTabView_const_extract_protocols.json -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/StatefulTabView.build/Debug-watchos/StatefulTabView-t.build/DerivedSources-normal/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/StatefulTabView.build/Debug-watchos/StatefulTabView-t.build/DerivedSources/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/StatefulTabView.build/Debug-watchos/StatefulTabView-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -emit-objc-header -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/StatefulTabView.build/Debug-watchos/StatefulTabView-t.build/Objects-normal/arm64_32/StatefulTabView-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
SwiftDriver StatefulTabView normal arm64 com.apple.xcode.tools.swift.compiler (in target 'StatefulTabView' from project 'StatefulTabView')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftDriver -- /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -parse-as-library -module-name StatefulTabView -Onone @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/StatefulTabView.build/Debug-watchos/StatefulTabView-t.build/Objects-normal/arm64/StatefulTabView.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -DSWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -DXcode -plugin-path /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -enable-experimental-feature DebugDescriptionMacro -sdk /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk -target arm64-apple-watchos9.0 -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -Xfrontend -serialize-debugging-options -profile-coverage-mapping -profile-generate -enable-testing -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -swift-version 5 -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/Developer/Library/Frameworks -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos27.0-24R360-e829b21a6f8c9b70876ba0858053c04477534ef55a1706bf4c1112bbb242f0a2.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/StatefulTabView.build/Debug-watchos/StatefulTabView-t.build/Objects-normal/arm64/StatefulTabView-OutputFileMap.json -save-temps -no-color-diagnostics -explicit-module-build -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules -clang-scanner-module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -sdk-module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules -emit-dependencies -emit-module -emit-module-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/StatefulTabView.build/Debug-watchos/StatefulTabView-t.build/Objects-normal/arm64/StatefulTabView.swiftmodule -serialize-diagnostics -dependency-scan-serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/StatefulTabView.build/Debug-watchos/StatefulTabView-t.build/Objects-normal/arm64/StatefulTabView-dependency-scan.dia -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -emit-const-values -const-gather-protocols-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/StatefulTabView.build/Debug-watchos/StatefulTabView-t.build/Objects-normal/arm64/StatefulTabView_const_extract_protocols.json -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/StatefulTabView.build/Debug-watchos/StatefulTabView-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/StatefulTabView.build/Debug-watchos/StatefulTabView-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/StatefulTabView.build/Debug-watchos/StatefulTabView-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -emit-objc-header -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/StatefulTabView.build/Debug-watchos/StatefulTabView-t.build/Objects-normal/arm64/StatefulTabView-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
SwiftCompile normal arm64 Compiling\ Tab.swift /Users/admin/builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/Tab.swift (in target 'StatefulTabView' from project 'StatefulTabView')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/Tab.swift (in target 'StatefulTabView' from project 'StatefulTabView')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile Tab.swift
/Users/admin/builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/Tab.swift:12:18: error: 'UITabBarItem' is unavailable in watchOS
10 | public struct Tab {
11 | var view: AnyView
12 | var barItem: UITabBarItem? = nil
| `- error: 'UITabBarItem' is unavailable in watchOS
13 |
14 | internal var prefersLargeTitle: Bool = false
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITabBarItem.h:35:12: note: 'UITabBarItem' has been explicitly marked unavailable here
33 |
34 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
35 | @interface UITabBarItem : UIBarItem
| `- note: 'UITabBarItem' has been explicitly marked unavailable here
36 |
37 | - (instancetype)init NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/Tab.swift:32:19: error: 'UITabBarItem' is unavailable in watchOS
30 | }
31 |
32 | barItem = UITabBarItem(title: title, image: UIImage(named: imageName), selectedImage: selectedImage)
| `- error: 'UITabBarItem' is unavailable in watchOS
33 |
34 | self.view = AnyView(content())
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITabBarItem.h:35:12: note: 'UITabBarItem' has been explicitly marked unavailable here
33 |
34 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
35 | @interface UITabBarItem : UIBarItem
| `- note: 'UITabBarItem' has been explicitly marked unavailable here
36 |
37 | - (instancetype)init NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/Tab.swift:52:19: error: 'UITabBarItem' is unavailable in watchOS
50 | }
51 |
52 | barItem = UITabBarItem(title: title, image: UIImage(systemName: systemImageName), selectedImage: selectedImage)
| `- error: 'UITabBarItem' is unavailable in watchOS
53 |
54 | self.view = AnyView(content())
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITabBarItem.h:35:12: note: 'UITabBarItem' has been explicitly marked unavailable here
33 |
34 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
35 | @interface UITabBarItem : UIBarItem
| `- note: 'UITabBarItem' has been explicitly marked unavailable here
36 |
37 | - (instancetype)init NS_DESIGNATED_INITIALIZER;
SwiftCompile normal arm64 Compiling\ Tab+Modifiers.swift /Users/admin/builder/spi-builder-workspace/Sources/StatefulTabView/Modifiers/Tab+Modifiers.swift (in target 'StatefulTabView' from project 'StatefulTabView')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/StatefulTabView/Modifiers/Tab+Modifiers.swift (in target 'StatefulTabView' from project 'StatefulTabView')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile Tab+Modifiers.swift
SwiftEmitModule normal arm64 Emitting\ module\ for\ StatefulTabView (in target 'StatefulTabView' from project 'StatefulTabView')
/Users/admin/builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/Tab.swift:12:18: error: 'UITabBarItem' is unavailable in watchOS
10 | public struct Tab {
11 | var view: AnyView
12 | var barItem: UITabBarItem? = nil
| `- error: 'UITabBarItem' is unavailable in watchOS
13 |
14 | internal var prefersLargeTitle: Bool = false
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITabBarItem.h:35:12: note: 'UITabBarItem' has been explicitly marked unavailable here
33 |
34 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
35 | @interface UITabBarItem : UIBarItem
| `- note: 'UITabBarItem' has been explicitly marked unavailable here
36 |
37 | - (instancetype)init NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarController.swift:17:23: error: 'UIViewController' is unavailable in watchOS
15 |
16 | struct TabBarController: UIViewControllerRepresentable {
17 | var controllers: [UIViewController]
| `- error: 'UIViewController' is unavailable in watchOS
18 | var tabBarItems: [Tab]
19 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/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/StatefulTabView/Helpers/TabBarController.swift:27:40: error: cannot find type 'Context' in scope
25 | @Binding var selectedIndex: Int
26 |
27 | func makeUIViewController(context: Context) -> UITabBarController {
| `- error: cannot find type 'Context' in scope
28 | let tabBarController = UITabBarController()
29 | tabBarController.viewControllers = controllers
/Users/admin/builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarController.swift:27:52: error: 'UITabBarController' is unavailable in watchOS
25 | @Binding var selectedIndex: Int
26 |
27 | func makeUIViewController(context: Context) -> UITabBarController {
| `- error: 'UITabBarController' is unavailable in watchOS
28 | let tabBarController = UITabBarController()
29 | tabBarController.viewControllers = controllers
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITabBarController.h:64:12: note: 'UITabBarController' has been explicitly marked unavailable here
62 |
63 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
64 | @interface UITabBarController : UIViewController <UITabBarDelegate, NSCoding>
| `- note: 'UITabBarController' has been explicitly marked unavailable here
65 |
66 | /// The object managing the delegate of the tab bar controller.
/Users/admin/builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarController.swift:37:82: error: cannot find type 'Context' in scope
35 | }
36 |
37 | func updateUIViewController(_ tabBarController: UITabBarController, context: Context) {
| `- error: cannot find type 'Context' in scope
38 | tabBarController.selectedIndex = selectedIndex
39 |
/Users/admin/builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarController.swift:37:53: error: 'UITabBarController' is unavailable in watchOS
35 | }
36 |
37 | func updateUIViewController(_ tabBarController: UITabBarController, context: Context) {
| `- error: 'UITabBarController' is unavailable in watchOS
38 | tabBarController.selectedIndex = selectedIndex
39 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITabBarController.h:64:12: note: 'UITabBarController' has been explicitly marked unavailable here
62 |
63 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
64 | @interface UITabBarController : UIViewController <UITabBarDelegate, NSCoding>
| `- note: 'UITabBarController' has been explicitly marked unavailable here
65 |
66 | /// The object managing the delegate of the tab bar controller.
/Users/admin/builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarController.swift:16:26: error: cannot find type 'UIViewControllerRepresentable' in scope
14 | }
15 |
16 | struct TabBarController: UIViewControllerRepresentable {
| `- error: cannot find type 'UIViewControllerRepresentable' in scope
17 | var controllers: [UIViewController]
18 | var tabBarItems: [Tab]
/Users/admin/builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarController.swift:55:30: error: 'UITabBar' is unavailable in watchOS
53 |
54 | private extension TabBarController {
55 | func configure(_ tabBar: UITabBar) {
| `- error: 'UITabBar' is unavailable in watchOS
56 | let appearance = tabBar.standardAppearance.copy()
57 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITabBar.h:28:12: note: 'UITabBar' has been explicitly marked unavailable here
26 |
27 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
28 | @interface UITabBar : UIView
| `- note: 'UITabBar' has been explicitly marked unavailable here
29 |
30 | @property(nullable, nonatomic, weak) id<UITabBarDelegate> delegate; // weak reference. default is nil
/Users/admin/builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarController.swift:89:50: error: 'UIViewController' is unavailable in watchOS
87 | }
88 |
89 | func navigationController(in viewController: UIViewController) -> UINavigationController? {
| `- error: 'UIViewController' is unavailable in watchOS
90 | var controller: UINavigationController?
91 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarController.swift:89:71: error: 'UINavigationController' is unavailable in watchOS
87 | }
88 |
89 | func navigationController(in viewController: UIViewController) -> UINavigationController? {
| `- error: 'UINavigationController' is unavailable in watchOS
90 | var controller: UINavigationController?
91 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINavigationController.h:46:12: note: 'UINavigationController' has been explicitly marked unavailable here
44 |
45 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
46 | @interface UINavigationController : UIViewController
| `- note: 'UINavigationController' has been explicitly marked unavailable here
47 |
48 |
/Users/admin/builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarCoordinator.swift:24:47: error: 'UITabBarController' is unavailable in watchOS
22 | }
23 |
24 | func tabBarController(_ tabBarController: UITabBarController, didSelect viewController: UIViewController) {
| `- error: 'UITabBarController' is unavailable in watchOS
25 | if parent.selectedIndex == tabBarController.selectedIndex {
26 | guard let navigationController = navigationController(in: viewController) else {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/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/StatefulTabView/Helpers/TabBarCoordinator.swift:24:93: error: 'UIViewController' is unavailable in watchOS
22 | }
23 |
24 | func tabBarController(_ tabBarController: UITabBarController, didSelect viewController: UIViewController) {
| `- error: 'UIViewController' is unavailable in watchOS
25 | if parent.selectedIndex == tabBarController.selectedIndex {
26 | guard let navigationController = navigationController(in: viewController) else {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarCoordinator.swift:11:36: error: 'UITabBarControllerDelegate' is unavailable in watchOS
9 | import SwiftUI
10 |
11 | class TabBarCoordinator: NSObject, UITabBarControllerDelegate {
| `- error: 'UITabBarControllerDelegate' is unavailable in watchOS
12 | private enum Constants {
13 | static let boundsContainsPoint = CGPoint(x: 0, y: -89)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITabBarController.h: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/StatefulTabView/Helpers/TabBarCoordinator.swift:43:47: error: 'UINavigationController' is unavailable in watchOS
41 |
42 | private extension TabBarCoordinator {
43 | func scrollToTop(in navigationController: UINavigationController, selectedIndex: Int) {
| `- error: 'UINavigationController' is unavailable in watchOS
44 | let views = navigationController.viewControllers
45 | .map { $0.view.subviews }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINavigationController.h:46:12: note: 'UINavigationController' has been explicitly marked unavailable here
44 |
45 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
46 | @interface UINavigationController : UIViewController
| `- note: 'UINavigationController' has been explicitly marked unavailable here
47 |
48 |
/Users/admin/builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarCoordinator.swift:59:41: error: 'UIViewController' is unavailable in watchOS
57 | }
58 |
59 | func scrollToTop(in viewController: UIViewController) {
| `- error: 'UIViewController' is unavailable in watchOS
60 | let views = viewController.view.subviews
61 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarCoordinator.swift:69:50: error: 'UIViewController' is unavailable in watchOS
67 |
68 | private extension TabBarCoordinator {
69 | func navigationController(in viewController: UIViewController) -> UINavigationController? {
| `- error: 'UIViewController' is unavailable in watchOS
70 | var controller: UINavigationController?
71 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarCoordinator.swift:69:71: error: 'UINavigationController' is unavailable in watchOS
67 |
68 | private extension TabBarCoordinator {
69 | func navigationController(in viewController: UIViewController) -> UINavigationController? {
| `- error: 'UINavigationController' is unavailable in watchOS
70 | var controller: UINavigationController?
71 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINavigationController.h:46:12: note: 'UINavigationController' has been explicitly marked unavailable here
44 |
45 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
46 | @interface UINavigationController : UIViewController
| `- note: 'UINavigationController' has been explicitly marked unavailable here
47 |
48 |
/Users/admin/builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarCoordinator.swift:87:32: error: 'UIView' is unavailable in watchOS
85 | }
86 |
87 | func scrollView(in views: [UIView]) -> UIScrollView? {
| `- error: 'UIView' is unavailable in watchOS
88 | var view: UIScrollView?
89 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarCoordinator.swift:87:44: error: 'UIScrollView' is unavailable in watchOS
85 | }
86 |
87 | func scrollView(in views: [UIView]) -> UIScrollView? {
| `- error: 'UIScrollView' is unavailable in watchOS
88 | var view: UIScrollView?
89 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScrollView.h:87:12: note: 'UIScrollView' has been explicitly marked unavailable here
85 |
86 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
87 | @interface UIScrollView : UIView <NSCoding, UIFocusItemScrollableContainer>
| `- note: 'UIScrollView' has been explicitly marked unavailable here
88 |
89 | @property(nonatomic) CGPoint contentOffset; // default CGPointZero
/Users/admin/builder/spi-builder-workspace/Sources/StatefulTabView/StatefulTabView.swift:11:36: error: cannot find type 'UIHostingController' in scope
9 |
10 | public struct StatefulTabView: View {
11 | internal var viewControllers: [UIHostingController<AnyView>] = []
| `- error: cannot find type 'UIHostingController' in scope
12 | internal var tabBarItems: [Tab] = []
13 |
Failed frontend command:
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /Users/admin/builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/Tab.swift /Users/admin/builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarController.swift /Users/admin/builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarCoordinator.swift /Users/admin/builder/spi-builder-workspace/Sources/StatefulTabView/Modifiers/StatefulTabView+Modifiers.swift /Users/admin/builder/spi-builder-workspace/Sources/StatefulTabView/Modifiers/Tab+Modifiers.swift /Users/admin/builder/spi-builder-workspace/Sources/StatefulTabView/StatefulTabView.swift -target arm64-apple-watchos9.0 -disable-cross-import-overlay-search -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libFoundationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#FoundationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libObservationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#ObservationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libPreviewsMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#PreviewsMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libSwiftMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#SwiftMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libSwiftUIMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#SwiftUIMacros -disable-implicit-swift-modules -Xcc -fno-implicit-modules -Xcc -fno-implicit-module-maps -explicit-swift-module-map-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/StatefulTabView.build/Debug-watchos/StatefulTabView-t.build/Objects-normal/arm64/StatefulTabView-dependencies-2.json -Xllvm -aarch64-use-tbi -enable-objc-interop -stack-check -sdk /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/Developer/Library/Frameworks -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules -no-color-diagnostics -Xcc -fno-color-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -profile-generate -profile-coverage-mapping -swift-version 5 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -enable-anonymous-context-mangled-names -file-compilation-dir /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos27.0-24R360-e829b21a6f8c9b70876ba0858053c04477534ef55a1706bf4c1112bbb242f0a2.sdkstatcache -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/StatefulTabView.build/Debug-watchos/StatefulTabView-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/StatefulTabView.build/Debug-watchos/StatefulTabView-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/StatefulTabView.build/Debug-watchos/StatefulTabView-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name StatefulTabView -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/StatefulTabView.build/Debug-watchos/StatefulTabView-t.build/Objects-normal/arm64/StatefulTabView_const_extract_protocols.json -disable-clang-spi -clang-target arm64-apple-watchos27.0 -target-sdk-version 27.0 -target-sdk-name watchos27.0 -in-process-plugin-server-path /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/libSwiftInProcPluginServer.dylib -emit-module-doc-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/StatefulTabView.build/Debug-watchos/StatefulTabView-t.build/Objects-normal/arm64/StatefulTabView.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/StatefulTabView.build/Debug-watchos/StatefulTabView-t.build/Objects-normal/arm64/StatefulTabView.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/StatefulTabView.build/Debug-watchos/StatefulTabView-t.build/Objects-normal/arm64/StatefulTabView-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/StatefulTabView.build/Debug-watchos/StatefulTabView-t.build/Objects-normal/arm64/StatefulTabView-primary-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/StatefulTabView.build/Debug-watchos/StatefulTabView-t.build/Objects-normal/arm64/StatefulTabView-primary-emit-module.d -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/StatefulTabView.build/Debug-watchos/StatefulTabView-t.build/Objects-normal/arm64/StatefulTabView.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/StatefulTabView.build/Debug-watchos/StatefulTabView-t.build/Objects-normal/arm64/StatefulTabView.abi.json
SwiftCompile normal arm64 (in target 'StatefulTabView' from project 'StatefulTabView')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 Compiling\ StatefulTabView.swift /Users/admin/builder/spi-builder-workspace/Sources/StatefulTabView/StatefulTabView.swift (in target 'StatefulTabView' from project 'StatefulTabView')
/Users/admin/builder/spi-builder-workspace/Sources/StatefulTabView/StatefulTabView.swift:11:36: error: cannot find type 'UIHostingController' in scope
9 |
10 | public struct StatefulTabView: View {
11 | internal var viewControllers: [UIHostingController<AnyView>] = []
| `- error: cannot find type 'UIHostingController' in scope
12 | internal var tabBarItems: [Tab] = []
13 |
/Users/admin/builder/spi-builder-workspace/Sources/StatefulTabView/StatefulTabView.swift:44:14: error: value of type 'TabBarController' has no member 'edgesIgnoringSafeArea'
42 | tabBarConfiguration: tabBarConfiguration,
43 | selectedIndex: useBindableIndex ? $bindableIndex : $stateIndex)
44 | .edgesIgnoringSafeArea(.all)
| `- error: value of type 'TabBarController' has no member 'edgesIgnoringSafeArea'
45 | }
46 | }
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/StatefulTabView/StatefulTabView.swift (in target 'StatefulTabView' from project 'StatefulTabView')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile StatefulTabView.swift
SwiftCompile normal arm64 Compiling\ TabBarCoordinator.swift /Users/admin/builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarCoordinator.swift (in target 'StatefulTabView' from project 'StatefulTabView')
/Users/admin/builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarCoordinator.swift:24:47: error: 'UITabBarController' is unavailable in watchOS
22 | }
23 |
24 | func tabBarController(_ tabBarController: UITabBarController, didSelect viewController: UIViewController) {
| `- error: 'UITabBarController' is unavailable in watchOS
25 | if parent.selectedIndex == tabBarController.selectedIndex {
26 | guard let navigationController = navigationController(in: viewController) else {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/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/StatefulTabView/Helpers/TabBarCoordinator.swift:24:93: error: 'UIViewController' is unavailable in watchOS
22 | }
23 |
24 | func tabBarController(_ tabBarController: UITabBarController, didSelect viewController: UIViewController) {
| `- error: 'UIViewController' is unavailable in watchOS
25 | if parent.selectedIndex == tabBarController.selectedIndex {
26 | guard let navigationController = navigationController(in: viewController) else {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarCoordinator.swift:11:36: error: 'UITabBarControllerDelegate' is unavailable in watchOS
9 | import SwiftUI
10 |
11 | class TabBarCoordinator: NSObject, UITabBarControllerDelegate {
| `- error: 'UITabBarControllerDelegate' is unavailable in watchOS
12 | private enum Constants {
13 | static let boundsContainsPoint = CGPoint(x: 0, y: -89)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITabBarController.h: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/StatefulTabView/Helpers/TabBarCoordinator.swift:43:47: error: 'UINavigationController' is unavailable in watchOS
41 |
42 | private extension TabBarCoordinator {
43 | func scrollToTop(in navigationController: UINavigationController, selectedIndex: Int) {
| `- error: 'UINavigationController' is unavailable in watchOS
44 | let views = navigationController.viewControllers
45 | .map { $0.view.subviews }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINavigationController.h:46:12: note: 'UINavigationController' has been explicitly marked unavailable here
44 |
45 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
46 | @interface UINavigationController : UIViewController
| `- note: 'UINavigationController' has been explicitly marked unavailable here
47 |
48 |
/Users/admin/builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarCoordinator.swift:59:41: error: 'UIViewController' is unavailable in watchOS
57 | }
58 |
59 | func scrollToTop(in viewController: UIViewController) {
| `- error: 'UIViewController' is unavailable in watchOS
60 | let views = viewController.view.subviews
61 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarCoordinator.swift:69:50: error: 'UIViewController' is unavailable in watchOS
67 |
68 | private extension TabBarCoordinator {
69 | func navigationController(in viewController: UIViewController) -> UINavigationController? {
| `- error: 'UIViewController' is unavailable in watchOS
70 | var controller: UINavigationController?
71 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarCoordinator.swift:69:71: error: 'UINavigationController' is unavailable in watchOS
67 |
68 | private extension TabBarCoordinator {
69 | func navigationController(in viewController: UIViewController) -> UINavigationController? {
| `- error: 'UINavigationController' is unavailable in watchOS
70 | var controller: UINavigationController?
71 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINavigationController.h:46:12: note: 'UINavigationController' has been explicitly marked unavailable here
44 |
45 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
46 | @interface UINavigationController : UIViewController
| `- note: 'UINavigationController' has been explicitly marked unavailable here
47 |
48 |
/Users/admin/builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarCoordinator.swift:87:32: error: 'UIView' is unavailable in watchOS
85 | }
86 |
87 | func scrollView(in views: [UIView]) -> UIScrollView? {
| `- error: 'UIView' is unavailable in watchOS
88 | var view: UIScrollView?
89 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarCoordinator.swift:87:44: error: 'UIScrollView' is unavailable in watchOS
85 | }
86 |
87 | func scrollView(in views: [UIView]) -> UIScrollView? {
| `- error: 'UIScrollView' is unavailable in watchOS
88 | var view: UIScrollView?
89 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScrollView.h:87:12: note: 'UIScrollView' has been explicitly marked unavailable here
85 |
86 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
87 | @interface UIScrollView : UIView <NSCoding, UIFocusItemScrollableContainer>
| `- note: 'UIScrollView' has been explicitly marked unavailable here
88 |
89 | @property(nonatomic) CGPoint contentOffset; // default CGPointZero
/Users/admin/builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarCoordinator.swift:70:25: error: 'UINavigationController' is unavailable in watchOS
68 | private extension TabBarCoordinator {
69 | func navigationController(in viewController: UIViewController) -> UINavigationController? {
70 | var controller: UINavigationController?
| `- error: 'UINavigationController' is unavailable in watchOS
71 |
72 | if let navigationController = viewController as? UINavigationController {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINavigationController.h:46:12: note: 'UINavigationController' has been explicitly marked unavailable here
44 |
45 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
46 | @interface UINavigationController : UIViewController
| `- note: 'UINavigationController' has been explicitly marked unavailable here
47 |
48 |
/Users/admin/builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarCoordinator.swift:72:58: error: 'UINavigationController' is unavailable in watchOS
70 | var controller: UINavigationController?
71 |
72 | if let navigationController = viewController as? UINavigationController {
| `- error: 'UINavigationController' is unavailable in watchOS
73 | return navigationController
74 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINavigationController.h:46:12: note: 'UINavigationController' has been explicitly marked unavailable here
44 |
45 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
46 | @interface UINavigationController : UIViewController
| `- note: 'UINavigationController' has been explicitly marked unavailable here
47 |
48 |
/Users/admin/builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarCoordinator.swift:77:50: error: 'UINavigationController' is unavailable in watchOS
75 |
76 | viewController.children.forEach {
77 | if let navigationController = $0 as? UINavigationController {
| `- error: 'UINavigationController' is unavailable in watchOS
78 | controller = navigationController
79 | } else {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINavigationController.h:46:12: note: 'UINavigationController' has been explicitly marked unavailable here
44 |
45 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
46 | @interface UINavigationController : UIViewController
| `- note: 'UINavigationController' has been explicitly marked unavailable here
47 |
48 |
/Users/admin/builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarCoordinator.swift:88:19: error: 'UIScrollView' is unavailable in watchOS
86 |
87 | func scrollView(in views: [UIView]) -> UIScrollView? {
88 | var view: UIScrollView?
| `- error: 'UIScrollView' is unavailable in watchOS
89 |
90 | views.forEach {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScrollView.h:87:12: note: 'UIScrollView' has been explicitly marked unavailable here
85 |
86 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
87 | @interface UIScrollView : UIView <NSCoding, UIFocusItemScrollableContainer>
| `- note: 'UIScrollView' has been explicitly marked unavailable here
88 |
89 | @property(nonatomic) CGPoint contentOffset; // default CGPointZero
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarCoordinator.swift (in target 'StatefulTabView' from project 'StatefulTabView')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile TabBarCoordinator.swift
SwiftCompile normal arm64 Compiling\ StatefulTabView+Modifiers.swift /Users/admin/builder/spi-builder-workspace/Sources/StatefulTabView/Modifiers/StatefulTabView+Modifiers.swift (in target 'StatefulTabView' from project 'StatefulTabView')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/StatefulTabView/Modifiers/StatefulTabView+Modifiers.swift (in target 'StatefulTabView' from project 'StatefulTabView')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile StatefulTabView+Modifiers.swift
SwiftCompile normal arm64 Compiling\ TabBarController.swift /Users/admin/builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarController.swift (in target 'StatefulTabView' from project 'StatefulTabView')
/Users/admin/builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarController.swift:17:23: error: 'UIViewController' is unavailable in watchOS
15 |
16 | struct TabBarController: UIViewControllerRepresentable {
17 | var controllers: [UIViewController]
| `- error: 'UIViewController' is unavailable in watchOS
18 | var tabBarItems: [Tab]
19 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/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/StatefulTabView/Helpers/TabBarController.swift:27:40: error: cannot find type 'Context' in scope
25 | @Binding var selectedIndex: Int
26 |
27 | func makeUIViewController(context: Context) -> UITabBarController {
| `- error: cannot find type 'Context' in scope
28 | let tabBarController = UITabBarController()
29 | tabBarController.viewControllers = controllers
/Users/admin/builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarController.swift:27:52: error: 'UITabBarController' is unavailable in watchOS
25 | @Binding var selectedIndex: Int
26 |
27 | func makeUIViewController(context: Context) -> UITabBarController {
| `- error: 'UITabBarController' is unavailable in watchOS
28 | let tabBarController = UITabBarController()
29 | tabBarController.viewControllers = controllers
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITabBarController.h:64:12: note: 'UITabBarController' has been explicitly marked unavailable here
62 |
63 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
64 | @interface UITabBarController : UIViewController <UITabBarDelegate, NSCoding>
| `- note: 'UITabBarController' has been explicitly marked unavailable here
65 |
66 | /// The object managing the delegate of the tab bar controller.
/Users/admin/builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarController.swift:37:82: error: cannot find type 'Context' in scope
35 | }
36 |
37 | func updateUIViewController(_ tabBarController: UITabBarController, context: Context) {
| `- error: cannot find type 'Context' in scope
38 | tabBarController.selectedIndex = selectedIndex
39 |
/Users/admin/builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarController.swift:37:53: error: 'UITabBarController' is unavailable in watchOS
35 | }
36 |
37 | func updateUIViewController(_ tabBarController: UITabBarController, context: Context) {
| `- error: 'UITabBarController' is unavailable in watchOS
38 | tabBarController.selectedIndex = selectedIndex
39 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITabBarController.h:64:12: note: 'UITabBarController' has been explicitly marked unavailable here
62 |
63 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
64 | @interface UITabBarController : UIViewController <UITabBarDelegate, NSCoding>
| `- note: 'UITabBarController' has been explicitly marked unavailable here
65 |
66 | /// The object managing the delegate of the tab bar controller.
/Users/admin/builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarController.swift:16:26: error: cannot find type 'UIViewControllerRepresentable' in scope
14 | }
15 |
16 | struct TabBarController: UIViewControllerRepresentable {
| `- error: cannot find type 'UIViewControllerRepresentable' in scope
17 | var controllers: [UIViewController]
18 | var tabBarItems: [Tab]
/Users/admin/builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarController.swift:55:30: error: 'UITabBar' is unavailable in watchOS
53 |
54 | private extension TabBarController {
55 | func configure(_ tabBar: UITabBar) {
| `- error: 'UITabBar' is unavailable in watchOS
56 | let appearance = tabBar.standardAppearance.copy()
57 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITabBar.h:28:12: note: 'UITabBar' has been explicitly marked unavailable here
26 |
27 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
28 | @interface UITabBar : UIView
| `- note: 'UITabBar' has been explicitly marked unavailable here
29 |
30 | @property(nullable, nonatomic, weak) id<UITabBarDelegate> delegate; // weak reference. default is nil
/Users/admin/builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarController.swift:89:50: error: 'UIViewController' is unavailable in watchOS
87 | }
88 |
89 | func navigationController(in viewController: UIViewController) -> UINavigationController? {
| `- error: 'UIViewController' is unavailable in watchOS
90 | var controller: UINavigationController?
91 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarController.swift:89:71: error: 'UINavigationController' is unavailable in watchOS
87 | }
88 |
89 | func navigationController(in viewController: UIViewController) -> UINavigationController? {
| `- error: 'UINavigationController' is unavailable in watchOS
90 | var controller: UINavigationController?
91 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINavigationController.h:46:12: note: 'UINavigationController' has been explicitly marked unavailable here
44 |
45 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
46 | @interface UINavigationController : UIViewController
| `- note: 'UINavigationController' has been explicitly marked unavailable here
47 |
48 |
/Users/admin/builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarController.swift:28:32: error: 'UITabBarController' is unavailable in watchOS
26 |
27 | func makeUIViewController(context: Context) -> UITabBarController {
28 | let tabBarController = UITabBarController()
| `- error: 'UITabBarController' is unavailable in watchOS
29 | tabBarController.viewControllers = controllers
30 | tabBarController.delegate = context.coordinator
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITabBarController.h:64:12: note: 'UITabBarController' has been explicitly marked unavailable here
62 |
63 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
64 | @interface UITabBarController : UIViewController <UITabBarDelegate, NSCoding>
| `- note: 'UITabBarController' has been explicitly marked unavailable here
65 |
66 | /// The object managing the delegate of the tab bar controller.
/Users/admin/builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarController.swift:56:33: error: 'standardAppearance' is unavailable in watchOS
54 | private extension TabBarController {
55 | func configure(_ tabBar: UITabBar) {
56 | let appearance = tabBar.standardAppearance.copy()
| `- error: 'standardAppearance' is unavailable in watchOS
57 |
58 | if let config = tabBarConfiguration {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITabBar.h:120:60: note: 'standardAppearance' has been explicitly marked unavailable here
118 |
119 | /// Describes the appearance attributes for the tab bar to use.
120 | @property (nonatomic, readwrite, copy) UITabBarAppearance *standardAppearance UI_APPEARANCE_SELECTOR API_AVAILABLE(ios(13.0), tvos(13.0)) API_UNAVAILABLE(watchos);
| `- note: 'standardAppearance' has been explicitly marked unavailable here
121 | /// Describes the appearance attributes for the tabBar to use when an observable scroll view is scrolled to the bottom. If not set, standardAppearance will be used instead.
122 | @property (nonatomic, readwrite, copy, nullable) UITabBarAppearance *scrollEdgeAppearance UI_APPEARANCE_SELECTOR API_AVAILABLE(ios(15.0)) API_UNAVAILABLE(watchos);
/Users/admin/builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarController.swift:78:24: error: 'unselectedItemTintColor' is unavailable in watchOS
76 | appearance.stackedLayoutAppearance.normal.iconColor = unselectedItemTintColor
77 | } else {
78 | tabBar.unselectedItemTintColor = unselectedItemTintColor
| `- error: 'unselectedItemTintColor' is unavailable in watchOS
79 | }
80 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITabBar.h:51:59: note: 'unselectedItemTintColor' has been explicitly marked unavailable here
49 | @property(nullable, nonatomic, strong) UIColor *barTintColor API_AVAILABLE(ios(7.0)) UI_APPEARANCE_SELECTOR; // default is nil
50 | /// Unselected items in this tab bar will be tinted with this color. Setting this value to nil indicates that UITabBar should use its default value instead.
51 | @property (nonatomic, readwrite, copy, nullable) UIColor *unselectedItemTintColor API_AVAILABLE(ios(10.0)) UI_APPEARANCE_SELECTOR API_UNAVAILABLE(watchos);
| `- note: 'unselectedItemTintColor' has been explicitly marked unavailable here
52 |
53 | /* selectedImageTintColor will be applied to the gradient image used when creating the
/Users/admin/builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarController.swift:86:16: error: 'standardAppearance' is unavailable in watchOS
84 | }
85 |
86 | tabBar.standardAppearance = appearance
| `- error: 'standardAppearance' is unavailable in watchOS
87 | }
88 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITabBar.h:120:60: note: 'standardAppearance' has been explicitly marked unavailable here
118 |
119 | /// Describes the appearance attributes for the tab bar to use.
120 | @property (nonatomic, readwrite, copy) UITabBarAppearance *standardAppearance UI_APPEARANCE_SELECTOR API_AVAILABLE(ios(13.0), tvos(13.0)) API_UNAVAILABLE(watchos);
| `- note: 'standardAppearance' has been explicitly marked unavailable here
121 | /// Describes the appearance attributes for the tabBar to use when an observable scroll view is scrolled to the bottom. If not set, standardAppearance will be used instead.
122 | @property (nonatomic, readwrite, copy, nullable) UITabBarAppearance *scrollEdgeAppearance UI_APPEARANCE_SELECTOR API_AVAILABLE(ios(15.0)) API_UNAVAILABLE(watchos);
/Users/admin/builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarController.swift:90:25: error: 'UINavigationController' is unavailable in watchOS
88 |
89 | func navigationController(in viewController: UIViewController) -> UINavigationController? {
90 | var controller: UINavigationController?
| `- error: 'UINavigationController' is unavailable in watchOS
91 |
92 | if let navigationController = viewController as? UINavigationController {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINavigationController.h:46:12: note: 'UINavigationController' has been explicitly marked unavailable here
44 |
45 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
46 | @interface UINavigationController : UIViewController
| `- note: 'UINavigationController' has been explicitly marked unavailable here
47 |
48 |
/Users/admin/builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarController.swift:92:58: error: 'UINavigationController' is unavailable in watchOS
90 | var controller: UINavigationController?
91 |
92 | if let navigationController = viewController as? UINavigationController {
| `- error: 'UINavigationController' is unavailable in watchOS
93 | return navigationController
94 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINavigationController.h:46:12: note: 'UINavigationController' has been explicitly marked unavailable here
44 |
45 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
46 | @interface UINavigationController : UIViewController
| `- note: 'UINavigationController' has been explicitly marked unavailable here
47 |
48 |
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarController.swift (in target 'StatefulTabView' from project 'StatefulTabView')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile TabBarController.swift
SwiftEmitModule normal arm64_32 Emitting\ module\ for\ StatefulTabView (in target 'StatefulTabView' from project 'StatefulTabView')
/Users/admin/builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/Tab.swift:12:18: error: 'UITabBarItem' is unavailable in watchOS
10 | public struct Tab {
11 | var view: AnyView
12 | var barItem: UITabBarItem? = nil
| `- error: 'UITabBarItem' is unavailable in watchOS
13 |
14 | internal var prefersLargeTitle: Bool = false
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITabBarItem.h:35:12: note: 'UITabBarItem' has been explicitly marked unavailable here
33 |
34 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
35 | @interface UITabBarItem : UIBarItem
| `- note: 'UITabBarItem' has been explicitly marked unavailable here
36 |
37 | - (instancetype)init NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarController.swift:17:23: error: 'UIViewController' is unavailable in watchOS
15 |
16 | struct TabBarController: UIViewControllerRepresentable {
17 | var controllers: [UIViewController]
| `- error: 'UIViewController' is unavailable in watchOS
18 | var tabBarItems: [Tab]
19 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/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/StatefulTabView/Helpers/TabBarController.swift:27:40: error: cannot find type 'Context' in scope
25 | @Binding var selectedIndex: Int
26 |
27 | func makeUIViewController(context: Context) -> UITabBarController {
| `- error: cannot find type 'Context' in scope
28 | let tabBarController = UITabBarController()
29 | tabBarController.viewControllers = controllers
/Users/admin/builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarController.swift:27:52: error: 'UITabBarController' is unavailable in watchOS
25 | @Binding var selectedIndex: Int
26 |
27 | func makeUIViewController(context: Context) -> UITabBarController {
| `- error: 'UITabBarController' is unavailable in watchOS
28 | let tabBarController = UITabBarController()
29 | tabBarController.viewControllers = controllers
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITabBarController.h:64:12: note: 'UITabBarController' has been explicitly marked unavailable here
62 |
63 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
64 | @interface UITabBarController : UIViewController <UITabBarDelegate, NSCoding>
| `- note: 'UITabBarController' has been explicitly marked unavailable here
65 |
66 | /// The object managing the delegate of the tab bar controller.
/Users/admin/builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarController.swift:37:82: error: cannot find type 'Context' in scope
35 | }
36 |
37 | func updateUIViewController(_ tabBarController: UITabBarController, context: Context) {
| `- error: cannot find type 'Context' in scope
38 | tabBarController.selectedIndex = selectedIndex
39 |
/Users/admin/builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarController.swift:37:53: error: 'UITabBarController' is unavailable in watchOS
35 | }
36 |
37 | func updateUIViewController(_ tabBarController: UITabBarController, context: Context) {
| `- error: 'UITabBarController' is unavailable in watchOS
38 | tabBarController.selectedIndex = selectedIndex
39 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITabBarController.h:64:12: note: 'UITabBarController' has been explicitly marked unavailable here
62 |
63 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
64 | @interface UITabBarController : UIViewController <UITabBarDelegate, NSCoding>
| `- note: 'UITabBarController' has been explicitly marked unavailable here
65 |
66 | /// The object managing the delegate of the tab bar controller.
/Users/admin/builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarController.swift:16:26: error: cannot find type 'UIViewControllerRepresentable' in scope
14 | }
15 |
16 | struct TabBarController: UIViewControllerRepresentable {
| `- error: cannot find type 'UIViewControllerRepresentable' in scope
17 | var controllers: [UIViewController]
18 | var tabBarItems: [Tab]
/Users/admin/builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarController.swift:55:30: error: 'UITabBar' is unavailable in watchOS
53 |
54 | private extension TabBarController {
55 | func configure(_ tabBar: UITabBar) {
| `- error: 'UITabBar' is unavailable in watchOS
56 | let appearance = tabBar.standardAppearance.copy()
57 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITabBar.h:28:12: note: 'UITabBar' has been explicitly marked unavailable here
26 |
27 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
28 | @interface UITabBar : UIView
| `- note: 'UITabBar' has been explicitly marked unavailable here
29 |
30 | @property(nullable, nonatomic, weak) id<UITabBarDelegate> delegate; // weak reference. default is nil
/Users/admin/builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarController.swift:89:50: error: 'UIViewController' is unavailable in watchOS
87 | }
88 |
89 | func navigationController(in viewController: UIViewController) -> UINavigationController? {
| `- error: 'UIViewController' is unavailable in watchOS
90 | var controller: UINavigationController?
91 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarController.swift:89:71: error: 'UINavigationController' is unavailable in watchOS
87 | }
88 |
89 | func navigationController(in viewController: UIViewController) -> UINavigationController? {
| `- error: 'UINavigationController' is unavailable in watchOS
90 | var controller: UINavigationController?
91 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINavigationController.h:46:12: note: 'UINavigationController' has been explicitly marked unavailable here
44 |
45 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
46 | @interface UINavigationController : UIViewController
| `- note: 'UINavigationController' has been explicitly marked unavailable here
47 |
48 |
/Users/admin/builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarCoordinator.swift:24:47: error: 'UITabBarController' is unavailable in watchOS
22 | }
23 |
24 | func tabBarController(_ tabBarController: UITabBarController, didSelect viewController: UIViewController) {
| `- error: 'UITabBarController' is unavailable in watchOS
25 | if parent.selectedIndex == tabBarController.selectedIndex {
26 | guard let navigationController = navigationController(in: viewController) else {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/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/StatefulTabView/Helpers/TabBarCoordinator.swift:24:93: error: 'UIViewController' is unavailable in watchOS
22 | }
23 |
24 | func tabBarController(_ tabBarController: UITabBarController, didSelect viewController: UIViewController) {
| `- error: 'UIViewController' is unavailable in watchOS
25 | if parent.selectedIndex == tabBarController.selectedIndex {
26 | guard let navigationController = navigationController(in: viewController) else {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarCoordinator.swift:11:36: error: 'UITabBarControllerDelegate' is unavailable in watchOS
9 | import SwiftUI
10 |
11 | class TabBarCoordinator: NSObject, UITabBarControllerDelegate {
| `- error: 'UITabBarControllerDelegate' is unavailable in watchOS
12 | private enum Constants {
13 | static let boundsContainsPoint = CGPoint(x: 0, y: -89)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITabBarController.h: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/StatefulTabView/Helpers/TabBarCoordinator.swift:43:47: error: 'UINavigationController' is unavailable in watchOS
41 |
42 | private extension TabBarCoordinator {
43 | func scrollToTop(in navigationController: UINavigationController, selectedIndex: Int) {
| `- error: 'UINavigationController' is unavailable in watchOS
44 | let views = navigationController.viewControllers
45 | .map { $0.view.subviews }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINavigationController.h:46:12: note: 'UINavigationController' has been explicitly marked unavailable here
44 |
45 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
46 | @interface UINavigationController : UIViewController
| `- note: 'UINavigationController' has been explicitly marked unavailable here
47 |
48 |
/Users/admin/builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarCoordinator.swift:59:41: error: 'UIViewController' is unavailable in watchOS
57 | }
58 |
59 | func scrollToTop(in viewController: UIViewController) {
| `- error: 'UIViewController' is unavailable in watchOS
60 | let views = viewController.view.subviews
61 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarCoordinator.swift:69:50: error: 'UIViewController' is unavailable in watchOS
67 |
68 | private extension TabBarCoordinator {
69 | func navigationController(in viewController: UIViewController) -> UINavigationController? {
| `- error: 'UIViewController' is unavailable in watchOS
70 | var controller: UINavigationController?
71 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarCoordinator.swift:69:71: error: 'UINavigationController' is unavailable in watchOS
67 |
68 | private extension TabBarCoordinator {
69 | func navigationController(in viewController: UIViewController) -> UINavigationController? {
| `- error: 'UINavigationController' is unavailable in watchOS
70 | var controller: UINavigationController?
71 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINavigationController.h:46:12: note: 'UINavigationController' has been explicitly marked unavailable here
44 |
45 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
46 | @interface UINavigationController : UIViewController
| `- note: 'UINavigationController' has been explicitly marked unavailable here
47 |
48 |
/Users/admin/builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarCoordinator.swift:87:32: error: 'UIView' is unavailable in watchOS
85 | }
86 |
87 | func scrollView(in views: [UIView]) -> UIScrollView? {
| `- error: 'UIView' is unavailable in watchOS
88 | var view: UIScrollView?
89 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarCoordinator.swift:87:44: error: 'UIScrollView' is unavailable in watchOS
85 | }
86 |
87 | func scrollView(in views: [UIView]) -> UIScrollView? {
| `- error: 'UIScrollView' is unavailable in watchOS
88 | var view: UIScrollView?
89 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScrollView.h:87:12: note: 'UIScrollView' has been explicitly marked unavailable here
85 |
86 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
87 | @interface UIScrollView : UIView <NSCoding, UIFocusItemScrollableContainer>
| `- note: 'UIScrollView' has been explicitly marked unavailable here
88 |
89 | @property(nonatomic) CGPoint contentOffset; // default CGPointZero
/Users/admin/builder/spi-builder-workspace/Sources/StatefulTabView/StatefulTabView.swift:11:36: error: cannot find type 'UIHostingController' in scope
9 |
10 | public struct StatefulTabView: View {
11 | internal var viewControllers: [UIHostingController<AnyView>] = []
| `- error: cannot find type 'UIHostingController' in scope
12 | internal var tabBarItems: [Tab] = []
13 |
Failed frontend command:
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /Users/admin/builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/Tab.swift /Users/admin/builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarController.swift /Users/admin/builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarCoordinator.swift /Users/admin/builder/spi-builder-workspace/Sources/StatefulTabView/Modifiers/StatefulTabView+Modifiers.swift /Users/admin/builder/spi-builder-workspace/Sources/StatefulTabView/Modifiers/Tab+Modifiers.swift /Users/admin/builder/spi-builder-workspace/Sources/StatefulTabView/StatefulTabView.swift -target arm64_32-apple-watchos9.0 -disable-cross-import-overlay-search -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libFoundationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#FoundationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libObservationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#ObservationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libPreviewsMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#PreviewsMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libSwiftMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#SwiftMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libSwiftUIMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#SwiftUIMacros -disable-implicit-swift-modules -Xcc -fno-implicit-modules -Xcc -fno-implicit-module-maps -explicit-swift-module-map-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/StatefulTabView.build/Debug-watchos/StatefulTabView-t.build/Objects-normal/arm64_32/StatefulTabView-dependencies-1.json -enable-objc-interop -sdk /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/Developer/Library/Frameworks -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules -no-color-diagnostics -Xcc -fno-color-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -profile-generate -profile-coverage-mapping -swift-version 5 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -enable-anonymous-context-mangled-names -file-compilation-dir /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos27.0-24R360-e829b21a6f8c9b70876ba0858053c04477534ef55a1706bf4c1112bbb242f0a2.sdkstatcache -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/StatefulTabView.build/Debug-watchos/StatefulTabView-t.build/DerivedSources-normal/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/StatefulTabView.build/Debug-watchos/StatefulTabView-t.build/DerivedSources/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/StatefulTabView.build/Debug-watchos/StatefulTabView-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name StatefulTabView -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/StatefulTabView.build/Debug-watchos/StatefulTabView-t.build/Objects-normal/arm64_32/StatefulTabView_const_extract_protocols.json -disable-clang-spi -clang-target arm64_32-apple-watchos27.0 -target-sdk-version 27.0 -target-sdk-name watchos27.0 -in-process-plugin-server-path /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/libSwiftInProcPluginServer.dylib -emit-module-doc-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/StatefulTabView.build/Debug-watchos/StatefulTabView-t.build/Objects-normal/arm64_32/StatefulTabView.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/StatefulTabView.build/Debug-watchos/StatefulTabView-t.build/Objects-normal/arm64_32/StatefulTabView.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/StatefulTabView.build/Debug-watchos/StatefulTabView-t.build/Objects-normal/arm64_32/StatefulTabView-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/StatefulTabView.build/Debug-watchos/StatefulTabView-t.build/Objects-normal/arm64_32/StatefulTabView-primary-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/StatefulTabView.build/Debug-watchos/StatefulTabView-t.build/Objects-normal/arm64_32/StatefulTabView-primary-emit-module.d -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/StatefulTabView.build/Debug-watchos/StatefulTabView-t.build/Objects-normal/arm64_32/StatefulTabView.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/StatefulTabView.build/Debug-watchos/StatefulTabView-t.build/Objects-normal/arm64_32/StatefulTabView.abi.json
SwiftCompile normal arm64_32 (in target 'StatefulTabView' from project 'StatefulTabView')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64_32 Compiling\ TabBarController.swift /Users/admin/builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarController.swift (in target 'StatefulTabView' from project 'StatefulTabView')
/Users/admin/builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarController.swift:17:23: error: 'UIViewController' is unavailable in watchOS
15 |
16 | struct TabBarController: UIViewControllerRepresentable {
17 | var controllers: [UIViewController]
| `- error: 'UIViewController' is unavailable in watchOS
18 | var tabBarItems: [Tab]
19 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/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/StatefulTabView/Helpers/TabBarController.swift:27:40: error: cannot find type 'Context' in scope
25 | @Binding var selectedIndex: Int
26 |
27 | func makeUIViewController(context: Context) -> UITabBarController {
| `- error: cannot find type 'Context' in scope
28 | let tabBarController = UITabBarController()
29 | tabBarController.viewControllers = controllers
/Users/admin/builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarController.swift:27:52: error: 'UITabBarController' is unavailable in watchOS
25 | @Binding var selectedIndex: Int
26 |
27 | func makeUIViewController(context: Context) -> UITabBarController {
| `- error: 'UITabBarController' is unavailable in watchOS
28 | let tabBarController = UITabBarController()
29 | tabBarController.viewControllers = controllers
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITabBarController.h:64:12: note: 'UITabBarController' has been explicitly marked unavailable here
62 |
63 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
64 | @interface UITabBarController : UIViewController <UITabBarDelegate, NSCoding>
| `- note: 'UITabBarController' has been explicitly marked unavailable here
65 |
66 | /// The object managing the delegate of the tab bar controller.
/Users/admin/builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarController.swift:37:82: error: cannot find type 'Context' in scope
35 | }
36 |
37 | func updateUIViewController(_ tabBarController: UITabBarController, context: Context) {
| `- error: cannot find type 'Context' in scope
38 | tabBarController.selectedIndex = selectedIndex
39 |
/Users/admin/builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarController.swift:37:53: error: 'UITabBarController' is unavailable in watchOS
35 | }
36 |
37 | func updateUIViewController(_ tabBarController: UITabBarController, context: Context) {
| `- error: 'UITabBarController' is unavailable in watchOS
38 | tabBarController.selectedIndex = selectedIndex
39 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITabBarController.h:64:12: note: 'UITabBarController' has been explicitly marked unavailable here
62 |
63 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
64 | @interface UITabBarController : UIViewController <UITabBarDelegate, NSCoding>
| `- note: 'UITabBarController' has been explicitly marked unavailable here
65 |
66 | /// The object managing the delegate of the tab bar controller.
/Users/admin/builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarController.swift:16:26: error: cannot find type 'UIViewControllerRepresentable' in scope
14 | }
15 |
16 | struct TabBarController: UIViewControllerRepresentable {
| `- error: cannot find type 'UIViewControllerRepresentable' in scope
17 | var controllers: [UIViewController]
18 | var tabBarItems: [Tab]
/Users/admin/builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarController.swift:55:30: error: 'UITabBar' is unavailable in watchOS
53 |
54 | private extension TabBarController {
55 | func configure(_ tabBar: UITabBar) {
| `- error: 'UITabBar' is unavailable in watchOS
56 | let appearance = tabBar.standardAppearance.copy()
57 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITabBar.h:28:12: note: 'UITabBar' has been explicitly marked unavailable here
26 |
27 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
28 | @interface UITabBar : UIView
| `- note: 'UITabBar' has been explicitly marked unavailable here
29 |
30 | @property(nullable, nonatomic, weak) id<UITabBarDelegate> delegate; // weak reference. default is nil
/Users/admin/builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarController.swift:89:50: error: 'UIViewController' is unavailable in watchOS
87 | }
88 |
89 | func navigationController(in viewController: UIViewController) -> UINavigationController? {
| `- error: 'UIViewController' is unavailable in watchOS
90 | var controller: UINavigationController?
91 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:104:12: note: 'UIViewController' has been explicitly marked unavailable here
102 |
103 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
104 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| `- note: 'UIViewController' has been explicitly marked unavailable here
105 |
106 | /*
/Users/admin/builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarController.swift:89:71: error: 'UINavigationController' is unavailable in watchOS
87 | }
88 |
89 | func navigationController(in viewController: UIViewController) -> UINavigationController? {
| `- error: 'UINavigationController' is unavailable in watchOS
90 | var controller: UINavigationController?
91 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINavigationController.h:46:12: note: 'UINavigationController' has been explicitly marked unavailable here
44 |
45 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
46 | @interface UINavigationController : UIViewController
| `- note: 'UINavigationController' has been explicitly marked unavailable here
47 |
48 |
/Users/admin/builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarController.swift:28:32: error: 'UITabBarController' is unavailable in watchOS
26 |
27 | func makeUIViewController(context: Context) -> UITabBarController {
28 | let tabBarController = UITabBarController()
| `- error: 'UITabBarController' is unavailable in watchOS
29 | tabBarController.viewControllers = controllers
30 | tabBarController.delegate = context.coordinator
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITabBarController.h:64:12: note: 'UITabBarController' has been explicitly marked unavailable here
62 |
63 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
64 | @interface UITabBarController : UIViewController <UITabBarDelegate, NSCoding>
| `- note: 'UITabBarController' has been explicitly marked unavailable here
65 |
66 | /// The object managing the delegate of the tab bar controller.
/Users/admin/builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarController.swift:56:33: error: 'standardAppearance' is unavailable in watchOS
54 | private extension TabBarController {
55 | func configure(_ tabBar: UITabBar) {
56 | let appearance = tabBar.standardAppearance.copy()
| `- error: 'standardAppearance' is unavailable in watchOS
57 |
58 | if let config = tabBarConfiguration {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITabBar.h:120:60: note: 'standardAppearance' has been explicitly marked unavailable here
118 |
119 | /// Describes the appearance attributes for the tab bar to use.
120 | @property (nonatomic, readwrite, copy) UITabBarAppearance *standardAppearance UI_APPEARANCE_SELECTOR API_AVAILABLE(ios(13.0), tvos(13.0)) API_UNAVAILABLE(watchos);
| `- note: 'standardAppearance' has been explicitly marked unavailable here
121 | /// Describes the appearance attributes for the tabBar to use when an observable scroll view is scrolled to the bottom. If not set, standardAppearance will be used instead.
122 | @property (nonatomic, readwrite, copy, nullable) UITabBarAppearance *scrollEdgeAppearance UI_APPEARANCE_SELECTOR API_AVAILABLE(ios(15.0)) API_UNAVAILABLE(watchos);
/Users/admin/builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarController.swift:78:24: error: 'unselectedItemTintColor' is unavailable in watchOS
76 | appearance.stackedLayoutAppearance.normal.iconColor = unselectedItemTintColor
77 | } else {
78 | tabBar.unselectedItemTintColor = unselectedItemTintColor
| `- error: 'unselectedItemTintColor' is unavailable in watchOS
79 | }
80 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITabBar.h:51:59: note: 'unselectedItemTintColor' has been explicitly marked unavailable here
49 | @property(nullable, nonatomic, strong) UIColor *barTintColor API_AVAILABLE(ios(7.0)) UI_APPEARANCE_SELECTOR; // default is nil
50 | /// Unselected items in this tab bar will be tinted with this color. Setting this value to nil indicates that UITabBar should use its default value instead.
51 | @property (nonatomic, readwrite, copy, nullable) UIColor *unselectedItemTintColor API_AVAILABLE(ios(10.0)) UI_APPEARANCE_SELECTOR API_UNAVAILABLE(watchos);
| `- note: 'unselectedItemTintColor' has been explicitly marked unavailable here
52 |
53 | /* selectedImageTintColor will be applied to the gradient image used when creating the
/Users/admin/builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarController.swift:86:16: error: 'standardAppearance' is unavailable in watchOS
84 | }
85 |
86 | tabBar.standardAppearance = appearance
| `- error: 'standardAppearance' is unavailable in watchOS
87 | }
88 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITabBar.h:120:60: note: 'standardAppearance' has been explicitly marked unavailable here
118 |
119 | /// Describes the appearance attributes for the tab bar to use.
120 | @property (nonatomic, readwrite, copy) UITabBarAppearance *standardAppearance UI_APPEARANCE_SELECTOR API_AVAILABLE(ios(13.0), tvos(13.0)) API_UNAVAILABLE(watchos);
| `- note: 'standardAppearance' has been explicitly marked unavailable here
121 | /// Describes the appearance attributes for the tabBar to use when an observable scroll view is scrolled to the bottom. If not set, standardAppearance will be used instead.
122 | @property (nonatomic, readwrite, copy, nullable) UITabBarAppearance *scrollEdgeAppearance UI_APPEARANCE_SELECTOR API_AVAILABLE(ios(15.0)) API_UNAVAILABLE(watchos);
/Users/admin/builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarController.swift:90:25: error: 'UINavigationController' is unavailable in watchOS
88 |
89 | func navigationController(in viewController: UIViewController) -> UINavigationController? {
90 | var controller: UINavigationController?
| `- error: 'UINavigationController' is unavailable in watchOS
91 |
92 | if let navigationController = viewController as? UINavigationController {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINavigationController.h:46:12: note: 'UINavigationController' has been explicitly marked unavailable here
44 |
45 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
46 | @interface UINavigationController : UIViewController
| `- note: 'UINavigationController' has been explicitly marked unavailable here
47 |
48 |
/Users/admin/builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarController.swift:92:58: error: 'UINavigationController' is unavailable in watchOS
90 | var controller: UINavigationController?
91 |
92 | if let navigationController = viewController as? UINavigationController {
| `- error: 'UINavigationController' is unavailable in watchOS
93 | return navigationController
94 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINavigationController.h:46:12: note: 'UINavigationController' has been explicitly marked unavailable here
44 |
45 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
46 | @interface UINavigationController : UIViewController
| `- note: 'UINavigationController' has been explicitly marked unavailable here
47 |
48 |
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/StatefulTabView/Helpers/TabBarController.swift (in target 'StatefulTabView' from project 'StatefulTabView')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile TabBarController.swift
SwiftCompile normal arm64_32 Compiling\ StatefulTabView+Modifiers.swift /Users/admin/builder/spi-builder-workspace/Sources/StatefulTabView/Modifiers/StatefulTabView+Modifiers.swift (in target 'StatefulTabView' from project 'StatefulTabView')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/StatefulTabView/Modifiers/StatefulTabView+Modifiers.swift (in target 'StatefulTabView' from project 'StatefulTabView')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile StatefulTabView+Modifiers.swift
SwiftCompile normal arm64_32 Compiling\ Tab+Modifiers.swift /Users/admin/builder/spi-builder-workspace/Sources/StatefulTabView/Modifiers/Tab+Modifiers.swift (in target 'StatefulTabView' from project 'StatefulTabView')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/StatefulTabView/Modifiers/Tab+Modifiers.swift (in target 'StatefulTabView' from project 'StatefulTabView')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile Tab+Modifiers.swift
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules
2026-09-18 15:01:39.915 xcodebuild[810:4887] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
** BUILD FAILED **
The following build commands failed:
SwiftEmitModule normal arm64 Emitting\ module\ for\ StatefulTabView (in target 'StatefulTabView' from project 'StatefulTabView')
SwiftCompile normal arm64 (in target 'StatefulTabView' from project 'StatefulTabView')
SwiftEmitModule normal arm64_32 Emitting\ module\ for\ StatefulTabView (in target 'StatefulTabView' from project 'StatefulTabView')
SwiftCompile normal arm64_32 (in target 'StatefulTabView' from project 'StatefulTabView')
Building workspace StatefulTabView with scheme StatefulTabView
(5 failures)
BUILD FAILURE 6.4 watchOS