Build Information
Failed to build LNPreviewToContextMenu, reference master (afaac2), with Swift 6.3 for watchOS using Xcode 26.4 on 12 Apr 2026 11:16:46 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme LNPreviewToContextMenu-Package -destination generic/platform=watchOSBuild Log
cd /
builtin-precompileModule /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules/Security-EFRQLM6I4BZXZKZBM4IG237T0.scan
PrecompileModule /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules/CoreGraphics-6IUNDLJIBTJCKPH8OJ3V2USQ4.scan
cd /
builtin-precompileModule /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules/CoreGraphics-6IUNDLJIBTJCKPH8OJ3V2USQ4.scan
PrecompileModule /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules/Security-1ZQAJNM47LW7JN0K2UNFSCHTK.scan
cd /
builtin-precompileModule /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules/Security-1ZQAJNM47LW7JN0K2UNFSCHTK.scan
PrecompileModule /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules/CoreGraphics-6XTO1KGA8SKYJPIM5I9QE4Q3Z.scan
cd /
builtin-precompileModule /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules/CoreGraphics-6XTO1KGA8SKYJPIM5I9QE4Q3Z.scan
PrecompileModule /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules/Foundation-CQAHF3L76GIJ481XTIFDL7FB0.scan
cd /
builtin-precompileModule /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules/Foundation-CQAHF3L76GIJ481XTIFDL7FB0.scan
PrecompileModule /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules/Foundation-4PGWM8RB34PHCIXSQT8AP4H20.scan
cd /
builtin-precompileModule /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules/Foundation-4PGWM8RB34PHCIXSQT8AP4H20.scan
PrecompileModule /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules/Foundation-6E9KTS7OGY99C99GNEMPMH1NU.scan
cd /
builtin-precompileModule /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules/Foundation-6E9KTS7OGY99C99GNEMPMH1NU.scan
PrecompileModule /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules/CoreVideo-7MDVG3R4FRIMDZMD94N13H74W.scan
cd /
builtin-precompileModule /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules/CoreVideo-7MDVG3R4FRIMDZMD94N13H74W.scan
PrecompileModule /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules/CoreText-3145K82F5W9VB4YNGC59U3MRD.scan
cd /
builtin-precompileModule /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules/CoreText-3145K82F5W9VB4YNGC59U3MRD.scan
PrecompileModule /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules/CoreVideo-9HRA1H2NM52MG2VL64B8EUOB0.scan
cd /
builtin-precompileModule /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules/CoreVideo-9HRA1H2NM52MG2VL64B8EUOB0.scan
PrecompileModule /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules/CoreVideo-DHWLZGG1IDIOEICQ3Z8JWL9SD.scan
cd /
builtin-precompileModule /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules/CoreVideo-DHWLZGG1IDIOEICQ3Z8JWL9SD.scan
PrecompileModule /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules/CoreText-BPCN9AVGU8NVNHSPT3MJ2EVHP.scan
cd /
builtin-precompileModule /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules/CoreText-BPCN9AVGU8NVNHSPT3MJ2EVHP.scan
PrecompileModule /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules/CoreText-7K0VX3RZJKGOP9EXP4J09T1UQ.scan
cd /
builtin-precompileModule /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules/CoreText-7K0VX3RZJKGOP9EXP4J09T1UQ.scan
PrecompileModule /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules/QuartzCore-5K8NBUF3H2K9WCIZPSMUTMOHE.scan
cd /
builtin-precompileModule /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules/QuartzCore-5K8NBUF3H2K9WCIZPSMUTMOHE.scan
PrecompileModule /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules/UserNotifications-DTQQJSPY4J0C7UA2M93XYKB6Q.scan
cd /
builtin-precompileModule /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules/UserNotifications-DTQQJSPY4J0C7UA2M93XYKB6Q.scan
PrecompileModule /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules/UIUtilities-K7LI6APPAL6VPV41IA7C57CF.scan
cd /
builtin-precompileModule /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules/UIUtilities-K7LI6APPAL6VPV41IA7C57CF.scan
PrecompileModule /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules/Symbols-FKYAQISB895WZ2U3L7VZ7XYD.scan
cd /
builtin-precompileModule /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules/Symbols-FKYAQISB895WZ2U3L7VZ7XYD.scan
PrecompileModule /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules/QuartzCore-9MBEIVNQTWMXI6KBI5KCUDF81.scan
cd /
builtin-precompileModule /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules/QuartzCore-9MBEIVNQTWMXI6KBI5KCUDF81.scan
PrecompileModule /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules/Symbols-9F8CB40ER9OC2F3PY7QL2BBLO.scan
cd /
builtin-precompileModule /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules/Symbols-9F8CB40ER9OC2F3PY7QL2BBLO.scan
PrecompileModule /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules/QuartzCore-5KH52H27HN25GHSRN9HB43B32.scan
cd /
builtin-precompileModule /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules/QuartzCore-5KH52H27HN25GHSRN9HB43B32.scan
PrecompileModule /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules/UIUtilities-BS8MT6FOU1RSJCDTAQBZWJHT1.scan
cd /
builtin-precompileModule /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules/UIUtilities-BS8MT6FOU1RSJCDTAQBZWJHT1.scan
PrecompileModule /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules/UIUtilities-A6PSIGSD76MCJ1VWZ6PDTIGSG.scan
cd /
builtin-precompileModule /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules/UIUtilities-A6PSIGSD76MCJ1VWZ6PDTIGSG.scan
PrecompileModule /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules/UserNotifications-CRT5U5IS50LA3AWTRNI5CY67E.scan
cd /
builtin-precompileModule /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules/UserNotifications-CRT5U5IS50LA3AWTRNI5CY67E.scan
PrecompileModule /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules/UserNotifications-1N4CQ755SSWLDM265A6PLSC8X.scan
cd /
builtin-precompileModule /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules/UserNotifications-1N4CQ755SSWLDM265A6PLSC8X.scan
PrecompileModule /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules/Symbols-A98J09OKKQOARKGED4C67MPYE.scan
cd /
builtin-precompileModule /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules/Symbols-A98J09OKKQOARKGED4C67MPYE.scan
PrecompileModule /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules/UIKit-U7IASY84L26GNFWJKNLJHEOK.scan
cd /
builtin-precompileModule /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules/UIKit-U7IASY84L26GNFWJKNLJHEOK.scan
PrecompileModule /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules/UIKit-DHFB7IRGGV7TP29FWQQVZL330.scan
cd /
builtin-precompileModule /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules/UIKit-DHFB7IRGGV7TP29FWQQVZL330.scan
PrecompileModule /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules/UIKit-8XCTWS5Y4Y8S0KB7HVBSB7SUJ.scan
cd /
builtin-precompileModule /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules/UIKit-8XCTWS5Y4Y8S0KB7HVBSB7SUJ.scan
CompileC /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LNPreviewToContextMenu.build/Debug-watchos/LNPreviewToContextMenu.build/Objects-normal/armv7k/UIViewController+UIPreviewContextCompat.o /Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m normal armv7k objective-c com.apple.compilers.llvm.clang.1_0.compiler (in target 'LNPreviewToContextMenu' from project 'LNPreviewToContextMenu')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
Using response file: /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LNPreviewToContextMenu.build/Debug-watchos/LNPreviewToContextMenu.build/Objects-normal/armv7k/e6072d4f65d7061329687fe24e3d63a7-common-args.resp
/Applications/Xcode-26.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x objective-c -ivfsstatcache /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos26.4-23T238-688ef53f1462e2c8f657fdc38a81448f9e51884a582f42380855760c9d4cc599.sdkstatcache -target armv7k-apple-watchos5.0 -fmessage-length\=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit\=0 -fno-color-diagnostics -fmodules-prune-interval\=86400 -fmodules-prune-after\=345600 -fbuild-session-file\=/Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -fmodules-validate-once-per-build-session -Wnon-modular-include-in-framework-module -Werror\=non-modular-include-in-framework-module -Wno-trigraphs -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-return-type -Wno-implicit-atomic-properties -Wno-objc-interface-ivars -Wno-arc-repeated-use-of-weak -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-bool-conversion -Wno-enum-conversion -Wno-float-conversion -Wno-non-literal-null-conversion -Wno-objc-literal-conversion -Wno-shorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-selector -Wno-strict-selector-match -Wno-undeclared-selector -Wno-deprecated-implementations -Wno-implicit-fallthrough -isysroot /Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk -fstrict-aliasing -Wprotocol -Wdeprecated-declarations -Wno-sign-conversion -Wno-infinite-recursion -Wno-comma -Wno-block-capture-autoreleasing -Wno-strict-prototypes -Wno-semicolon-before-method-body -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LNPreviewToContextMenu.build/Debug-watchos/LNPreviewToContextMenu.build/Objects-normal/armv7k/e6072d4f65d7061329687fe24e3d63a7-common-args.resp -MMD -MT dependencies -MF /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LNPreviewToContextMenu.build/Debug-watchos/LNPreviewToContextMenu.build/Objects-normal/armv7k/UIViewController+UIPreviewContextCompat.d --serialize-diagnostics /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LNPreviewToContextMenu.build/Debug-watchos/LNPreviewToContextMenu.build/Objects-normal/armv7k/UIViewController+UIPreviewContextCompat.dia -c /Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LNPreviewToContextMenu.build/Debug-watchos/LNPreviewToContextMenu.build/Objects-normal/armv7k/UIViewController+UIPreviewContextCompat.o -index-unit-output-path /LNPreviewToContextMenu.build/Debug-watchos/LNPreviewToContextMenu.build/Objects-normal/armv7k/UIViewController+UIPreviewContextCompat.o
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:21:55: error: 'UIViewControllerPreviewing' is unavailable: not available on watchOS
21 | @interface _LNPreviewContextCompatSupport : NSObject <UIViewControllerPreviewing>
| ^
In module 'UIKit' imported from /Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:12:
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:619:11: note: 'UIViewControllerPreviewing' has been explicitly marked unavailable here
619 | @protocol UIViewControllerPreviewing <NSObject>
| ^
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:23:31: error: 'UIGestureRecognizer' is unavailable: not available on watchOS
23 | @property (nonatomic, strong) UIGestureRecognizer *previewingGestureRecognizerForFailureRelationship;
| ^
In module 'UIKit' imported from /Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:12:
/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
35 | @interface UIGestureRecognizer : NSObject
| ^
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:24:32: error: 'UIViewControllerPreviewingDelegate' is unavailable: not available on watchOS
24 | @property (nonatomic, weak) id<UIViewControllerPreviewingDelegate> delegate;
| ^
In module 'UIKit' imported from /Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:12:
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:636:11: note: 'UIViewControllerPreviewingDelegate' has been explicitly marked unavailable here
636 | @protocol UIViewControllerPreviewingDelegate <NSObject>
| ^
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:25:31: error: 'UIView' is unavailable: not available on watchOS
25 | @property (nonatomic, strong) UIView *sourceView;
| ^
In module 'UIKit' imported from /Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:12:
/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
148 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| ^
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:43:60: error: 'UIContextMenuInteraction' is unavailable: not available on watchOS
43 | @interface _LNPreviewContextCompatContextMenuInteraction : UIContextMenuInteraction <UIContextMenuInteractionDelegate>
| ^
In module 'UIKit' imported from /Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:12:
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIContextMenuInteraction.h:32:12: note: 'UIContextMenuInteraction' has been explicitly marked unavailable here
32 | @interface UIContextMenuInteraction : NSObject <UIInteraction>
| ^
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:43:86: error: 'UIContextMenuInteractionDelegate' is unavailable: not available on watchOS
43 | @interface _LNPreviewContextCompatContextMenuInteraction : UIContextMenuInteraction <UIContextMenuInteractionDelegate>
| ^
In module 'UIKit' imported from /Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:12:
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIContextMenuInteraction.h:99:11: note: 'UIContextMenuInteractionDelegate' has been explicitly marked unavailable here
99 | @protocol UIContextMenuInteractionDelegate <NSObject>
| ^
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:47:31: error: 'UIViewController' is unavailable: not available on watchOS
47 | @property (nonatomic, strong) UIViewController* previewViewController;
| ^
In module 'UIKit' imported from /Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:12:
/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
102 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| ^
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:48:31: error: 'UIView' is unavailable: not available on watchOS
48 | @property (nonatomic, strong) UIView* snapshotForTargetedPreview;
| ^
In module 'UIKit' imported from /Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:12:
/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
148 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| ^
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:59:4: error: 'UIMenuElement' is unavailable: not available on watchOS
59 | - (UIMenuElement*)_menuElementForPreviewActionItem:(NSObject<UIPreviewActionItem>*)previewActionItem
| ^
In module 'UIKit' imported from /Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:12:
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenuElement.h:44:12: note: 'UIMenuElement' has been explicitly marked unavailable here
44 | @interface UIMenuElement : NSObject <NSCopying, NSSecureCoding>
| ^
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:59:62: error: 'UIPreviewActionItem' is unavailable: not available on watchOS
59 | - (UIMenuElement*)_menuElementForPreviewActionItem:(NSObject<UIPreviewActionItem>*)previewActionItem
| ^
In module 'UIKit' imported from /Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:12:
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:774:11: note: 'UIPreviewActionItem' has been explicitly marked unavailable here
774 | @protocol UIPreviewActionItem <NSObject>
| ^
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:101:4: error: 'UIMenu' is unavailable: not available on watchOS
101 | - (UIMenu*)_menuForPreviewViewController
| ^
In module 'UIKit' imported from /Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:12:
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenu.h:43:12: note: 'UIMenu' has been explicitly marked unavailable here
43 | @interface UIMenu : UIMenuElement
| ^
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:122:13: error: 'UIContextMenuConfiguration' is unavailable: not available on watchOS
122 | - (nullable UIContextMenuConfiguration *)contextMenuInteraction:(UIContextMenuInteraction *)interaction configurationForMenuAtLocation:(CGPoint)location
| ^
In module 'UIKit' imported from /Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:12:
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIContextMenuConfiguration.h:39:12: note: 'UIContextMenuConfiguration' has been explicitly marked unavailable here
39 | @interface UIContextMenuConfiguration : NSObject
| ^
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:122:66: error: 'UIContextMenuInteraction' is unavailable: not available on watchOS
122 | - (nullable UIContextMenuConfiguration *)contextMenuInteraction:(UIContextMenuInteraction *)interaction configurationForMenuAtLocation:(CGPoint)location
| ^
In module 'UIKit' imported from /Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:12:
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIContextMenuInteraction.h:32:12: note: 'UIContextMenuInteraction' has been explicitly marked unavailable here
32 | @interface UIContextMenuInteraction : NSObject <UIInteraction>
| ^
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:139:13: error: 'UITargetedPreview' is unavailable: not available on watchOS
139 | - (nullable UITargetedPreview *)contextMenuInteraction:(UIContextMenuInteraction *)interaction previewForHighlightingMenuWithConfiguration:(UIContextMenuConfiguration *)configuration
| ^
In module 'UIKit' imported from /Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:12:
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITargetedPreview.h:45:12: note: 'UITargetedPreview' has been explicitly marked unavailable here
45 | @interface UITargetedPreview : NSObject <NSCopying>
| ^
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:139:57: error: 'UIContextMenuInteraction' is unavailable: not available on watchOS
139 | - (nullable UITargetedPreview *)contextMenuInteraction:(UIContextMenuInteraction *)interaction previewForHighlightingMenuWithConfiguration:(UIContextMenuConfiguration *)configuration
| ^
In module 'UIKit' imported from /Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:12:
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIContextMenuInteraction.h:32:12: note: 'UIContextMenuInteraction' has been explicitly marked unavailable here
32 | @interface UIContextMenuInteraction : NSObject <UIInteraction>
| ^
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:139:141: error: 'UIContextMenuConfiguration' is unavailable: not available on watchOS
139 | - (nullable UITargetedPreview *)contextMenuInteraction:(UIContextMenuInteraction *)interaction previewForHighlightingMenuWithConfiguration:(UIContextMenuConfiguration *)configuration
| ^
In module 'UIKit' imported from /Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:12:
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIContextMenuConfiguration.h:39:12: note: 'UIContextMenuConfiguration' has been explicitly marked unavailable here
39 | @interface UIContextMenuConfiguration : NSObject
| ^
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:178:33: error: 'UIContextMenuInteraction' is unavailable: not available on watchOS
178 | - (void)contextMenuInteraction:(UIContextMenuInteraction *)interaction willPerformPreviewActionForMenuWithConfiguration:(UIContextMenuConfiguration *)configuration animator:(id<UIContextMenuInteractionCommitAnimating>)animator
| ^
In module 'UIKit' imported from /Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:12:
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIContextMenuInteraction.h:32:12: note: 'UIContextMenuInteraction' has been explicitly marked unavailable here
32 | @interface UIContextMenuInteraction : NSObject <UIInteraction>
| ^
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:178:122: error: 'UIContextMenuConfiguration' is unavailable: not available on watchOS
178 | - (void)contextMenuInteraction:(UIContextMenuInteraction *)interaction willPerformPreviewActionForMenuWithConfiguration:(UIContextMenuConfiguration *)configuration animator:(id<UIContextMenuInteractionCommitAnimating>)animator
| ^
In module 'UIKit' imported from /Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:12:
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIContextMenuConfiguration.h:39:12: note: 'UIContextMenuConfiguration' has been explicitly marked unavailable here
39 | @interface UIContextMenuConfiguration : NSObject
| ^
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:178:178: error: 'UIContextMenuInteractionCommitAnimating' is unavailable: not available on watchOS
178 | - (void)contextMenuInteraction:(UIContextMenuInteraction *)interaction willPerformPreviewActionForMenuWithConfiguration:(UIContextMenuConfiguration *)configuration animator:(id<UIContextMenuInteractionCommitAnimating>)animator
| ^
In module 'UIKit' imported from /Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:12:
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIContextMenuInteraction.h:90:11: note: 'UIContextMenuInteractionCommitAnimating' has been explicitly marked unavailable here
90 | @protocol UIContextMenuInteractionCommitAnimating <UIContextMenuInteractionAnimating>
| ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
Failed frontend command:
/Applications/Xcode-26.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -cc1 -Wundef-prefix\=TARGET_OS_ -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit\=0 -ferror-limit 19 -serialize-diagnostic-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LNPreviewToContextMenu.build/Debug-watchos/LNPreviewToContextMenu.build/Objects-normal/armv7k/UIViewController+UIPreviewContextCompat.dia -Wdeprecated-objc-isa-usage -Werror\=deprecated-objc-isa-usage -Werror\=implicit-function-declaration -Wnon-modular-include-in-framework-module -Werror\=non-modular-include-in-framework-module -Wno-trigraphs -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-return-type -Wno-implicit-atomic-properties -Wno-objc-interface-ivars -Wno-arc-repeated-use-of-weak -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-bool-conversion -Wno-enum-conversion -Wno-float-conversion -Wno-non-literal-null-conversion -Wno-objc-literal-conversion -Wno-shorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-selector -Wno-strict-selector-match -Wno-undeclared-selector -Wno-deprecated-implementations -Wno-implicit-fallthrough -Wprotocol -Wdeprecated-declarations -Wno-sign-conversion -Wno-infinite-recursion -Wno-comma -Wno-block-capture-autoreleasing -Wno-strict-prototypes -Wno-semicolon-before-method-body -Wno-elaborated-enum-base -Wno-error\=allocator-wrappers -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -index-unit-output-path /LNPreviewToContextMenu.build/Debug-watchos/LNPreviewToContextMenu.build/Objects-normal/armv7k/UIViewController+UIPreviewContextCompat.o -fmodule-map-file\=/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/usr/include/ObjectiveC.modulemap -fmodule-map-file\=/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/UIKit.framework/Modules/module.modulemap -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LNPreviewToContextMenu.build/Debug-watchos/LNPreviewToContextMenu.build/Objects-normal/armv7k/UIViewController+UIPreviewContextCompat.o -disable-free -emit-obj -x objective-c /Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m -target-abi aapcs16 -target-cpu cortex-a7 -target-feature +read-tp-tpidruro -target-feature +vfp2 -target-feature +vfp2sp -target-feature +vfp3 -target-feature +vfp3d16 -target-feature +vfp3d16sp -target-feature +vfp3sp -target-feature +fp16 -target-feature +vfp4 -target-feature +vfp4d16 -target-feature +vfp4d16sp -target-feature +vfp4sp -target-feature -fp-armv8 -target-feature -fp-armv8d16 -target-feature -fp-armv8d16sp -target-feature -fp-armv8sp -target-feature -fullfp16 -target-feature +fp64 -target-feature +d32 -target-feature +neon -target-feature -sha2 -target-feature -aes -target-feature -fp16fml -triple thumbv7k-apple-watchos5.0.0 -target-linker-version 1266.8 -target-sdk-version\=26.4 -fmodules-validate-system-headers -fno-modulemap-allow-subdirectory-search -isysroot /Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk -resource-dir /Applications/Xcode-26.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/21 -fmodule-format\=obj -fmodule-file\=ObjectiveC\=/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules/ObjectiveC-9RV2BTAI3862NCX3GZ3KA2F9Y.pcm -fmodule-file\=UIKit\=/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules/UIKit-U7IASY84L26GNFWJKNLJHEOK.pcm -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/include -I /Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/include -I /Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LNPreviewToContextMenu.build/Debug-watchos/LNPreviewToContextMenu.build/DerivedSources-normal/armv7k -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LNPreviewToContextMenu.build/Debug-watchos/LNPreviewToContextMenu.build/DerivedSources/armv7k -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LNPreviewToContextMenu.build/Debug-watchos/LNPreviewToContextMenu.build/DerivedSources -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -iframework /Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -iframework /Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/Developer/Library/Frameworks -internal-isystem /Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/usr/local/include -internal-isystem /Applications/Xcode-26.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/21/include -internal-externc-isystem /Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/usr/include -internal-externc-isystem /Applications/Xcode-26.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include -internal-iframework /Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks -internal-iframework /Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/SubFrameworks -internal-iframework /Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/Library/Frameworks -ivfsstatcache /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos26.4-23T238-688ef53f1462e2c8f657fdc38a81448f9e51884a582f42380855760c9d4cc599.sdkstatcache -std\=gnu11 -fexceptions -exception-model dwarf -fskip-odr-check-in-gmf -fmodules -fmodule-name\=LNPreviewToContextMenu -fno-implicit-modules -fobjc-exceptions -fmax-type-align\=16 -fpascal-strings -fvisibility-inlines-hidden-static-local-var -mdarwin-stkchk-strong-link -fno-odr-hash-protocols -pic-level 2 -fencode-extended-block-signature -stack-protector 1 -fobjc-runtime\=watchos-5.0.0 -fobjc-arc -fobjc-runtime-has-weak -fobjc-weak -fgnuc-version\=4.2.1 -fblocks -fno-convergent-functions -ffp-contract\=on -fclang-abi-compat\=4.0 -fno-experimental-relative-c++-abi-vtables -fno-file-reproducible -clang-vendor-feature\=+disableNonDependentMemberExprInCurrentInstantiation -clang-vendor-feature\=+enableAggressiveVLAFolding -clang-vendor-feature\=+revert09abecef7bbf -clang-vendor-feature\=+thisNoAlignAttr -clang-vendor-feature\=+thisNoNullAttr -clang-vendor-feature\=+disableAtImportPrivateFrameworkInImplementationError -O0 -fno-assume-unique-vtables -fdebug-compilation-dir\=/Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -fcoverage-compilation-dir\=/Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -fcommon -fdwarf2-cfi-asm -fregister-global-dtors-with-atexit -fno-strict-return -dwarf-version\=4 -debugger-tuning\=lldb -disable-llvm-verifier -dwarf-ext-refs -mfloat-abi hard -funwind-tables\=2 -clear-ast-before-backend -discard-value-names -main-file-name UIViewController+UIPreviewContextCompat.m -mframe-pointer\=non-leaf -debug-info-kind\=standalone -fno-loop-interchange -fdiagnostics-hotness-threshold\=0 -fdiagnostics-misexpect-tolerance\=0 -D DEBUG\=1 -D OBJC_OLD_DISPATCH_PROTOTYPES\=1 -D SWIFT_PACKAGE -D Xcode -fdefine-target-os-macros -MT dependencies -dependency-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LNPreviewToContextMenu.build/Debug-watchos/LNPreviewToContextMenu.build/Objects-normal/armv7k/UIViewController+UIPreviewContextCompat.d -skip-unused-modulemap-deps
CompileC /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LNPreviewToContextMenu.build/Debug-watchos/LNPreviewToContextMenu.build/Objects-normal/arm64_32/UIViewController+UIPreviewContextCompat.o /Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m normal arm64_32 objective-c com.apple.compilers.llvm.clang.1_0.compiler (in target 'LNPreviewToContextMenu' from project 'LNPreviewToContextMenu')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
Using response file: /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LNPreviewToContextMenu.build/Debug-watchos/LNPreviewToContextMenu.build/Objects-normal/arm64_32/e6072d4f65d7061329687fe24e3d63a7-common-args.resp
/Applications/Xcode-26.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x objective-c -ivfsstatcache /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos26.4-23T238-688ef53f1462e2c8f657fdc38a81448f9e51884a582f42380855760c9d4cc599.sdkstatcache -target arm64_32-apple-watchos5.0 -fmessage-length\=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit\=0 -fno-color-diagnostics -fmodules-prune-interval\=86400 -fmodules-prune-after\=345600 -fbuild-session-file\=/Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -fmodules-validate-once-per-build-session -Wnon-modular-include-in-framework-module -Werror\=non-modular-include-in-framework-module -Wno-trigraphs -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-return-type -Wno-implicit-atomic-properties -Wno-objc-interface-ivars -Wno-arc-repeated-use-of-weak -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-bool-conversion -Wno-enum-conversion -Wno-float-conversion -Wno-non-literal-null-conversion -Wno-objc-literal-conversion -Wno-shorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-selector -Wno-strict-selector-match -Wno-undeclared-selector -Wno-deprecated-implementations -Wno-implicit-fallthrough -isysroot /Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk -fstrict-aliasing -Wprotocol -Wdeprecated-declarations -Wno-sign-conversion -Wno-infinite-recursion -Wno-comma -Wno-block-capture-autoreleasing -Wno-strict-prototypes -Wno-semicolon-before-method-body -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LNPreviewToContextMenu.build/Debug-watchos/LNPreviewToContextMenu.build/Objects-normal/arm64_32/e6072d4f65d7061329687fe24e3d63a7-common-args.resp -MMD -MT dependencies -MF /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LNPreviewToContextMenu.build/Debug-watchos/LNPreviewToContextMenu.build/Objects-normal/arm64_32/UIViewController+UIPreviewContextCompat.d --serialize-diagnostics /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LNPreviewToContextMenu.build/Debug-watchos/LNPreviewToContextMenu.build/Objects-normal/arm64_32/UIViewController+UIPreviewContextCompat.dia -c /Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LNPreviewToContextMenu.build/Debug-watchos/LNPreviewToContextMenu.build/Objects-normal/arm64_32/UIViewController+UIPreviewContextCompat.o -index-unit-output-path /LNPreviewToContextMenu.build/Debug-watchos/LNPreviewToContextMenu.build/Objects-normal/arm64_32/UIViewController+UIPreviewContextCompat.o
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:21:55: error: 'UIViewControllerPreviewing' is unavailable: not available on watchOS
21 | @interface _LNPreviewContextCompatSupport : NSObject <UIViewControllerPreviewing>
| ^
In module 'UIKit' imported from /Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:12:
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:619:11: note: 'UIViewControllerPreviewing' has been explicitly marked unavailable here
619 | @protocol UIViewControllerPreviewing <NSObject>
| ^
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:23:31: error: 'UIGestureRecognizer' is unavailable: not available on watchOS
23 | @property (nonatomic, strong) UIGestureRecognizer *previewingGestureRecognizerForFailureRelationship;
| ^
In module 'UIKit' imported from /Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:12:
/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
35 | @interface UIGestureRecognizer : NSObject
| ^
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:24:32: error: 'UIViewControllerPreviewingDelegate' is unavailable: not available on watchOS
24 | @property (nonatomic, weak) id<UIViewControllerPreviewingDelegate> delegate;
| ^
In module 'UIKit' imported from /Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:12:
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:636:11: note: 'UIViewControllerPreviewingDelegate' has been explicitly marked unavailable here
636 | @protocol UIViewControllerPreviewingDelegate <NSObject>
| ^
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:25:31: error: 'UIView' is unavailable: not available on watchOS
25 | @property (nonatomic, strong) UIView *sourceView;
| ^
In module 'UIKit' imported from /Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:12:
/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
148 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| ^
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:43:60: error: 'UIContextMenuInteraction' is unavailable: not available on watchOS
43 | @interface _LNPreviewContextCompatContextMenuInteraction : UIContextMenuInteraction <UIContextMenuInteractionDelegate>
| ^
In module 'UIKit' imported from /Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:12:
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIContextMenuInteraction.h:32:12: note: 'UIContextMenuInteraction' has been explicitly marked unavailable here
32 | @interface UIContextMenuInteraction : NSObject <UIInteraction>
| ^
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:43:86: error: 'UIContextMenuInteractionDelegate' is unavailable: not available on watchOS
43 | @interface _LNPreviewContextCompatContextMenuInteraction : UIContextMenuInteraction <UIContextMenuInteractionDelegate>
| ^
In module 'UIKit' imported from /Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:12:
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIContextMenuInteraction.h:99:11: note: 'UIContextMenuInteractionDelegate' has been explicitly marked unavailable here
99 | @protocol UIContextMenuInteractionDelegate <NSObject>
| ^
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:47:31: error: 'UIViewController' is unavailable: not available on watchOS
47 | @property (nonatomic, strong) UIViewController* previewViewController;
| ^
In module 'UIKit' imported from /Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:12:
/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
102 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| ^
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:48:31: error: 'UIView' is unavailable: not available on watchOS
48 | @property (nonatomic, strong) UIView* snapshotForTargetedPreview;
| ^
In module 'UIKit' imported from /Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:12:
/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
148 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| ^
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:59:4: error: 'UIMenuElement' is unavailable: not available on watchOS
59 | - (UIMenuElement*)_menuElementForPreviewActionItem:(NSObject<UIPreviewActionItem>*)previewActionItem
| ^
In module 'UIKit' imported from /Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:12:
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenuElement.h:44:12: note: 'UIMenuElement' has been explicitly marked unavailable here
44 | @interface UIMenuElement : NSObject <NSCopying, NSSecureCoding>
| ^
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:59:62: error: 'UIPreviewActionItem' is unavailable: not available on watchOS
59 | - (UIMenuElement*)_menuElementForPreviewActionItem:(NSObject<UIPreviewActionItem>*)previewActionItem
| ^
In module 'UIKit' imported from /Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:12:
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:774:11: note: 'UIPreviewActionItem' has been explicitly marked unavailable here
774 | @protocol UIPreviewActionItem <NSObject>
| ^
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:101:4: error: 'UIMenu' is unavailable: not available on watchOS
101 | - (UIMenu*)_menuForPreviewViewController
| ^
In module 'UIKit' imported from /Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:12:
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenu.h:43:12: note: 'UIMenu' has been explicitly marked unavailable here
43 | @interface UIMenu : UIMenuElement
| ^
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:122:13: error: 'UIContextMenuConfiguration' is unavailable: not available on watchOS
122 | - (nullable UIContextMenuConfiguration *)contextMenuInteraction:(UIContextMenuInteraction *)interaction configurationForMenuAtLocation:(CGPoint)location
| ^
In module 'UIKit' imported from /Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:12:
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIContextMenuConfiguration.h:39:12: note: 'UIContextMenuConfiguration' has been explicitly marked unavailable here
39 | @interface UIContextMenuConfiguration : NSObject
| ^
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:122:66: error: 'UIContextMenuInteraction' is unavailable: not available on watchOS
122 | - (nullable UIContextMenuConfiguration *)contextMenuInteraction:(UIContextMenuInteraction *)interaction configurationForMenuAtLocation:(CGPoint)location
| ^
In module 'UIKit' imported from /Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:12:
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIContextMenuInteraction.h:32:12: note: 'UIContextMenuInteraction' has been explicitly marked unavailable here
32 | @interface UIContextMenuInteraction : NSObject <UIInteraction>
| ^
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:139:13: error: 'UITargetedPreview' is unavailable: not available on watchOS
139 | - (nullable UITargetedPreview *)contextMenuInteraction:(UIContextMenuInteraction *)interaction previewForHighlightingMenuWithConfiguration:(UIContextMenuConfiguration *)configuration
| ^
In module 'UIKit' imported from /Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:12:
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITargetedPreview.h:45:12: note: 'UITargetedPreview' has been explicitly marked unavailable here
45 | @interface UITargetedPreview : NSObject <NSCopying>
| ^
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:139:57: error: 'UIContextMenuInteraction' is unavailable: not available on watchOS
139 | - (nullable UITargetedPreview *)contextMenuInteraction:(UIContextMenuInteraction *)interaction previewForHighlightingMenuWithConfiguration:(UIContextMenuConfiguration *)configuration
| ^
In module 'UIKit' imported from /Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:12:
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIContextMenuInteraction.h:32:12: note: 'UIContextMenuInteraction' has been explicitly marked unavailable here
32 | @interface UIContextMenuInteraction : NSObject <UIInteraction>
| ^
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:139:141: error: 'UIContextMenuConfiguration' is unavailable: not available on watchOS
139 | - (nullable UITargetedPreview *)contextMenuInteraction:(UIContextMenuInteraction *)interaction previewForHighlightingMenuWithConfiguration:(UIContextMenuConfiguration *)configuration
| ^
In module 'UIKit' imported from /Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:12:
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIContextMenuConfiguration.h:39:12: note: 'UIContextMenuConfiguration' has been explicitly marked unavailable here
39 | @interface UIContextMenuConfiguration : NSObject
| ^
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:178:33: error: 'UIContextMenuInteraction' is unavailable: not available on watchOS
178 | - (void)contextMenuInteraction:(UIContextMenuInteraction *)interaction willPerformPreviewActionForMenuWithConfiguration:(UIContextMenuConfiguration *)configuration animator:(id<UIContextMenuInteractionCommitAnimating>)animator
| ^
In module 'UIKit' imported from /Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:12:
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIContextMenuInteraction.h:32:12: note: 'UIContextMenuInteraction' has been explicitly marked unavailable here
32 | @interface UIContextMenuInteraction : NSObject <UIInteraction>
| ^
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:178:122: error: 'UIContextMenuConfiguration' is unavailable: not available on watchOS
178 | - (void)contextMenuInteraction:(UIContextMenuInteraction *)interaction willPerformPreviewActionForMenuWithConfiguration:(UIContextMenuConfiguration *)configuration animator:(id<UIContextMenuInteractionCommitAnimating>)animator
| ^
In module 'UIKit' imported from /Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:12:
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIContextMenuConfiguration.h:39:12: note: 'UIContextMenuConfiguration' has been explicitly marked unavailable here
39 | @interface UIContextMenuConfiguration : NSObject
| ^
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:178:178: error: 'UIContextMenuInteractionCommitAnimating' is unavailable: not available on watchOS
178 | - (void)contextMenuInteraction:(UIContextMenuInteraction *)interaction willPerformPreviewActionForMenuWithConfiguration:(UIContextMenuConfiguration *)configuration animator:(id<UIContextMenuInteractionCommitAnimating>)animator
| ^
In module 'UIKit' imported from /Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:12:
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIContextMenuInteraction.h:90:11: note: 'UIContextMenuInteractionCommitAnimating' has been explicitly marked unavailable here
90 | @protocol UIContextMenuInteractionCommitAnimating <UIContextMenuInteractionAnimating>
| ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
Failed frontend command:
/Applications/Xcode-26.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -cc1 -Wundef-prefix\=TARGET_OS_ -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit\=0 -ferror-limit 19 -serialize-diagnostic-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LNPreviewToContextMenu.build/Debug-watchos/LNPreviewToContextMenu.build/Objects-normal/arm64_32/UIViewController+UIPreviewContextCompat.dia -Wdeprecated-objc-isa-usage -Werror\=deprecated-objc-isa-usage -Werror\=implicit-function-declaration -Wnon-modular-include-in-framework-module -Werror\=non-modular-include-in-framework-module -Wno-trigraphs -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-return-type -Wno-implicit-atomic-properties -Wno-objc-interface-ivars -Wno-arc-repeated-use-of-weak -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-bool-conversion -Wno-enum-conversion -Wno-float-conversion -Wno-non-literal-null-conversion -Wno-objc-literal-conversion -Wno-shorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-selector -Wno-strict-selector-match -Wno-undeclared-selector -Wno-deprecated-implementations -Wno-implicit-fallthrough -Wprotocol -Wdeprecated-declarations -Wno-sign-conversion -Wno-infinite-recursion -Wno-comma -Wno-block-capture-autoreleasing -Wno-strict-prototypes -Wno-semicolon-before-method-body -Wno-elaborated-enum-base -Wno-error\=allocator-wrappers -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -index-unit-output-path /LNPreviewToContextMenu.build/Debug-watchos/LNPreviewToContextMenu.build/Objects-normal/arm64_32/UIViewController+UIPreviewContextCompat.o -fmodule-map-file\=/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/usr/include/ObjectiveC.modulemap -fmodule-map-file\=/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/UIKit.framework/Modules/module.modulemap -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LNPreviewToContextMenu.build/Debug-watchos/LNPreviewToContextMenu.build/Objects-normal/arm64_32/UIViewController+UIPreviewContextCompat.o -disable-free -emit-obj -x objective-c /Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m -target-abi darwinpcs -target-cpu apple-s4 -target-feature +v8.3a -target-feature +aes -target-feature +complxnum -target-feature +crc -target-feature +fp-armv8 -target-feature +fullfp16 -target-feature +jsconv -target-feature +lse -target-feature +neon -target-feature +pauth -target-feature +perfmon -target-feature +ras -target-feature +rcpc -target-feature +rdm -target-feature +sha2 -triple arm64_32-apple-watchos5.0.0 -target-linker-version 1266.8 -target-sdk-version\=26.4 -fmodules-validate-system-headers -fno-modulemap-allow-subdirectory-search -isysroot /Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk -resource-dir /Applications/Xcode-26.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/21 -fmodule-format\=obj -fmodule-file\=ObjectiveC\=/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules/ObjectiveC-CEPR3703YU47L4QNV4YE3YW6P.pcm -fmodule-file\=UIKit\=/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules/UIKit-8XCTWS5Y4Y8S0KB7HVBSB7SUJ.pcm -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/include -I /Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/include -I /Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LNPreviewToContextMenu.build/Debug-watchos/LNPreviewToContextMenu.build/DerivedSources-normal/arm64_32 -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LNPreviewToContextMenu.build/Debug-watchos/LNPreviewToContextMenu.build/DerivedSources/arm64_32 -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LNPreviewToContextMenu.build/Debug-watchos/LNPreviewToContextMenu.build/DerivedSources -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -iframework /Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -iframework /Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/Developer/Library/Frameworks -internal-isystem /Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/usr/local/include -internal-isystem /Applications/Xcode-26.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/21/include -internal-externc-isystem /Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/usr/include -internal-externc-isystem /Applications/Xcode-26.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include -internal-iframework /Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks -internal-iframework /Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/SubFrameworks -internal-iframework /Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/Library/Frameworks -ivfsstatcache /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos26.4-23T238-688ef53f1462e2c8f657fdc38a81448f9e51884a582f42380855760c9d4cc599.sdkstatcache -std\=gnu11 -fexceptions -fskip-odr-check-in-gmf -fmodules -fmodule-name\=LNPreviewToContextMenu -fno-implicit-modules -fobjc-exceptions -fmax-type-align\=16 -fpascal-strings -fvisibility-inlines-hidden-static-local-var -mdarwin-stkchk-strong-link -fno-odr-hash-protocols -pic-level 2 -fencode-extended-block-signature -stack-protector 1 -fobjc-runtime\=watchos-5.0.0 -fobjc-arc -fobjc-runtime-has-weak -fobjc-weak -fgnuc-version\=4.2.1 -fblocks -fno-convergent-functions -ffp-contract\=on -fclang-abi-compat\=4.0 -fno-experimental-relative-c++-abi-vtables -fno-file-reproducible -clang-vendor-feature\=+disableNonDependentMemberExprInCurrentInstantiation -clang-vendor-feature\=+enableAggressiveVLAFolding -clang-vendor-feature\=+revert09abecef7bbf -clang-vendor-feature\=+thisNoAlignAttr -clang-vendor-feature\=+thisNoNullAttr -clang-vendor-feature\=+disableAtImportPrivateFrameworkInImplementationError -O0 -fno-assume-unique-vtables -fdebug-compilation-dir\=/Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -fcoverage-compilation-dir\=/Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -fcommon -fdwarf2-cfi-asm -fobjc-msgsend-selector-stubs -fregister-global-dtors-with-atexit -fno-strict-return -dwarf-version\=4 -debugger-tuning\=lldb -disable-llvm-verifier -dwarf-ext-refs -funwind-tables\=1 -enable-tlsdesc -clear-ast-before-backend -discard-value-names -main-file-name UIViewController+UIPreviewContextCompat.m -mframe-pointer\=non-leaf -debug-info-kind\=standalone -fno-loop-interchange -fdiagnostics-hotness-threshold\=0 -fdiagnostics-misexpect-tolerance\=0 -D DEBUG\=1 -D OBJC_OLD_DISPATCH_PROTOTYPES\=1 -D SWIFT_PACKAGE -D Xcode -fdefine-target-os-macros -MT dependencies -dependency-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LNPreviewToContextMenu.build/Debug-watchos/LNPreviewToContextMenu.build/Objects-normal/arm64_32/UIViewController+UIPreviewContextCompat.d -skip-unused-modulemap-deps
CompileC /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LNPreviewToContextMenu.build/Debug-watchos/LNPreviewToContextMenu.build/Objects-normal/arm64/UIViewController+UIPreviewContextCompat.o /Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m normal arm64 objective-c com.apple.compilers.llvm.clang.1_0.compiler (in target 'LNPreviewToContextMenu' from project 'LNPreviewToContextMenu')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
Using response file: /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LNPreviewToContextMenu.build/Debug-watchos/LNPreviewToContextMenu.build/Objects-normal/arm64/e6072d4f65d7061329687fe24e3d63a7-common-args.resp
/Applications/Xcode-26.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x objective-c -ivfsstatcache /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos26.4-23T238-688ef53f1462e2c8f657fdc38a81448f9e51884a582f42380855760c9d4cc599.sdkstatcache -target arm64-apple-watchos5.0 -fmessage-length\=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit\=0 -fno-color-diagnostics -fmodules-prune-interval\=86400 -fmodules-prune-after\=345600 -fbuild-session-file\=/Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -fmodules-validate-once-per-build-session -Wnon-modular-include-in-framework-module -Werror\=non-modular-include-in-framework-module -Wno-trigraphs -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-return-type -Wno-implicit-atomic-properties -Wno-objc-interface-ivars -Wno-arc-repeated-use-of-weak -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-bool-conversion -Wno-enum-conversion -Wno-float-conversion -Wno-non-literal-null-conversion -Wno-objc-literal-conversion -Wshorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-selector -Wno-strict-selector-match -Wno-undeclared-selector -Wno-deprecated-implementations -Wno-implicit-fallthrough -isysroot /Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk -fstrict-aliasing -Wprotocol -Wdeprecated-declarations -Wno-sign-conversion -Wno-infinite-recursion -Wno-comma -Wno-block-capture-autoreleasing -Wno-strict-prototypes -Wno-semicolon-before-method-body -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LNPreviewToContextMenu.build/Debug-watchos/LNPreviewToContextMenu.build/Objects-normal/arm64/e6072d4f65d7061329687fe24e3d63a7-common-args.resp -MMD -MT dependencies -MF /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LNPreviewToContextMenu.build/Debug-watchos/LNPreviewToContextMenu.build/Objects-normal/arm64/UIViewController+UIPreviewContextCompat.d --serialize-diagnostics /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LNPreviewToContextMenu.build/Debug-watchos/LNPreviewToContextMenu.build/Objects-normal/arm64/UIViewController+UIPreviewContextCompat.dia -c /Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LNPreviewToContextMenu.build/Debug-watchos/LNPreviewToContextMenu.build/Objects-normal/arm64/UIViewController+UIPreviewContextCompat.o -index-unit-output-path /LNPreviewToContextMenu.build/Debug-watchos/LNPreviewToContextMenu.build/Objects-normal/arm64/UIViewController+UIPreviewContextCompat.o
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:21:55: error: 'UIViewControllerPreviewing' is unavailable: not available on watchOS
21 | @interface _LNPreviewContextCompatSupport : NSObject <UIViewControllerPreviewing>
| ^
In module 'UIKit' imported from /Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:12:
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:619:11: note: 'UIViewControllerPreviewing' has been explicitly marked unavailable here
619 | @protocol UIViewControllerPreviewing <NSObject>
| ^
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:23:31: error: 'UIGestureRecognizer' is unavailable: not available on watchOS
23 | @property (nonatomic, strong) UIGestureRecognizer *previewingGestureRecognizerForFailureRelationship;
| ^
In module 'UIKit' imported from /Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:12:
/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
35 | @interface UIGestureRecognizer : NSObject
| ^
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:24:32: error: 'UIViewControllerPreviewingDelegate' is unavailable: not available on watchOS
24 | @property (nonatomic, weak) id<UIViewControllerPreviewingDelegate> delegate;
| ^
In module 'UIKit' imported from /Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:12:
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:636:11: note: 'UIViewControllerPreviewingDelegate' has been explicitly marked unavailable here
636 | @protocol UIViewControllerPreviewingDelegate <NSObject>
| ^
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:25:31: error: 'UIView' is unavailable: not available on watchOS
25 | @property (nonatomic, strong) UIView *sourceView;
| ^
In module 'UIKit' imported from /Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:12:
/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
148 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| ^
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:43:60: error: 'UIContextMenuInteraction' is unavailable: not available on watchOS
43 | @interface _LNPreviewContextCompatContextMenuInteraction : UIContextMenuInteraction <UIContextMenuInteractionDelegate>
| ^
In module 'UIKit' imported from /Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:12:
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIContextMenuInteraction.h:32:12: note: 'UIContextMenuInteraction' has been explicitly marked unavailable here
32 | @interface UIContextMenuInteraction : NSObject <UIInteraction>
| ^
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:43:86: error: 'UIContextMenuInteractionDelegate' is unavailable: not available on watchOS
43 | @interface _LNPreviewContextCompatContextMenuInteraction : UIContextMenuInteraction <UIContextMenuInteractionDelegate>
| ^
In module 'UIKit' imported from /Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:12:
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIContextMenuInteraction.h:99:11: note: 'UIContextMenuInteractionDelegate' has been explicitly marked unavailable here
99 | @protocol UIContextMenuInteractionDelegate <NSObject>
| ^
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:47:31: error: 'UIViewController' is unavailable: not available on watchOS
47 | @property (nonatomic, strong) UIViewController* previewViewController;
| ^
In module 'UIKit' imported from /Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:12:
/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
102 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| ^
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:48:31: error: 'UIView' is unavailable: not available on watchOS
48 | @property (nonatomic, strong) UIView* snapshotForTargetedPreview;
| ^
In module 'UIKit' imported from /Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:12:
/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
148 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| ^
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:59:4: error: 'UIMenuElement' is unavailable: not available on watchOS
59 | - (UIMenuElement*)_menuElementForPreviewActionItem:(NSObject<UIPreviewActionItem>*)previewActionItem
| ^
In module 'UIKit' imported from /Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:12:
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenuElement.h:44:12: note: 'UIMenuElement' has been explicitly marked unavailable here
44 | @interface UIMenuElement : NSObject <NSCopying, NSSecureCoding>
| ^
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:59:62: error: 'UIPreviewActionItem' is unavailable: not available on watchOS
59 | - (UIMenuElement*)_menuElementForPreviewActionItem:(NSObject<UIPreviewActionItem>*)previewActionItem
| ^
In module 'UIKit' imported from /Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:12:
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:774:11: note: 'UIPreviewActionItem' has been explicitly marked unavailable here
774 | @protocol UIPreviewActionItem <NSObject>
| ^
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:101:4: error: 'UIMenu' is unavailable: not available on watchOS
101 | - (UIMenu*)_menuForPreviewViewController
| ^
In module 'UIKit' imported from /Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:12:
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenu.h:43:12: note: 'UIMenu' has been explicitly marked unavailable here
43 | @interface UIMenu : UIMenuElement
| ^
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:122:13: error: 'UIContextMenuConfiguration' is unavailable: not available on watchOS
122 | - (nullable UIContextMenuConfiguration *)contextMenuInteraction:(UIContextMenuInteraction *)interaction configurationForMenuAtLocation:(CGPoint)location
| ^
In module 'UIKit' imported from /Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:12:
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIContextMenuConfiguration.h:39:12: note: 'UIContextMenuConfiguration' has been explicitly marked unavailable here
39 | @interface UIContextMenuConfiguration : NSObject
| ^
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:122:66: error: 'UIContextMenuInteraction' is unavailable: not available on watchOS
122 | - (nullable UIContextMenuConfiguration *)contextMenuInteraction:(UIContextMenuInteraction *)interaction configurationForMenuAtLocation:(CGPoint)location
| ^
In module 'UIKit' imported from /Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:12:
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIContextMenuInteraction.h:32:12: note: 'UIContextMenuInteraction' has been explicitly marked unavailable here
32 | @interface UIContextMenuInteraction : NSObject <UIInteraction>
| ^
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:139:13: error: 'UITargetedPreview' is unavailable: not available on watchOS
139 | - (nullable UITargetedPreview *)contextMenuInteraction:(UIContextMenuInteraction *)interaction previewForHighlightingMenuWithConfiguration:(UIContextMenuConfiguration *)configuration
| ^
In module 'UIKit' imported from /Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:12:
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITargetedPreview.h:45:12: note: 'UITargetedPreview' has been explicitly marked unavailable here
45 | @interface UITargetedPreview : NSObject <NSCopying>
| ^
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:139:57: error: 'UIContextMenuInteraction' is unavailable: not available on watchOS
139 | - (nullable UITargetedPreview *)contextMenuInteraction:(UIContextMenuInteraction *)interaction previewForHighlightingMenuWithConfiguration:(UIContextMenuConfiguration *)configuration
| ^
In module 'UIKit' imported from /Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:12:
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIContextMenuInteraction.h:32:12: note: 'UIContextMenuInteraction' has been explicitly marked unavailable here
32 | @interface UIContextMenuInteraction : NSObject <UIInteraction>
| ^
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:139:141: error: 'UIContextMenuConfiguration' is unavailable: not available on watchOS
139 | - (nullable UITargetedPreview *)contextMenuInteraction:(UIContextMenuInteraction *)interaction previewForHighlightingMenuWithConfiguration:(UIContextMenuConfiguration *)configuration
| ^
In module 'UIKit' imported from /Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:12:
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIContextMenuConfiguration.h:39:12: note: 'UIContextMenuConfiguration' has been explicitly marked unavailable here
39 | @interface UIContextMenuConfiguration : NSObject
| ^
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:178:33: error: 'UIContextMenuInteraction' is unavailable: not available on watchOS
178 | - (void)contextMenuInteraction:(UIContextMenuInteraction *)interaction willPerformPreviewActionForMenuWithConfiguration:(UIContextMenuConfiguration *)configuration animator:(id<UIContextMenuInteractionCommitAnimating>)animator
| ^
In module 'UIKit' imported from /Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:12:
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIContextMenuInteraction.h:32:12: note: 'UIContextMenuInteraction' has been explicitly marked unavailable here
32 | @interface UIContextMenuInteraction : NSObject <UIInteraction>
| ^
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:178:122: error: 'UIContextMenuConfiguration' is unavailable: not available on watchOS
178 | - (void)contextMenuInteraction:(UIContextMenuInteraction *)interaction willPerformPreviewActionForMenuWithConfiguration:(UIContextMenuConfiguration *)configuration animator:(id<UIContextMenuInteractionCommitAnimating>)animator
| ^
In module 'UIKit' imported from /Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:12:
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIContextMenuConfiguration.h:39:12: note: 'UIContextMenuConfiguration' has been explicitly marked unavailable here
39 | @interface UIContextMenuConfiguration : NSObject
| ^
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:178:178: error: 'UIContextMenuInteractionCommitAnimating' is unavailable: not available on watchOS
178 | - (void)contextMenuInteraction:(UIContextMenuInteraction *)interaction willPerformPreviewActionForMenuWithConfiguration:(UIContextMenuConfiguration *)configuration animator:(id<UIContextMenuInteractionCommitAnimating>)animator
| ^
In module 'UIKit' imported from /Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:12:
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIContextMenuInteraction.h:90:11: note: 'UIContextMenuInteractionCommitAnimating' has been explicitly marked unavailable here
90 | @protocol UIContextMenuInteractionCommitAnimating <UIContextMenuInteractionAnimating>
| ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
Failed frontend command:
/Applications/Xcode-26.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -cc1 -Wundef-prefix\=TARGET_OS_ -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit\=0 -ferror-limit 19 -serialize-diagnostic-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LNPreviewToContextMenu.build/Debug-watchos/LNPreviewToContextMenu.build/Objects-normal/arm64/UIViewController+UIPreviewContextCompat.dia -Wdeprecated-objc-isa-usage -Werror\=deprecated-objc-isa-usage -Werror\=implicit-function-declaration -Wnon-modular-include-in-framework-module -Werror\=non-modular-include-in-framework-module -Wno-trigraphs -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-return-type -Wno-implicit-atomic-properties -Wno-objc-interface-ivars -Wno-arc-repeated-use-of-weak -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-bool-conversion -Wno-enum-conversion -Wno-float-conversion -Wno-non-literal-null-conversion -Wno-objc-literal-conversion -Wshorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-selector -Wno-strict-selector-match -Wno-undeclared-selector -Wno-deprecated-implementations -Wno-implicit-fallthrough -Wprotocol -Wdeprecated-declarations -Wno-sign-conversion -Wno-infinite-recursion -Wno-comma -Wno-block-capture-autoreleasing -Wno-strict-prototypes -Wno-semicolon-before-method-body -Wno-elaborated-enum-base -Wno-error\=allocator-wrappers -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -index-unit-output-path /LNPreviewToContextMenu.build/Debug-watchos/LNPreviewToContextMenu.build/Objects-normal/arm64/UIViewController+UIPreviewContextCompat.o -fmodule-map-file\=/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/usr/include/ObjectiveC.modulemap -fmodule-map-file\=/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/UIKit.framework/Modules/module.modulemap -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LNPreviewToContextMenu.build/Debug-watchos/LNPreviewToContextMenu.build/Objects-normal/arm64/UIViewController+UIPreviewContextCompat.o -disable-free -emit-obj -x objective-c /Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m -target-abi darwinpcs -target-cpu apple-s9 -target-feature +v8.6a -target-feature +aes -target-feature +bf16 -target-feature +complxnum -target-feature +crc -target-feature +dotprod -target-feature +fp-armv8 -target-feature +fp16fml -target-feature +fpac -target-feature +fullfp16 -target-feature +hcx -target-feature +i8mm -target-feature +jsconv -target-feature +lse -target-feature +neon -target-feature +pauth -target-feature +perfmon -target-feature +ras -target-feature +rcpc -target-feature +rdm -target-feature +sha2 -target-feature +sha3 -target-feature +ssbs -triple arm64-apple-watchos5.0.0 -target-linker-version 1266.8 -target-sdk-version\=26.4 -fmodules-validate-system-headers -fno-modulemap-allow-subdirectory-search -isysroot /Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk -resource-dir /Applications/Xcode-26.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/21 -fmodule-format\=obj -fmodule-file\=ObjectiveC\=/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules/ObjectiveC-9EJ2UTL9Q8QY1HYF7TMECLDLU.pcm -fmodule-file\=UIKit\=/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules/UIKit-DHFB7IRGGV7TP29FWQQVZL330.pcm -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/include -I /Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/include -I /Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LNPreviewToContextMenu.build/Debug-watchos/LNPreviewToContextMenu.build/DerivedSources-normal/arm64 -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LNPreviewToContextMenu.build/Debug-watchos/LNPreviewToContextMenu.build/DerivedSources/arm64 -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LNPreviewToContextMenu.build/Debug-watchos/LNPreviewToContextMenu.build/DerivedSources -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -iframework /Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -iframework /Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/Developer/Library/Frameworks -internal-isystem /Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/usr/local/include -internal-isystem /Applications/Xcode-26.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/21/include -internal-externc-isystem /Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/usr/include -internal-externc-isystem /Applications/Xcode-26.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include -internal-iframework /Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks -internal-iframework /Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/SubFrameworks -internal-iframework /Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/Library/Frameworks -ivfsstatcache /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos26.4-23T238-688ef53f1462e2c8f657fdc38a81448f9e51884a582f42380855760c9d4cc599.sdkstatcache -std\=gnu11 -fexceptions -fskip-odr-check-in-gmf -fmodules -fmodule-name\=LNPreviewToContextMenu -fno-implicit-modules -fobjc-exceptions -fmax-type-align\=16 -fpascal-strings -fvisibility-inlines-hidden-static-local-var -mdarwin-stkchk-strong-link -fno-odr-hash-protocols -pic-level 2 -fencode-extended-block-signature -stack-protector 1 -fobjc-runtime\=watchos-5.0.0 -fobjc-arc -fobjc-runtime-has-weak -fobjc-weak -fgnuc-version\=4.2.1 -fblocks -fno-convergent-functions -ffp-contract\=on -fclang-abi-compat\=4.0 -fno-experimental-relative-c++-abi-vtables -fno-file-reproducible -clang-vendor-feature\=+disableNonDependentMemberExprInCurrentInstantiation -clang-vendor-feature\=+enableAggressiveVLAFolding -clang-vendor-feature\=+revert09abecef7bbf -clang-vendor-feature\=+thisNoAlignAttr -clang-vendor-feature\=+thisNoNullAttr -clang-vendor-feature\=+disableAtImportPrivateFrameworkInImplementationError -O0 -fno-assume-unique-vtables -fdebug-compilation-dir\=/Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -fcoverage-compilation-dir\=/Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -fcommon -fdwarf2-cfi-asm -fobjc-msgsend-selector-stubs -fregister-global-dtors-with-atexit -fno-strict-return -dwarf-version\=4 -debugger-tuning\=lldb -disable-llvm-verifier -dwarf-ext-refs -funwind-tables\=1 -enable-tlsdesc -clear-ast-before-backend -discard-value-names -main-file-name UIViewController+UIPreviewContextCompat.m -mframe-pointer\=non-leaf -debug-info-kind\=standalone -fno-loop-interchange -fdiagnostics-hotness-threshold\=0 -fdiagnostics-misexpect-tolerance\=0 -D DEBUG\=1 -D OBJC_OLD_DISPATCH_PROTOTYPES\=1 -D SWIFT_PACKAGE -D Xcode -fdefine-target-os-macros -MT dependencies -dependency-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LNPreviewToContextMenu.build/Debug-watchos/LNPreviewToContextMenu.build/Objects-normal/arm64/UIViewController+UIPreviewContextCompat.d -skip-unused-modulemap-deps
2026-04-12 07:16:37.871 xcodebuild[638:3881] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
** BUILD FAILED **
The following build commands failed:
CompileC /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LNPreviewToContextMenu.build/Debug-watchos/LNPreviewToContextMenu.build/Objects-normal/armv7k/UIViewController+UIPreviewContextCompat.o /Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m normal armv7k objective-c com.apple.compilers.llvm.clang.1_0.compiler (in target 'LNPreviewToContextMenu' from project 'LNPreviewToContextMenu')
CompileC /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LNPreviewToContextMenu.build/Debug-watchos/LNPreviewToContextMenu.build/Objects-normal/arm64_32/UIViewController+UIPreviewContextCompat.o /Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m normal arm64_32 objective-c com.apple.compilers.llvm.clang.1_0.compiler (in target 'LNPreviewToContextMenu' from project 'LNPreviewToContextMenu')
CompileC /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LNPreviewToContextMenu.build/Debug-watchos/LNPreviewToContextMenu.build/Objects-normal/arm64/UIViewController+UIPreviewContextCompat.o /Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m normal arm64 objective-c com.apple.compilers.llvm.clang.1_0.compiler (in target 'LNPreviewToContextMenu' from project 'LNPreviewToContextMenu')
Building workspace spi-builder-workspace with scheme LNPreviewToContextMenu-Package
(4 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:
LNPreviewToContextMenu: /Users/admin/builder/spi-builder-workspace
resolved source packages: LNPreviewToContextMenu
2026-04-12 07:16:43.649 xcodebuild[759:4297] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
{
"dependencies" : [
],
"manifest_display_name" : "LNPreviewToContextMenu",
"name" : "LNPreviewToContextMenu",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "11.0"
}
],
"products" : [
{
"name" : "LNPreviewToContextMenu",
"targets" : [
"LNPreviewToContextMenu"
],
"type" : {
"library" : [
"dynamic"
]
}
},
{
"name" : "LNPreviewToContextMenu-Static",
"targets" : [
"LNPreviewToContextMenu"
],
"type" : {
"library" : [
"static"
]
}
}
],
"targets" : [
{
"c99name" : "LNPreviewToContextMenu",
"module_type" : "ClangTarget",
"name" : "LNPreviewToContextMenu",
"path" : "LNPreviewToContextMenu",
"product_memberships" : [
"LNPreviewToContextMenu",
"LNPreviewToContextMenu-Static"
],
"sources" : [
"LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m"
],
"type" : "library"
}
],
"tools_version" : "5.1"
}
{
"workspace" : {
"name" : "spi-builder-workspace",
"schemes" : [
"LNPreviewToContextMenu",
"LNPreviewToContextMenu-Package",
"LNPreviewToContextMenu-Static"
]
}
}
2026-04-12 07:16:44.999 xcodebuild[769:4399] [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 LNPreviewToContextMenu-Package -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 LNPreviewToContextMenu-Package -destination generic/platform=watchOS
Resolve Package Graph
Resolved source packages:
LNPreviewToContextMenu: /Users/admin/builder/spi-builder-workspace
ComputePackagePrebuildTargetDependencyGraph
Prepare packages
CreateBuildRequest
SendProjectDescription
CreateBuildOperation
ComputeTargetDependencyGraph
note: Building targets in dependency order
note: Target dependency graph (3 targets)
Target 'LNPreviewToContextMenu-Static' in project 'LNPreviewToContextMenu'
➜ Explicit dependency on target 'LNPreviewToContextMenu' in project 'LNPreviewToContextMenu'
Target 'LNPreviewToContextMenu' in project 'LNPreviewToContextMenu'
➜ Explicit dependency on target 'LNPreviewToContextMenu' in project 'LNPreviewToContextMenu'
Target 'LNPreviewToContextMenu' in project 'LNPreviewToContextMenu' (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
CompileC /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LNPreviewToContextMenu.build/Debug-watchos/LNPreviewToContextMenu.build/Objects-normal/arm64/UIViewController+UIPreviewContextCompat.o /Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m normal arm64 objective-c com.apple.compilers.llvm.clang.1_0.compiler (in target 'LNPreviewToContextMenu' from project 'LNPreviewToContextMenu')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
Using response file: /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LNPreviewToContextMenu.build/Debug-watchos/LNPreviewToContextMenu.build/Objects-normal/arm64/e6072d4f65d7061329687fe24e3d63a7-common-args.resp
/Applications/Xcode-26.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x objective-c -ivfsstatcache /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos26.4-23T238-688ef53f1462e2c8f657fdc38a81448f9e51884a582f42380855760c9d4cc599.sdkstatcache -target arm64-apple-watchos5.0 -fmessage-length\=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit\=0 -fno-color-diagnostics -fmodules-prune-interval\=86400 -fmodules-prune-after\=345600 -fbuild-session-file\=/Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -fmodules-validate-once-per-build-session -Wnon-modular-include-in-framework-module -Werror\=non-modular-include-in-framework-module -Wno-trigraphs -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-return-type -Wno-implicit-atomic-properties -Wno-objc-interface-ivars -Wno-arc-repeated-use-of-weak -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-bool-conversion -Wno-enum-conversion -Wno-float-conversion -Wno-non-literal-null-conversion -Wno-objc-literal-conversion -Wshorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-selector -Wno-strict-selector-match -Wno-undeclared-selector -Wno-deprecated-implementations -Wno-implicit-fallthrough -isysroot /Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk -fstrict-aliasing -Wprotocol -Wdeprecated-declarations -Wno-sign-conversion -Wno-infinite-recursion -Wno-comma -Wno-block-capture-autoreleasing -Wno-strict-prototypes -Wno-semicolon-before-method-body -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LNPreviewToContextMenu.build/Debug-watchos/LNPreviewToContextMenu.build/Objects-normal/arm64/e6072d4f65d7061329687fe24e3d63a7-common-args.resp -MMD -MT dependencies -MF /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LNPreviewToContextMenu.build/Debug-watchos/LNPreviewToContextMenu.build/Objects-normal/arm64/UIViewController+UIPreviewContextCompat.d --serialize-diagnostics /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LNPreviewToContextMenu.build/Debug-watchos/LNPreviewToContextMenu.build/Objects-normal/arm64/UIViewController+UIPreviewContextCompat.dia -c /Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LNPreviewToContextMenu.build/Debug-watchos/LNPreviewToContextMenu.build/Objects-normal/arm64/UIViewController+UIPreviewContextCompat.o -index-unit-output-path /LNPreviewToContextMenu.build/Debug-watchos/LNPreviewToContextMenu.build/Objects-normal/arm64/UIViewController+UIPreviewContextCompat.o
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:21:55: error: 'UIViewControllerPreviewing' is unavailable: not available on watchOS
21 | @interface _LNPreviewContextCompatSupport : NSObject <UIViewControllerPreviewing>
| ^
In module 'UIKit' imported from /Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:12:
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:619:11: note: 'UIViewControllerPreviewing' has been explicitly marked unavailable here
619 | @protocol UIViewControllerPreviewing <NSObject>
| ^
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:23:31: error: 'UIGestureRecognizer' is unavailable: not available on watchOS
23 | @property (nonatomic, strong) UIGestureRecognizer *previewingGestureRecognizerForFailureRelationship;
| ^
In module 'UIKit' imported from /Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:12:
/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
35 | @interface UIGestureRecognizer : NSObject
| ^
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:24:32: error: 'UIViewControllerPreviewingDelegate' is unavailable: not available on watchOS
24 | @property (nonatomic, weak) id<UIViewControllerPreviewingDelegate> delegate;
| ^
In module 'UIKit' imported from /Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:12:
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:636:11: note: 'UIViewControllerPreviewingDelegate' has been explicitly marked unavailable here
636 | @protocol UIViewControllerPreviewingDelegate <NSObject>
| ^
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:25:31: error: 'UIView' is unavailable: not available on watchOS
25 | @property (nonatomic, strong) UIView *sourceView;
| ^
In module 'UIKit' imported from /Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:12:
/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
148 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| ^
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:43:60: error: 'UIContextMenuInteraction' is unavailable: not available on watchOS
43 | @interface _LNPreviewContextCompatContextMenuInteraction : UIContextMenuInteraction <UIContextMenuInteractionDelegate>
| ^
In module 'UIKit' imported from /Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:12:
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIContextMenuInteraction.h:32:12: note: 'UIContextMenuInteraction' has been explicitly marked unavailable here
32 | @interface UIContextMenuInteraction : NSObject <UIInteraction>
| ^
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:43:86: error: 'UIContextMenuInteractionDelegate' is unavailable: not available on watchOS
43 | @interface _LNPreviewContextCompatContextMenuInteraction : UIContextMenuInteraction <UIContextMenuInteractionDelegate>
| ^
In module 'UIKit' imported from /Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:12:
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIContextMenuInteraction.h:99:11: note: 'UIContextMenuInteractionDelegate' has been explicitly marked unavailable here
99 | @protocol UIContextMenuInteractionDelegate <NSObject>
| ^
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:47:31: error: 'UIViewController' is unavailable: not available on watchOS
47 | @property (nonatomic, strong) UIViewController* previewViewController;
| ^
In module 'UIKit' imported from /Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:12:
/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
102 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| ^
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:48:31: error: 'UIView' is unavailable: not available on watchOS
48 | @property (nonatomic, strong) UIView* snapshotForTargetedPreview;
| ^
In module 'UIKit' imported from /Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:12:
/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
148 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| ^
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:59:4: error: 'UIMenuElement' is unavailable: not available on watchOS
59 | - (UIMenuElement*)_menuElementForPreviewActionItem:(NSObject<UIPreviewActionItem>*)previewActionItem
| ^
In module 'UIKit' imported from /Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:12:
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenuElement.h:44:12: note: 'UIMenuElement' has been explicitly marked unavailable here
44 | @interface UIMenuElement : NSObject <NSCopying, NSSecureCoding>
| ^
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:59:62: error: 'UIPreviewActionItem' is unavailable: not available on watchOS
59 | - (UIMenuElement*)_menuElementForPreviewActionItem:(NSObject<UIPreviewActionItem>*)previewActionItem
| ^
In module 'UIKit' imported from /Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:12:
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:774:11: note: 'UIPreviewActionItem' has been explicitly marked unavailable here
774 | @protocol UIPreviewActionItem <NSObject>
| ^
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:101:4: error: 'UIMenu' is unavailable: not available on watchOS
101 | - (UIMenu*)_menuForPreviewViewController
| ^
In module 'UIKit' imported from /Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:12:
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenu.h:43:12: note: 'UIMenu' has been explicitly marked unavailable here
43 | @interface UIMenu : UIMenuElement
| ^
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:122:13: error: 'UIContextMenuConfiguration' is unavailable: not available on watchOS
122 | - (nullable UIContextMenuConfiguration *)contextMenuInteraction:(UIContextMenuInteraction *)interaction configurationForMenuAtLocation:(CGPoint)location
| ^
In module 'UIKit' imported from /Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:12:
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIContextMenuConfiguration.h:39:12: note: 'UIContextMenuConfiguration' has been explicitly marked unavailable here
39 | @interface UIContextMenuConfiguration : NSObject
| ^
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:122:66: error: 'UIContextMenuInteraction' is unavailable: not available on watchOS
122 | - (nullable UIContextMenuConfiguration *)contextMenuInteraction:(UIContextMenuInteraction *)interaction configurationForMenuAtLocation:(CGPoint)location
| ^
In module 'UIKit' imported from /Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:12:
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIContextMenuInteraction.h:32:12: note: 'UIContextMenuInteraction' has been explicitly marked unavailable here
32 | @interface UIContextMenuInteraction : NSObject <UIInteraction>
| ^
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:139:13: error: 'UITargetedPreview' is unavailable: not available on watchOS
139 | - (nullable UITargetedPreview *)contextMenuInteraction:(UIContextMenuInteraction *)interaction previewForHighlightingMenuWithConfiguration:(UIContextMenuConfiguration *)configuration
| ^
In module 'UIKit' imported from /Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:12:
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITargetedPreview.h:45:12: note: 'UITargetedPreview' has been explicitly marked unavailable here
45 | @interface UITargetedPreview : NSObject <NSCopying>
| ^
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:139:57: error: 'UIContextMenuInteraction' is unavailable: not available on watchOS
139 | - (nullable UITargetedPreview *)contextMenuInteraction:(UIContextMenuInteraction *)interaction previewForHighlightingMenuWithConfiguration:(UIContextMenuConfiguration *)configuration
| ^
In module 'UIKit' imported from /Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:12:
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIContextMenuInteraction.h:32:12: note: 'UIContextMenuInteraction' has been explicitly marked unavailable here
32 | @interface UIContextMenuInteraction : NSObject <UIInteraction>
| ^
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:139:141: error: 'UIContextMenuConfiguration' is unavailable: not available on watchOS
139 | - (nullable UITargetedPreview *)contextMenuInteraction:(UIContextMenuInteraction *)interaction previewForHighlightingMenuWithConfiguration:(UIContextMenuConfiguration *)configuration
| ^
In module 'UIKit' imported from /Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:12:
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIContextMenuConfiguration.h:39:12: note: 'UIContextMenuConfiguration' has been explicitly marked unavailable here
39 | @interface UIContextMenuConfiguration : NSObject
| ^
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:178:33: error: 'UIContextMenuInteraction' is unavailable: not available on watchOS
178 | - (void)contextMenuInteraction:(UIContextMenuInteraction *)interaction willPerformPreviewActionForMenuWithConfiguration:(UIContextMenuConfiguration *)configuration animator:(id<UIContextMenuInteractionCommitAnimating>)animator
| ^
In module 'UIKit' imported from /Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:12:
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIContextMenuInteraction.h:32:12: note: 'UIContextMenuInteraction' has been explicitly marked unavailable here
32 | @interface UIContextMenuInteraction : NSObject <UIInteraction>
| ^
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:178:122: error: 'UIContextMenuConfiguration' is unavailable: not available on watchOS
178 | - (void)contextMenuInteraction:(UIContextMenuInteraction *)interaction willPerformPreviewActionForMenuWithConfiguration:(UIContextMenuConfiguration *)configuration animator:(id<UIContextMenuInteractionCommitAnimating>)animator
| ^
In module 'UIKit' imported from /Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:12:
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIContextMenuConfiguration.h:39:12: note: 'UIContextMenuConfiguration' has been explicitly marked unavailable here
39 | @interface UIContextMenuConfiguration : NSObject
| ^
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:178:178: error: 'UIContextMenuInteractionCommitAnimating' is unavailable: not available on watchOS
178 | - (void)contextMenuInteraction:(UIContextMenuInteraction *)interaction willPerformPreviewActionForMenuWithConfiguration:(UIContextMenuConfiguration *)configuration animator:(id<UIContextMenuInteractionCommitAnimating>)animator
| ^
In module 'UIKit' imported from /Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:12:
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIContextMenuInteraction.h:90:11: note: 'UIContextMenuInteractionCommitAnimating' has been explicitly marked unavailable here
90 | @protocol UIContextMenuInteractionCommitAnimating <UIContextMenuInteractionAnimating>
| ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
Failed frontend command:
/Applications/Xcode-26.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -cc1 -Wundef-prefix\=TARGET_OS_ -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit\=0 -ferror-limit 19 -serialize-diagnostic-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LNPreviewToContextMenu.build/Debug-watchos/LNPreviewToContextMenu.build/Objects-normal/arm64/UIViewController+UIPreviewContextCompat.dia -Wdeprecated-objc-isa-usage -Werror\=deprecated-objc-isa-usage -Werror\=implicit-function-declaration -Wnon-modular-include-in-framework-module -Werror\=non-modular-include-in-framework-module -Wno-trigraphs -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-return-type -Wno-implicit-atomic-properties -Wno-objc-interface-ivars -Wno-arc-repeated-use-of-weak -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-bool-conversion -Wno-enum-conversion -Wno-float-conversion -Wno-non-literal-null-conversion -Wno-objc-literal-conversion -Wshorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-selector -Wno-strict-selector-match -Wno-undeclared-selector -Wno-deprecated-implementations -Wno-implicit-fallthrough -Wprotocol -Wdeprecated-declarations -Wno-sign-conversion -Wno-infinite-recursion -Wno-comma -Wno-block-capture-autoreleasing -Wno-strict-prototypes -Wno-semicolon-before-method-body -Wno-elaborated-enum-base -Wno-error\=allocator-wrappers -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -index-unit-output-path /LNPreviewToContextMenu.build/Debug-watchos/LNPreviewToContextMenu.build/Objects-normal/arm64/UIViewController+UIPreviewContextCompat.o -fmodule-map-file\=/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/usr/include/ObjectiveC.modulemap -fmodule-map-file\=/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/UIKit.framework/Modules/module.modulemap -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LNPreviewToContextMenu.build/Debug-watchos/LNPreviewToContextMenu.build/Objects-normal/arm64/UIViewController+UIPreviewContextCompat.o -disable-free -emit-obj -x objective-c /Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m -target-abi darwinpcs -target-cpu apple-s9 -target-feature +v8.6a -target-feature +aes -target-feature +bf16 -target-feature +complxnum -target-feature +crc -target-feature +dotprod -target-feature +fp-armv8 -target-feature +fp16fml -target-feature +fpac -target-feature +fullfp16 -target-feature +hcx -target-feature +i8mm -target-feature +jsconv -target-feature +lse -target-feature +neon -target-feature +pauth -target-feature +perfmon -target-feature +ras -target-feature +rcpc -target-feature +rdm -target-feature +sha2 -target-feature +sha3 -target-feature +ssbs -triple arm64-apple-watchos5.0.0 -target-linker-version 1266.8 -target-sdk-version\=26.4 -fmodules-validate-system-headers -fno-modulemap-allow-subdirectory-search -isysroot /Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk -resource-dir /Applications/Xcode-26.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/21 -fmodule-format\=obj -fmodule-file\=ObjectiveC\=/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules/ObjectiveC-9EJ2UTL9Q8QY1HYF7TMECLDLU.pcm -fmodule-file\=UIKit\=/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules/UIKit-DHFB7IRGGV7TP29FWQQVZL330.pcm -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/include -I /Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/include -I /Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LNPreviewToContextMenu.build/Debug-watchos/LNPreviewToContextMenu.build/DerivedSources-normal/arm64 -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LNPreviewToContextMenu.build/Debug-watchos/LNPreviewToContextMenu.build/DerivedSources/arm64 -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LNPreviewToContextMenu.build/Debug-watchos/LNPreviewToContextMenu.build/DerivedSources -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -iframework /Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -iframework /Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/Developer/Library/Frameworks -internal-isystem /Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/usr/local/include -internal-isystem /Applications/Xcode-26.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/21/include -internal-externc-isystem /Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/usr/include -internal-externc-isystem /Applications/Xcode-26.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include -internal-iframework /Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks -internal-iframework /Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/SubFrameworks -internal-iframework /Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/Library/Frameworks -ivfsstatcache /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos26.4-23T238-688ef53f1462e2c8f657fdc38a81448f9e51884a582f42380855760c9d4cc599.sdkstatcache -std\=gnu11 -fexceptions -fskip-odr-check-in-gmf -fmodules -fmodule-name\=LNPreviewToContextMenu -fno-implicit-modules -fobjc-exceptions -fmax-type-align\=16 -fpascal-strings -fvisibility-inlines-hidden-static-local-var -mdarwin-stkchk-strong-link -fno-odr-hash-protocols -pic-level 2 -fencode-extended-block-signature -stack-protector 1 -fobjc-runtime\=watchos-5.0.0 -fobjc-arc -fobjc-runtime-has-weak -fobjc-weak -fgnuc-version\=4.2.1 -fblocks -fno-convergent-functions -ffp-contract\=on -fclang-abi-compat\=4.0 -fno-experimental-relative-c++-abi-vtables -fno-file-reproducible -clang-vendor-feature\=+disableNonDependentMemberExprInCurrentInstantiation -clang-vendor-feature\=+enableAggressiveVLAFolding -clang-vendor-feature\=+revert09abecef7bbf -clang-vendor-feature\=+thisNoAlignAttr -clang-vendor-feature\=+thisNoNullAttr -clang-vendor-feature\=+disableAtImportPrivateFrameworkInImplementationError -O0 -fno-assume-unique-vtables -fdebug-compilation-dir\=/Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -fcoverage-compilation-dir\=/Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -fcommon -fdwarf2-cfi-asm -fobjc-msgsend-selector-stubs -fregister-global-dtors-with-atexit -fno-strict-return -dwarf-version\=4 -debugger-tuning\=lldb -disable-llvm-verifier -dwarf-ext-refs -funwind-tables\=1 -enable-tlsdesc -clear-ast-before-backend -discard-value-names -main-file-name UIViewController+UIPreviewContextCompat.m -mframe-pointer\=non-leaf -debug-info-kind\=standalone -fno-loop-interchange -fdiagnostics-hotness-threshold\=0 -fdiagnostics-misexpect-tolerance\=0 -D DEBUG\=1 -D OBJC_OLD_DISPATCH_PROTOTYPES\=1 -D SWIFT_PACKAGE -D Xcode -fdefine-target-os-macros -MT dependencies -dependency-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LNPreviewToContextMenu.build/Debug-watchos/LNPreviewToContextMenu.build/Objects-normal/arm64/UIViewController+UIPreviewContextCompat.d -skip-unused-modulemap-deps
CompileC /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LNPreviewToContextMenu.build/Debug-watchos/LNPreviewToContextMenu.build/Objects-normal/armv7k/UIViewController+UIPreviewContextCompat.o /Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m normal armv7k objective-c com.apple.compilers.llvm.clang.1_0.compiler (in target 'LNPreviewToContextMenu' from project 'LNPreviewToContextMenu')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
Using response file: /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LNPreviewToContextMenu.build/Debug-watchos/LNPreviewToContextMenu.build/Objects-normal/armv7k/e6072d4f65d7061329687fe24e3d63a7-common-args.resp
/Applications/Xcode-26.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x objective-c -ivfsstatcache /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos26.4-23T238-688ef53f1462e2c8f657fdc38a81448f9e51884a582f42380855760c9d4cc599.sdkstatcache -target armv7k-apple-watchos5.0 -fmessage-length\=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit\=0 -fno-color-diagnostics -fmodules-prune-interval\=86400 -fmodules-prune-after\=345600 -fbuild-session-file\=/Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -fmodules-validate-once-per-build-session -Wnon-modular-include-in-framework-module -Werror\=non-modular-include-in-framework-module -Wno-trigraphs -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-return-type -Wno-implicit-atomic-properties -Wno-objc-interface-ivars -Wno-arc-repeated-use-of-weak -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-bool-conversion -Wno-enum-conversion -Wno-float-conversion -Wno-non-literal-null-conversion -Wno-objc-literal-conversion -Wno-shorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-selector -Wno-strict-selector-match -Wno-undeclared-selector -Wno-deprecated-implementations -Wno-implicit-fallthrough -isysroot /Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk -fstrict-aliasing -Wprotocol -Wdeprecated-declarations -Wno-sign-conversion -Wno-infinite-recursion -Wno-comma -Wno-block-capture-autoreleasing -Wno-strict-prototypes -Wno-semicolon-before-method-body -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LNPreviewToContextMenu.build/Debug-watchos/LNPreviewToContextMenu.build/Objects-normal/armv7k/e6072d4f65d7061329687fe24e3d63a7-common-args.resp -MMD -MT dependencies -MF /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LNPreviewToContextMenu.build/Debug-watchos/LNPreviewToContextMenu.build/Objects-normal/armv7k/UIViewController+UIPreviewContextCompat.d --serialize-diagnostics /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LNPreviewToContextMenu.build/Debug-watchos/LNPreviewToContextMenu.build/Objects-normal/armv7k/UIViewController+UIPreviewContextCompat.dia -c /Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LNPreviewToContextMenu.build/Debug-watchos/LNPreviewToContextMenu.build/Objects-normal/armv7k/UIViewController+UIPreviewContextCompat.o -index-unit-output-path /LNPreviewToContextMenu.build/Debug-watchos/LNPreviewToContextMenu.build/Objects-normal/armv7k/UIViewController+UIPreviewContextCompat.o
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:21:55: error: 'UIViewControllerPreviewing' is unavailable: not available on watchOS
21 | @interface _LNPreviewContextCompatSupport : NSObject <UIViewControllerPreviewing>
| ^
In module 'UIKit' imported from /Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:12:
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:619:11: note: 'UIViewControllerPreviewing' has been explicitly marked unavailable here
619 | @protocol UIViewControllerPreviewing <NSObject>
| ^
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:23:31: error: 'UIGestureRecognizer' is unavailable: not available on watchOS
23 | @property (nonatomic, strong) UIGestureRecognizer *previewingGestureRecognizerForFailureRelationship;
| ^
In module 'UIKit' imported from /Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:12:
/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
35 | @interface UIGestureRecognizer : NSObject
| ^
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:24:32: error: 'UIViewControllerPreviewingDelegate' is unavailable: not available on watchOS
24 | @property (nonatomic, weak) id<UIViewControllerPreviewingDelegate> delegate;
| ^
In module 'UIKit' imported from /Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:12:
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:636:11: note: 'UIViewControllerPreviewingDelegate' has been explicitly marked unavailable here
636 | @protocol UIViewControllerPreviewingDelegate <NSObject>
| ^
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:25:31: error: 'UIView' is unavailable: not available on watchOS
25 | @property (nonatomic, strong) UIView *sourceView;
| ^
In module 'UIKit' imported from /Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:12:
/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
148 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| ^
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:43:60: error: 'UIContextMenuInteraction' is unavailable: not available on watchOS
43 | @interface _LNPreviewContextCompatContextMenuInteraction : UIContextMenuInteraction <UIContextMenuInteractionDelegate>
| ^
In module 'UIKit' imported from /Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:12:
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIContextMenuInteraction.h:32:12: note: 'UIContextMenuInteraction' has been explicitly marked unavailable here
32 | @interface UIContextMenuInteraction : NSObject <UIInteraction>
| ^
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:43:86: error: 'UIContextMenuInteractionDelegate' is unavailable: not available on watchOS
43 | @interface _LNPreviewContextCompatContextMenuInteraction : UIContextMenuInteraction <UIContextMenuInteractionDelegate>
| ^
In module 'UIKit' imported from /Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:12:
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIContextMenuInteraction.h:99:11: note: 'UIContextMenuInteractionDelegate' has been explicitly marked unavailable here
99 | @protocol UIContextMenuInteractionDelegate <NSObject>
| ^
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:47:31: error: 'UIViewController' is unavailable: not available on watchOS
47 | @property (nonatomic, strong) UIViewController* previewViewController;
| ^
In module 'UIKit' imported from /Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:12:
/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
102 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| ^
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:48:31: error: 'UIView' is unavailable: not available on watchOS
48 | @property (nonatomic, strong) UIView* snapshotForTargetedPreview;
| ^
In module 'UIKit' imported from /Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:12:
/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
148 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| ^
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:59:4: error: 'UIMenuElement' is unavailable: not available on watchOS
59 | - (UIMenuElement*)_menuElementForPreviewActionItem:(NSObject<UIPreviewActionItem>*)previewActionItem
| ^
In module 'UIKit' imported from /Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:12:
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenuElement.h:44:12: note: 'UIMenuElement' has been explicitly marked unavailable here
44 | @interface UIMenuElement : NSObject <NSCopying, NSSecureCoding>
| ^
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:59:62: error: 'UIPreviewActionItem' is unavailable: not available on watchOS
59 | - (UIMenuElement*)_menuElementForPreviewActionItem:(NSObject<UIPreviewActionItem>*)previewActionItem
| ^
In module 'UIKit' imported from /Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:12:
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:774:11: note: 'UIPreviewActionItem' has been explicitly marked unavailable here
774 | @protocol UIPreviewActionItem <NSObject>
| ^
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:101:4: error: 'UIMenu' is unavailable: not available on watchOS
101 | - (UIMenu*)_menuForPreviewViewController
| ^
In module 'UIKit' imported from /Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:12:
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenu.h:43:12: note: 'UIMenu' has been explicitly marked unavailable here
43 | @interface UIMenu : UIMenuElement
| ^
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:122:13: error: 'UIContextMenuConfiguration' is unavailable: not available on watchOS
122 | - (nullable UIContextMenuConfiguration *)contextMenuInteraction:(UIContextMenuInteraction *)interaction configurationForMenuAtLocation:(CGPoint)location
| ^
In module 'UIKit' imported from /Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:12:
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIContextMenuConfiguration.h:39:12: note: 'UIContextMenuConfiguration' has been explicitly marked unavailable here
39 | @interface UIContextMenuConfiguration : NSObject
| ^
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:122:66: error: 'UIContextMenuInteraction' is unavailable: not available on watchOS
122 | - (nullable UIContextMenuConfiguration *)contextMenuInteraction:(UIContextMenuInteraction *)interaction configurationForMenuAtLocation:(CGPoint)location
| ^
In module 'UIKit' imported from /Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:12:
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIContextMenuInteraction.h:32:12: note: 'UIContextMenuInteraction' has been explicitly marked unavailable here
32 | @interface UIContextMenuInteraction : NSObject <UIInteraction>
| ^
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:139:13: error: 'UITargetedPreview' is unavailable: not available on watchOS
139 | - (nullable UITargetedPreview *)contextMenuInteraction:(UIContextMenuInteraction *)interaction previewForHighlightingMenuWithConfiguration:(UIContextMenuConfiguration *)configuration
| ^
In module 'UIKit' imported from /Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:12:
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITargetedPreview.h:45:12: note: 'UITargetedPreview' has been explicitly marked unavailable here
45 | @interface UITargetedPreview : NSObject <NSCopying>
| ^
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:139:57: error: 'UIContextMenuInteraction' is unavailable: not available on watchOS
139 | - (nullable UITargetedPreview *)contextMenuInteraction:(UIContextMenuInteraction *)interaction previewForHighlightingMenuWithConfiguration:(UIContextMenuConfiguration *)configuration
| ^
In module 'UIKit' imported from /Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:12:
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIContextMenuInteraction.h:32:12: note: 'UIContextMenuInteraction' has been explicitly marked unavailable here
32 | @interface UIContextMenuInteraction : NSObject <UIInteraction>
| ^
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:139:141: error: 'UIContextMenuConfiguration' is unavailable: not available on watchOS
139 | - (nullable UITargetedPreview *)contextMenuInteraction:(UIContextMenuInteraction *)interaction previewForHighlightingMenuWithConfiguration:(UIContextMenuConfiguration *)configuration
| ^
In module 'UIKit' imported from /Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:12:
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIContextMenuConfiguration.h:39:12: note: 'UIContextMenuConfiguration' has been explicitly marked unavailable here
39 | @interface UIContextMenuConfiguration : NSObject
| ^
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:178:33: error: 'UIContextMenuInteraction' is unavailable: not available on watchOS
178 | - (void)contextMenuInteraction:(UIContextMenuInteraction *)interaction willPerformPreviewActionForMenuWithConfiguration:(UIContextMenuConfiguration *)configuration animator:(id<UIContextMenuInteractionCommitAnimating>)animator
| ^
In module 'UIKit' imported from /Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:12:
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIContextMenuInteraction.h:32:12: note: 'UIContextMenuInteraction' has been explicitly marked unavailable here
32 | @interface UIContextMenuInteraction : NSObject <UIInteraction>
| ^
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:178:122: error: 'UIContextMenuConfiguration' is unavailable: not available on watchOS
178 | - (void)contextMenuInteraction:(UIContextMenuInteraction *)interaction willPerformPreviewActionForMenuWithConfiguration:(UIContextMenuConfiguration *)configuration animator:(id<UIContextMenuInteractionCommitAnimating>)animator
| ^
In module 'UIKit' imported from /Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:12:
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIContextMenuConfiguration.h:39:12: note: 'UIContextMenuConfiguration' has been explicitly marked unavailable here
39 | @interface UIContextMenuConfiguration : NSObject
| ^
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:178:178: error: 'UIContextMenuInteractionCommitAnimating' is unavailable: not available on watchOS
178 | - (void)contextMenuInteraction:(UIContextMenuInteraction *)interaction willPerformPreviewActionForMenuWithConfiguration:(UIContextMenuConfiguration *)configuration animator:(id<UIContextMenuInteractionCommitAnimating>)animator
| ^
In module 'UIKit' imported from /Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:12:
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIContextMenuInteraction.h:90:11: note: 'UIContextMenuInteractionCommitAnimating' has been explicitly marked unavailable here
90 | @protocol UIContextMenuInteractionCommitAnimating <UIContextMenuInteractionAnimating>
| ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
Failed frontend command:
/Applications/Xcode-26.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -cc1 -Wundef-prefix\=TARGET_OS_ -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit\=0 -ferror-limit 19 -serialize-diagnostic-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LNPreviewToContextMenu.build/Debug-watchos/LNPreviewToContextMenu.build/Objects-normal/armv7k/UIViewController+UIPreviewContextCompat.dia -Wdeprecated-objc-isa-usage -Werror\=deprecated-objc-isa-usage -Werror\=implicit-function-declaration -Wnon-modular-include-in-framework-module -Werror\=non-modular-include-in-framework-module -Wno-trigraphs -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-return-type -Wno-implicit-atomic-properties -Wno-objc-interface-ivars -Wno-arc-repeated-use-of-weak -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-bool-conversion -Wno-enum-conversion -Wno-float-conversion -Wno-non-literal-null-conversion -Wno-objc-literal-conversion -Wno-shorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-selector -Wno-strict-selector-match -Wno-undeclared-selector -Wno-deprecated-implementations -Wno-implicit-fallthrough -Wprotocol -Wdeprecated-declarations -Wno-sign-conversion -Wno-infinite-recursion -Wno-comma -Wno-block-capture-autoreleasing -Wno-strict-prototypes -Wno-semicolon-before-method-body -Wno-elaborated-enum-base -Wno-error\=allocator-wrappers -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -index-unit-output-path /LNPreviewToContextMenu.build/Debug-watchos/LNPreviewToContextMenu.build/Objects-normal/armv7k/UIViewController+UIPreviewContextCompat.o -fmodule-map-file\=/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/usr/include/ObjectiveC.modulemap -fmodule-map-file\=/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/UIKit.framework/Modules/module.modulemap -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LNPreviewToContextMenu.build/Debug-watchos/LNPreviewToContextMenu.build/Objects-normal/armv7k/UIViewController+UIPreviewContextCompat.o -disable-free -emit-obj -x objective-c /Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m -target-abi aapcs16 -target-cpu cortex-a7 -target-feature +read-tp-tpidruro -target-feature +vfp2 -target-feature +vfp2sp -target-feature +vfp3 -target-feature +vfp3d16 -target-feature +vfp3d16sp -target-feature +vfp3sp -target-feature +fp16 -target-feature +vfp4 -target-feature +vfp4d16 -target-feature +vfp4d16sp -target-feature +vfp4sp -target-feature -fp-armv8 -target-feature -fp-armv8d16 -target-feature -fp-armv8d16sp -target-feature -fp-armv8sp -target-feature -fullfp16 -target-feature +fp64 -target-feature +d32 -target-feature +neon -target-feature -sha2 -target-feature -aes -target-feature -fp16fml -triple thumbv7k-apple-watchos5.0.0 -target-linker-version 1266.8 -target-sdk-version\=26.4 -fmodules-validate-system-headers -fno-modulemap-allow-subdirectory-search -isysroot /Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk -resource-dir /Applications/Xcode-26.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/21 -fmodule-format\=obj -fmodule-file\=ObjectiveC\=/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules/ObjectiveC-9RV2BTAI3862NCX3GZ3KA2F9Y.pcm -fmodule-file\=UIKit\=/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules/UIKit-U7IASY84L26GNFWJKNLJHEOK.pcm -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/include -I /Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/include -I /Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LNPreviewToContextMenu.build/Debug-watchos/LNPreviewToContextMenu.build/DerivedSources-normal/armv7k -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LNPreviewToContextMenu.build/Debug-watchos/LNPreviewToContextMenu.build/DerivedSources/armv7k -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LNPreviewToContextMenu.build/Debug-watchos/LNPreviewToContextMenu.build/DerivedSources -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -iframework /Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -iframework /Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/Developer/Library/Frameworks -internal-isystem /Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/usr/local/include -internal-isystem /Applications/Xcode-26.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/21/include -internal-externc-isystem /Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/usr/include -internal-externc-isystem /Applications/Xcode-26.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include -internal-iframework /Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks -internal-iframework /Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/SubFrameworks -internal-iframework /Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/Library/Frameworks -ivfsstatcache /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos26.4-23T238-688ef53f1462e2c8f657fdc38a81448f9e51884a582f42380855760c9d4cc599.sdkstatcache -std\=gnu11 -fexceptions -exception-model dwarf -fskip-odr-check-in-gmf -fmodules -fmodule-name\=LNPreviewToContextMenu -fno-implicit-modules -fobjc-exceptions -fmax-type-align\=16 -fpascal-strings -fvisibility-inlines-hidden-static-local-var -mdarwin-stkchk-strong-link -fno-odr-hash-protocols -pic-level 2 -fencode-extended-block-signature -stack-protector 1 -fobjc-runtime\=watchos-5.0.0 -fobjc-arc -fobjc-runtime-has-weak -fobjc-weak -fgnuc-version\=4.2.1 -fblocks -fno-convergent-functions -ffp-contract\=on -fclang-abi-compat\=4.0 -fno-experimental-relative-c++-abi-vtables -fno-file-reproducible -clang-vendor-feature\=+disableNonDependentMemberExprInCurrentInstantiation -clang-vendor-feature\=+enableAggressiveVLAFolding -clang-vendor-feature\=+revert09abecef7bbf -clang-vendor-feature\=+thisNoAlignAttr -clang-vendor-feature\=+thisNoNullAttr -clang-vendor-feature\=+disableAtImportPrivateFrameworkInImplementationError -O0 -fno-assume-unique-vtables -fdebug-compilation-dir\=/Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -fcoverage-compilation-dir\=/Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -fcommon -fdwarf2-cfi-asm -fregister-global-dtors-with-atexit -fno-strict-return -dwarf-version\=4 -debugger-tuning\=lldb -disable-llvm-verifier -dwarf-ext-refs -mfloat-abi hard -funwind-tables\=2 -clear-ast-before-backend -discard-value-names -main-file-name UIViewController+UIPreviewContextCompat.m -mframe-pointer\=non-leaf -debug-info-kind\=standalone -fno-loop-interchange -fdiagnostics-hotness-threshold\=0 -fdiagnostics-misexpect-tolerance\=0 -D DEBUG\=1 -D OBJC_OLD_DISPATCH_PROTOTYPES\=1 -D SWIFT_PACKAGE -D Xcode -fdefine-target-os-macros -MT dependencies -dependency-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LNPreviewToContextMenu.build/Debug-watchos/LNPreviewToContextMenu.build/Objects-normal/armv7k/UIViewController+UIPreviewContextCompat.d -skip-unused-modulemap-deps
CompileC /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LNPreviewToContextMenu.build/Debug-watchos/LNPreviewToContextMenu.build/Objects-normal/arm64_32/UIViewController+UIPreviewContextCompat.o /Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m normal arm64_32 objective-c com.apple.compilers.llvm.clang.1_0.compiler (in target 'LNPreviewToContextMenu' from project 'LNPreviewToContextMenu')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
Using response file: /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LNPreviewToContextMenu.build/Debug-watchos/LNPreviewToContextMenu.build/Objects-normal/arm64_32/e6072d4f65d7061329687fe24e3d63a7-common-args.resp
/Applications/Xcode-26.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x objective-c -ivfsstatcache /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos26.4-23T238-688ef53f1462e2c8f657fdc38a81448f9e51884a582f42380855760c9d4cc599.sdkstatcache -target arm64_32-apple-watchos5.0 -fmessage-length\=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit\=0 -fno-color-diagnostics -fmodules-prune-interval\=86400 -fmodules-prune-after\=345600 -fbuild-session-file\=/Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -fmodules-validate-once-per-build-session -Wnon-modular-include-in-framework-module -Werror\=non-modular-include-in-framework-module -Wno-trigraphs -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-return-type -Wno-implicit-atomic-properties -Wno-objc-interface-ivars -Wno-arc-repeated-use-of-weak -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-bool-conversion -Wno-enum-conversion -Wno-float-conversion -Wno-non-literal-null-conversion -Wno-objc-literal-conversion -Wno-shorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-selector -Wno-strict-selector-match -Wno-undeclared-selector -Wno-deprecated-implementations -Wno-implicit-fallthrough -isysroot /Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk -fstrict-aliasing -Wprotocol -Wdeprecated-declarations -Wno-sign-conversion -Wno-infinite-recursion -Wno-comma -Wno-block-capture-autoreleasing -Wno-strict-prototypes -Wno-semicolon-before-method-body -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LNPreviewToContextMenu.build/Debug-watchos/LNPreviewToContextMenu.build/Objects-normal/arm64_32/e6072d4f65d7061329687fe24e3d63a7-common-args.resp -MMD -MT dependencies -MF /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LNPreviewToContextMenu.build/Debug-watchos/LNPreviewToContextMenu.build/Objects-normal/arm64_32/UIViewController+UIPreviewContextCompat.d --serialize-diagnostics /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LNPreviewToContextMenu.build/Debug-watchos/LNPreviewToContextMenu.build/Objects-normal/arm64_32/UIViewController+UIPreviewContextCompat.dia -c /Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LNPreviewToContextMenu.build/Debug-watchos/LNPreviewToContextMenu.build/Objects-normal/arm64_32/UIViewController+UIPreviewContextCompat.o -index-unit-output-path /LNPreviewToContextMenu.build/Debug-watchos/LNPreviewToContextMenu.build/Objects-normal/arm64_32/UIViewController+UIPreviewContextCompat.o
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:21:55: error: 'UIViewControllerPreviewing' is unavailable: not available on watchOS
21 | @interface _LNPreviewContextCompatSupport : NSObject <UIViewControllerPreviewing>
| ^
In module 'UIKit' imported from /Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:12:
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:619:11: note: 'UIViewControllerPreviewing' has been explicitly marked unavailable here
619 | @protocol UIViewControllerPreviewing <NSObject>
| ^
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:23:31: error: 'UIGestureRecognizer' is unavailable: not available on watchOS
23 | @property (nonatomic, strong) UIGestureRecognizer *previewingGestureRecognizerForFailureRelationship;
| ^
In module 'UIKit' imported from /Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:12:
/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
35 | @interface UIGestureRecognizer : NSObject
| ^
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:24:32: error: 'UIViewControllerPreviewingDelegate' is unavailable: not available on watchOS
24 | @property (nonatomic, weak) id<UIViewControllerPreviewingDelegate> delegate;
| ^
In module 'UIKit' imported from /Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:12:
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:636:11: note: 'UIViewControllerPreviewingDelegate' has been explicitly marked unavailable here
636 | @protocol UIViewControllerPreviewingDelegate <NSObject>
| ^
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:25:31: error: 'UIView' is unavailable: not available on watchOS
25 | @property (nonatomic, strong) UIView *sourceView;
| ^
In module 'UIKit' imported from /Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:12:
/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
148 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| ^
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:43:60: error: 'UIContextMenuInteraction' is unavailable: not available on watchOS
43 | @interface _LNPreviewContextCompatContextMenuInteraction : UIContextMenuInteraction <UIContextMenuInteractionDelegate>
| ^
In module 'UIKit' imported from /Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:12:
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIContextMenuInteraction.h:32:12: note: 'UIContextMenuInteraction' has been explicitly marked unavailable here
32 | @interface UIContextMenuInteraction : NSObject <UIInteraction>
| ^
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:43:86: error: 'UIContextMenuInteractionDelegate' is unavailable: not available on watchOS
43 | @interface _LNPreviewContextCompatContextMenuInteraction : UIContextMenuInteraction <UIContextMenuInteractionDelegate>
| ^
In module 'UIKit' imported from /Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:12:
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIContextMenuInteraction.h:99:11: note: 'UIContextMenuInteractionDelegate' has been explicitly marked unavailable here
99 | @protocol UIContextMenuInteractionDelegate <NSObject>
| ^
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:47:31: error: 'UIViewController' is unavailable: not available on watchOS
47 | @property (nonatomic, strong) UIViewController* previewViewController;
| ^
In module 'UIKit' imported from /Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:12:
/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
102 | @interface UIViewController : UIResponder <NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment>
| ^
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:48:31: error: 'UIView' is unavailable: not available on watchOS
48 | @property (nonatomic, strong) UIView* snapshotForTargetedPreview;
| ^
In module 'UIKit' imported from /Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:12:
/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
148 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| ^
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:59:4: error: 'UIMenuElement' is unavailable: not available on watchOS
59 | - (UIMenuElement*)_menuElementForPreviewActionItem:(NSObject<UIPreviewActionItem>*)previewActionItem
| ^
In module 'UIKit' imported from /Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:12:
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenuElement.h:44:12: note: 'UIMenuElement' has been explicitly marked unavailable here
44 | @interface UIMenuElement : NSObject <NSCopying, NSSecureCoding>
| ^
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:59:62: error: 'UIPreviewActionItem' is unavailable: not available on watchOS
59 | - (UIMenuElement*)_menuElementForPreviewActionItem:(NSObject<UIPreviewActionItem>*)previewActionItem
| ^
In module 'UIKit' imported from /Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:12:
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:774:11: note: 'UIPreviewActionItem' has been explicitly marked unavailable here
774 | @protocol UIPreviewActionItem <NSObject>
| ^
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:101:4: error: 'UIMenu' is unavailable: not available on watchOS
101 | - (UIMenu*)_menuForPreviewViewController
| ^
In module 'UIKit' imported from /Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:12:
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenu.h:43:12: note: 'UIMenu' has been explicitly marked unavailable here
43 | @interface UIMenu : UIMenuElement
| ^
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:122:13: error: 'UIContextMenuConfiguration' is unavailable: not available on watchOS
122 | - (nullable UIContextMenuConfiguration *)contextMenuInteraction:(UIContextMenuInteraction *)interaction configurationForMenuAtLocation:(CGPoint)location
| ^
In module 'UIKit' imported from /Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:12:
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIContextMenuConfiguration.h:39:12: note: 'UIContextMenuConfiguration' has been explicitly marked unavailable here
39 | @interface UIContextMenuConfiguration : NSObject
| ^
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:122:66: error: 'UIContextMenuInteraction' is unavailable: not available on watchOS
122 | - (nullable UIContextMenuConfiguration *)contextMenuInteraction:(UIContextMenuInteraction *)interaction configurationForMenuAtLocation:(CGPoint)location
| ^
In module 'UIKit' imported from /Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:12:
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIContextMenuInteraction.h:32:12: note: 'UIContextMenuInteraction' has been explicitly marked unavailable here
32 | @interface UIContextMenuInteraction : NSObject <UIInteraction>
| ^
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:139:13: error: 'UITargetedPreview' is unavailable: not available on watchOS
139 | - (nullable UITargetedPreview *)contextMenuInteraction:(UIContextMenuInteraction *)interaction previewForHighlightingMenuWithConfiguration:(UIContextMenuConfiguration *)configuration
| ^
In module 'UIKit' imported from /Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:12:
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITargetedPreview.h:45:12: note: 'UITargetedPreview' has been explicitly marked unavailable here
45 | @interface UITargetedPreview : NSObject <NSCopying>
| ^
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:139:57: error: 'UIContextMenuInteraction' is unavailable: not available on watchOS
139 | - (nullable UITargetedPreview *)contextMenuInteraction:(UIContextMenuInteraction *)interaction previewForHighlightingMenuWithConfiguration:(UIContextMenuConfiguration *)configuration
| ^
In module 'UIKit' imported from /Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:12:
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIContextMenuInteraction.h:32:12: note: 'UIContextMenuInteraction' has been explicitly marked unavailable here
32 | @interface UIContextMenuInteraction : NSObject <UIInteraction>
| ^
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:139:141: error: 'UIContextMenuConfiguration' is unavailable: not available on watchOS
139 | - (nullable UITargetedPreview *)contextMenuInteraction:(UIContextMenuInteraction *)interaction previewForHighlightingMenuWithConfiguration:(UIContextMenuConfiguration *)configuration
| ^
In module 'UIKit' imported from /Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:12:
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIContextMenuConfiguration.h:39:12: note: 'UIContextMenuConfiguration' has been explicitly marked unavailable here
39 | @interface UIContextMenuConfiguration : NSObject
| ^
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:178:33: error: 'UIContextMenuInteraction' is unavailable: not available on watchOS
178 | - (void)contextMenuInteraction:(UIContextMenuInteraction *)interaction willPerformPreviewActionForMenuWithConfiguration:(UIContextMenuConfiguration *)configuration animator:(id<UIContextMenuInteractionCommitAnimating>)animator
| ^
In module 'UIKit' imported from /Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:12:
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIContextMenuInteraction.h:32:12: note: 'UIContextMenuInteraction' has been explicitly marked unavailable here
32 | @interface UIContextMenuInteraction : NSObject <UIInteraction>
| ^
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:178:122: error: 'UIContextMenuConfiguration' is unavailable: not available on watchOS
178 | - (void)contextMenuInteraction:(UIContextMenuInteraction *)interaction willPerformPreviewActionForMenuWithConfiguration:(UIContextMenuConfiguration *)configuration animator:(id<UIContextMenuInteractionCommitAnimating>)animator
| ^
In module 'UIKit' imported from /Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:12:
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIContextMenuConfiguration.h:39:12: note: 'UIContextMenuConfiguration' has been explicitly marked unavailable here
39 | @interface UIContextMenuConfiguration : NSObject
| ^
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:178:178: error: 'UIContextMenuInteractionCommitAnimating' is unavailable: not available on watchOS
178 | - (void)contextMenuInteraction:(UIContextMenuInteraction *)interaction willPerformPreviewActionForMenuWithConfiguration:(UIContextMenuConfiguration *)configuration animator:(id<UIContextMenuInteractionCommitAnimating>)animator
| ^
In module 'UIKit' imported from /Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:12:
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIContextMenuInteraction.h:90:11: note: 'UIContextMenuInteractionCommitAnimating' has been explicitly marked unavailable here
90 | @protocol UIContextMenuInteractionCommitAnimating <UIContextMenuInteractionAnimating>
| ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
Failed frontend command:
/Applications/Xcode-26.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -cc1 -Wundef-prefix\=TARGET_OS_ -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit\=0 -ferror-limit 19 -serialize-diagnostic-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LNPreviewToContextMenu.build/Debug-watchos/LNPreviewToContextMenu.build/Objects-normal/arm64_32/UIViewController+UIPreviewContextCompat.dia -Wdeprecated-objc-isa-usage -Werror\=deprecated-objc-isa-usage -Werror\=implicit-function-declaration -Wnon-modular-include-in-framework-module -Werror\=non-modular-include-in-framework-module -Wno-trigraphs -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-return-type -Wno-implicit-atomic-properties -Wno-objc-interface-ivars -Wno-arc-repeated-use-of-weak -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-bool-conversion -Wno-enum-conversion -Wno-float-conversion -Wno-non-literal-null-conversion -Wno-objc-literal-conversion -Wno-shorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-selector -Wno-strict-selector-match -Wno-undeclared-selector -Wno-deprecated-implementations -Wno-implicit-fallthrough -Wprotocol -Wdeprecated-declarations -Wno-sign-conversion -Wno-infinite-recursion -Wno-comma -Wno-block-capture-autoreleasing -Wno-strict-prototypes -Wno-semicolon-before-method-body -Wno-elaborated-enum-base -Wno-error\=allocator-wrappers -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -index-unit-output-path /LNPreviewToContextMenu.build/Debug-watchos/LNPreviewToContextMenu.build/Objects-normal/arm64_32/UIViewController+UIPreviewContextCompat.o -fmodule-map-file\=/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/usr/include/ObjectiveC.modulemap -fmodule-map-file\=/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/UIKit.framework/Modules/module.modulemap -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LNPreviewToContextMenu.build/Debug-watchos/LNPreviewToContextMenu.build/Objects-normal/arm64_32/UIViewController+UIPreviewContextCompat.o -disable-free -emit-obj -x objective-c /Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m -target-abi darwinpcs -target-cpu apple-s4 -target-feature +v8.3a -target-feature +aes -target-feature +complxnum -target-feature +crc -target-feature +fp-armv8 -target-feature +fullfp16 -target-feature +jsconv -target-feature +lse -target-feature +neon -target-feature +pauth -target-feature +perfmon -target-feature +ras -target-feature +rcpc -target-feature +rdm -target-feature +sha2 -triple arm64_32-apple-watchos5.0.0 -target-linker-version 1266.8 -target-sdk-version\=26.4 -fmodules-validate-system-headers -fno-modulemap-allow-subdirectory-search -isysroot /Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk -resource-dir /Applications/Xcode-26.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/21 -fmodule-format\=obj -fmodule-file\=ObjectiveC\=/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules/ObjectiveC-CEPR3703YU47L4QNV4YE3YW6P.pcm -fmodule-file\=UIKit\=/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules/UIKit-8XCTWS5Y4Y8S0KB7HVBSB7SUJ.pcm -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/include -I /Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/include -I /Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LNPreviewToContextMenu.build/Debug-watchos/LNPreviewToContextMenu.build/DerivedSources-normal/arm64_32 -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LNPreviewToContextMenu.build/Debug-watchos/LNPreviewToContextMenu.build/DerivedSources/arm64_32 -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LNPreviewToContextMenu.build/Debug-watchos/LNPreviewToContextMenu.build/DerivedSources -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -iframework /Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -iframework /Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/Developer/Library/Frameworks -internal-isystem /Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/usr/local/include -internal-isystem /Applications/Xcode-26.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/21/include -internal-externc-isystem /Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/usr/include -internal-externc-isystem /Applications/Xcode-26.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include -internal-iframework /Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/Frameworks -internal-iframework /Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/System/Library/SubFrameworks -internal-iframework /Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk/Library/Frameworks -ivfsstatcache /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos26.4-23T238-688ef53f1462e2c8f657fdc38a81448f9e51884a582f42380855760c9d4cc599.sdkstatcache -std\=gnu11 -fexceptions -fskip-odr-check-in-gmf -fmodules -fmodule-name\=LNPreviewToContextMenu -fno-implicit-modules -fobjc-exceptions -fmax-type-align\=16 -fpascal-strings -fvisibility-inlines-hidden-static-local-var -mdarwin-stkchk-strong-link -fno-odr-hash-protocols -pic-level 2 -fencode-extended-block-signature -stack-protector 1 -fobjc-runtime\=watchos-5.0.0 -fobjc-arc -fobjc-runtime-has-weak -fobjc-weak -fgnuc-version\=4.2.1 -fblocks -fno-convergent-functions -ffp-contract\=on -fclang-abi-compat\=4.0 -fno-experimental-relative-c++-abi-vtables -fno-file-reproducible -clang-vendor-feature\=+disableNonDependentMemberExprInCurrentInstantiation -clang-vendor-feature\=+enableAggressiveVLAFolding -clang-vendor-feature\=+revert09abecef7bbf -clang-vendor-feature\=+thisNoAlignAttr -clang-vendor-feature\=+thisNoNullAttr -clang-vendor-feature\=+disableAtImportPrivateFrameworkInImplementationError -O0 -fno-assume-unique-vtables -fdebug-compilation-dir\=/Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -fcoverage-compilation-dir\=/Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -fcommon -fdwarf2-cfi-asm -fobjc-msgsend-selector-stubs -fregister-global-dtors-with-atexit -fno-strict-return -dwarf-version\=4 -debugger-tuning\=lldb -disable-llvm-verifier -dwarf-ext-refs -funwind-tables\=1 -enable-tlsdesc -clear-ast-before-backend -discard-value-names -main-file-name UIViewController+UIPreviewContextCompat.m -mframe-pointer\=non-leaf -debug-info-kind\=standalone -fno-loop-interchange -fdiagnostics-hotness-threshold\=0 -fdiagnostics-misexpect-tolerance\=0 -D DEBUG\=1 -D OBJC_OLD_DISPATCH_PROTOTYPES\=1 -D SWIFT_PACKAGE -D Xcode -fdefine-target-os-macros -MT dependencies -dependency-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LNPreviewToContextMenu.build/Debug-watchos/LNPreviewToContextMenu.build/Objects-normal/arm64_32/UIViewController+UIPreviewContextCompat.d -skip-unused-modulemap-deps
2026-04-12 07:16:45.893 xcodebuild[772:4435] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
** BUILD FAILED **
The following build commands failed:
CompileC /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LNPreviewToContextMenu.build/Debug-watchos/LNPreviewToContextMenu.build/Objects-normal/arm64/UIViewController+UIPreviewContextCompat.o /Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m normal arm64 objective-c com.apple.compilers.llvm.clang.1_0.compiler (in target 'LNPreviewToContextMenu' from project 'LNPreviewToContextMenu')
CompileC /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LNPreviewToContextMenu.build/Debug-watchos/LNPreviewToContextMenu.build/Objects-normal/armv7k/UIViewController+UIPreviewContextCompat.o /Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m normal armv7k objective-c com.apple.compilers.llvm.clang.1_0.compiler (in target 'LNPreviewToContextMenu' from project 'LNPreviewToContextMenu')
CompileC /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LNPreviewToContextMenu.build/Debug-watchos/LNPreviewToContextMenu.build/Objects-normal/arm64_32/UIViewController+UIPreviewContextCompat.o /Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m normal arm64_32 objective-c com.apple.compilers.llvm.clang.1_0.compiler (in target 'LNPreviewToContextMenu' from project 'LNPreviewToContextMenu')
Building workspace spi-builder-workspace with scheme LNPreviewToContextMenu-Package
(4 failures)
BUILD FAILURE 6.3 watchOS