Build Information
Failed to build MediaViewer, reference 0.2.0 (85f016), with Swift 6.3 for watchOS using Xcode 26.4 on 14 Apr 2026 07:10:56 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme MediaViewer -destination generic/platform=watchOSBuild Log
EmitSwiftModule normal arm64_32 (in target 'MediaViewer' from project 'MediaViewer')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/Extensions/MediaViewerViewController+UI.swift:27:28: error: 'UIBarButtonItem' is unavailable in watchOS
_ trashButton: UIBarButtonItem,
^~~~~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIBarButtonItem.h:69:12: note: 'UIBarButtonItem' has been explicitly marked unavailable here
@interface UIBarButtonItem : UIBarItem <NSCoding>
^
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/Extensions/MediaViewerViewController+UI.swift:30:10: error: 'UIBarButtonItem' is unavailable in watchOS
) -> UIBarButtonItem where MediaIdentifier: Hashable & Sendable {
^~~~~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIBarButtonItem.h:69:12: note: 'UIBarButtonItem' has been explicitly marked unavailable here
@interface UIBarButtonItem : UIBarItem <NSCoding>
^
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/Extensions/UICollectionView+Extension.swift:10:11: error: 'UICollectionView' is unavailable in watchOS
extension UICollectionView {
^~~~~~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionView.h:362:12: note: 'UICollectionView' has been explicitly marked unavailable here
@interface UICollectionView : UIScrollView <UIDataSourceTranslating>
^
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/Extensions/UIImageView+Extension.swift:10:11: error: 'UIImageView' is unavailable in watchOS
extension UIImageView {
^~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImageView.h:21:12: note: 'UIImageView' has been explicitly marked unavailable here
@interface UIImageView : UIView
^
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/Extensions/UIView+Extension.swift:20:74: error: 'UIView' is unavailable in watchOS
func firstSubview<View>(ofType type: View.Type) -> View? where View: UIView {
^~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:148:12: note: 'UIView' has been explicitly marked unavailable here
@interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
^
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/Extensions/UIView+Extension.swift:10:11: error: 'UIView' is unavailable in watchOS
extension UIView {
^~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:148:12: note: 'UIView' has been explicitly marked unavailable here
@interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
^
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/Extensions/UIViewControllerContextTransitioning+Extension.swift:10:11: error: 'UIViewControllerContextTransitioning' is unavailable in watchOS
extension UIViewControllerContextTransitioning {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewControllerTransitioning.h:68:11: note: 'UIViewControllerContextTransitioning' has been explicitly marked unavailable here
@protocol UIViewControllerContextTransitioning <NSObject>
^
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/MediaViewerDataSource.swift:75:10: error: 'UIView' is unavailable in watchOS
) -> UIView?
^~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:148:12: note: 'UIView' has been explicitly marked unavailable here
@interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
^
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/MediaViewerDataSource.swift:89:47: error: 'UIView' is unavailable in watchOS
transitionSourceImageWith sourceView: UIView?
^~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:148:12: note: 'UIView' has been explicitly marked unavailable here
@interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
^
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/MediaViewerDataSource.swift:133:47: error: 'UIView' is unavailable in watchOS
transitionSourceImageWith sourceView: UIView?
^~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:148:12: note: 'UIView' has been explicitly marked unavailable here
@interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
^
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/MediaViewerDataSource.swift:183:10: error: 'UIView' is unavailable in watchOS
) -> UIView? {
^~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:148:12: note: 'UIView' has been explicitly marked unavailable here
@interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
^
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/MediaViewerDelegate.swift:21:49: error: 'UIViewController' is unavailable in watchOS
willBeginPopTransitionTo destinationVC: UIViewController
^~~~~~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:102:12: note: 'UIViewController' has been explicitly marked unavailable here
@interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
^
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/MediaViewerDelegate.swift:40:49: error: 'UIViewController' is unavailable in watchOS
willBeginPopTransitionTo destinationVC: UIViewController
^~~~~~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:102:12: note: 'UIViewController' has been explicitly marked unavailable here
@interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
^
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/MediaViewerOnePage/MediaViewerOnePageView.swift:30:21: error: 'UIScrollView' is unavailable in watchOS
let scrollView: UIScrollView = {
^~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScrollView.h:87:12: note: 'UIScrollView' has been explicitly marked unavailable here
@interface UIScrollView : UIView <NSCoding, UIFocusItemScrollableContainer>
^
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/MediaViewerOnePage/MediaViewerOnePageView.swift:31:26: error: 'UIScrollView' is unavailable in watchOS
let scrollView = UIScrollView()
^~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScrollView.h:87:12: note: 'UIScrollView' has been explicitly marked unavailable here
@interface UIScrollView : UIView <NSCoding, UIFocusItemScrollableContainer>
^
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/MediaViewerOnePage/MediaViewerOnePageView.swift:31:26: error: 'init()' is unavailable in watchOS
let scrollView = UIScrollView()
^~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:154:1: note: 'init()' has been explicitly marked unavailable here
- (instancetype)init API_AVAILABLE(ios(2.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
^
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/MediaViewerOnePage/MediaViewerOnePageView.swift:32:20: error: 'contentInsetAdjustmentBehavior' is unavailable in watchOS
scrollView.contentInsetAdjustmentBehavior = .never
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScrollView.h:110:65: note: 'contentInsetAdjustmentBehavior' has been explicitly marked unavailable here
@property(nonatomic) UIScrollViewContentInsetAdjustmentBehavior contentInsetAdjustmentBehavior API_AVAILABLE(ios(11.0), tvos(11.0)) API_UNAVAILABLE(watchos);
^
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/MediaViewerOnePage/MediaViewerOnePageView.swift:33:40: error: 'fast' is unavailable in watchOS
scrollView.decelerationRate = .fast
^~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScrollView.h:47:49: note: 'fast' has been explicitly marked unavailable here
UIKIT_EXTERN const UIScrollViewDecelerationRate UIScrollViewDecelerationRateFast API_AVAILABLE(ios(3.0)) API_UNAVAILABLE(watchos);
^
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/MediaViewerOnePage/MediaViewerOnePageView.swift:41:20: error: 'UIImageView' is unavailable in watchOS
let imageView: UIImageView = {
^~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImageView.h:21:12: note: 'UIImageView' has been explicitly marked unavailable here
@interface UIImageView : UIView
^
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/MediaViewerOnePage/MediaViewerOnePageView.swift:42:25: error: 'UIImageView' is unavailable in watchOS
let imageView = UIImageView()
^~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImageView.h:21:12: note: 'UIImageView' has been explicitly marked unavailable here
@interface UIImageView : UIView
^
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/MediaViewerOnePage/MediaViewerOnePageView.swift:42:25: error: 'init()' is unavailable in watchOS
let imageView = UIImageView()
^~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:154:1: note: 'init()' has been explicitly marked unavailable here
- (instancetype)init API_AVAILABLE(ios(2.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
^
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/MediaViewerOnePage/MediaViewerOnePageView.swift:49:47: error: 'NSLayoutConstraint' is unavailable in watchOS
private var constraintsBasedOnImageSize: [NSLayoutConstraint] = []
^~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutConstraint.h:126:12: note: 'NSLayoutConstraint' has been explicitly marked unavailable here
@interface NSLayoutConstraint : NSObject
^
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/MediaViewerOnePage/MediaViewerOnePageView.swift:128:71: error: 'UITapGestureRecognizer' is unavailable in watchOS
func updateZoomScaleOnDoubleTap(recognizedBy doubleTapRecognizer: UITapGestureRecognizer) {
^~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITapGestureRecognizer.h:23:12: note: 'UITapGestureRecognizer' has been explicitly marked unavailable here
@interface UITapGestureRecognizer : UIGestureRecognizer
^
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/MediaViewerOnePage/MediaViewerOnePageView.swift:15:37: error: 'UIView' is unavailable in watchOS
final class MediaViewerOnePageView: UIView {
^~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:148:12: note: 'UIView' has been explicitly marked unavailable here
@interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
^
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/MediaViewerOnePage/MediaViewerOnePageView.swift:247:40: error: 'UIScrollView' is unavailable in watchOS
func viewForZooming(in scrollView: UIScrollView) -> UIView? {
^~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScrollView.h:87:12: note: 'UIScrollView' has been explicitly marked unavailable here
@interface UIScrollView : UIView <NSCoding, UIFocusItemScrollableContainer>
^
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/MediaViewerOnePage/MediaViewerOnePageView.swift:247:57: error: 'UIView' is unavailable in watchOS
func viewForZooming(in scrollView: UIScrollView) -> UIView? {
^~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:148:12: note: 'UIView' has been explicitly marked unavailable here
@interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
^
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/MediaViewerOnePage/MediaViewerOnePageView.swift:251:42: error: 'UIScrollView' is unavailable in watchOS
func scrollViewDidZoom(_ scrollView: UIScrollView) {
^~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScrollView.h:87:12: note: 'UIScrollView' has been explicitly marked unavailable here
@interface UIScrollView : UIView <NSCoding, UIFocusItemScrollableContainer>
^
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/MediaViewerOnePage/MediaViewerOnePageView.swift:245:35: error: 'UIScrollViewDelegate' is unavailable in watchOS
extension MediaViewerOnePageView: UIScrollViewDelegate {
^~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScrollView.h:312:11: note: 'UIScrollViewDelegate' has been explicitly marked unavailable here
@protocol UIScrollViewDelegate<NSObject>
^
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/MediaViewerOnePage/MediaViewerOnePageViewController.swift:25:34: error: 'init()' is unavailable in watchOS
let mediaViewerOnePageView = MediaViewerOnePageView()
^~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:154:1: note: 'init()' has been explicitly marked unavailable here
- (instancetype)init API_AVAILABLE(ios(2.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
^
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/MediaViewerOnePage/MediaViewerOnePageViewController.swift:27:31: error: 'UITapGestureRecognizer' is unavailable in watchOS
let singleTapRecognizer = UITapGestureRecognizer()
^~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITapGestureRecognizer.h:23:12: note: 'UITapGestureRecognizer' has been explicitly marked unavailable here
@interface UITapGestureRecognizer : UIGestureRecognizer
^
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/MediaViewerOnePage/MediaViewerOnePageViewController.swift:29:35: error: 'UITapGestureRecognizer' is unavailable in watchOS
let imageDoubleTapRecognizer: UITapGestureRecognizer = {
^~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITapGestureRecognizer.h:23:12: note: 'UITapGestureRecognizer' has been explicitly marked unavailable here
@interface UITapGestureRecognizer : UIGestureRecognizer
^
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/MediaViewerOnePage/MediaViewerOnePageViewController.swift:30:26: error: 'UITapGestureRecognizer' is unavailable in watchOS
let recognizer = UITapGestureRecognizer()
^~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITapGestureRecognizer.h:23:12: note: 'UITapGestureRecognizer' has been explicitly marked unavailable here
@interface UITapGestureRecognizer : UIGestureRecognizer
^
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/MediaViewerOnePage/MediaViewerOnePageViewController.swift:72:31: error: 'UIViewControllerTransitionCoordinator' is unavailable in watchOS
with coordinator: any UIViewControllerTransitionCoordinator
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewControllerTransitionCoordinator.h:81:11: note: 'UIViewControllerTransitionCoordinator' has been explicitly marked unavailable here
@protocol UIViewControllerTransitionCoordinator <UIViewControllerTransitionCoordinatorContext>
^
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/MediaViewerOnePage/MediaViewerOnePageViewController.swift:95:48: error: 'UITapGestureRecognizer' is unavailable in watchOS
private func imageDoubleTapped(recognizer: UITapGestureRecognizer) {
^~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITapGestureRecognizer.h:23:12: note: 'UITapGestureRecognizer' has been explicitly marked unavailable here
@interface UITapGestureRecognizer : UIGestureRecognizer
^
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/MediaViewerOnePage/MediaViewerOnePageViewController.swift:19:47: error: 'UIViewController' is unavailable in watchOS
final class MediaViewerOnePageViewController: UIViewController {
^~~~~~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:102:12: note: 'UIViewController' has been explicitly marked unavailable here
@interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
^
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/MediaViewerViewController.swift:105:61: error: 'UIScrollView' is unavailable in watchOS
private lazy var scrollView = view.firstSubview(ofType: UIScrollView.self)!
^~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScrollView.h:87:12: note: 'UIScrollView' has been explicitly marked unavailable here
@interface UIScrollView : UIView <NSCoding, UIFocusItemScrollableContainer>
^
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/MediaViewerViewController.swift:111:34: error: 'init()' is unavailable in watchOS
private let pageControlBar = MediaViewerPageControlBar()
^~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:154:1: note: 'init()' has been explicitly marked unavailable here
- (instancetype)init API_AVAILABLE(ios(2.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
^
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/MediaViewerViewController.swift:110:30: error: 'UIToolbar' is unavailable in watchOS
let pageControlToolbar = UIToolbar()
^~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIToolbar.h:23:12: note: 'UIToolbar' has been explicitly marked unavailable here
@interface UIToolbar : UIView <UIBarPositioning>
^
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/MediaViewerViewController.swift:110:30: error: 'init()' is unavailable in watchOS
let pageControlToolbar = UIToolbar()
^~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:154:1: note: 'init()' has been explicitly marked unavailable here
- (instancetype)init API_AVAILABLE(ios(2.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
^
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/MediaViewerViewController.swift:136:17: error: 'UIView' is unavailable in watchOS
UIView.layoutFittingCompressedSize
^~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:148:12: note: 'UIView' has been explicitly marked unavailable here
@interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
^
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/MediaViewerViewController.swift:136:24: error: 'layoutFittingCompressedSize' is unavailable in watchOS
UIView.layoutFittingCompressedSize
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:556:27: note: 'layoutFittingCompressedSize' has been explicitly marked unavailable here
UIKIT_EXTERN const CGSize UILayoutFittingCompressedSize API_AVAILABLE(ios(6.0)) API_UNAVAILABLE(watchos);
^
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/MediaViewerViewController.swift:108:34: error: 'UIView' is unavailable in watchOS
private let backgroundView = UIView()
^~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:148:12: note: 'UIView' has been explicitly marked unavailable here
@interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
^
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/MediaViewerViewController.swift:108:34: error: 'init()' is unavailable in watchOS
private let backgroundView = UIView()
^~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:154:1: note: 'init()' has been explicitly marked unavailable here
- (instancetype)init API_AVAILABLE(ios(2.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
^
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/MediaViewerViewController.swift:113:32: error: 'UIPanGestureRecognizer' is unavailable in watchOS
private let panRecognizer: UIPanGestureRecognizer = {
^~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPanGestureRecognizer.h:31:12: note: 'UIPanGestureRecognizer' has been explicitly marked unavailable here
@interface UIPanGestureRecognizer : UIGestureRecognizer
^
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/MediaViewerViewController.swift:114:26: error: 'UIPanGestureRecognizer' is unavailable in watchOS
let recognizer = UIPanGestureRecognizer()
^~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPanGestureRecognizer.h:31:12: note: 'UIPanGestureRecognizer' has been explicitly marked unavailable here
@interface UIPanGestureRecognizer : UIGestureRecognizer
^
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/MediaViewerViewController.swift:123:13: error: cannot find 'setNeedsUpdateOfHomeIndicatorAutoHidden' in scope
setNeedsUpdateOfHomeIndicatorAutoHidden()
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/MediaViewerViewController.swift:153:57: error: 'UIToolbarAppearance' is unavailable in watchOS
private(set) var toolbarScrollEdgeAppearanceBackup: UIToolbarAppearance?
^~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIToolbarAppearance.h:15:12: note: 'UIToolbarAppearance' has been explicitly marked unavailable here
@interface UIToolbarAppearance : UIBarAppearance
^
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/MediaViewerViewController.swift:356:24: error: cannot override 'viewIsAppearing' which has been marked unavailable
open override func viewIsAppearing(_ animated: Bool) {
^
UIKit.UIViewController.viewIsAppearing:3:13: note: 'viewIsAppearing' has been explicitly marked unavailable here
open func viewIsAppearing(_ animated: Bool)}
^
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/MediaViewerViewController.swift:356:24: note: remove 'override' modifier to declare a new 'viewIsAppearing'
open override func viewIsAppearing(_ animated: Bool) {
~~~~~~~~~ ^
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/MediaViewerViewController.swift:429:23: error: property does not override any property from its superclass
open override var prefersHomeIndicatorAutoHidden: Bool {
~~~~~~~~ ^
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/MediaViewerViewController.swift:434:29: error: 'UIViewController' is unavailable in watchOS
_ viewControllers: [UIViewController]?,
^~~~~~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:102:12: note: 'UIViewController' has been explicitly marked unavailable here
@interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
^
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/MediaViewerViewController.swift:435:20: error: 'UIPageViewController' is unavailable in watchOS
direction: UIPageViewController.NavigationDirection,
^~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPageViewController.h:51:12: note: 'UIPageViewController' has been explicitly marked unavailable here
@interface UIPageViewController : UIViewController {
^
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/MediaViewerViewController.swift:482:20: error: 'NavigationDirection' is unavailable in watchOS
direction: NavigationDirection,
^~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPageViewController.h:26:28: note: 'NavigationDirection' has been explicitly marked unavailable here
typedef NS_ENUM(NSInteger, UIPageViewControllerNavigationDirection) {
^
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/MediaViewerViewController.swift:683:37: error: 'UIPanGestureRecognizer' is unavailable in watchOS
private func panned(recognizer: UIPanGestureRecognizer) {
^~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPanGestureRecognizer.h:31:12: note: 'UIPanGestureRecognizer' has been explicitly marked unavailable here
@interface UIPanGestureRecognizer : UIGestureRecognizer
^
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/MediaViewerViewController.swift:36:39: error: 'UIPageViewController' is unavailable in watchOS
open class MediaViewerViewController: UIPageViewController {
^~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPageViewController.h:51:12: note: 'UIPageViewController' has been explicitly marked unavailable here
@interface UIPageViewController : UIViewController {
^
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/MediaViewerViewController.swift:754:57: error: 'UIPageViewController' is unavailable in watchOS
open func presentationCount(for pageViewController: UIPageViewController) -> Int {
^~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPageViewController.h:51:12: note: 'UIPageViewController' has been explicitly marked unavailable here
@interface UIPageViewController : UIViewController {
^
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/MediaViewerViewController.swift:759:31: error: 'UIPageViewController' is unavailable in watchOS
_ pageViewController: UIPageViewController,
^~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPageViewController.h:51:12: note: 'UIPageViewController' has been explicitly marked unavailable here
@interface UIPageViewController : UIViewController {
^
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/MediaViewerViewController.swift:760:46: error: 'UIViewController' is unavailable in watchOS
viewControllerBefore viewController: UIViewController
^~~~~~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:102:12: note: 'UIViewController' has been explicitly marked unavailable here
@interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
^
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/MediaViewerViewController.swift:761:10: error: 'UIViewController' is unavailable in watchOS
) -> UIViewController? {
^~~~~~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:102:12: note: 'UIViewController' has been explicitly marked unavailable here
@interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
^
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/MediaViewerViewController.swift:773:31: error: 'UIPageViewController' is unavailable in watchOS
_ pageViewController: UIPageViewController,
^~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPageViewController.h:51:12: note: 'UIPageViewController' has been explicitly marked unavailable here
@interface UIPageViewController : UIViewController {
^
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/MediaViewerViewController.swift:774:45: error: 'UIViewController' is unavailable in watchOS
viewControllerAfter viewController: UIViewController
^~~~~~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:102:12: note: 'UIViewController' has been explicitly marked unavailable here
@interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
^
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/MediaViewerViewController.swift:775:10: error: 'UIViewController' is unavailable in watchOS
) -> UIViewController? {
^~~~~~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:102:12: note: 'UIViewController' has been explicitly marked unavailable here
@interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
^
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/MediaViewerViewController.swift:752:38: error: 'UIPageViewControllerDataSource' is unavailable in watchOS
extension MediaViewerViewController: UIPageViewControllerDataSource {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPageViewController.h:100:11: note: 'UIPageViewControllerDataSource' has been explicitly marked unavailable here
@protocol UIPageViewControllerDataSource <NSObject>
^
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/MediaViewerViewController.swift:840:31: error: 'UIPageViewController' is unavailable in watchOS
_ pageViewController: UIPageViewController,
^~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPageViewController.h:51:12: note: 'UIPageViewController' has been explicitly marked unavailable here
@interface UIPageViewController : UIViewController {
^
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/MediaViewerViewController.swift:842:35: error: 'UIViewController' is unavailable in watchOS
previousViewControllers: [UIViewController],
^~~~~~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:102:12: note: 'UIViewController' has been explicitly marked unavailable here
@interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
^
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/MediaViewerViewController.swift:837:38: error: 'UIPageViewControllerDelegate' is unavailable in watchOS
extension MediaViewerViewController: UIPageViewControllerDelegate {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPageViewController.h:80:11: note: 'UIPageViewControllerDelegate' has been explicitly marked unavailable here
@protocol UIPageViewControllerDelegate <NSObject>
^
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/MediaViewerViewController.swift:856:33: error: 'UINavigationController' is unavailable in watchOS
_ navigationController: UINavigationController,
^~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINavigationController.h:46:12: note: 'UINavigationController' has been explicitly marked unavailable here
@interface UINavigationController : UIViewController
^
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/MediaViewerViewController.swift:857:43: error: 'UINavigationController' is unavailable in watchOS
animationControllerFor operation: UINavigationController.Operation,
^~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINavigationController.h:46:12: note: 'UINavigationController' has been explicitly marked unavailable here
@interface UINavigationController : UIViewController
^
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/MediaViewerViewController.swift:858:22: error: 'UIViewController' is unavailable in watchOS
from fromVC: UIViewController,
^~~~~~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:102:12: note: 'UIViewController' has been explicitly marked unavailable here
@interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
^
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/MediaViewerViewController.swift:859:18: error: 'UIViewController' is unavailable in watchOS
to toVC: UIViewController
^~~~~~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:102:12: note: 'UIViewController' has been explicitly marked unavailable here
@interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
^
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/MediaViewerViewController.swift:860:15: error: 'UIViewControllerAnimatedTransitioning' is unavailable in watchOS
) -> (any UIViewControllerAnimatedTransitioning)? {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewControllerTransitioning.h:137:11: note: 'UIViewControllerAnimatedTransitioning' has been explicitly marked unavailable here
@protocol UIViewControllerAnimatedTransitioning <NSObject>
^
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/MediaViewerViewController.swift:901:33: error: 'UINavigationController' is unavailable in watchOS
_ navigationController: UINavigationController,
^~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINavigationController.h:46:12: note: 'UINavigationController' has been explicitly marked unavailable here
@interface UINavigationController : UIViewController
^
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/MediaViewerViewController.swift:902:59: error: 'UIViewControllerAnimatedTransitioning' is unavailable in watchOS
interactionControllerFor animationController: any UIViewControllerAnimatedTransitioning
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewControllerTransitioning.h:137:11: note: 'UIViewControllerAnimatedTransitioning' has been explicitly marked unavailable here
@protocol UIViewControllerAnimatedTransitioning <NSObject>
^
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/MediaViewerViewController.swift:903:15: error: 'UIViewControllerInteractiveTransitioning' is unavailable in watchOS
) -> (any UIViewControllerInteractiveTransitioning)? {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewControllerTransitioning.h:161:11: note: 'UIViewControllerInteractiveTransitioning' has been explicitly marked unavailable here
@protocol UIViewControllerInteractiveTransitioning <NSObject>
^
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/MediaViewerViewController.swift:853:38: error: 'UINavigationControllerDelegate' is unavailable in watchOS
extension MediaViewerViewController: UINavigationControllerDelegate {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINavigationController.h:114:11: note: 'UINavigationControllerDelegate' has been explicitly marked unavailable here
@protocol UINavigationControllerDelegate <NSObject>
^
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/MediaViewerViewController.swift:913:30: error: 'UIGestureRecognizer' is unavailable in watchOS
_ gestureRecognizer: UIGestureRecognizer,
^~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGestureRecognizer.h:35:12: note: 'UIGestureRecognizer' has been explicitly marked unavailable here
@interface UIGestureRecognizer : NSObject
^
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/MediaViewerViewController.swift:914:67: error: 'UIGestureRecognizer' is unavailable in watchOS
shouldRecognizeSimultaneouslyWith otherGestureRecognizer: UIGestureRecognizer
^~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGestureRecognizer.h:35:12: note: 'UIGestureRecognizer' has been explicitly marked unavailable here
@interface UIGestureRecognizer : NSObject
^
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/MediaViewerViewController.swift:910:38: error: 'UIGestureRecognizerDelegate' is unavailable in watchOS
extension MediaViewerViewController: UIGestureRecognizerDelegate {
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGestureRecognizer.h:91:11: note: 'UIGestureRecognizerDelegate' has been explicitly marked unavailable here
@protocol UIGestureRecognizerDelegate <NSObject>
^
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/MediaViewerViewController.swift:959:42: error: 'UIView' is unavailable in watchOS
var subviewsToFadeDuringTransition: [UIView] {
^~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:148:12: note: 'UIView' has been explicitly marked unavailable here
@interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
^
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/MediaViewerViewController.swift:970:60: error: 'UIImageView' is unavailable in watchOS
func insertImageViewForTransition(_ animatedImageView: UIImageView) {
^~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImageView.h:21:12: note: 'UIImageView' has been explicitly marked unavailable here
@interface UIImageView : UIView
^
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/MediaViewerViewModel.swift:50:10: error: 'UIPageViewController' is unavailable in watchOS
) -> UIPageViewController.NavigationDirection {
^~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPageViewController.h:51:12: note: 'UIPageViewController' has been explicitly marked unavailable here
@interface UIPageViewController : UIViewController {
^
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/MediaViewerViewModel.swift:63:24: error: 'UIPageViewController' is unavailable in watchOS
let direction: UIPageViewController.NavigationDirection?
^~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPageViewController.h:51:12: note: 'UIPageViewController' has been explicitly marked unavailable here
@interface UIPageViewController : UIViewController {
^
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/PageControlBar/MediaViewerPageControlBar.swift:115:35: error: cannot specialize non-generic type 'UICollectionViewDiffableDataSource'
lazy var diffableDataSource = UICollectionViewDiffableDataSource<Int, AnyMediaIdentifier>(
^ ~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/PageControlBar/MediaViewerPageControlBar.swift:117:21: error: cannot infer type of closure parameter 'collectionView' without a type annotation
) { [weak self] collectionView, indexPath, mediaIdentifier in
^
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/PageControlBar/MediaViewerPageControlBar.swift:117:37: error: cannot infer type of closure parameter 'indexPath' without a type annotation
) { [weak self] collectionView, indexPath, mediaIdentifier in
^
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/PageControlBar/MediaViewerPageControlBar.swift:117:48: error: cannot infer type of closure parameter 'mediaIdentifier' without a type annotation
) { [weak self] collectionView, indexPath, mediaIdentifier in
^
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/PageControlBar/MediaViewerPageControlBar.swift:118:38: error: 'nil' requires a contextual type
guard let self else { return nil }
^
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/PageControlBar/MediaViewerPageControlBar.swift:39:41: error: 'UICollectionViewTransitionLayout' is unavailable in watchOS
case transitioningInteractively(UICollectionViewTransitionLayout, forwards: Bool)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionViewTransitionLayout.h:15:12: note: 'UICollectionViewTransitionLayout' has been explicitly marked unavailable here
@interface UICollectionViewTransitionLayout : UICollectionViewLayout
^
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/PageControlBar/MediaViewerPageControlBar.swift:54:25: error: 'UICollectionViewTransitionLayout' is unavailable in watchOS
case transition(UICollectionViewTransitionLayout)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionViewTransitionLayout.h:15:12: note: 'UICollectionViewTransitionLayout' has been explicitly marked unavailable here
@interface UICollectionViewTransitionLayout : UICollectionViewLayout
^
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/PageControlBar/MediaViewerPageControlBar.swift:57:42: error: 'UICollectionView' is unavailable in watchOS
private typealias CellRegistration = UICollectionView.CellRegistration<
^~~~~~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionView.h:362:12: note: 'UICollectionView' has been explicitly marked unavailable here
@interface UICollectionView : UIScrollView <UIDataSourceTranslating>
^
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/PageControlBar/MediaViewerPageControlBar.swift:107:38: error: 'UICollectionView' is unavailable in watchOS
private lazy var collectionView: UICollectionView = {
^~~~~~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionView.h:362:12: note: 'UICollectionView' has been explicitly marked unavailable here
@interface UICollectionView : UIScrollView <UIDataSourceTranslating>
^
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/PageControlBar/MediaViewerPageControlBar.swift:109:30: error: 'UICollectionView' is unavailable in watchOS
let collectionView = UICollectionView(frame: .zero, collectionViewLayout: layout)
^~~~~~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionView.h:362:12: note: 'UICollectionView' has been explicitly marked unavailable here
@interface UICollectionView : UIScrollView <UIDataSourceTranslating>
^
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/PageControlBar/MediaViewerPageControlBar.swift:25:40: error: 'UIView' is unavailable in watchOS
final class MediaViewerPageControlBar: UIView {
^~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:148:12: note: 'UIView' has been explicitly marked unavailable here
@interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
^
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/PageControlBar/MediaViewerPageControlBar.swift:520:43: error: 'UICollectionView' is unavailable in watchOS
func collectionView(_ collectionView: UICollectionView, didSelectItemAt indexPath: IndexPath) {
^~~~~~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionView.h:362:12: note: 'UICollectionView' has been explicitly marked unavailable here
@interface UICollectionView : UIScrollView <UIDataSourceTranslating>
^
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/PageControlBar/MediaViewerPageControlBar.swift:536:52: error: 'UIScrollView' is unavailable in watchOS
func scrollViewWillBeginDragging(_ scrollView: UIScrollView) {
^~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScrollView.h:87:12: note: 'UIScrollView' has been explicitly marked unavailable here
@interface UIScrollView : UIView <NSCoding, UIFocusItemScrollableContainer>
^
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/PageControlBar/MediaViewerPageControlBar.swift:540:44: error: 'UIScrollView' is unavailable in watchOS
func scrollViewDidScroll(_ scrollView: UIScrollView) {
^~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScrollView.h:87:12: note: 'UIScrollView' has been explicitly marked unavailable here
@interface UIScrollView : UIView <NSCoding, UIFocusItemScrollableContainer>
^
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/PageControlBar/MediaViewerPageControlBar.swift:575:23: error: 'UIScrollView' is unavailable in watchOS
_ scrollView: UIScrollView,
^~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScrollView.h:87:12: note: 'UIScrollView' has been explicitly marked unavailable here
@interface UIScrollView : UIView <NSCoding, UIFocusItemScrollableContainer>
^
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/PageControlBar/MediaViewerPageControlBar.swift:589:49: error: 'UIScrollView' is unavailable in watchOS
func scrollViewDidEndDragging(_ scrollView: UIScrollView, willDecelerate decelerate: Bool) {
^~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScrollView.h:87:12: note: 'UIScrollView' has been explicitly marked unavailable here
@interface UIScrollView : UIView <NSCoding, UIFocusItemScrollableContainer>
^
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/PageControlBar/MediaViewerPageControlBar.swift:607:53: error: 'UIScrollView' is unavailable in watchOS
func scrollViewDidEndDecelerating(_ scrollView: UIScrollView) {
^~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScrollView.h:87:12: note: 'UIScrollView' has been explicitly marked unavailable here
@interface UIScrollView : UIView <NSCoding, UIFocusItemScrollableContainer>
^
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/PageControlBar/MediaViewerPageControlBar.swift:518:38: error: 'UICollectionViewDelegate' is unavailable in watchOS
extension MediaViewerPageControlBar: UICollectionViewDelegate {
^~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionView.h:114:11: note: 'UICollectionViewDelegate' has been explicitly marked unavailable here
@protocol UICollectionViewDelegate <UIScrollViewDelegate>
^
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/PageControlBar/MediaViewerPageControlBarLayout.swift:34:51: error: 'UICollectionViewLayoutAttributes' is unavailable in watchOS
private var attributesDictionary: [IndexPath: UICollectionViewLayoutAttributes] = [:]
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionViewLayout.h:43:12: note: 'UICollectionViewLayoutAttributes' has been explicitly marked unavailable here
@interface UICollectionViewLayoutAttributes : NSObject <NSCopying, UIDynamicItem>
^
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/PageControlBar/MediaViewerPageControlBarLayout.swift:121:56: error: 'UICollectionView' is unavailable in watchOS
private func expandingItemWidth(in collectionView: UICollectionView) -> CGFloat {
^~~~~~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionView.h:362:12: note: 'UICollectionView' has been explicitly marked unavailable here
@interface UICollectionView : UIScrollView <UIDataSourceTranslating>
^
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/PageControlBar/MediaViewerPageControlBarLayout.swift:153:68: error: 'UICollectionViewLayoutAttributes' is unavailable in watchOS
override func layoutAttributesForElements(in rect: CGRect) -> [UICollectionViewLayoutAttributes]? {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionViewLayout.h:43:12: note: 'UICollectionViewLayoutAttributes' has been explicitly marked unavailable here
@interface UICollectionViewLayoutAttributes : NSObject <NSCopying, UIDynamicItem>
^
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/PageControlBar/MediaViewerPageControlBarLayout.swift:157:71: error: 'UICollectionViewLayoutAttributes' is unavailable in watchOS
override func layoutAttributesForItem(at indexPath: IndexPath) -> UICollectionViewLayoutAttributes? {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionViewLayout.h:43:12: note: 'UICollectionViewLayoutAttributes' has been explicitly marked unavailable here
@interface UICollectionViewLayoutAttributes : NSObject <NSCopying, UIDynamicItem>
^
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/PageControlBar/MediaViewerPageControlBarLayout.swift:10:46: error: 'UICollectionViewLayout' is unavailable in watchOS
final class MediaViewerPageControlBarLayout: UICollectionViewLayout {
^~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionViewLayout.h:89:12: note: 'UICollectionViewLayout' has been explicitly marked unavailable here
@interface UICollectionViewLayout : NSObject <NSCoding>
^
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/PageControlBar/PageControlBarThumbnailCell.swift:12:20: error: 'UIImageView' is unavailable in watchOS
let imageView: UIImageView = {
^~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImageView.h:21:12: note: 'UIImageView' has been explicitly marked unavailable here
@interface UIImageView : UIView
^
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/PageControlBar/PageControlBarThumbnailCell.swift:13:25: error: 'UIImageView' is unavailable in watchOS
let imageView = UIImageView()
^~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImageView.h:21:12: note: 'UIImageView' has been explicitly marked unavailable here
@interface UIImageView : UIView
^
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/PageControlBar/PageControlBarThumbnailCell.swift:13:25: error: 'init()' is unavailable in watchOS
let imageView = UIImageView()
^~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:154:1: note: 'init()' has been explicitly marked unavailable here
- (instancetype)init API_AVAILABLE(ios(2.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
^
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/PageControlBar/PageControlBarThumbnailCell.swift:10:42: error: 'UICollectionViewCell' is unavailable in watchOS
final class PageControlBarThumbnailCell: UICollectionViewCell {
^~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionViewCell.h:65:12: note: 'UICollectionViewCell' has been explicitly marked unavailable here
@interface UICollectionViewCell : UICollectionReusableView
^
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/Transitions/MediaViewerInteractivePopTransition.swift:13:21: error: 'UIView' is unavailable in watchOS
let sourceView: UIView?
^~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:148:12: note: 'UIView' has been explicitly marked unavailable here
@interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
^
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/Transitions/MediaViewerInteractivePopTransition.swift:15:27: error: 'UIViewPropertyAnimator' is unavailable in watchOS
private var animator: UIViewPropertyAnimator?
^~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewPropertyAnimator.h:17:12: note: 'UIViewPropertyAnimator' has been explicitly marked unavailable here
@interface UIViewPropertyAnimator : NSObject <UIViewImplicitlyAnimating, NSCopying>
^
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/Transitions/MediaViewerInteractivePopTransition.swift:16:41: error: 'UIViewControllerContextTransitioning' is unavailable in watchOS
private var transitionContext: (any UIViewControllerContextTransitioning)?
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewControllerTransitioning.h:68:11: note: 'UIViewControllerContextTransitioning' has been explicitly marked unavailable here
@protocol UIViewControllerContextTransitioning <NSObject>
^
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/Transitions/MediaViewerInteractivePopTransition.swift:20:25: error: 'UITabBar' is unavailable in watchOS
private var tabBar: UITabBar? {
^~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITabBar.h:28:12: note: 'UITabBar' has been explicitly marked unavailable here
@interface UITabBar : UIView
^
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/Transitions/MediaViewerInteractivePopTransition.swift:38:51: error: 'UITabBarAppearance' is unavailable in watchOS
private var tabBarScrollEdgeAppearanceBackup: UITabBarAppearance?
^~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITabBarAppearance.h:80:12: note: 'UITabBarAppearance' has been explicitly marked unavailable here
@interface UITabBarAppearance : UIBarAppearance
^
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/Transitions/MediaViewerInteractivePopTransition.swift:42:42: error: 'UIBarButtonItem' is unavailable in watchOS
private var toVCToolbarItemsBackup: [UIBarButtonItem]?
^~~~~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIBarButtonItem.h:69:12: note: 'UIBarButtonItem' has been explicitly marked unavailable here
@interface UIBarButtonItem : UIBarItem <NSCoding>
^
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/Transitions/MediaViewerInteractivePopTransition.swift:52:22: error: 'UIView' is unavailable in watchOS
init(sourceView: UIView?) {
^~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:148:12: note: 'UIView' has been explicitly marked unavailable here
@interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
^
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/Transitions/MediaViewerInteractivePopTransition.swift:92:34: error: 'UIViewControllerContextTransitioning' is unavailable in watchOS
_ transitionContext: any UIViewControllerContextTransitioning
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewControllerTransitioning.h:68:11: note: 'UIViewControllerContextTransitioning' has been explicitly marked unavailable here
@protocol UIViewControllerContextTransitioning <NSObject>
^
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/Transitions/MediaViewerInteractivePopTransition.swift:432:36: error: 'UIViewControllerContextTransitioning' is unavailable in watchOS
in transitionContext: some UIViewControllerContextTransitioning
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewControllerTransitioning.h:68:11: note: 'UIViewControllerContextTransitioning' has been explicitly marked unavailable here
@protocol UIViewControllerContextTransitioning <NSObject>
^
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/Transitions/MediaViewerInteractivePopTransition.swift:432:36: error: 'UIViewControllerContextTransitioning' is unavailable in watchOS
in transitionContext: some UIViewControllerContextTransitioning
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewControllerTransitioning.h:68:11: note: 'UIViewControllerContextTransitioning' has been explicitly marked unavailable here
@protocol UIViewControllerContextTransitioning <NSObject>
^
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/Transitions/MediaViewerInteractivePopTransition.swift:443:24: error: 'UIPanGestureRecognizer' is unavailable in watchOS
by recognizer: UIPanGestureRecognizer,
^~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPanGestureRecognizer.h:31:12: note: 'UIPanGestureRecognizer' has been explicitly marked unavailable here
@interface UIPanGestureRecognizer : UIGestureRecognizer
^
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/Transitions/MediaViewerInteractivePopTransition.swift:58:48: error: 'UIViewControllerInteractiveTransitioning' is unavailable in watchOS
extension MediaViewerInteractivePopTransition: UIViewControllerInteractiveTransitioning {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewControllerTransitioning.h:161:11: note: 'UIViewControllerInteractiveTransitioning' has been explicitly marked unavailable here
@protocol UIViewControllerInteractiveTransitioning <NSObject>
^
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/Transitions/MediaViewerTransition.swift:13:28: error: 'UINavigationController' is unavailable in watchOS
private let operation: UINavigationController.Operation
^~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINavigationController.h:46:12: note: 'UINavigationController' has been explicitly marked unavailable here
@interface UINavigationController : UIViewController
^
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/Transitions/MediaViewerTransition.swift:14:29: error: 'UIView' is unavailable in watchOS
private let sourceView: UIView?
^~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:148:12: note: 'UIView' has been explicitly marked unavailable here
@interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
^
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/Transitions/MediaViewerTransition.swift:20:20: error: 'UINavigationController' is unavailable in watchOS
operation: UINavigationController.Operation,
^~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINavigationController.h:46:12: note: 'UINavigationController' has been explicitly marked unavailable here
@interface UINavigationController : UIViewController
^
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/Transitions/MediaViewerTransition.swift:21:21: error: 'UIView' is unavailable in watchOS
sourceView: UIView?,
^~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:148:12: note: 'UIView' has been explicitly marked unavailable here
@interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
^
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/Transitions/MediaViewerTransition.swift:32:39: error: 'UIViewControllerContextTransitioning' is unavailable in watchOS
using transitionContext: (any UIViewControllerContextTransitioning)?
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewControllerTransitioning.h:68:11: note: 'UIViewControllerContextTransitioning' has been explicitly marked unavailable here
@protocol UIViewControllerContextTransitioning <NSObject>
^
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/Transitions/MediaViewerTransition.swift:47:38: error: 'UIViewControllerContextTransitioning' is unavailable in watchOS
using transitionContext: any UIViewControllerContextTransitioning
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewControllerTransitioning.h:68:11: note: 'UIViewControllerContextTransitioning' has been explicitly marked unavailable here
@protocol UIViewControllerContextTransitioning <NSObject>
^
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/Transitions/MediaViewerTransition.swift:62:39: error: 'UIViewControllerContextTransitioning' is unavailable in watchOS
using transitionContext: some UIViewControllerContextTransitioning
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewControllerTransitioning.h:68:11: note: 'UIViewControllerContextTransitioning' has been explicitly marked unavailable here
@protocol UIViewControllerContextTransitioning <NSObject>
^
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/Transitions/MediaViewerTransition.swift:62:39: error: 'UIViewControllerContextTransitioning' is unavailable in watchOS
using transitionContext: some UIViewControllerContextTransitioning
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewControllerTransitioning.h:68:11: note: 'UIViewControllerContextTransitioning' has been explicitly marked unavailable here
@protocol UIViewControllerContextTransitioning <NSObject>
^
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/Transitions/MediaViewerTransition.swift:236:39: error: 'UIViewControllerContextTransitioning' is unavailable in watchOS
using transitionContext: some UIViewControllerContextTransitioning
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewControllerTransitioning.h:68:11: note: 'UIViewControllerContextTransitioning' has been explicitly marked unavailable here
@protocol UIViewControllerContextTransitioning <NSObject>
^
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/Transitions/MediaViewerTransition.swift:236:39: error: 'UIViewControllerContextTransitioning' is unavailable in watchOS
using transitionContext: some UIViewControllerContextTransitioning
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewControllerTransitioning.h:68:11: note: 'UIViewControllerContextTransitioning' has been explicitly marked unavailable here
@protocol UIViewControllerContextTransitioning <NSObject>
^
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/Transitions/MediaViewerTransition.swift:11:46: error: 'UIViewControllerAnimatedTransitioning' is unavailable in watchOS
final class MediaViewerTransition: NSObject, UIViewControllerAnimatedTransitioning {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewControllerTransitioning.h:137:11: note: 'UIViewControllerAnimatedTransitioning' has been explicitly marked unavailable here
@protocol UIViewControllerAnimatedTransitioning <NSObject>
^
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/Transitions/UIViewTransitioningConfiguration.swift:15:22: error: 'UIView' is unavailable in watchOS
var contentMode: UIView.ContentMode
^~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:148:12: note: 'UIView' has been explicitly marked unavailable here
@interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
^
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/Transitions/UIViewTransitioningConfiguration.swift:22:11: error: 'UIView' is unavailable in watchOS
extension UIView {
^~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:148:12: note: 'UIView' has been explicitly marked unavailable here
@interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
^
SwiftCompile normal arm64_32 Compiling\ AnyMediaIdentifier.swift,\ MediaViewerViewController+UI.swift /Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/AnyMediaIdentifier.swift /Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/Extensions/MediaViewerViewController+UI.swift (in target 'MediaViewer' from project 'MediaViewer')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/AnyMediaIdentifier.swift (in target 'MediaViewer' from project 'MediaViewer')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/Extensions/MediaViewerViewController+UI.swift (in target 'MediaViewer' from project 'MediaViewer')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64_32 Compiling\ Sequence+Extension.swift,\ UICollectionView+Extension.swift /Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/Extensions/Sequence+Extension.swift /Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/Extensions/UICollectionView+Extension.swift (in target 'MediaViewer' from project 'MediaViewer')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/Extensions/Sequence+Extension.swift (in target 'MediaViewer' from project 'MediaViewer')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/Extensions/UICollectionView+Extension.swift (in target 'MediaViewer' from project 'MediaViewer')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64_32 Compiling\ UIImageView+Extension.swift,\ UIView+Extension.swift /Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/Extensions/UIImageView+Extension.swift /Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/Extensions/UIView+Extension.swift (in target 'MediaViewer' from project 'MediaViewer')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/Extensions/UIImageView+Extension.swift (in target 'MediaViewer' from project 'MediaViewer')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/Extensions/UIView+Extension.swift (in target 'MediaViewer' from project 'MediaViewer')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftEmitModule normal arm64 Emitting\ module\ for\ MediaViewer (in target 'MediaViewer' from project 'MediaViewer')
2026-04-14 03:10:45.042 xcodebuild[638:3882] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
** BUILD FAILED **
The following build commands failed:
SwiftEmitModule normal arm64_32 Emitting\ module\ for\ MediaViewer (in target 'MediaViewer' from project 'MediaViewer')
EmitSwiftModule normal arm64_32 (in target 'MediaViewer' from project 'MediaViewer')
Building workspace spi-builder-workspace with scheme MediaViewer
(3 failures)
Command line invocation:
/Applications/Xcode-26.4.0.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -resolvePackageDependencies
Resolve Package Graph
Resolved source packages:
MediaViewer: /Users/admin/builder/spi-builder-workspace
resolved source packages: MediaViewer
2026-04-14 03:10:52.664 xcodebuild[759:4363] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
{
"dependencies" : [
],
"manifest_display_name" : "MediaViewer",
"name" : "MediaViewer",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "16.0"
},
{
"name" : "visionos",
"version" : "1.0"
}
],
"products" : [
{
"name" : "MediaViewer",
"targets" : [
"MediaViewer"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "MediaViewerTests",
"module_type" : "SwiftTarget",
"name" : "MediaViewerTests",
"path" : "Tests/MediaViewerTests",
"sources" : [
"AnyMediaIdentifierTests.swift",
"MediaViewerViewModelTests.swift",
"SequenceExtensionTests.swift"
],
"target_dependencies" : [
"MediaViewer"
],
"type" : "test"
},
{
"c99name" : "MediaViewer",
"module_type" : "SwiftTarget",
"name" : "MediaViewer",
"path" : "Sources/MediaViewer",
"product_memberships" : [
"MediaViewer"
],
"sources" : [
"AnyMediaIdentifier.swift",
"Extensions/MediaViewerViewController+UI.swift",
"Extensions/Sequence+Extension.swift",
"Extensions/UICollectionView+Extension.swift",
"Extensions/UIImageView+Extension.swift",
"Extensions/UIView+Extension.swift",
"Extensions/UIViewControllerContextTransitioning+Extension.swift",
"Media.swift",
"MediaViewerDataSource.swift",
"MediaViewerDelegate.swift",
"MediaViewerOnePage/MediaViewerOnePageView.swift",
"MediaViewerOnePage/MediaViewerOnePageViewController.swift",
"MediaViewerViewController.swift",
"MediaViewerViewModel.swift",
"PageControlBar/MediaViewerPageControlBar.swift",
"PageControlBar/MediaViewerPageControlBarLayout.swift",
"PageControlBar/PageControlBarThumbnailCell.swift",
"Transitions/MediaViewerInteractivePopTransition.swift",
"Transitions/MediaViewerTransition.swift",
"Transitions/UIViewTransitioningConfiguration.swift"
],
"type" : "library"
}
],
"tools_version" : "6.2"
}
{
"workspace" : {
"name" : "spi-builder-workspace",
"schemes" : [
"MediaViewer"
]
}
}
2026-04-14 03:10:53.911 xcodebuild[769:4461] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme MediaViewer -destination generic/platform=watchOS
Command line invocation:
/Applications/Xcode-26.4.0.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 MediaViewer -destination generic/platform=watchOS
Resolve Package Graph
Resolved source packages:
MediaViewer: /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 'MediaViewer' in project 'MediaViewer'
➜ Explicit dependency on target 'MediaViewer' in project 'MediaViewer'
Target 'MediaViewer' in project 'MediaViewer' (no dependencies)
GatherProvisioningInputs
CreateBuildDescription
ClangStatCache /Applications/Xcode-26.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang-stat-cache /Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos26.4-23T238-688ef53f1462e2c8f657fdc38a81448f9e51884a582f42380855760c9d4cc599.sdkstatcache
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Applications/Xcode-26.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang-stat-cache /Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk -o /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos26.4-23T238-688ef53f1462e2c8f657fdc38a81448f9e51884a582f42380855760c9d4cc599.sdkstatcache
SwiftDriver MediaViewer normal arm64_32 com.apple.xcode.tools.swift.compiler (in target 'MediaViewer' from project 'MediaViewer')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftDriver -- /Applications/Xcode-26.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -module-name MediaViewer -Onone @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/MediaViewer.build/Debug-watchos/MediaViewer.build/Objects-normal/arm64_32/MediaViewer.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -DSWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -DXcode -enable-upcoming-feature ExistentialAny -plugin-path /Applications/Xcode-26.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -enable-experimental-feature DebugDescriptionMacro -sdk /Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk -target arm64_32-apple-watchos9.0 -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -Xfrontend -serialize-debugging-options -profile-coverage-mapping -profile-generate -enable-testing -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -swift-version 6 -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -Isystem /Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/Developer/Library/Frameworks -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos26.4-23T238-688ef53f1462e2c8f657fdc38a81448f9e51884a582f42380855760c9d4cc599.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/MediaViewer.build/Debug-watchos/MediaViewer.build/Objects-normal/arm64_32/MediaViewer-OutputFileMap.json -use-frontend-parseable-output -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/ModuleCache.noindex -serialize-diagnostics -emit-dependencies -emit-module -emit-module-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/MediaViewer.build/Debug-watchos/MediaViewer.build/Objects-normal/arm64_32/MediaViewer.swiftmodule -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -package-name spi_builder_workspace -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/MediaViewer.build/Debug-watchos/MediaViewer.build/swift-overrides.hmap -emit-const-values -Xfrontend -const-gather-protocols-file -Xfrontend /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/MediaViewer.build/Debug-watchos/MediaViewer.build/Objects-normal/arm64_32/MediaViewer_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/MediaViewer.build/Debug-watchos/MediaViewer.build/DerivedSources-normal/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/MediaViewer.build/Debug-watchos/MediaViewer.build/DerivedSources/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/MediaViewer.build/Debug-watchos/MediaViewer.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/MediaViewer.build/Debug-watchos/MediaViewer.build/Objects-normal/arm64_32/MediaViewer-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
SwiftDriver MediaViewer normal arm64 com.apple.xcode.tools.swift.compiler (in target 'MediaViewer' from project 'MediaViewer')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftDriver -- /Applications/Xcode-26.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -module-name MediaViewer -Onone @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/MediaViewer.build/Debug-watchos/MediaViewer.build/Objects-normal/arm64/MediaViewer.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -DSWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -DXcode -enable-upcoming-feature ExistentialAny -plugin-path /Applications/Xcode-26.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -enable-experimental-feature DebugDescriptionMacro -sdk /Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk -target arm64-apple-watchos9.0 -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -Xfrontend -serialize-debugging-options -profile-coverage-mapping -profile-generate -enable-testing -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -swift-version 6 -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -Isystem /Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/Developer/Library/Frameworks -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos26.4-23T238-688ef53f1462e2c8f657fdc38a81448f9e51884a582f42380855760c9d4cc599.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/MediaViewer.build/Debug-watchos/MediaViewer.build/Objects-normal/arm64/MediaViewer-OutputFileMap.json -use-frontend-parseable-output -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/ModuleCache.noindex -serialize-diagnostics -emit-dependencies -emit-module -emit-module-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/MediaViewer.build/Debug-watchos/MediaViewer.build/Objects-normal/arm64/MediaViewer.swiftmodule -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -package-name spi_builder_workspace -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/MediaViewer.build/Debug-watchos/MediaViewer.build/swift-overrides.hmap -emit-const-values -Xfrontend -const-gather-protocols-file -Xfrontend /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/MediaViewer.build/Debug-watchos/MediaViewer.build/Objects-normal/arm64/MediaViewer_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/MediaViewer.build/Debug-watchos/MediaViewer.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/MediaViewer.build/Debug-watchos/MediaViewer.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/MediaViewer.build/Debug-watchos/MediaViewer.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/MediaViewer.build/Debug-watchos/MediaViewer.build/Objects-normal/arm64/MediaViewer-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
SwiftCompile normal arm64 Compiling\ UIImageView+Extension.swift,\ UIView+Extension.swift /Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/Extensions/UIImageView+Extension.swift /Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/Extensions/UIView+Extension.swift (in target 'MediaViewer' from project 'MediaViewer')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/Extensions/UIImageView+Extension.swift (in target 'MediaViewer' from project 'MediaViewer')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/Extensions/UIView+Extension.swift (in target 'MediaViewer' from project 'MediaViewer')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 Compiling\ AnyMediaIdentifier.swift,\ MediaViewerViewController+UI.swift /Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/AnyMediaIdentifier.swift /Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/Extensions/MediaViewerViewController+UI.swift (in target 'MediaViewer' from project 'MediaViewer')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/AnyMediaIdentifier.swift (in target 'MediaViewer' from project 'MediaViewer')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/Extensions/MediaViewerViewController+UI.swift (in target 'MediaViewer' from project 'MediaViewer')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 Compiling\ Sequence+Extension.swift,\ UICollectionView+Extension.swift /Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/Extensions/Sequence+Extension.swift /Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/Extensions/UICollectionView+Extension.swift (in target 'MediaViewer' from project 'MediaViewer')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/Extensions/Sequence+Extension.swift (in target 'MediaViewer' from project 'MediaViewer')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/Extensions/UICollectionView+Extension.swift (in target 'MediaViewer' from project 'MediaViewer')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 Compiling\ UIViewControllerContextTransitioning+Extension.swift,\ Media.swift /Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/Extensions/UIViewControllerContextTransitioning+Extension.swift /Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/Media.swift (in target 'MediaViewer' from project 'MediaViewer')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/Extensions/UIViewControllerContextTransitioning+Extension.swift (in target 'MediaViewer' from project 'MediaViewer')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/Media.swift (in target 'MediaViewer' from project 'MediaViewer')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 Compiling\ MediaViewerOnePageView.swift,\ MediaViewerOnePageViewController.swift /Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/MediaViewerOnePage/MediaViewerOnePageView.swift /Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/MediaViewerOnePage/MediaViewerOnePageViewController.swift (in target 'MediaViewer' from project 'MediaViewer')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/MediaViewerOnePage/MediaViewerOnePageView.swift (in target 'MediaViewer' from project 'MediaViewer')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/MediaViewerOnePage/MediaViewerOnePageViewController.swift (in target 'MediaViewer' from project 'MediaViewer')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 Compiling\ MediaViewerViewController.swift,\ MediaViewerViewModel.swift /Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/MediaViewerViewController.swift /Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/MediaViewerViewModel.swift (in target 'MediaViewer' from project 'MediaViewer')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/MediaViewerViewController.swift (in target 'MediaViewer' from project 'MediaViewer')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/MediaViewerViewModel.swift (in target 'MediaViewer' from project 'MediaViewer')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 Compiling\ MediaViewerDataSource.swift,\ MediaViewerDelegate.swift /Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/MediaViewerDataSource.swift /Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/MediaViewerDelegate.swift (in target 'MediaViewer' from project 'MediaViewer')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/MediaViewerDataSource.swift (in target 'MediaViewer' from project 'MediaViewer')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/MediaViewerDelegate.swift (in target 'MediaViewer' from project 'MediaViewer')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 Compiling\ MediaViewerTransition.swift,\ UIViewTransitioningConfiguration.swift /Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/Transitions/MediaViewerTransition.swift /Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/Transitions/UIViewTransitioningConfiguration.swift (in target 'MediaViewer' from project 'MediaViewer')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/Transitions/MediaViewerTransition.swift (in target 'MediaViewer' from project 'MediaViewer')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/Transitions/UIViewTransitioningConfiguration.swift (in target 'MediaViewer' from project 'MediaViewer')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftEmitModule normal arm64 Emitting\ module\ for\ MediaViewer (in target 'MediaViewer' from project 'MediaViewer')
Failed frontend command:
/Applications/Xcode-26.4.0.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/MediaViewer/AnyMediaIdentifier.swift /Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/Extensions/MediaViewerViewController+UI.swift /Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/Extensions/Sequence+Extension.swift /Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/Extensions/UICollectionView+Extension.swift /Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/Extensions/UIImageView+Extension.swift /Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/Extensions/UIView+Extension.swift /Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/Extensions/UIViewControllerContextTransitioning+Extension.swift /Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/Media.swift /Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/MediaViewerDataSource.swift /Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/MediaViewerDelegate.swift /Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/MediaViewerOnePage/MediaViewerOnePageView.swift /Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/MediaViewerOnePage/MediaViewerOnePageViewController.swift /Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/MediaViewerViewController.swift /Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/MediaViewerViewModel.swift /Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/PageControlBar/MediaViewerPageControlBar.swift /Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/PageControlBar/MediaViewerPageControlBarLayout.swift /Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/PageControlBar/PageControlBarThumbnailCell.swift /Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/Transitions/MediaViewerInteractivePopTransition.swift /Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/Transitions/MediaViewerTransition.swift /Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/Transitions/UIViewTransitioningConfiguration.swift -target arm64-apple-watchos9.0 -load-resolved-plugin /Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libFoundationMacros.dylib\#/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#FoundationMacros -load-resolved-plugin /Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libObservationMacros.dylib\#/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#ObservationMacros -load-resolved-plugin /Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libSwiftMacros.dylib\#/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#SwiftMacros -load-resolved-plugin /Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libSwiftUIMacros.dylib\#/Applications/Xcode-26.4.0.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/MediaViewer.build/Debug-watchos/MediaViewer.build/Objects-normal/arm64/MediaViewer-dependencies-2.json -Xllvm -aarch64-use-tbi -enable-objc-interop -stack-check -sdk /Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -Isystem /Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/Developer/Library/Frameworks -no-color-diagnostics -Xcc -fno-color-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules -profile-generate -profile-coverage-mapping -swift-version 6 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/MediaViewer.build/Debug-watchos/MediaViewer.build/Objects-normal/arm64/MediaViewer_const_extract_protocols.json -enable-upcoming-feature ExistentialAny -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/watchos26.4-23T238-688ef53f1462e2c8f657fdc38a81448f9e51884a582f42380855760c9d4cc599.sdkstatcache -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/MediaViewer.build/Debug-watchos/MediaViewer.build/swift-overrides.hmap -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/MediaViewer.build/Debug-watchos/MediaViewer.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/MediaViewer.build/Debug-watchos/MediaViewer.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/MediaViewer.build/Debug-watchos/MediaViewer.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name MediaViewer -package-name spi_builder_workspace -frontend-parseable-output -disable-clang-spi -clang-target arm64-apple-watchos26.4 -target-sdk-version 26.4 -target-sdk-name watchos26.4 -in-process-plugin-server-path /Applications/Xcode-26.4.0.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/MediaViewer.build/Debug-watchos/MediaViewer.build/Objects-normal/arm64/MediaViewer.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/MediaViewer.build/Debug-watchos/MediaViewer.build/Objects-normal/arm64/MediaViewer.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/MediaViewer.build/Debug-watchos/MediaViewer.build/Objects-normal/arm64/MediaViewer-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/MediaViewer.build/Debug-watchos/MediaViewer.build/Objects-normal/arm64/MediaViewer-primary-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/MediaViewer.build/Debug-watchos/MediaViewer.build/Objects-normal/arm64/MediaViewer-primary-emit-module.d -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/MediaViewer.build/Debug-watchos/MediaViewer.build/Objects-normal/arm64/MediaViewer.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/MediaViewer.build/Debug-watchos/MediaViewer.build/Objects-normal/arm64/MediaViewer.abi.json
EmitSwiftModule normal arm64 (in target 'MediaViewer' from project 'MediaViewer')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/Extensions/MediaViewerViewController+UI.swift:27:28: error: 'UIBarButtonItem' is unavailable in watchOS
_ trashButton: UIBarButtonItem,
^~~~~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIBarButtonItem.h:69:12: note: 'UIBarButtonItem' has been explicitly marked unavailable here
@interface UIBarButtonItem : UIBarItem <NSCoding>
^
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/Extensions/MediaViewerViewController+UI.swift:30:10: error: 'UIBarButtonItem' is unavailable in watchOS
) -> UIBarButtonItem where MediaIdentifier: Hashable & Sendable {
^~~~~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIBarButtonItem.h:69:12: note: 'UIBarButtonItem' has been explicitly marked unavailable here
@interface UIBarButtonItem : UIBarItem <NSCoding>
^
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/Extensions/UICollectionView+Extension.swift:10:11: error: 'UICollectionView' is unavailable in watchOS
extension UICollectionView {
^~~~~~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionView.h:362:12: note: 'UICollectionView' has been explicitly marked unavailable here
@interface UICollectionView : UIScrollView <UIDataSourceTranslating>
^
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/Extensions/UIImageView+Extension.swift:10:11: error: 'UIImageView' is unavailable in watchOS
extension UIImageView {
^~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImageView.h:21:12: note: 'UIImageView' has been explicitly marked unavailable here
@interface UIImageView : UIView
^
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/Extensions/UIView+Extension.swift:20:74: error: 'UIView' is unavailable in watchOS
func firstSubview<View>(ofType type: View.Type) -> View? where View: UIView {
^~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:148:12: note: 'UIView' has been explicitly marked unavailable here
@interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
^
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/Extensions/UIView+Extension.swift:10:11: error: 'UIView' is unavailable in watchOS
extension UIView {
^~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:148:12: note: 'UIView' has been explicitly marked unavailable here
@interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
^
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/Extensions/UIViewControllerContextTransitioning+Extension.swift:10:11: error: 'UIViewControllerContextTransitioning' is unavailable in watchOS
extension UIViewControllerContextTransitioning {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewControllerTransitioning.h:68:11: note: 'UIViewControllerContextTransitioning' has been explicitly marked unavailable here
@protocol UIViewControllerContextTransitioning <NSObject>
^
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/MediaViewerDataSource.swift:75:10: error: 'UIView' is unavailable in watchOS
) -> UIView?
^~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:148:12: note: 'UIView' has been explicitly marked unavailable here
@interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
^
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/MediaViewerDataSource.swift:89:47: error: 'UIView' is unavailable in watchOS
transitionSourceImageWith sourceView: UIView?
^~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:148:12: note: 'UIView' has been explicitly marked unavailable here
@interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
^
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/MediaViewerDataSource.swift:133:47: error: 'UIView' is unavailable in watchOS
transitionSourceImageWith sourceView: UIView?
^~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:148:12: note: 'UIView' has been explicitly marked unavailable here
@interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
^
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/MediaViewerDataSource.swift:183:10: error: 'UIView' is unavailable in watchOS
) -> UIView? {
^~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:148:12: note: 'UIView' has been explicitly marked unavailable here
@interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
^
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/MediaViewerDelegate.swift:21:49: error: 'UIViewController' is unavailable in watchOS
willBeginPopTransitionTo destinationVC: UIViewController
^~~~~~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:102:12: note: 'UIViewController' has been explicitly marked unavailable here
@interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
^
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/MediaViewerDelegate.swift:40:49: error: 'UIViewController' is unavailable in watchOS
willBeginPopTransitionTo destinationVC: UIViewController
^~~~~~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:102:12: note: 'UIViewController' has been explicitly marked unavailable here
@interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
^
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/MediaViewerOnePage/MediaViewerOnePageView.swift:30:21: error: 'UIScrollView' is unavailable in watchOS
let scrollView: UIScrollView = {
^~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScrollView.h:87:12: note: 'UIScrollView' has been explicitly marked unavailable here
@interface UIScrollView : UIView <NSCoding, UIFocusItemScrollableContainer>
^
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/MediaViewerOnePage/MediaViewerOnePageView.swift:31:26: error: 'UIScrollView' is unavailable in watchOS
let scrollView = UIScrollView()
^~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScrollView.h:87:12: note: 'UIScrollView' has been explicitly marked unavailable here
@interface UIScrollView : UIView <NSCoding, UIFocusItemScrollableContainer>
^
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/MediaViewerOnePage/MediaViewerOnePageView.swift:31:26: error: 'init()' is unavailable in watchOS
let scrollView = UIScrollView()
^~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:154:1: note: 'init()' has been explicitly marked unavailable here
- (instancetype)init API_AVAILABLE(ios(2.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
^
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/MediaViewerOnePage/MediaViewerOnePageView.swift:32:20: error: 'contentInsetAdjustmentBehavior' is unavailable in watchOS
scrollView.contentInsetAdjustmentBehavior = .never
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScrollView.h:110:65: note: 'contentInsetAdjustmentBehavior' has been explicitly marked unavailable here
@property(nonatomic) UIScrollViewContentInsetAdjustmentBehavior contentInsetAdjustmentBehavior API_AVAILABLE(ios(11.0), tvos(11.0)) API_UNAVAILABLE(watchos);
^
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/MediaViewerOnePage/MediaViewerOnePageView.swift:33:40: error: 'fast' is unavailable in watchOS
scrollView.decelerationRate = .fast
^~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScrollView.h:47:49: note: 'fast' has been explicitly marked unavailable here
UIKIT_EXTERN const UIScrollViewDecelerationRate UIScrollViewDecelerationRateFast API_AVAILABLE(ios(3.0)) API_UNAVAILABLE(watchos);
^
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/MediaViewerOnePage/MediaViewerOnePageView.swift:41:20: error: 'UIImageView' is unavailable in watchOS
let imageView: UIImageView = {
^~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImageView.h:21:12: note: 'UIImageView' has been explicitly marked unavailable here
@interface UIImageView : UIView
^
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/MediaViewerOnePage/MediaViewerOnePageView.swift:42:25: error: 'UIImageView' is unavailable in watchOS
let imageView = UIImageView()
^~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImageView.h:21:12: note: 'UIImageView' has been explicitly marked unavailable here
@interface UIImageView : UIView
^
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/MediaViewerOnePage/MediaViewerOnePageView.swift:42:25: error: 'init()' is unavailable in watchOS
let imageView = UIImageView()
^~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:154:1: note: 'init()' has been explicitly marked unavailable here
- (instancetype)init API_AVAILABLE(ios(2.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
^
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/MediaViewerOnePage/MediaViewerOnePageView.swift:49:47: error: 'NSLayoutConstraint' is unavailable in watchOS
private var constraintsBasedOnImageSize: [NSLayoutConstraint] = []
^~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutConstraint.h:126:12: note: 'NSLayoutConstraint' has been explicitly marked unavailable here
@interface NSLayoutConstraint : NSObject
^
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/MediaViewerOnePage/MediaViewerOnePageView.swift:128:71: error: 'UITapGestureRecognizer' is unavailable in watchOS
func updateZoomScaleOnDoubleTap(recognizedBy doubleTapRecognizer: UITapGestureRecognizer) {
^~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITapGestureRecognizer.h:23:12: note: 'UITapGestureRecognizer' has been explicitly marked unavailable here
@interface UITapGestureRecognizer : UIGestureRecognizer
^
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/MediaViewerOnePage/MediaViewerOnePageView.swift:15:37: error: 'UIView' is unavailable in watchOS
final class MediaViewerOnePageView: UIView {
^~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:148:12: note: 'UIView' has been explicitly marked unavailable here
@interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
^
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/MediaViewerOnePage/MediaViewerOnePageView.swift:247:40: error: 'UIScrollView' is unavailable in watchOS
func viewForZooming(in scrollView: UIScrollView) -> UIView? {
^~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScrollView.h:87:12: note: 'UIScrollView' has been explicitly marked unavailable here
@interface UIScrollView : UIView <NSCoding, UIFocusItemScrollableContainer>
^
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/MediaViewerOnePage/MediaViewerOnePageView.swift:247:57: error: 'UIView' is unavailable in watchOS
func viewForZooming(in scrollView: UIScrollView) -> UIView? {
^~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:148:12: note: 'UIView' has been explicitly marked unavailable here
@interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
^
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/MediaViewerOnePage/MediaViewerOnePageView.swift:251:42: error: 'UIScrollView' is unavailable in watchOS
func scrollViewDidZoom(_ scrollView: UIScrollView) {
^~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScrollView.h:87:12: note: 'UIScrollView' has been explicitly marked unavailable here
@interface UIScrollView : UIView <NSCoding, UIFocusItemScrollableContainer>
^
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/MediaViewerOnePage/MediaViewerOnePageView.swift:245:35: error: 'UIScrollViewDelegate' is unavailable in watchOS
extension MediaViewerOnePageView: UIScrollViewDelegate {
^~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScrollView.h:312:11: note: 'UIScrollViewDelegate' has been explicitly marked unavailable here
@protocol UIScrollViewDelegate<NSObject>
^
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/MediaViewerOnePage/MediaViewerOnePageViewController.swift:25:34: error: 'init()' is unavailable in watchOS
let mediaViewerOnePageView = MediaViewerOnePageView()
^~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:154:1: note: 'init()' has been explicitly marked unavailable here
- (instancetype)init API_AVAILABLE(ios(2.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
^
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/MediaViewerOnePage/MediaViewerOnePageViewController.swift:27:31: error: 'UITapGestureRecognizer' is unavailable in watchOS
let singleTapRecognizer = UITapGestureRecognizer()
^~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITapGestureRecognizer.h:23:12: note: 'UITapGestureRecognizer' has been explicitly marked unavailable here
@interface UITapGestureRecognizer : UIGestureRecognizer
^
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/MediaViewerOnePage/MediaViewerOnePageViewController.swift:29:35: error: 'UITapGestureRecognizer' is unavailable in watchOS
let imageDoubleTapRecognizer: UITapGestureRecognizer = {
^~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITapGestureRecognizer.h:23:12: note: 'UITapGestureRecognizer' has been explicitly marked unavailable here
@interface UITapGestureRecognizer : UIGestureRecognizer
^
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/MediaViewerOnePage/MediaViewerOnePageViewController.swift:30:26: error: 'UITapGestureRecognizer' is unavailable in watchOS
let recognizer = UITapGestureRecognizer()
^~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITapGestureRecognizer.h:23:12: note: 'UITapGestureRecognizer' has been explicitly marked unavailable here
@interface UITapGestureRecognizer : UIGestureRecognizer
^
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/MediaViewerOnePage/MediaViewerOnePageViewController.swift:72:31: error: 'UIViewControllerTransitionCoordinator' is unavailable in watchOS
with coordinator: any UIViewControllerTransitionCoordinator
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewControllerTransitionCoordinator.h:81:11: note: 'UIViewControllerTransitionCoordinator' has been explicitly marked unavailable here
@protocol UIViewControllerTransitionCoordinator <UIViewControllerTransitionCoordinatorContext>
^
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/MediaViewerOnePage/MediaViewerOnePageViewController.swift:95:48: error: 'UITapGestureRecognizer' is unavailable in watchOS
private func imageDoubleTapped(recognizer: UITapGestureRecognizer) {
^~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITapGestureRecognizer.h:23:12: note: 'UITapGestureRecognizer' has been explicitly marked unavailable here
@interface UITapGestureRecognizer : UIGestureRecognizer
^
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/MediaViewerOnePage/MediaViewerOnePageViewController.swift:19:47: error: 'UIViewController' is unavailable in watchOS
final class MediaViewerOnePageViewController: UIViewController {
^~~~~~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:102:12: note: 'UIViewController' has been explicitly marked unavailable here
@interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
^
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/MediaViewerViewController.swift:105:61: error: 'UIScrollView' is unavailable in watchOS
private lazy var scrollView = view.firstSubview(ofType: UIScrollView.self)!
^~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScrollView.h:87:12: note: 'UIScrollView' has been explicitly marked unavailable here
@interface UIScrollView : UIView <NSCoding, UIFocusItemScrollableContainer>
^
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/MediaViewerViewController.swift:111:34: error: 'init()' is unavailable in watchOS
private let pageControlBar = MediaViewerPageControlBar()
^~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:154:1: note: 'init()' has been explicitly marked unavailable here
- (instancetype)init API_AVAILABLE(ios(2.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
^
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/MediaViewerViewController.swift:110:30: error: 'UIToolbar' is unavailable in watchOS
let pageControlToolbar = UIToolbar()
^~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIToolbar.h:23:12: note: 'UIToolbar' has been explicitly marked unavailable here
@interface UIToolbar : UIView <UIBarPositioning>
^
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/MediaViewerViewController.swift:110:30: error: 'init()' is unavailable in watchOS
let pageControlToolbar = UIToolbar()
^~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:154:1: note: 'init()' has been explicitly marked unavailable here
- (instancetype)init API_AVAILABLE(ios(2.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
^
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/MediaViewerViewController.swift:136:17: error: 'UIView' is unavailable in watchOS
UIView.layoutFittingCompressedSize
^~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:148:12: note: 'UIView' has been explicitly marked unavailable here
@interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
^
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/MediaViewerViewController.swift:136:24: error: 'layoutFittingCompressedSize' is unavailable in watchOS
UIView.layoutFittingCompressedSize
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:556:27: note: 'layoutFittingCompressedSize' has been explicitly marked unavailable here
UIKIT_EXTERN const CGSize UILayoutFittingCompressedSize API_AVAILABLE(ios(6.0)) API_UNAVAILABLE(watchos);
^
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/MediaViewerViewController.swift:108:34: error: 'UIView' is unavailable in watchOS
private let backgroundView = UIView()
^~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:148:12: note: 'UIView' has been explicitly marked unavailable here
@interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
^
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/MediaViewerViewController.swift:108:34: error: 'init()' is unavailable in watchOS
private let backgroundView = UIView()
^~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:154:1: note: 'init()' has been explicitly marked unavailable here
- (instancetype)init API_AVAILABLE(ios(2.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
^
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/MediaViewerViewController.swift:113:32: error: 'UIPanGestureRecognizer' is unavailable in watchOS
private let panRecognizer: UIPanGestureRecognizer = {
^~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPanGestureRecognizer.h:31:12: note: 'UIPanGestureRecognizer' has been explicitly marked unavailable here
@interface UIPanGestureRecognizer : UIGestureRecognizer
^
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/MediaViewerViewController.swift:114:26: error: 'UIPanGestureRecognizer' is unavailable in watchOS
let recognizer = UIPanGestureRecognizer()
^~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPanGestureRecognizer.h:31:12: note: 'UIPanGestureRecognizer' has been explicitly marked unavailable here
@interface UIPanGestureRecognizer : UIGestureRecognizer
^
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/MediaViewerViewController.swift:123:13: error: cannot find 'setNeedsUpdateOfHomeIndicatorAutoHidden' in scope
setNeedsUpdateOfHomeIndicatorAutoHidden()
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/MediaViewerViewController.swift:153:57: error: 'UIToolbarAppearance' is unavailable in watchOS
private(set) var toolbarScrollEdgeAppearanceBackup: UIToolbarAppearance?
^~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIToolbarAppearance.h:15:12: note: 'UIToolbarAppearance' has been explicitly marked unavailable here
@interface UIToolbarAppearance : UIBarAppearance
^
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/MediaViewerViewController.swift:356:24: error: cannot override 'viewIsAppearing' which has been marked unavailable
open override func viewIsAppearing(_ animated: Bool) {
^
UIKit.UIViewController.viewIsAppearing:3:13: note: 'viewIsAppearing' has been explicitly marked unavailable here
open func viewIsAppearing(_ animated: Bool)}
^
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/MediaViewerViewController.swift:356:24: note: remove 'override' modifier to declare a new 'viewIsAppearing'
open override func viewIsAppearing(_ animated: Bool) {
~~~~~~~~~ ^
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/MediaViewerViewController.swift:429:23: error: property does not override any property from its superclass
open override var prefersHomeIndicatorAutoHidden: Bool {
~~~~~~~~ ^
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/MediaViewerViewController.swift:434:29: error: 'UIViewController' is unavailable in watchOS
_ viewControllers: [UIViewController]?,
^~~~~~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:102:12: note: 'UIViewController' has been explicitly marked unavailable here
@interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
^
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/MediaViewerViewController.swift:435:20: error: 'UIPageViewController' is unavailable in watchOS
direction: UIPageViewController.NavigationDirection,
^~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPageViewController.h:51:12: note: 'UIPageViewController' has been explicitly marked unavailable here
@interface UIPageViewController : UIViewController {
^
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/MediaViewerViewController.swift:482:20: error: 'NavigationDirection' is unavailable in watchOS
direction: NavigationDirection,
^~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPageViewController.h:26:28: note: 'NavigationDirection' has been explicitly marked unavailable here
typedef NS_ENUM(NSInteger, UIPageViewControllerNavigationDirection) {
^
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/MediaViewerViewController.swift:683:37: error: 'UIPanGestureRecognizer' is unavailable in watchOS
private func panned(recognizer: UIPanGestureRecognizer) {
^~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPanGestureRecognizer.h:31:12: note: 'UIPanGestureRecognizer' has been explicitly marked unavailable here
@interface UIPanGestureRecognizer : UIGestureRecognizer
^
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/MediaViewerViewController.swift:36:39: error: 'UIPageViewController' is unavailable in watchOS
open class MediaViewerViewController: UIPageViewController {
^~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPageViewController.h:51:12: note: 'UIPageViewController' has been explicitly marked unavailable here
@interface UIPageViewController : UIViewController {
^
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/MediaViewerViewController.swift:754:57: error: 'UIPageViewController' is unavailable in watchOS
open func presentationCount(for pageViewController: UIPageViewController) -> Int {
^~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPageViewController.h:51:12: note: 'UIPageViewController' has been explicitly marked unavailable here
@interface UIPageViewController : UIViewController {
^
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/MediaViewerViewController.swift:759:31: error: 'UIPageViewController' is unavailable in watchOS
_ pageViewController: UIPageViewController,
^~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPageViewController.h:51:12: note: 'UIPageViewController' has been explicitly marked unavailable here
@interface UIPageViewController : UIViewController {
^
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/MediaViewerViewController.swift:760:46: error: 'UIViewController' is unavailable in watchOS
viewControllerBefore viewController: UIViewController
^~~~~~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:102:12: note: 'UIViewController' has been explicitly marked unavailable here
@interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
^
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/MediaViewerViewController.swift:761:10: error: 'UIViewController' is unavailable in watchOS
) -> UIViewController? {
^~~~~~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:102:12: note: 'UIViewController' has been explicitly marked unavailable here
@interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
^
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/MediaViewerViewController.swift:773:31: error: 'UIPageViewController' is unavailable in watchOS
_ pageViewController: UIPageViewController,
^~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPageViewController.h:51:12: note: 'UIPageViewController' has been explicitly marked unavailable here
@interface UIPageViewController : UIViewController {
^
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/MediaViewerViewController.swift:774:45: error: 'UIViewController' is unavailable in watchOS
viewControllerAfter viewController: UIViewController
^~~~~~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:102:12: note: 'UIViewController' has been explicitly marked unavailable here
@interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
^
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/MediaViewerViewController.swift:775:10: error: 'UIViewController' is unavailable in watchOS
) -> UIViewController? {
^~~~~~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:102:12: note: 'UIViewController' has been explicitly marked unavailable here
@interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
^
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/MediaViewerViewController.swift:752:38: error: 'UIPageViewControllerDataSource' is unavailable in watchOS
extension MediaViewerViewController: UIPageViewControllerDataSource {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPageViewController.h:100:11: note: 'UIPageViewControllerDataSource' has been explicitly marked unavailable here
@protocol UIPageViewControllerDataSource <NSObject>
^
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/MediaViewerViewController.swift:840:31: error: 'UIPageViewController' is unavailable in watchOS
_ pageViewController: UIPageViewController,
^~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPageViewController.h:51:12: note: 'UIPageViewController' has been explicitly marked unavailable here
@interface UIPageViewController : UIViewController {
^
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/MediaViewerViewController.swift:842:35: error: 'UIViewController' is unavailable in watchOS
previousViewControllers: [UIViewController],
^~~~~~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:102:12: note: 'UIViewController' has been explicitly marked unavailable here
@interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
^
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/MediaViewerViewController.swift:837:38: error: 'UIPageViewControllerDelegate' is unavailable in watchOS
extension MediaViewerViewController: UIPageViewControllerDelegate {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPageViewController.h:80:11: note: 'UIPageViewControllerDelegate' has been explicitly marked unavailable here
@protocol UIPageViewControllerDelegate <NSObject>
^
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/MediaViewerViewController.swift:856:33: error: 'UINavigationController' is unavailable in watchOS
_ navigationController: UINavigationController,
^~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINavigationController.h:46:12: note: 'UINavigationController' has been explicitly marked unavailable here
@interface UINavigationController : UIViewController
^
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/MediaViewerViewController.swift:857:43: error: 'UINavigationController' is unavailable in watchOS
animationControllerFor operation: UINavigationController.Operation,
^~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINavigationController.h:46:12: note: 'UINavigationController' has been explicitly marked unavailable here
@interface UINavigationController : UIViewController
^
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/MediaViewerViewController.swift:858:22: error: 'UIViewController' is unavailable in watchOS
from fromVC: UIViewController,
^~~~~~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:102:12: note: 'UIViewController' has been explicitly marked unavailable here
@interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
^
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/MediaViewerViewController.swift:859:18: error: 'UIViewController' is unavailable in watchOS
to toVC: UIViewController
^~~~~~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:102:12: note: 'UIViewController' has been explicitly marked unavailable here
@interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
^
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/MediaViewerViewController.swift:860:15: error: 'UIViewControllerAnimatedTransitioning' is unavailable in watchOS
) -> (any UIViewControllerAnimatedTransitioning)? {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewControllerTransitioning.h:137:11: note: 'UIViewControllerAnimatedTransitioning' has been explicitly marked unavailable here
@protocol UIViewControllerAnimatedTransitioning <NSObject>
^
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/MediaViewerViewController.swift:901:33: error: 'UINavigationController' is unavailable in watchOS
_ navigationController: UINavigationController,
^~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINavigationController.h:46:12: note: 'UINavigationController' has been explicitly marked unavailable here
@interface UINavigationController : UIViewController
^
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/MediaViewerViewController.swift:902:59: error: 'UIViewControllerAnimatedTransitioning' is unavailable in watchOS
interactionControllerFor animationController: any UIViewControllerAnimatedTransitioning
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewControllerTransitioning.h:137:11: note: 'UIViewControllerAnimatedTransitioning' has been explicitly marked unavailable here
@protocol UIViewControllerAnimatedTransitioning <NSObject>
^
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/MediaViewerViewController.swift:903:15: error: 'UIViewControllerInteractiveTransitioning' is unavailable in watchOS
) -> (any UIViewControllerInteractiveTransitioning)? {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewControllerTransitioning.h:161:11: note: 'UIViewControllerInteractiveTransitioning' has been explicitly marked unavailable here
@protocol UIViewControllerInteractiveTransitioning <NSObject>
^
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/MediaViewerViewController.swift:853:38: error: 'UINavigationControllerDelegate' is unavailable in watchOS
extension MediaViewerViewController: UINavigationControllerDelegate {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINavigationController.h:114:11: note: 'UINavigationControllerDelegate' has been explicitly marked unavailable here
@protocol UINavigationControllerDelegate <NSObject>
^
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/MediaViewerViewController.swift:913:30: error: 'UIGestureRecognizer' is unavailable in watchOS
_ gestureRecognizer: UIGestureRecognizer,
^~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGestureRecognizer.h:35:12: note: 'UIGestureRecognizer' has been explicitly marked unavailable here
@interface UIGestureRecognizer : NSObject
^
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/MediaViewerViewController.swift:914:67: error: 'UIGestureRecognizer' is unavailable in watchOS
shouldRecognizeSimultaneouslyWith otherGestureRecognizer: UIGestureRecognizer
^~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGestureRecognizer.h:35:12: note: 'UIGestureRecognizer' has been explicitly marked unavailable here
@interface UIGestureRecognizer : NSObject
^
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/MediaViewerViewController.swift:910:38: error: 'UIGestureRecognizerDelegate' is unavailable in watchOS
extension MediaViewerViewController: UIGestureRecognizerDelegate {
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGestureRecognizer.h:91:11: note: 'UIGestureRecognizerDelegate' has been explicitly marked unavailable here
@protocol UIGestureRecognizerDelegate <NSObject>
^
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/MediaViewerViewController.swift:959:42: error: 'UIView' is unavailable in watchOS
var subviewsToFadeDuringTransition: [UIView] {
^~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:148:12: note: 'UIView' has been explicitly marked unavailable here
@interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
^
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/MediaViewerViewController.swift:970:60: error: 'UIImageView' is unavailable in watchOS
func insertImageViewForTransition(_ animatedImageView: UIImageView) {
^~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImageView.h:21:12: note: 'UIImageView' has been explicitly marked unavailable here
@interface UIImageView : UIView
^
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/MediaViewerViewModel.swift:50:10: error: 'UIPageViewController' is unavailable in watchOS
) -> UIPageViewController.NavigationDirection {
^~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPageViewController.h:51:12: note: 'UIPageViewController' has been explicitly marked unavailable here
@interface UIPageViewController : UIViewController {
^
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/MediaViewerViewModel.swift:63:24: error: 'UIPageViewController' is unavailable in watchOS
let direction: UIPageViewController.NavigationDirection?
^~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPageViewController.h:51:12: note: 'UIPageViewController' has been explicitly marked unavailable here
@interface UIPageViewController : UIViewController {
^
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/PageControlBar/MediaViewerPageControlBar.swift:115:35: error: cannot specialize non-generic type 'UICollectionViewDiffableDataSource'
lazy var diffableDataSource = UICollectionViewDiffableDataSource<Int, AnyMediaIdentifier>(
^ ~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/PageControlBar/MediaViewerPageControlBar.swift:117:21: error: cannot infer type of closure parameter 'collectionView' without a type annotation
) { [weak self] collectionView, indexPath, mediaIdentifier in
^
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/PageControlBar/MediaViewerPageControlBar.swift:117:37: error: cannot infer type of closure parameter 'indexPath' without a type annotation
) { [weak self] collectionView, indexPath, mediaIdentifier in
^
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/PageControlBar/MediaViewerPageControlBar.swift:117:48: error: cannot infer type of closure parameter 'mediaIdentifier' without a type annotation
) { [weak self] collectionView, indexPath, mediaIdentifier in
^
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/PageControlBar/MediaViewerPageControlBar.swift:118:38: error: 'nil' requires a contextual type
guard let self else { return nil }
^
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/PageControlBar/MediaViewerPageControlBar.swift:39:41: error: 'UICollectionViewTransitionLayout' is unavailable in watchOS
case transitioningInteractively(UICollectionViewTransitionLayout, forwards: Bool)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionViewTransitionLayout.h:15:12: note: 'UICollectionViewTransitionLayout' has been explicitly marked unavailable here
@interface UICollectionViewTransitionLayout : UICollectionViewLayout
^
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/PageControlBar/MediaViewerPageControlBar.swift:54:25: error: 'UICollectionViewTransitionLayout' is unavailable in watchOS
case transition(UICollectionViewTransitionLayout)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionViewTransitionLayout.h:15:12: note: 'UICollectionViewTransitionLayout' has been explicitly marked unavailable here
@interface UICollectionViewTransitionLayout : UICollectionViewLayout
^
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/PageControlBar/MediaViewerPageControlBar.swift:57:42: error: 'UICollectionView' is unavailable in watchOS
private typealias CellRegistration = UICollectionView.CellRegistration<
^~~~~~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionView.h:362:12: note: 'UICollectionView' has been explicitly marked unavailable here
@interface UICollectionView : UIScrollView <UIDataSourceTranslating>
^
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/PageControlBar/MediaViewerPageControlBar.swift:107:38: error: 'UICollectionView' is unavailable in watchOS
private lazy var collectionView: UICollectionView = {
^~~~~~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionView.h:362:12: note: 'UICollectionView' has been explicitly marked unavailable here
@interface UICollectionView : UIScrollView <UIDataSourceTranslating>
^
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/PageControlBar/MediaViewerPageControlBar.swift:109:30: error: 'UICollectionView' is unavailable in watchOS
let collectionView = UICollectionView(frame: .zero, collectionViewLayout: layout)
^~~~~~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionView.h:362:12: note: 'UICollectionView' has been explicitly marked unavailable here
@interface UICollectionView : UIScrollView <UIDataSourceTranslating>
^
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/PageControlBar/MediaViewerPageControlBar.swift:25:40: error: 'UIView' is unavailable in watchOS
final class MediaViewerPageControlBar: UIView {
^~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:148:12: note: 'UIView' has been explicitly marked unavailable here
@interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
^
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/PageControlBar/MediaViewerPageControlBar.swift:520:43: error: 'UICollectionView' is unavailable in watchOS
func collectionView(_ collectionView: UICollectionView, didSelectItemAt indexPath: IndexPath) {
^~~~~~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionView.h:362:12: note: 'UICollectionView' has been explicitly marked unavailable here
@interface UICollectionView : UIScrollView <UIDataSourceTranslating>
^
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/PageControlBar/MediaViewerPageControlBar.swift:536:52: error: 'UIScrollView' is unavailable in watchOS
func scrollViewWillBeginDragging(_ scrollView: UIScrollView) {
^~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScrollView.h:87:12: note: 'UIScrollView' has been explicitly marked unavailable here
@interface UIScrollView : UIView <NSCoding, UIFocusItemScrollableContainer>
^
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/PageControlBar/MediaViewerPageControlBar.swift:540:44: error: 'UIScrollView' is unavailable in watchOS
func scrollViewDidScroll(_ scrollView: UIScrollView) {
^~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScrollView.h:87:12: note: 'UIScrollView' has been explicitly marked unavailable here
@interface UIScrollView : UIView <NSCoding, UIFocusItemScrollableContainer>
^
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/PageControlBar/MediaViewerPageControlBar.swift:575:23: error: 'UIScrollView' is unavailable in watchOS
_ scrollView: UIScrollView,
^~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScrollView.h:87:12: note: 'UIScrollView' has been explicitly marked unavailable here
@interface UIScrollView : UIView <NSCoding, UIFocusItemScrollableContainer>
^
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/PageControlBar/MediaViewerPageControlBar.swift:589:49: error: 'UIScrollView' is unavailable in watchOS
func scrollViewDidEndDragging(_ scrollView: UIScrollView, willDecelerate decelerate: Bool) {
^~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScrollView.h:87:12: note: 'UIScrollView' has been explicitly marked unavailable here
@interface UIScrollView : UIView <NSCoding, UIFocusItemScrollableContainer>
^
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/PageControlBar/MediaViewerPageControlBar.swift:607:53: error: 'UIScrollView' is unavailable in watchOS
func scrollViewDidEndDecelerating(_ scrollView: UIScrollView) {
^~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScrollView.h:87:12: note: 'UIScrollView' has been explicitly marked unavailable here
@interface UIScrollView : UIView <NSCoding, UIFocusItemScrollableContainer>
^
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/PageControlBar/MediaViewerPageControlBar.swift:518:38: error: 'UICollectionViewDelegate' is unavailable in watchOS
extension MediaViewerPageControlBar: UICollectionViewDelegate {
^~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionView.h:114:11: note: 'UICollectionViewDelegate' has been explicitly marked unavailable here
@protocol UICollectionViewDelegate <UIScrollViewDelegate>
^
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/PageControlBar/MediaViewerPageControlBarLayout.swift:34:51: error: 'UICollectionViewLayoutAttributes' is unavailable in watchOS
private var attributesDictionary: [IndexPath: UICollectionViewLayoutAttributes] = [:]
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionViewLayout.h:43:12: note: 'UICollectionViewLayoutAttributes' has been explicitly marked unavailable here
@interface UICollectionViewLayoutAttributes : NSObject <NSCopying, UIDynamicItem>
^
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/PageControlBar/MediaViewerPageControlBarLayout.swift:121:56: error: 'UICollectionView' is unavailable in watchOS
private func expandingItemWidth(in collectionView: UICollectionView) -> CGFloat {
^~~~~~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionView.h:362:12: note: 'UICollectionView' has been explicitly marked unavailable here
@interface UICollectionView : UIScrollView <UIDataSourceTranslating>
^
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/PageControlBar/MediaViewerPageControlBarLayout.swift:153:68: error: 'UICollectionViewLayoutAttributes' is unavailable in watchOS
override func layoutAttributesForElements(in rect: CGRect) -> [UICollectionViewLayoutAttributes]? {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionViewLayout.h:43:12: note: 'UICollectionViewLayoutAttributes' has been explicitly marked unavailable here
@interface UICollectionViewLayoutAttributes : NSObject <NSCopying, UIDynamicItem>
^
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/PageControlBar/MediaViewerPageControlBarLayout.swift:157:71: error: 'UICollectionViewLayoutAttributes' is unavailable in watchOS
override func layoutAttributesForItem(at indexPath: IndexPath) -> UICollectionViewLayoutAttributes? {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionViewLayout.h:43:12: note: 'UICollectionViewLayoutAttributes' has been explicitly marked unavailable here
@interface UICollectionViewLayoutAttributes : NSObject <NSCopying, UIDynamicItem>
^
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/PageControlBar/MediaViewerPageControlBarLayout.swift:10:46: error: 'UICollectionViewLayout' is unavailable in watchOS
final class MediaViewerPageControlBarLayout: UICollectionViewLayout {
^~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionViewLayout.h:89:12: note: 'UICollectionViewLayout' has been explicitly marked unavailable here
@interface UICollectionViewLayout : NSObject <NSCoding>
^
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/PageControlBar/PageControlBarThumbnailCell.swift:12:20: error: 'UIImageView' is unavailable in watchOS
let imageView: UIImageView = {
^~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImageView.h:21:12: note: 'UIImageView' has been explicitly marked unavailable here
@interface UIImageView : UIView
^
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/PageControlBar/PageControlBarThumbnailCell.swift:13:25: error: 'UIImageView' is unavailable in watchOS
let imageView = UIImageView()
^~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImageView.h:21:12: note: 'UIImageView' has been explicitly marked unavailable here
@interface UIImageView : UIView
^
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/PageControlBar/PageControlBarThumbnailCell.swift:13:25: error: 'init()' is unavailable in watchOS
let imageView = UIImageView()
^~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:154:1: note: 'init()' has been explicitly marked unavailable here
- (instancetype)init API_AVAILABLE(ios(2.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
^
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/PageControlBar/PageControlBarThumbnailCell.swift:10:42: error: 'UICollectionViewCell' is unavailable in watchOS
final class PageControlBarThumbnailCell: UICollectionViewCell {
^~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionViewCell.h:65:12: note: 'UICollectionViewCell' has been explicitly marked unavailable here
@interface UICollectionViewCell : UICollectionReusableView
^
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/Transitions/MediaViewerInteractivePopTransition.swift:13:21: error: 'UIView' is unavailable in watchOS
let sourceView: UIView?
^~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:148:12: note: 'UIView' has been explicitly marked unavailable here
@interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
^
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/Transitions/MediaViewerInteractivePopTransition.swift:15:27: error: 'UIViewPropertyAnimator' is unavailable in watchOS
private var animator: UIViewPropertyAnimator?
^~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewPropertyAnimator.h:17:12: note: 'UIViewPropertyAnimator' has been explicitly marked unavailable here
@interface UIViewPropertyAnimator : NSObject <UIViewImplicitlyAnimating, NSCopying>
^
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/Transitions/MediaViewerInteractivePopTransition.swift:16:41: error: 'UIViewControllerContextTransitioning' is unavailable in watchOS
private var transitionContext: (any UIViewControllerContextTransitioning)?
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewControllerTransitioning.h:68:11: note: 'UIViewControllerContextTransitioning' has been explicitly marked unavailable here
@protocol UIViewControllerContextTransitioning <NSObject>
^
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/Transitions/MediaViewerInteractivePopTransition.swift:20:25: error: 'UITabBar' is unavailable in watchOS
private var tabBar: UITabBar? {
^~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITabBar.h:28:12: note: 'UITabBar' has been explicitly marked unavailable here
@interface UITabBar : UIView
^
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/Transitions/MediaViewerInteractivePopTransition.swift:38:51: error: 'UITabBarAppearance' is unavailable in watchOS
private var tabBarScrollEdgeAppearanceBackup: UITabBarAppearance?
^~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITabBarAppearance.h:80:12: note: 'UITabBarAppearance' has been explicitly marked unavailable here
@interface UITabBarAppearance : UIBarAppearance
^
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/Transitions/MediaViewerInteractivePopTransition.swift:42:42: error: 'UIBarButtonItem' is unavailable in watchOS
private var toVCToolbarItemsBackup: [UIBarButtonItem]?
^~~~~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIBarButtonItem.h:69:12: note: 'UIBarButtonItem' has been explicitly marked unavailable here
@interface UIBarButtonItem : UIBarItem <NSCoding>
^
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/Transitions/MediaViewerInteractivePopTransition.swift:52:22: error: 'UIView' is unavailable in watchOS
init(sourceView: UIView?) {
^~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:148:12: note: 'UIView' has been explicitly marked unavailable here
@interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
^
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/Transitions/MediaViewerInteractivePopTransition.swift:92:34: error: 'UIViewControllerContextTransitioning' is unavailable in watchOS
_ transitionContext: any UIViewControllerContextTransitioning
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewControllerTransitioning.h:68:11: note: 'UIViewControllerContextTransitioning' has been explicitly marked unavailable here
@protocol UIViewControllerContextTransitioning <NSObject>
^
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/Transitions/MediaViewerInteractivePopTransition.swift:432:36: error: 'UIViewControllerContextTransitioning' is unavailable in watchOS
in transitionContext: some UIViewControllerContextTransitioning
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewControllerTransitioning.h:68:11: note: 'UIViewControllerContextTransitioning' has been explicitly marked unavailable here
@protocol UIViewControllerContextTransitioning <NSObject>
^
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/Transitions/MediaViewerInteractivePopTransition.swift:432:36: error: 'UIViewControllerContextTransitioning' is unavailable in watchOS
in transitionContext: some UIViewControllerContextTransitioning
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewControllerTransitioning.h:68:11: note: 'UIViewControllerContextTransitioning' has been explicitly marked unavailable here
@protocol UIViewControllerContextTransitioning <NSObject>
^
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/Transitions/MediaViewerInteractivePopTransition.swift:443:24: error: 'UIPanGestureRecognizer' is unavailable in watchOS
by recognizer: UIPanGestureRecognizer,
^~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPanGestureRecognizer.h:31:12: note: 'UIPanGestureRecognizer' has been explicitly marked unavailable here
@interface UIPanGestureRecognizer : UIGestureRecognizer
^
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/Transitions/MediaViewerInteractivePopTransition.swift:58:48: error: 'UIViewControllerInteractiveTransitioning' is unavailable in watchOS
extension MediaViewerInteractivePopTransition: UIViewControllerInteractiveTransitioning {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewControllerTransitioning.h:161:11: note: 'UIViewControllerInteractiveTransitioning' has been explicitly marked unavailable here
@protocol UIViewControllerInteractiveTransitioning <NSObject>
^
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/Transitions/MediaViewerTransition.swift:13:28: error: 'UINavigationController' is unavailable in watchOS
private let operation: UINavigationController.Operation
^~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINavigationController.h:46:12: note: 'UINavigationController' has been explicitly marked unavailable here
@interface UINavigationController : UIViewController
^
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/Transitions/MediaViewerTransition.swift:14:29: error: 'UIView' is unavailable in watchOS
private let sourceView: UIView?
^~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:148:12: note: 'UIView' has been explicitly marked unavailable here
@interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
^
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/Transitions/MediaViewerTransition.swift:20:20: error: 'UINavigationController' is unavailable in watchOS
operation: UINavigationController.Operation,
^~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINavigationController.h:46:12: note: 'UINavigationController' has been explicitly marked unavailable here
@interface UINavigationController : UIViewController
^
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/Transitions/MediaViewerTransition.swift:21:21: error: 'UIView' is unavailable in watchOS
sourceView: UIView?,
^~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:148:12: note: 'UIView' has been explicitly marked unavailable here
@interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
^
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/Transitions/MediaViewerTransition.swift:32:39: error: 'UIViewControllerContextTransitioning' is unavailable in watchOS
using transitionContext: (any UIViewControllerContextTransitioning)?
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewControllerTransitioning.h:68:11: note: 'UIViewControllerContextTransitioning' has been explicitly marked unavailable here
@protocol UIViewControllerContextTransitioning <NSObject>
^
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/Transitions/MediaViewerTransition.swift:47:38: error: 'UIViewControllerContextTransitioning' is unavailable in watchOS
using transitionContext: any UIViewControllerContextTransitioning
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewControllerTransitioning.h:68:11: note: 'UIViewControllerContextTransitioning' has been explicitly marked unavailable here
@protocol UIViewControllerContextTransitioning <NSObject>
^
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/Transitions/MediaViewerTransition.swift:62:39: error: 'UIViewControllerContextTransitioning' is unavailable in watchOS
using transitionContext: some UIViewControllerContextTransitioning
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewControllerTransitioning.h:68:11: note: 'UIViewControllerContextTransitioning' has been explicitly marked unavailable here
@protocol UIViewControllerContextTransitioning <NSObject>
^
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/Transitions/MediaViewerTransition.swift:62:39: error: 'UIViewControllerContextTransitioning' is unavailable in watchOS
using transitionContext: some UIViewControllerContextTransitioning
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewControllerTransitioning.h:68:11: note: 'UIViewControllerContextTransitioning' has been explicitly marked unavailable here
@protocol UIViewControllerContextTransitioning <NSObject>
^
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/Transitions/MediaViewerTransition.swift:236:39: error: 'UIViewControllerContextTransitioning' is unavailable in watchOS
using transitionContext: some UIViewControllerContextTransitioning
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewControllerTransitioning.h:68:11: note: 'UIViewControllerContextTransitioning' has been explicitly marked unavailable here
@protocol UIViewControllerContextTransitioning <NSObject>
^
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/Transitions/MediaViewerTransition.swift:236:39: error: 'UIViewControllerContextTransitioning' is unavailable in watchOS
using transitionContext: some UIViewControllerContextTransitioning
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewControllerTransitioning.h:68:11: note: 'UIViewControllerContextTransitioning' has been explicitly marked unavailable here
@protocol UIViewControllerContextTransitioning <NSObject>
^
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/Transitions/MediaViewerTransition.swift:11:46: error: 'UIViewControllerAnimatedTransitioning' is unavailable in watchOS
final class MediaViewerTransition: NSObject, UIViewControllerAnimatedTransitioning {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewControllerTransitioning.h:137:11: note: 'UIViewControllerAnimatedTransitioning' has been explicitly marked unavailable here
@protocol UIViewControllerAnimatedTransitioning <NSObject>
^
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/Transitions/UIViewTransitioningConfiguration.swift:15:22: error: 'UIView' is unavailable in watchOS
var contentMode: UIView.ContentMode
^~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:148:12: note: 'UIView' has been explicitly marked unavailable here
@interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
^
/Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/Transitions/UIViewTransitioningConfiguration.swift:22:11: error: 'UIView' is unavailable in watchOS
extension UIView {
^~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:148:12: note: 'UIView' has been explicitly marked unavailable here
@interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
^
SwiftCompile normal arm64 Compiling\ MediaViewerPageControlBar.swift,\ MediaViewerPageControlBarLayout.swift /Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/PageControlBar/MediaViewerPageControlBar.swift /Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/PageControlBar/MediaViewerPageControlBarLayout.swift (in target 'MediaViewer' from project 'MediaViewer')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/PageControlBar/MediaViewerPageControlBar.swift (in target 'MediaViewer' from project 'MediaViewer')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/MediaViewer/PageControlBar/MediaViewerPageControlBarLayout.swift (in target 'MediaViewer' from project 'MediaViewer')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftEmitModule normal arm64_32 Emitting\ module\ for\ MediaViewer (in target 'MediaViewer' from project 'MediaViewer')
2026-04-14 03:10:54.818 xcodebuild[772:4496] [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\ MediaViewer (in target 'MediaViewer' from project 'MediaViewer')
EmitSwiftModule normal arm64 (in target 'MediaViewer' from project 'MediaViewer')
Building workspace spi-builder-workspace with scheme MediaViewer
(3 failures)
BUILD FAILURE 6.3 watchOS