This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.

The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build LNPreviewToContextMenu with Swift 6.0 for tvOS using Xcode 16.0.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a xcodebuild -IDEClonedSourcePackagesDirPathOverride=$workDir/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $workDir/.derivedData build -scheme LNPreviewToContextMenu-Package -destination generic/platform=tvos OTHER_SWIFT_FLAGS=-stats-output-dir .stats -strict-concurrency=complete

Build Log

========================================
RunAll
========================================
Builder version: 4.40.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.0
Building package at path:  $workDir
https://github.com/LeoNatan/LNPreviewToContextMenu.git
Command line invocation:
    /Applications/Xcode-15.3.0.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -resolvePackageDependencies
User defaults from command line:
    IDEClonedSourcePackagesDirPathOverride = /Users/admin/builder/spi-builder-workspace/.dependencies
    IDEPackageSupportToolchainOverrideForManifestLoading = org.swift.600202405261a
    IDEPackageSupportUseBuiltinSCM = YES
Build settings from command line:
    TOOLCHAINS = org.swift.600202405261a
Resolve Package Graph
Resolved source packages:
  LNPreviewToContextMenu: /Users/admin/builder/spi-builder-workspace
resolved source packages: LNPreviewToContextMenu
{
  "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"
    ]
  }
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a xcodebuild -IDEClonedSourcePackagesDirPathOverride=$workDir/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $workDir/.derivedData build -scheme LNPreviewToContextMenu-Package -destination generic/platform=tvos OTHER_SWIFT_FLAGS=-stats-output-dir .stats -strict-concurrency=complete
Command line invocation:
    /Applications/Xcode-15.3.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 "OTHER_SWIFT_FLAGS=-stats-output-dir .stats -strict-concurrency=complete"
User defaults from command line:
    IDEClonedSourcePackagesDirPathOverride = /Users/admin/builder/spi-builder-workspace/.dependencies
    IDEDerivedDataPathOverride = /Users/admin/builder/spi-builder-workspace/.derivedData
    IDEPackageSupportToolchainOverrideForManifestLoading = org.swift.600202405261a
    IDEPackageSupportUseBuiltinSCM = YES
Build settings from command line:
    OTHER_SWIFT_FLAGS = -stats-output-dir .stats -strict-concurrency=complete
    TOOLCHAINS = org.swift.600202405261a
Resolve Package Graph
Resolved source packages:
  LNPreviewToContextMenu: /Users/admin/builder/spi-builder-workspace
Prepare packages
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 /Library/Developer/Toolchains/swift-6.0-DEVELOPMENT-SNAPSHOT-2024-05-26-a.xctoolchain/usr/bin/clang -v -E -dM -arch arm64 -isysroot /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS17.4.sdk -x objective-c -c /dev/null
ExecuteExternalTool /Library/Developer/Toolchains/swift-6.0-DEVELOPMENT-SNAPSHOT-2024-05-26-a.xctoolchain/usr/bin/clang -v -E -dM -isysroot /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS17.4.sdk -x c -c /dev/null
ExecuteExternalTool /Library/Developer/Toolchains/swift-6.0-DEVELOPMENT-SNAPSHOT-2024-05-26-a.xctoolchain/usr/bin/ld -version_details
ExecuteExternalTool /Library/Developer/Toolchains/swift-6.0-DEVELOPMENT-SNAPSHOT-2024-05-26-a.xctoolchain/usr/bin/clang -v -E -dM -arch arm64 -isysroot /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS17.4.sdk -x c -c /dev/null
Build description signature: aa5e2fc1dacfd578480681f9b7b95440
Build description path: /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/XCBuildData/aa5e2fc1dacfd578480681f9b7b95440.xcbuilddata
note: Using global toolchain override 'Swift 6.0 Development Snapshot 2024-05-26 (a)'.
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
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/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
note: Using global toolchain override 'Swift 6.0 Development Snapshot 2024-05-26 (a)'. (in target 'LNPreviewToContextMenu' from project 'LNPreviewToContextMenu')
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
note: Using global toolchain override 'Swift 6.0 Development Snapshot 2024-05-26 (a)'. (in target 'LNPreviewToContextMenu' from project 'LNPreviewToContextMenu')
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
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
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
-target arm64-apple-tvos12.0 -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' -isysroot /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS17.4.sdk -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-15.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/Library/Frameworks -iframework /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS17.4.sdk/Developer/Library/Frameworks -DXcode
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
    /Library/Developer/Toolchains/swift-6.0-DEVELOPMENT-SNAPSHOT-2024-05-26-a.xctoolchain/usr/bin/clang -x objective-c -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 -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-15.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS17.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-15.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS17.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-15.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS17.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-15.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS17.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-15.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS17.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-15.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS17.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-15.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS17.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-15.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS17.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-15.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS17.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-15.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS17.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-15.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS17.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-15.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS17.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextView.h:28:43: note: 'UIContextMenuInteractionAnimating' has been marked as being introduced in tvOS 17.0 here, but the deployment target is tvOS 12.0.0
   28 | @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-15.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS17.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-15.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS17.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-15.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS17.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-15.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS17.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-15.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS17.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-15.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS17.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.
