Build Information
Failed to build LNPreviewToContextMenu, reference master (afaac2), with Swift 6.3 for tvOS using Xcode 26.4 on 12 Apr 2026 11:16:45 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=tvOSBuild Log
========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/LeoNatan/LNPreviewToContextMenu.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/LeoNatan/LNPreviewToContextMenu
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at afaac2f 1.3
Cloned https://github.com/LeoNatan/LNPreviewToContextMenu.git
Revision (git rev-parse @):
afaac2f725edc4270fd3256a00e64cb9de37b62b
SUCCESS checkout https://github.com/LeoNatan/LNPreviewToContextMenu.git at master
========================================
Build
========================================
Selected platform: tvOS
Swift version: 6.3
Building package at path: $PWD
https://github.com/LeoNatan/LNPreviewToContextMenu.git
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
Resolve Package Graph
Resolved source packages:
LNPreviewToContextMenu: /Users/admin/builder/spi-builder-workspace
resolved source packages: LNPreviewToContextMenu
2026-04-12 07:16:27.282 xcodebuild[529:3058] [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:35.313 xcodebuild[631:3817] [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=tvOS
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=tvOS
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
ExecuteExternalTool /Applications/Xcode-26.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -v -E -dM -isysroot /Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS26.4.sdk -x c -c /dev/null
ExecuteExternalTool /Applications/Xcode-26.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -v -E -dM -arch arm64 -isysroot /Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS26.4.sdk -x objective-c -c /dev/null
ExecuteExternalTool /Applications/Xcode-26.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld -version_details
ExecuteExternalTool /Applications/Xcode-26.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -v -E -dM -arch arm64 -isysroot /Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS26.4.sdk -x c -c /dev/null
Build description signature: 5d09815c62faf4e7f9425e3f564a855c
Build description path: /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/XCBuildData/5d09815c62faf4e7f9425e3f564a855c.xcbuilddata
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-create-build-directory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-create-build-directory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex
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/AppleTVOS.platform/Developer/SDKs/AppleTVOS26.4.sdk /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/appletvos26.4-23L236-688ef53f1462e2c8f657fdc38a81448fe9417fc108aa677fd4261ecaa021a5e7.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/AppleTVOS.platform/Developer/SDKs/AppleTVOS26.4.sdk -o /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/appletvos26.4-23L236-688ef53f1462e2c8f657fdc38a81448fe9417fc108aa677fd4261ecaa021a5e7.sdkstatcache
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-create-build-directory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-create-build-directory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-create-build-directory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/EagerLinkingTBDs/Debug-appletvos
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-create-build-directory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/EagerLinkingTBDs/Debug-appletvos
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos/PackageFrameworks
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-create-build-directory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos/PackageFrameworks
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LNPreviewToContextMenu.build/Debug-appletvos/LNPreviewToContextMenu.build/LNPreviewToContextMenu.DependencyStaticMetadataFileList (in target 'LNPreviewToContextMenu' from project 'LNPreviewToContextMenu')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LNPreviewToContextMenu.build/Debug-appletvos/LNPreviewToContextMenu.build/LNPreviewToContextMenu.DependencyStaticMetadataFileList
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LNPreviewToContextMenu.build/Debug-appletvos/LNPreviewToContextMenu.build/LNPreviewToContextMenu.modulemap (in target 'LNPreviewToContextMenu' from project 'LNPreviewToContextMenu')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LNPreviewToContextMenu.build/Debug-appletvos/LNPreviewToContextMenu.build/LNPreviewToContextMenu.modulemap
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LNPreviewToContextMenu.build/Debug-appletvos/LNPreviewToContextMenu.build/LNPreviewToContextMenu.DependencyMetadataFileList (in target 'LNPreviewToContextMenu' from project 'LNPreviewToContextMenu')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LNPreviewToContextMenu.build/Debug-appletvos/LNPreviewToContextMenu.build/LNPreviewToContextMenu.DependencyMetadataFileList
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LNPreviewToContextMenu.build/Debug-appletvos/LNPreviewToContextMenu\ product.build/empty-LNPreviewToContextMenu.plist (in target 'LNPreviewToContextMenu' from project 'LNPreviewToContextMenu')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LNPreviewToContextMenu.build/Debug-appletvos/LNPreviewToContextMenu\ product.build/empty-LNPreviewToContextMenu.plist
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LNPreviewToContextMenu.build/Debug-appletvos/LNPreviewToContextMenu\ product.build/LNPreviewToContextMenu.DependencyStaticMetadataFileList (in target 'LNPreviewToContextMenu' from project 'LNPreviewToContextMenu')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LNPreviewToContextMenu.build/Debug-appletvos/LNPreviewToContextMenu\ product.build/LNPreviewToContextMenu.DependencyStaticMetadataFileList
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LNPreviewToContextMenu.build/Debug-appletvos/LNPreviewToContextMenu\ product.build/LNPreviewToContextMenu.DependencyMetadataFileList (in target 'LNPreviewToContextMenu' from project 'LNPreviewToContextMenu')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LNPreviewToContextMenu.build/Debug-appletvos/LNPreviewToContextMenu\ product.build/LNPreviewToContextMenu.DependencyMetadataFileList
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LNPreviewToContextMenu.build/Debug-appletvos/LNPreviewToContextMenu.build/Objects-normal/arm64/LNPreviewToContextMenu.LinkFileList (in target 'LNPreviewToContextMenu' from project 'LNPreviewToContextMenu')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LNPreviewToContextMenu.build/Debug-appletvos/LNPreviewToContextMenu.build/Objects-normal/arm64/LNPreviewToContextMenu.LinkFileList
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LNPreviewToContextMenu.build/Debug-appletvos/LNPreviewToContextMenu.build/Objects-normal/arm64/e6072d4f65d7061329687fe24e3d63a7-common-args.resp (in target 'LNPreviewToContextMenu' from project 'LNPreviewToContextMenu')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LNPreviewToContextMenu.build/Debug-appletvos/LNPreviewToContextMenu.build/Objects-normal/arm64/e6072d4f65d7061329687fe24e3d63a7-common-args.resp
-fobjc-arc -fmodules -gmodules '-fmodules-cache-path=/Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex' '-fmodule-name=LNPreviewToContextMenu' -fpascal-strings -O0 -DSWIFT_PACKAGE '-DDEBUG=1' '-DOBJC_OLD_DISPATCH_PROTOTYPES=1' -g -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos/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-appletvos/LNPreviewToContextMenu.build/DerivedSources-normal/arm64 -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LNPreviewToContextMenu.build/Debug-appletvos/LNPreviewToContextMenu.build/DerivedSources/arm64 -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LNPreviewToContextMenu.build/Debug-appletvos/LNPreviewToContextMenu.build/DerivedSources -F/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos -iframework /Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/Library/Frameworks -iframework /Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS26.4.sdk/Developer/Library/Frameworks -DXcode
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LNPreviewToContextMenu.build/Debug-appletvos/LNPreviewToContextMenu\ product.build/Objects-normal/arm64/LNPreviewToContextMenu.LinkFileList (in target 'LNPreviewToContextMenu' from project 'LNPreviewToContextMenu')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LNPreviewToContextMenu.build/Debug-appletvos/LNPreviewToContextMenu\ product.build/Objects-normal/arm64/LNPreviewToContextMenu.LinkFileList
MkDir /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos/PackageFrameworks/LNPreviewToContextMenu.framework (in target 'LNPreviewToContextMenu' from project 'LNPreviewToContextMenu')
cd /Users/admin/builder/spi-builder-workspace
/bin/mkdir -p /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos/PackageFrameworks/LNPreviewToContextMenu.framework
Copy /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeneratedModuleMaps-appletvos/LNPreviewToContextMenu.modulemap /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LNPreviewToContextMenu.build/Debug-appletvos/LNPreviewToContextMenu.build/LNPreviewToContextMenu.modulemap (in target 'LNPreviewToContextMenu' from project 'LNPreviewToContextMenu')
cd /Users/admin/builder/spi-builder-workspace
builtin-copy -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git -exclude .hg -resolve-src-symlinks /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LNPreviewToContextMenu.build/Debug-appletvos/LNPreviewToContextMenu.build/LNPreviewToContextMenu.modulemap /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeneratedModuleMaps-appletvos
ScanDependencies /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LNPreviewToContextMenu.build/Debug-appletvos/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-appletvos/LNPreviewToContextMenu.build/Objects-normal/arm64/e6072d4f65d7061329687fe24e3d63a7-common-args.resp
builtin-ScanDependencies -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LNPreviewToContextMenu.build/Debug-appletvos/LNPreviewToContextMenu.build/Objects-normal/arm64/UIViewController+UIPreviewContextCompat.o.scan -- /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/appletvos26.4-23L236-688ef53f1462e2c8f657fdc38a81448fe9417fc108aa677fd4261ecaa021a5e7.sdkstatcache -target arm64-apple-tvos12.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/AppleTVOS.platform/Developer/SDKs/AppleTVOS26.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-appletvos/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-appletvos/LNPreviewToContextMenu.build/Objects-normal/arm64/UIViewController+UIPreviewContextCompat.d --serialize-diagnostics /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LNPreviewToContextMenu.build/Debug-appletvos/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-appletvos/LNPreviewToContextMenu.build/Objects-normal/arm64/UIViewController+UIPreviewContextCompat.o -index-unit-output-path /LNPreviewToContextMenu.build/Debug-appletvos/LNPreviewToContextMenu.build/Objects-normal/arm64/UIViewController+UIPreviewContextCompat.o
PrecompileModule /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules/_Builtin_stdarg-8O0TJNQV0LYO137F7X89SA73U.scan
cd /
builtin-precompileModule /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules/_Builtin_stdarg-8O0TJNQV0LYO137F7X89SA73U.scan
PrecompileModule /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules/_Builtin_stdbool-7LF8CENQLPQ7MBOEV2WTA36RO.scan
cd /
builtin-precompileModule /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules/_Builtin_stdbool-7LF8CENQLPQ7MBOEV2WTA36RO.scan
PrecompileModule /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules/ptrauth-5488Y4ZHCC7FX7IQZK1OWATZ4.scan
cd /
builtin-precompileModule /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules/ptrauth-5488Y4ZHCC7FX7IQZK1OWATZ4.scan
PrecompileModule /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules/_Builtin_stddef-CQQ3FNFBTKZJDM21C3199BFBK.scan
cd /
builtin-precompileModule /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules/_Builtin_stddef-CQQ3FNFBTKZJDM21C3199BFBK.scan
PrecompileModule /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules/_AvailabilityInternal-140F3FSDM7A1KD1B7HARZU2IA.scan
cd /
builtin-precompileModule /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules/_AvailabilityInternal-140F3FSDM7A1KD1B7HARZU2IA.scan
PrecompileModule /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules/_Builtin_float-5TWUI37Q26Y5PNE8FXR8C803K.scan
cd /
builtin-precompileModule /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules/_Builtin_float-5TWUI37Q26Y5PNE8FXR8C803K.scan
PrecompileModule /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules/ptrcheck-5UKGLJ70UKAD3I51SOIB565PU.scan
cd /
builtin-precompileModule /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules/ptrcheck-5UKGLJ70UKAD3I51SOIB565PU.scan
PrecompileModule /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules/_DarwinFoundation1-1IFQ0IH3MCX0PQEUWB21SR51V.scan
cd /
builtin-precompileModule /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules/_DarwinFoundation1-1IFQ0IH3MCX0PQEUWB21SR51V.scan
PrecompileModule /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules/_Builtin_limits-5IKTFVFPU8UW1FYBCT3KV0R6W.scan
cd /
builtin-precompileModule /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules/_Builtin_limits-5IKTFVFPU8UW1FYBCT3KV0R6W.scan
PrecompileModule /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules/_DarwinFoundation2-5YO9RVB1EIWMIH9DAIMUPWS0Z.scan
cd /
builtin-precompileModule /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules/_DarwinFoundation2-5YO9RVB1EIWMIH9DAIMUPWS0Z.scan
PrecompileModule /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules/_Builtin_stdint-AFZPBLVLJOOATAWS0G5B4LXR9.scan
cd /
builtin-precompileModule /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules/_Builtin_stdint-AFZPBLVLJOOATAWS0G5B4LXR9.scan
PrecompileModule /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules/_DarwinFoundation3-1H3L1B5S7C4VT3CFJ3KI2XQTO.scan
cd /
builtin-precompileModule /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules/_DarwinFoundation3-1H3L1B5S7C4VT3CFJ3KI2XQTO.scan
PrecompileModule /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules/_Builtin_inttypes-9XNYFJ85YJ36O64EF6ARBTPVP.scan
cd /
builtin-precompileModule /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules/_Builtin_inttypes-9XNYFJ85YJ36O64EF6ARBTPVP.scan
PrecompileModule /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules/Darwin-4MUIAE58JEXOOWBB59LK4JM9.scan
cd /
builtin-precompileModule /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules/Darwin-4MUIAE58JEXOOWBB59LK4JM9.scan
PrecompileModule /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules/ObjectiveC-EL4Q7BUFOGC0US3SEERIRF097.scan
cd /
builtin-precompileModule /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules/ObjectiveC-EL4Q7BUFOGC0US3SEERIRF097.scan
PrecompileModule /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules/os_object-CLF7MIHJBHU7JEA5WCJ56SB5W.scan
cd /
builtin-precompileModule /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules/os_object-CLF7MIHJBHU7JEA5WCJ56SB5W.scan
PrecompileModule /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules/os_workgroup-COULI9O8NOP3H7ARVX0L5MJ6U.scan
cd /
builtin-precompileModule /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules/os_workgroup-COULI9O8NOP3H7ARVX0L5MJ6U.scan
PrecompileModule /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules/Dispatch-2NKUZ1F3K0UGDW7ER6JAUFVUF.scan
cd /
builtin-precompileModule /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules/Dispatch-2NKUZ1F3K0UGDW7ER6JAUFVUF.scan
PrecompileModule /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules/CoreFoundation-3MLAL5MK5CIKGDWXGMTNBQEHE.scan
cd /
builtin-precompileModule /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules/CoreFoundation-3MLAL5MK5CIKGDWXGMTNBQEHE.scan
PrecompileModule /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules/XPC-65AX2WLFQ1CD31GUDT4UOW51S.scan
cd /
builtin-precompileModule /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules/XPC-65AX2WLFQ1CD31GUDT4UOW51S.scan
PrecompileModule /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules/CoreGraphics-3JMZVGF1CW5X34KMQ0CUNFC88.scan
cd /
builtin-precompileModule /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules/CoreGraphics-3JMZVGF1CW5X34KMQ0CUNFC88.scan
PrecompileModule /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules/CFNetwork-4IBGWX7M0Y52NMMYHHC968359.scan
cd /
builtin-precompileModule /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules/CFNetwork-4IBGWX7M0Y52NMMYHHC968359.scan
PrecompileModule /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules/Security-E0PUYVQO2IJRXAI5AD7VH9IKD.scan
cd /
builtin-precompileModule /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules/Security-E0PUYVQO2IJRXAI5AD7VH9IKD.scan
PrecompileModule /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules/Foundation-DX7PGI1U39JD93SDHY2IIJPS6.scan
cd /
builtin-precompileModule /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules/Foundation-DX7PGI1U39JD93SDHY2IIJPS6.scan
PrecompileModule /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules/ImageIO-7OX3J4XHNSA4TVVLG47REESP9.scan
cd /
builtin-precompileModule /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules/ImageIO-7OX3J4XHNSA4TVVLG47REESP9.scan
PrecompileModule /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules/CoreText-C2A7TVHPHXU3DYU3MM7U7OB4T.scan
cd /
builtin-precompileModule /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules/CoreText-C2A7TVHPHXU3DYU3MM7U7OB4T.scan
PrecompileModule /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules/UIUtilities-66QDUURPQZFWLBPVWWFSOB870.scan
cd /
builtin-precompileModule /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules/UIUtilities-66QDUURPQZFWLBPVWWFSOB870.scan
PrecompileModule /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules/IOSurface-3D7WM07TGZP8V2A8NEULDN46D.scan
cd /
builtin-precompileModule /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules/IOSurface-3D7WM07TGZP8V2A8NEULDN46D.scan
PrecompileModule /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules/Symbols-6CKOUITEKZDM8JXO19JHAUXBM.scan
cd /
builtin-precompileModule /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules/Symbols-6CKOUITEKZDM8JXO19JHAUXBM.scan
PrecompileModule /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules/UserNotifications-BA6663HT9AFRU66UEC1AA4SEG.scan
cd /
builtin-precompileModule /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules/UserNotifications-BA6663HT9AFRU66UEC1AA4SEG.scan
PrecompileModule /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules/OpenGLES-3N4M8GXWWTOBZDOWRYQZZLE2D.scan
cd /
builtin-precompileModule /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules/OpenGLES-3N4M8GXWWTOBZDOWRYQZZLE2D.scan
PrecompileModule /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules/Metal-142S4531XN3ZDVJSMX4C4WIWX.scan
cd /
builtin-precompileModule /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules/Metal-142S4531XN3ZDVJSMX4C4WIWX.scan
PrecompileModule /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules/CoreVideo-OTZEG5175CMI9HIQFJYBLGW7.scan
cd /
builtin-precompileModule /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules/CoreVideo-OTZEG5175CMI9HIQFJYBLGW7.scan
PrecompileModule /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules/CoreImage-KXSNGCE28CTXNGBOPYIJXPIV.scan
cd /
builtin-precompileModule /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules/CoreImage-KXSNGCE28CTXNGBOPYIJXPIV.scan
PrecompileModule /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules/QuartzCore-8EEEYIOT5ER1O79DAKZ4PBLBP.scan
cd /
builtin-precompileModule /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules/QuartzCore-8EEEYIOT5ER1O79DAKZ4PBLBP.scan
PrecompileModule /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules/UIKit-D9JRZB2AETT7NKIUQE5C98X0S.scan
cd /
builtin-precompileModule /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules/UIKit-D9JRZB2AETT7NKIUQE5C98X0S.scan
CompileC /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LNPreviewToContextMenu.build/Debug-appletvos/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-appletvos/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/appletvos26.4-23L236-688ef53f1462e2c8f657fdc38a81448fe9417fc108aa677fd4261ecaa021a5e7.sdkstatcache -target arm64-apple-tvos12.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/AppleTVOS.platform/Developer/SDKs/AppleTVOS26.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-appletvos/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-appletvos/LNPreviewToContextMenu.build/Objects-normal/arm64/UIViewController+UIPreviewContextCompat.d --serialize-diagnostics /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LNPreviewToContextMenu.build/Debug-appletvos/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-appletvos/LNPreviewToContextMenu.build/Objects-normal/arm64/UIViewController+UIPreviewContextCompat.o -index-unit-output-path /LNPreviewToContextMenu.build/Debug-appletvos/LNPreviewToContextMenu.build/Objects-normal/arm64/UIViewController+UIPreviewContextCompat.o
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:43:60: warning: 'UIContextMenuInteraction' is only available on tvOS 17.0 or newer [-Wunguarded-availability-new]
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/AppleTVOS.platform/Developer/SDKs/AppleTVOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIContextMenuInteraction.h:32:12: note: 'UIContextMenuInteraction' has been marked as being introduced in tvOS 17.0 here, but the deployment target is tvOS 12.0.0
32 | @interface UIContextMenuInteraction : NSObject <UIInteraction>
| ^
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:43:12: note: annotate '_LNPreviewContextCompatContextMenuInteraction' with an availability attribute to silence this warning
43 | @interface _LNPreviewContextCompatContextMenuInteraction : UIContextMenuInteraction <UIContextMenuInteractionDelegate>
| ^
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:122:13: warning: 'UIContextMenuConfiguration' is only available on tvOS 17.0 or newer [-Wunguarded-availability-new]
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/AppleTVOS.platform/Developer/SDKs/AppleTVOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIContextMenuConfiguration.h:39:12: note: 'UIContextMenuConfiguration' has been marked as being introduced in tvOS 17.0 here, but the deployment target is tvOS 12.0.0
39 | @interface UIContextMenuConfiguration : NSObject
| ^
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:122:1: note: annotate 'contextMenuInteraction:configurationForMenuAtLocation:' with an availability attribute to silence this warning
122 | - (nullable UIContextMenuConfiguration *)contextMenuInteraction:(UIContextMenuInteraction *)interaction configurationForMenuAtLocation:(CGPoint)location
| ^
123 | {
| API_AVAILABLE(tvos(17.0))
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:122:66: warning: 'UIContextMenuInteraction' is only available on tvOS 17.0 or newer [-Wunguarded-availability-new]
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/AppleTVOS.platform/Developer/SDKs/AppleTVOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIContextMenuInteraction.h:32:12: note: 'UIContextMenuInteraction' has been marked as being introduced in tvOS 17.0 here, but the deployment target is tvOS 12.0.0
32 | @interface UIContextMenuInteraction : NSObject <UIInteraction>
| ^
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:122:1: note: annotate 'contextMenuInteraction:configurationForMenuAtLocation:' with an availability attribute to silence this warning
122 | - (nullable UIContextMenuConfiguration *)contextMenuInteraction:(UIContextMenuInteraction *)interaction configurationForMenuAtLocation:(CGPoint)location
| ^
123 | {
| API_AVAILABLE(tvos(17.0))
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:139:13: warning: 'UITargetedPreview' is only available on tvOS 17.0 or newer [-Wunguarded-availability-new]
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/AppleTVOS.platform/Developer/SDKs/AppleTVOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITargetedPreview.h:45:12: note: 'UITargetedPreview' has been marked as being introduced in tvOS 17.0 here, but the deployment target is tvOS 12.0.0
45 | @interface UITargetedPreview : NSObject <NSCopying>
| ^
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:139:1: note: annotate 'contextMenuInteraction:previewForHighlightingMenuWithConfiguration:' with an availability attribute to silence this warning
139 | - (nullable UITargetedPreview *)contextMenuInteraction:(UIContextMenuInteraction *)interaction previewForHighlightingMenuWithConfiguration:(UIContextMenuConfiguration *)configuration
| ^
140 | {
| API_AVAILABLE(tvos(17.0))
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:139:57: warning: 'UIContextMenuInteraction' is only available on tvOS 17.0 or newer [-Wunguarded-availability-new]
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/AppleTVOS.platform/Developer/SDKs/AppleTVOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIContextMenuInteraction.h:32:12: note: 'UIContextMenuInteraction' has been marked as being introduced in tvOS 17.0 here, but the deployment target is tvOS 12.0.0
32 | @interface UIContextMenuInteraction : NSObject <UIInteraction>
| ^
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:139:1: note: annotate 'contextMenuInteraction:previewForHighlightingMenuWithConfiguration:' with an availability attribute to silence this warning
139 | - (nullable UITargetedPreview *)contextMenuInteraction:(UIContextMenuInteraction *)interaction previewForHighlightingMenuWithConfiguration:(UIContextMenuConfiguration *)configuration
| ^
140 | {
| API_AVAILABLE(tvos(17.0))
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:139:141: warning: 'UIContextMenuConfiguration' is only available on tvOS 17.0 or newer [-Wunguarded-availability-new]
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/AppleTVOS.platform/Developer/SDKs/AppleTVOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIContextMenuConfiguration.h:39:12: note: 'UIContextMenuConfiguration' has been marked as being introduced in tvOS 17.0 here, but the deployment target is tvOS 12.0.0
39 | @interface UIContextMenuConfiguration : NSObject
| ^
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:139:1: note: annotate 'contextMenuInteraction:previewForHighlightingMenuWithConfiguration:' with an availability attribute to silence this warning
139 | - (nullable UITargetedPreview *)contextMenuInteraction:(UIContextMenuInteraction *)interaction previewForHighlightingMenuWithConfiguration:(UIContextMenuConfiguration *)configuration
| ^
140 | {
| API_AVAILABLE(tvos(17.0))
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:178:33: warning: 'UIContextMenuInteraction' is only available on tvOS 17.0 or newer [-Wunguarded-availability-new]
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/AppleTVOS.platform/Developer/SDKs/AppleTVOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIContextMenuInteraction.h:32:12: note: 'UIContextMenuInteraction' has been marked as being introduced in tvOS 17.0 here, but the deployment target is tvOS 12.0.0
32 | @interface UIContextMenuInteraction : NSObject <UIInteraction>
| ^
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:178:1: note: annotate 'contextMenuInteraction:willPerformPreviewActionForMenuWithConfiguration:animator:' with an availability attribute to silence this warning
178 | - (void)contextMenuInteraction:(UIContextMenuInteraction *)interaction willPerformPreviewActionForMenuWithConfiguration:(UIContextMenuConfiguration *)configuration animator:(id<UIContextMenuInteractionCommitAnimating>)animator
| ^
179 | {
| API_AVAILABLE(tvos(17.0))
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:178:122: warning: 'UIContextMenuConfiguration' is only available on tvOS 17.0 or newer [-Wunguarded-availability-new]
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/AppleTVOS.platform/Developer/SDKs/AppleTVOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIContextMenuConfiguration.h:39:12: note: 'UIContextMenuConfiguration' has been marked as being introduced in tvOS 17.0 here, but the deployment target is tvOS 12.0.0
39 | @interface UIContextMenuConfiguration : NSObject
| ^
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:178:1: note: annotate 'contextMenuInteraction:willPerformPreviewActionForMenuWithConfiguration:animator:' with an availability attribute to silence this warning
178 | - (void)contextMenuInteraction:(UIContextMenuInteraction *)interaction willPerformPreviewActionForMenuWithConfiguration:(UIContextMenuConfiguration *)configuration animator:(id<UIContextMenuInteractionCommitAnimating>)animator
| ^
179 | {
| API_AVAILABLE(tvos(17.0))
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:178:178: error: 'UIContextMenuInteractionCommitAnimating' is unavailable: not available on tvOS
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/AppleTVOS.platform/Developer/SDKs/AppleTVOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIContextMenuInteraction.h:90:11: note: 'UIContextMenuInteractionCommitAnimating' has been explicitly marked unavailable here
90 | @protocol UIContextMenuInteractionCommitAnimating <UIContextMenuInteractionAnimating>
| ^
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:186:33: warning: 'UIContextMenuInteraction' is only available on tvOS 17.0 or newer [-Wunguarded-availability-new]
186 | - (void)contextMenuInteraction:(UIContextMenuInteraction *)interaction willEndForConfiguration:(UIContextMenuConfiguration *)configuration animator:(nullable id<UIContextMenuInteractionAnimating>)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/AppleTVOS.platform/Developer/SDKs/AppleTVOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIContextMenuInteraction.h:32:12: note: 'UIContextMenuInteraction' has been marked as being introduced in tvOS 17.0 here, but the deployment target is tvOS 12.0.0
32 | @interface UIContextMenuInteraction : NSObject <UIInteraction>
| ^
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:186:1: note: annotate 'contextMenuInteraction:willEndForConfiguration:animator:' with an availability attribute to silence this warning
186 | - (void)contextMenuInteraction:(UIContextMenuInteraction *)interaction willEndForConfiguration:(UIContextMenuConfiguration *)configuration animator:(nullable id<UIContextMenuInteractionAnimating>)animator
| ^
187 | {
| API_AVAILABLE(tvos(17.0))
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:186:97: warning: 'UIContextMenuConfiguration' is only available on tvOS 17.0 or newer [-Wunguarded-availability-new]
186 | - (void)contextMenuInteraction:(UIContextMenuInteraction *)interaction willEndForConfiguration:(UIContextMenuConfiguration *)configuration animator:(nullable id<UIContextMenuInteractionAnimating>)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/AppleTVOS.platform/Developer/SDKs/AppleTVOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIContextMenuConfiguration.h:39:12: note: 'UIContextMenuConfiguration' has been marked as being introduced in tvOS 17.0 here, but the deployment target is tvOS 12.0.0
39 | @interface UIContextMenuConfiguration : NSObject
| ^
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:186:1: note: annotate 'contextMenuInteraction:willEndForConfiguration:animator:' with an availability attribute to silence this warning
186 | - (void)contextMenuInteraction:(UIContextMenuInteraction *)interaction willEndForConfiguration:(UIContextMenuConfiguration *)configuration animator:(nullable id<UIContextMenuInteractionAnimating>)animator
| ^
187 | {
| API_AVAILABLE(tvos(17.0))
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:186:162: warning: 'UIContextMenuInteractionAnimating' is only available on tvOS 17.0 or newer [-Wunguarded-availability-new]
186 | - (void)contextMenuInteraction:(UIContextMenuInteraction *)interaction willEndForConfiguration:(UIContextMenuConfiguration *)configuration animator:(nullable id<UIContextMenuInteractionAnimating>)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/AppleTVOS.platform/Developer/SDKs/AppleTVOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextView.h:29:43: note: 'UIContextMenuInteractionAnimating' has been marked as being introduced in tvOS 17.0 here, but the deployment target is tvOS 12.0.0
29 | @protocol UIEditMenuInteractionAnimating, UIContextMenuInteractionAnimating;
| ^
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:186:1: note: annotate 'contextMenuInteraction:willEndForConfiguration:animator:' with an availability attribute to silence this warning
186 | - (void)contextMenuInteraction:(UIContextMenuInteraction *)interaction willEndForConfiguration:(UIContextMenuConfiguration *)configuration animator:(nullable id<UIContextMenuInteractionAnimating>)animator
| ^
187 | {
| API_AVAILABLE(tvos(17.0))
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:132:10: warning: 'UIContextMenuConfiguration' is only available on tvOS 17.0 or newer [-Wunguarded-availability-new]
132 | return [UIContextMenuConfiguration configurationWithIdentifier:nil previewProvider:^UIViewController * _Nullable{
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
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/AppleTVOS.platform/Developer/SDKs/AppleTVOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIContextMenuConfiguration.h:39:12: note: 'UIContextMenuConfiguration' has been marked as being introduced in tvOS 17.0 here, but the deployment target is tvOS 12.0.0
39 | @interface UIContextMenuConfiguration : NSObject
| ^
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:132:10: note: enclose 'UIContextMenuConfiguration' in an @available check to silence this warning
132 | return [UIContextMenuConfiguration configurationWithIdentifier:nil previewProvider:^UIViewController * _Nullable{
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
133 | return self.previewViewController;
134 | } actionProvider:^UIMenu * _Nullable(NSArray<UIMenuElement *> * _Nonnull suggestedActions) {
135 | return self._menuForPreviewViewController;
136 | }];
|
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:163:13: warning: 'UITargetedPreview' is only available on tvOS 17.0 or newer [-Wunguarded-availability-new]
163 | return [[UITargetedPreview alloc] initWithView:cell parameters:[UIPreviewParameters new]];
| ^~~~~~~~~~~~~~~~~
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/AppleTVOS.platform/Developer/SDKs/AppleTVOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITargetedPreview.h:45:12: note: 'UITargetedPreview' has been marked as being introduced in tvOS 17.0 here, but the deployment target is tvOS 12.0.0
45 | @interface UITargetedPreview : NSObject <NSCopying>
| ^
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:163:13: note: enclose 'UITargetedPreview' in an @available check to silence this warning
163 | return [[UITargetedPreview alloc] initWithView:cell parameters:[UIPreviewParameters new]];
| ^~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:163:68: warning: 'UIPreviewParameters' is only available on tvOS 17.0 or newer [-Wunguarded-availability-new]
163 | return [[UITargetedPreview alloc] initWithView:cell parameters:[UIPreviewParameters new]];
| ^~~~~~~~~~~~~~~~~~~
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/AppleTVOS.platform/Developer/SDKs/AppleTVOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPreviewParameters.h:18:12: note: 'UIPreviewParameters' has been marked as being introduced in tvOS 17.0 here, but the deployment target is tvOS 12.0.0
18 | @interface UIPreviewParameters : NSObject <NSCopying>
| ^
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:163:68: note: enclose 'UIPreviewParameters' in an @available check to silence this warning
163 | return [[UITargetedPreview alloc] initWithView:cell parameters:[UIPreviewParameters new]];
| ^~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:173:2: warning: 'UIPreviewParameters' is only available on tvOS 17.0 or newer [-Wunguarded-availability-new]
173 | UIPreviewParameters* params = [UIPreviewParameters new];
| ^~~~~~~~~~~~~~~~~~~
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/AppleTVOS.platform/Developer/SDKs/AppleTVOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPreviewParameters.h:18:12: note: 'UIPreviewParameters' has been marked as being introduced in tvOS 17.0 here, but the deployment target is tvOS 12.0.0
18 | @interface UIPreviewParameters : NSObject <NSCopying>
| ^
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:173:2: note: enclose 'UIPreviewParameters' in an @available check to silence this warning
173 | UIPreviewParameters* params = [UIPreviewParameters new];
| ^~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:173:33: warning: 'UIPreviewParameters' is only available on tvOS 17.0 or newer [-Wunguarded-availability-new]
173 | UIPreviewParameters* params = [UIPreviewParameters new];
| ^~~~~~~~~~~~~~~~~~~
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/AppleTVOS.platform/Developer/SDKs/AppleTVOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPreviewParameters.h:18:12: note: 'UIPreviewParameters' has been marked as being introduced in tvOS 17.0 here, but the deployment target is tvOS 12.0.0
18 | @interface UIPreviewParameters : NSObject <NSCopying>
| ^
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:173:33: note: enclose 'UIPreviewParameters' in an @available check to silence this warning
173 | UIPreviewParameters* params = [UIPreviewParameters new];
| ^~~~~~~~~~~~~~~~~~~
174 | params.visiblePath = [UIBezierPath bezierPathWithRect:CGRectOffset(self.compatSupport.sourceRect, - self.compatSupport.sourceView.bounds.origin.x, - self.compatSupport.sourceView.bounds.origin.y)];
175 | return [[UITargetedPreview alloc] initWithView:self.snapshotForTargetedPreview parameters:params];
|
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:175:11: warning: 'UITargetedPreview' is only available on tvOS 17.0 or newer [-Wunguarded-availability-new]
175 | return [[UITargetedPreview alloc] initWithView:self.snapshotForTargetedPreview parameters:params];
| ^~~~~~~~~~~~~~~~~
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/AppleTVOS.platform/Developer/SDKs/AppleTVOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITargetedPreview.h:45:12: note: 'UITargetedPreview' has been marked as being introduced in tvOS 17.0 here, but the deployment target is tvOS 12.0.0
45 | @interface UITargetedPreview : NSObject <NSCopying>
| ^
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:175:11: note: enclose 'UITargetedPreview' in an @available check to silence this warning
175 | return [[UITargetedPreview alloc] initWithView:self.snapshotForTargetedPreview parameters:params];
| ^~~~~~~~~~~~~~~~~
17 warnings and 1 error 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-appletvos/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-appletvos/LNPreviewToContextMenu.build/Objects-normal/arm64/UIViewController+UIPreviewContextCompat.o -fmodule-map-file\=/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/usr/include/ObjectiveC.modulemap -fmodule-map-file\=/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/UIKit.framework/Modules/module.modulemap -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LNPreviewToContextMenu.build/Debug-appletvos/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-a7 -target-feature +v8a -target-feature +aes -target-feature +fp-armv8 -target-feature +neon -target-feature +perfmon -target-feature +sha2 -triple arm64-apple-tvos12.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/AppleTVOS.platform/Developer/SDKs/AppleTVOS26.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-EL4Q7BUFOGC0US3SEERIRF097.pcm -fmodule-file\=UIKit\=/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules/UIKit-D9JRZB2AETT7NKIUQE5C98X0S.pcm -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos/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-appletvos/LNPreviewToContextMenu.build/DerivedSources-normal/arm64 -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LNPreviewToContextMenu.build/Debug-appletvos/LNPreviewToContextMenu.build/DerivedSources/arm64 -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LNPreviewToContextMenu.build/Debug-appletvos/LNPreviewToContextMenu.build/DerivedSources -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos -iframework /Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/Library/Frameworks -iframework /Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS26.4.sdk/Developer/Library/Frameworks -internal-isystem /Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS26.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/AppleTVOS.platform/Developer/SDKs/AppleTVOS26.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/AppleTVOS.platform/Developer/SDKs/AppleTVOS26.4.sdk/System/Library/Frameworks -internal-iframework /Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS26.4.sdk/System/Library/SubFrameworks -internal-iframework /Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS26.4.sdk/Library/Frameworks -ivfsstatcache /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/appletvos26.4-23L236-688ef53f1462e2c8f657fdc38a81448fe9417fc108aa677fd4261ecaa021a5e7.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\=ios-12.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-appletvos/LNPreviewToContextMenu.build/Objects-normal/arm64/UIViewController+UIPreviewContextCompat.d -skip-unused-modulemap-deps
2026-04-12 07:16:36.811 xcodebuild[638:3879] [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-appletvos/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
(2 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:42.885 xcodebuild[695:4127] [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.256 xcodebuild[705:4216] [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=tvOS
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=tvOS
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/AppleTVOS.platform/Developer/SDKs/AppleTVOS26.4.sdk /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/appletvos26.4-23L236-688ef53f1462e2c8f657fdc38a81448fe9417fc108aa677fd4261ecaa021a5e7.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/AppleTVOS.platform/Developer/SDKs/AppleTVOS26.4.sdk -o /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/appletvos26.4-23L236-688ef53f1462e2c8f657fdc38a81448fe9417fc108aa677fd4261ecaa021a5e7.sdkstatcache
CompileC /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LNPreviewToContextMenu.build/Debug-appletvos/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-appletvos/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/appletvos26.4-23L236-688ef53f1462e2c8f657fdc38a81448fe9417fc108aa677fd4261ecaa021a5e7.sdkstatcache -target arm64-apple-tvos12.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/AppleTVOS.platform/Developer/SDKs/AppleTVOS26.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-appletvos/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-appletvos/LNPreviewToContextMenu.build/Objects-normal/arm64/UIViewController+UIPreviewContextCompat.d --serialize-diagnostics /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LNPreviewToContextMenu.build/Debug-appletvos/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-appletvos/LNPreviewToContextMenu.build/Objects-normal/arm64/UIViewController+UIPreviewContextCompat.o -index-unit-output-path /LNPreviewToContextMenu.build/Debug-appletvos/LNPreviewToContextMenu.build/Objects-normal/arm64/UIViewController+UIPreviewContextCompat.o
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:43:60: warning: 'UIContextMenuInteraction' is only available on tvOS 17.0 or newer [-Wunguarded-availability-new]
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/AppleTVOS.platform/Developer/SDKs/AppleTVOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIContextMenuInteraction.h:32:12: note: 'UIContextMenuInteraction' has been marked as being introduced in tvOS 17.0 here, but the deployment target is tvOS 12.0.0
32 | @interface UIContextMenuInteraction : NSObject <UIInteraction>
| ^
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:43:12: note: annotate '_LNPreviewContextCompatContextMenuInteraction' with an availability attribute to silence this warning
43 | @interface _LNPreviewContextCompatContextMenuInteraction : UIContextMenuInteraction <UIContextMenuInteractionDelegate>
| ^
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:122:13: warning: 'UIContextMenuConfiguration' is only available on tvOS 17.0 or newer [-Wunguarded-availability-new]
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/AppleTVOS.platform/Developer/SDKs/AppleTVOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIContextMenuConfiguration.h:39:12: note: 'UIContextMenuConfiguration' has been marked as being introduced in tvOS 17.0 here, but the deployment target is tvOS 12.0.0
39 | @interface UIContextMenuConfiguration : NSObject
| ^
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:122:1: note: annotate 'contextMenuInteraction:configurationForMenuAtLocation:' with an availability attribute to silence this warning
122 | - (nullable UIContextMenuConfiguration *)contextMenuInteraction:(UIContextMenuInteraction *)interaction configurationForMenuAtLocation:(CGPoint)location
| ^
123 | {
| API_AVAILABLE(tvos(17.0))
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:122:66: warning: 'UIContextMenuInteraction' is only available on tvOS 17.0 or newer [-Wunguarded-availability-new]
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/AppleTVOS.platform/Developer/SDKs/AppleTVOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIContextMenuInteraction.h:32:12: note: 'UIContextMenuInteraction' has been marked as being introduced in tvOS 17.0 here, but the deployment target is tvOS 12.0.0
32 | @interface UIContextMenuInteraction : NSObject <UIInteraction>
| ^
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:122:1: note: annotate 'contextMenuInteraction:configurationForMenuAtLocation:' with an availability attribute to silence this warning
122 | - (nullable UIContextMenuConfiguration *)contextMenuInteraction:(UIContextMenuInteraction *)interaction configurationForMenuAtLocation:(CGPoint)location
| ^
123 | {
| API_AVAILABLE(tvos(17.0))
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:139:13: warning: 'UITargetedPreview' is only available on tvOS 17.0 or newer [-Wunguarded-availability-new]
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/AppleTVOS.platform/Developer/SDKs/AppleTVOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITargetedPreview.h:45:12: note: 'UITargetedPreview' has been marked as being introduced in tvOS 17.0 here, but the deployment target is tvOS 12.0.0
45 | @interface UITargetedPreview : NSObject <NSCopying>
| ^
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:139:1: note: annotate 'contextMenuInteraction:previewForHighlightingMenuWithConfiguration:' with an availability attribute to silence this warning
139 | - (nullable UITargetedPreview *)contextMenuInteraction:(UIContextMenuInteraction *)interaction previewForHighlightingMenuWithConfiguration:(UIContextMenuConfiguration *)configuration
| ^
140 | {
| API_AVAILABLE(tvos(17.0))
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:139:57: warning: 'UIContextMenuInteraction' is only available on tvOS 17.0 or newer [-Wunguarded-availability-new]
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/AppleTVOS.platform/Developer/SDKs/AppleTVOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIContextMenuInteraction.h:32:12: note: 'UIContextMenuInteraction' has been marked as being introduced in tvOS 17.0 here, but the deployment target is tvOS 12.0.0
32 | @interface UIContextMenuInteraction : NSObject <UIInteraction>
| ^
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:139:1: note: annotate 'contextMenuInteraction:previewForHighlightingMenuWithConfiguration:' with an availability attribute to silence this warning
139 | - (nullable UITargetedPreview *)contextMenuInteraction:(UIContextMenuInteraction *)interaction previewForHighlightingMenuWithConfiguration:(UIContextMenuConfiguration *)configuration
| ^
140 | {
| API_AVAILABLE(tvos(17.0))
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:139:141: warning: 'UIContextMenuConfiguration' is only available on tvOS 17.0 or newer [-Wunguarded-availability-new]
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/AppleTVOS.platform/Developer/SDKs/AppleTVOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIContextMenuConfiguration.h:39:12: note: 'UIContextMenuConfiguration' has been marked as being introduced in tvOS 17.0 here, but the deployment target is tvOS 12.0.0
39 | @interface UIContextMenuConfiguration : NSObject
| ^
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:139:1: note: annotate 'contextMenuInteraction:previewForHighlightingMenuWithConfiguration:' with an availability attribute to silence this warning
139 | - (nullable UITargetedPreview *)contextMenuInteraction:(UIContextMenuInteraction *)interaction previewForHighlightingMenuWithConfiguration:(UIContextMenuConfiguration *)configuration
| ^
140 | {
| API_AVAILABLE(tvos(17.0))
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:178:33: warning: 'UIContextMenuInteraction' is only available on tvOS 17.0 or newer [-Wunguarded-availability-new]
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/AppleTVOS.platform/Developer/SDKs/AppleTVOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIContextMenuInteraction.h:32:12: note: 'UIContextMenuInteraction' has been marked as being introduced in tvOS 17.0 here, but the deployment target is tvOS 12.0.0
32 | @interface UIContextMenuInteraction : NSObject <UIInteraction>
| ^
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:178:1: note: annotate 'contextMenuInteraction:willPerformPreviewActionForMenuWithConfiguration:animator:' with an availability attribute to silence this warning
178 | - (void)contextMenuInteraction:(UIContextMenuInteraction *)interaction willPerformPreviewActionForMenuWithConfiguration:(UIContextMenuConfiguration *)configuration animator:(id<UIContextMenuInteractionCommitAnimating>)animator
| ^
179 | {
| API_AVAILABLE(tvos(17.0))
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:178:122: warning: 'UIContextMenuConfiguration' is only available on tvOS 17.0 or newer [-Wunguarded-availability-new]
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/AppleTVOS.platform/Developer/SDKs/AppleTVOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIContextMenuConfiguration.h:39:12: note: 'UIContextMenuConfiguration' has been marked as being introduced in tvOS 17.0 here, but the deployment target is tvOS 12.0.0
39 | @interface UIContextMenuConfiguration : NSObject
| ^
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:178:1: note: annotate 'contextMenuInteraction:willPerformPreviewActionForMenuWithConfiguration:animator:' with an availability attribute to silence this warning
178 | - (void)contextMenuInteraction:(UIContextMenuInteraction *)interaction willPerformPreviewActionForMenuWithConfiguration:(UIContextMenuConfiguration *)configuration animator:(id<UIContextMenuInteractionCommitAnimating>)animator
| ^
179 | {
| API_AVAILABLE(tvos(17.0))
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:178:178: error: 'UIContextMenuInteractionCommitAnimating' is unavailable: not available on tvOS
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/AppleTVOS.platform/Developer/SDKs/AppleTVOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIContextMenuInteraction.h:90:11: note: 'UIContextMenuInteractionCommitAnimating' has been explicitly marked unavailable here
90 | @protocol UIContextMenuInteractionCommitAnimating <UIContextMenuInteractionAnimating>
| ^
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:186:33: warning: 'UIContextMenuInteraction' is only available on tvOS 17.0 or newer [-Wunguarded-availability-new]
186 | - (void)contextMenuInteraction:(UIContextMenuInteraction *)interaction willEndForConfiguration:(UIContextMenuConfiguration *)configuration animator:(nullable id<UIContextMenuInteractionAnimating>)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/AppleTVOS.platform/Developer/SDKs/AppleTVOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIContextMenuInteraction.h:32:12: note: 'UIContextMenuInteraction' has been marked as being introduced in tvOS 17.0 here, but the deployment target is tvOS 12.0.0
32 | @interface UIContextMenuInteraction : NSObject <UIInteraction>
| ^
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:186:1: note: annotate 'contextMenuInteraction:willEndForConfiguration:animator:' with an availability attribute to silence this warning
186 | - (void)contextMenuInteraction:(UIContextMenuInteraction *)interaction willEndForConfiguration:(UIContextMenuConfiguration *)configuration animator:(nullable id<UIContextMenuInteractionAnimating>)animator
| ^
187 | {
| API_AVAILABLE(tvos(17.0))
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:186:97: warning: 'UIContextMenuConfiguration' is only available on tvOS 17.0 or newer [-Wunguarded-availability-new]
186 | - (void)contextMenuInteraction:(UIContextMenuInteraction *)interaction willEndForConfiguration:(UIContextMenuConfiguration *)configuration animator:(nullable id<UIContextMenuInteractionAnimating>)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/AppleTVOS.platform/Developer/SDKs/AppleTVOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIContextMenuConfiguration.h:39:12: note: 'UIContextMenuConfiguration' has been marked as being introduced in tvOS 17.0 here, but the deployment target is tvOS 12.0.0
39 | @interface UIContextMenuConfiguration : NSObject
| ^
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:186:1: note: annotate 'contextMenuInteraction:willEndForConfiguration:animator:' with an availability attribute to silence this warning
186 | - (void)contextMenuInteraction:(UIContextMenuInteraction *)interaction willEndForConfiguration:(UIContextMenuConfiguration *)configuration animator:(nullable id<UIContextMenuInteractionAnimating>)animator
| ^
187 | {
| API_AVAILABLE(tvos(17.0))
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:186:162: warning: 'UIContextMenuInteractionAnimating' is only available on tvOS 17.0 or newer [-Wunguarded-availability-new]
186 | - (void)contextMenuInteraction:(UIContextMenuInteraction *)interaction willEndForConfiguration:(UIContextMenuConfiguration *)configuration animator:(nullable id<UIContextMenuInteractionAnimating>)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/AppleTVOS.platform/Developer/SDKs/AppleTVOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextView.h:29:43: note: 'UIContextMenuInteractionAnimating' has been marked as being introduced in tvOS 17.0 here, but the deployment target is tvOS 12.0.0
29 | @protocol UIEditMenuInteractionAnimating, UIContextMenuInteractionAnimating;
| ^
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:186:1: note: annotate 'contextMenuInteraction:willEndForConfiguration:animator:' with an availability attribute to silence this warning
186 | - (void)contextMenuInteraction:(UIContextMenuInteraction *)interaction willEndForConfiguration:(UIContextMenuConfiguration *)configuration animator:(nullable id<UIContextMenuInteractionAnimating>)animator
| ^
187 | {
| API_AVAILABLE(tvos(17.0))
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:132:10: warning: 'UIContextMenuConfiguration' is only available on tvOS 17.0 or newer [-Wunguarded-availability-new]
132 | return [UIContextMenuConfiguration configurationWithIdentifier:nil previewProvider:^UIViewController * _Nullable{
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
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/AppleTVOS.platform/Developer/SDKs/AppleTVOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIContextMenuConfiguration.h:39:12: note: 'UIContextMenuConfiguration' has been marked as being introduced in tvOS 17.0 here, but the deployment target is tvOS 12.0.0
39 | @interface UIContextMenuConfiguration : NSObject
| ^
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:132:10: note: enclose 'UIContextMenuConfiguration' in an @available check to silence this warning
132 | return [UIContextMenuConfiguration configurationWithIdentifier:nil previewProvider:^UIViewController * _Nullable{
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
133 | return self.previewViewController;
134 | } actionProvider:^UIMenu * _Nullable(NSArray<UIMenuElement *> * _Nonnull suggestedActions) {
135 | return self._menuForPreviewViewController;
136 | }];
|
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:163:13: warning: 'UITargetedPreview' is only available on tvOS 17.0 or newer [-Wunguarded-availability-new]
163 | return [[UITargetedPreview alloc] initWithView:cell parameters:[UIPreviewParameters new]];
| ^~~~~~~~~~~~~~~~~
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/AppleTVOS.platform/Developer/SDKs/AppleTVOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITargetedPreview.h:45:12: note: 'UITargetedPreview' has been marked as being introduced in tvOS 17.0 here, but the deployment target is tvOS 12.0.0
45 | @interface UITargetedPreview : NSObject <NSCopying>
| ^
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:163:13: note: enclose 'UITargetedPreview' in an @available check to silence this warning
163 | return [[UITargetedPreview alloc] initWithView:cell parameters:[UIPreviewParameters new]];
| ^~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:163:68: warning: 'UIPreviewParameters' is only available on tvOS 17.0 or newer [-Wunguarded-availability-new]
163 | return [[UITargetedPreview alloc] initWithView:cell parameters:[UIPreviewParameters new]];
| ^~~~~~~~~~~~~~~~~~~
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/AppleTVOS.platform/Developer/SDKs/AppleTVOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPreviewParameters.h:18:12: note: 'UIPreviewParameters' has been marked as being introduced in tvOS 17.0 here, but the deployment target is tvOS 12.0.0
18 | @interface UIPreviewParameters : NSObject <NSCopying>
| ^
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:163:68: note: enclose 'UIPreviewParameters' in an @available check to silence this warning
163 | return [[UITargetedPreview alloc] initWithView:cell parameters:[UIPreviewParameters new]];
| ^~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:173:2: warning: 'UIPreviewParameters' is only available on tvOS 17.0 or newer [-Wunguarded-availability-new]
173 | UIPreviewParameters* params = [UIPreviewParameters new];
| ^~~~~~~~~~~~~~~~~~~
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/AppleTVOS.platform/Developer/SDKs/AppleTVOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPreviewParameters.h:18:12: note: 'UIPreviewParameters' has been marked as being introduced in tvOS 17.0 here, but the deployment target is tvOS 12.0.0
18 | @interface UIPreviewParameters : NSObject <NSCopying>
| ^
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:173:2: note: enclose 'UIPreviewParameters' in an @available check to silence this warning
173 | UIPreviewParameters* params = [UIPreviewParameters new];
| ^~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:173:33: warning: 'UIPreviewParameters' is only available on tvOS 17.0 or newer [-Wunguarded-availability-new]
173 | UIPreviewParameters* params = [UIPreviewParameters new];
| ^~~~~~~~~~~~~~~~~~~
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/AppleTVOS.platform/Developer/SDKs/AppleTVOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPreviewParameters.h:18:12: note: 'UIPreviewParameters' has been marked as being introduced in tvOS 17.0 here, but the deployment target is tvOS 12.0.0
18 | @interface UIPreviewParameters : NSObject <NSCopying>
| ^
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:173:33: note: enclose 'UIPreviewParameters' in an @available check to silence this warning
173 | UIPreviewParameters* params = [UIPreviewParameters new];
| ^~~~~~~~~~~~~~~~~~~
174 | params.visiblePath = [UIBezierPath bezierPathWithRect:CGRectOffset(self.compatSupport.sourceRect, - self.compatSupport.sourceView.bounds.origin.x, - self.compatSupport.sourceView.bounds.origin.y)];
175 | return [[UITargetedPreview alloc] initWithView:self.snapshotForTargetedPreview parameters:params];
|
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:175:11: warning: 'UITargetedPreview' is only available on tvOS 17.0 or newer [-Wunguarded-availability-new]
175 | return [[UITargetedPreview alloc] initWithView:self.snapshotForTargetedPreview parameters:params];
| ^~~~~~~~~~~~~~~~~
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/AppleTVOS.platform/Developer/SDKs/AppleTVOS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITargetedPreview.h:45:12: note: 'UITargetedPreview' has been marked as being introduced in tvOS 17.0 here, but the deployment target is tvOS 12.0.0
45 | @interface UITargetedPreview : NSObject <NSCopying>
| ^
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:175:11: note: enclose 'UITargetedPreview' in an @available check to silence this warning
175 | return [[UITargetedPreview alloc] initWithView:self.snapshotForTargetedPreview parameters:params];
| ^~~~~~~~~~~~~~~~~
17 warnings and 1 error 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-appletvos/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-appletvos/LNPreviewToContextMenu.build/Objects-normal/arm64/UIViewController+UIPreviewContextCompat.o -fmodule-map-file\=/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/usr/include/ObjectiveC.modulemap -fmodule-map-file\=/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/UIKit.framework/Modules/module.modulemap -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LNPreviewToContextMenu.build/Debug-appletvos/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-a7 -target-feature +v8a -target-feature +aes -target-feature +fp-armv8 -target-feature +neon -target-feature +perfmon -target-feature +sha2 -triple arm64-apple-tvos12.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/AppleTVOS.platform/Developer/SDKs/AppleTVOS26.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-EL4Q7BUFOGC0US3SEERIRF097.pcm -fmodule-file\=UIKit\=/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules/UIKit-D9JRZB2AETT7NKIUQE5C98X0S.pcm -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos/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-appletvos/LNPreviewToContextMenu.build/DerivedSources-normal/arm64 -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LNPreviewToContextMenu.build/Debug-appletvos/LNPreviewToContextMenu.build/DerivedSources/arm64 -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LNPreviewToContextMenu.build/Debug-appletvos/LNPreviewToContextMenu.build/DerivedSources -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos -iframework /Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/Library/Frameworks -iframework /Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS26.4.sdk/Developer/Library/Frameworks -internal-isystem /Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS26.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/AppleTVOS.platform/Developer/SDKs/AppleTVOS26.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/AppleTVOS.platform/Developer/SDKs/AppleTVOS26.4.sdk/System/Library/Frameworks -internal-iframework /Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS26.4.sdk/System/Library/SubFrameworks -internal-iframework /Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS26.4.sdk/Library/Frameworks -ivfsstatcache /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/appletvos26.4-23L236-688ef53f1462e2c8f657fdc38a81448fe9417fc108aa677fd4261ecaa021a5e7.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\=ios-12.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-appletvos/LNPreviewToContextMenu.build/Objects-normal/arm64/UIViewController+UIPreviewContextCompat.d -skip-unused-modulemap-deps
2026-04-12 07:16:45.159 xcodebuild[708:4251] [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-appletvos/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
(2 failures)
BUILD FAILURE 6.3 tvOS