note: Using global toolchain override 'Swift 6.0 Development Snapshot 2024-05-26 (a)'. (in target 'LNPreviewToContextMenu-Static' from project 'LNPreviewToContextMenu')
** 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')
(1 failure)
Command line invocation:
    /Applications/Xcode-15.3.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 "OTHER_SWIFT_FLAGS=-stats-output-dir .stats -strict-concurrency=complete"
User defaults from command line:
    IDEClonedSourcePackagesDirPathOverride = /Users/admin/builder/spi-builder-workspace/.dependencies
    IDEDerivedDataPathOverride = /Users/admin/builder/spi-builder-workspace/.derivedData
    IDEPackageSupportToolchainOverrideForManifestLoading = org.swift.600202405261a
    IDEPackageSupportUseBuiltinSCM = YES
Build settings from command line:
    OTHER_SWIFT_FLAGS = -stats-output-dir .stats -strict-concurrency=complete
    TOOLCHAINS = org.swift.600202405261a
Resolve Package Graph
Resolved source packages:
  LNPreviewToContextMenu: /Users/admin/builder/spi-builder-workspace
Prepare packages
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
note: Using global toolchain override 'Swift 6.0 Development Snapshot 2024-05-26 (a)'.
note: Using global toolchain override 'Swift 6.0 Development Snapshot 2024-05-26 (a)'. (in target 'LNPreviewToContextMenu' from project 'LNPreviewToContextMenu')
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
    /Library/Developer/Toolchains/swift-6.0-DEVELOPMENT-SNAPSHOT-2024-05-26-a.xctoolchain/usr/bin/clang -x objective-c -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 -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-15.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS17.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-15.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS17.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-15.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS17.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-15.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS17.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-15.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS17.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-15.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS17.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-15.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS17.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-15.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS17.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-15.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS17.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-15.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS17.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-15.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS17.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-15.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS17.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextView.h:28:43: note: 'UIContextMenuInteractionAnimating' has been marked as being introduced in tvOS 17.0 here, but the deployment target is tvOS 12.0.0
   28 | @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-15.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS17.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-15.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS17.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-15.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS17.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-15.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS17.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-15.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS17.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-15.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS17.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.
note: Using global toolchain override 'Swift 6.0 Development Snapshot 2024-05-26 (a)'. (in target 'LNPreviewToContextMenu' from project 'LNPreviewToContextMenu')
note: Using global toolchain override 'Swift 6.0 Development Snapshot 2024-05-26 (a)'. (in target 'LNPreviewToContextMenu-Static' from project 'LNPreviewToContextMenu')
** 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')
(1 failure)
BUILD FAILURE 6.0 tvOS
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.