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 visionOS 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=xros 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:         visionOS
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"
    ]
  }
}
{
  "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=xros 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=xros "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/XROS.platform/Developer/SDKs/XROS1.1.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/XROS.platform/Developer/SDKs/XROS1.1.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/XROS.platform/Developer/SDKs/XROS1.1.sdk -x c -c /dev/null
Build description signature: a2ae9cb8d2d065ab8d6d43e191f05c53
Build description path: /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/XCBuildData/a2ae9cb8d2d065ab8d6d43e191f05c53.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-xros
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-create-build-directory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/EagerLinkingTBDs/Debug-xros
    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-xros
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/PackageFrameworks
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-create-build-directory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/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-xros/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-xros/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-xros/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-xros/LNPreviewToContextMenu.build/LNPreviewToContextMenu.modulemap
Copy /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeneratedModuleMaps-xros/LNPreviewToContextMenu.modulemap /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LNPreviewToContextMenu.build/Debug-xros/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-xros/LNPreviewToContextMenu.build/LNPreviewToContextMenu.modulemap /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeneratedModuleMaps-xros
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LNPreviewToContextMenu.build/Debug-xros/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-xros/LNPreviewToContextMenu.build/Objects-normal/arm64/LNPreviewToContextMenu.LinkFileList
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LNPreviewToContextMenu.build/Debug-xros/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-xros/LNPreviewToContextMenu.build/Objects-normal/arm64/e6072d4f65d7061329687fe24e3d63a7-common-args.resp
-target arm64-apple-xros1.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/XROS.platform/Developer/SDKs/XROS1.1.sdk -g -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/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-xros/LNPreviewToContextMenu.build/DerivedSources-normal/arm64 -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LNPreviewToContextMenu.build/Debug-xros/LNPreviewToContextMenu.build/DerivedSources/arm64 -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LNPreviewToContextMenu.build/Debug-xros/LNPreviewToContextMenu.build/DerivedSources -F/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros -iframework /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/Library/Frameworks -iframework /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS1.1.sdk/Developer/Library/Frameworks -DXcode
CompileC /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LNPreviewToContextMenu.build/Debug-xros/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-xros/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-xros/LNPreviewToContextMenu.build/Objects-normal/arm64/UIViewController+UIPreviewContextCompat.d --serialize-diagnostics /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LNPreviewToContextMenu.build/Debug-xros/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-xros/LNPreviewToContextMenu.build/Objects-normal/arm64/UIViewController+UIPreviewContextCompat.o -index-unit-output-path /LNPreviewToContextMenu.build/Debug-xros/LNPreviewToContextMenu.build/Objects-normal/arm64/UIViewController+UIPreviewContextCompat.o
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:66:38: error: 'UIPreviewAction' is unavailable: not available on visionOS
   66 |         if([previewActionItem isKindOfClass:UIPreviewAction.class])
      |                                             ^
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/XROS.platform/Developer/SDKs/XROS1.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:751:12: note: 'UIPreviewAction' has been explicitly marked unavailable here
  751 | @interface UIPreviewAction : NSObject <NSCopying,UIPreviewActionItem>
      |            ^
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:66:54: error: 'UIPreviewAction' is unavailable: not available on visionOS
   66 |         if([previewActionItem isKindOfClass:UIPreviewAction.class])
      |                                                             ^
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/XROS.platform/Developer/SDKs/XROS1.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:751:12: note: 'UIPreviewAction' has been explicitly marked unavailable here
  751 | @interface UIPreviewAction : NSObject <NSCopying,UIPreviewActionItem>
      |            ^
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:70:20: error: 'UIPreviewAction' is unavailable: not available on visionOS
   70 |                         void (^handler)(UIPreviewAction *action, UIViewController *previewViewController) = [userActionItem valueForKey:@"handler"];
      |                                         ^
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/XROS.platform/Developer/SDKs/XROS1.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:751:12: note: 'UIPreviewAction' has been explicitly marked unavailable here
  751 | @interface UIPreviewAction : NSObject <NSCopying,UIPreviewActionItem>
      |            ^
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:69:4: error: 'UIPreviewAction' is unavailable: not available on visionOS
   69 |                         UIPreviewAction* userActionItem = (id)previewActionItem;
      |                         ^
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/XROS.platform/Developer/SDKs/XROS1.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:751:12: note: 'UIPreviewAction' has been explicitly marked unavailable here
  751 | @interface UIPreviewAction : NSObject <NSCopying,UIPreviewActionItem>
      |            ^
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:81:43: error: 'UIPreviewActionGroup' is unavailable: not available on visionOS
   81 |         else if([previewActionItem isKindOfClass:UIPreviewActionGroup.class])
      |                                                  ^
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/XROS.platform/Developer/SDKs/XROS1.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:760:12: note: 'UIPreviewActionGroup' has been explicitly marked unavailable here
  760 | @interface UIPreviewActionGroup : NSObject <NSCopying,UIPreviewActionItem>
      |            ^
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:81:64: error: 'UIPreviewActionGroup' is unavailable: not available on visionOS
   81 |         else if([previewActionItem isKindOfClass:UIPreviewActionGroup.class])
      |                                                                       ^
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/XROS.platform/Developer/SDKs/XROS1.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:760:12: note: 'UIPreviewActionGroup' has been explicitly marked unavailable here
  760 | @interface UIPreviewActionGroup : NSObject <NSCopying,UIPreviewActionItem>
      |            ^
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:103:85: error: 'previewActionItems' is unavailable: not available on visionOS
  103 |         NSArray<id<UIPreviewActionItem>>* previewActionItems = [self.previewViewController previewActionItems];
      |                                                                                            ^
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/XROS.platform/Developer/SDKs/XROS1.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:703:68: note: property 'previewActionItems' is declared unavailable here
  703 | @property(nonatomic, readonly) NSArray <id <UIPreviewActionItem>> *previewActionItems API_DEPRECATED("UIViewControllerPreviewing is deprecated. Please use UIContextMenuInteraction.", ios(9.0, 13.0)) API_UNAVAILABLE(visionos);
      |                                                                    ^
/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS1.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:703:68: note: 'previewActionItems' has been explicitly marked unavailable here
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:125:60: error: 'previewingContext:viewControllerForLocation:' is unavailable: not available on visionOS
  125 |         self.previewViewController = [self.compatSupport.delegate previewingContext:self.compatSupport viewControllerForLocation: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/XROS.platform/Developer/SDKs/XROS1.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:620:1: note: 'previewingContext:viewControllerForLocation:' has been explicitly marked unavailable here
  620 | - (nullable UIViewController *)previewingContext:(id <UIViewControllerPreviewing>)previewingContext viewControllerForLocation:(CGPoint)location API_DEPRECATED("UIViewControllerPreviewing is deprecated. Please use UIContextMenuInteraction.", ios(9.0, 13.0)) API_UNAVAILABLE(visionos);
      | ^
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:182:32: error: 'previewingContext:commitViewController:' is unavailable: not available on visionOS
  182 |                 [self.compatSupport.delegate previewingContext:self.compatSupport commitViewController:vc];
      |                                              ^
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/XROS.platform/Developer/SDKs/XROS1.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:621:1: note: 'previewingContext:commitViewController:' has been explicitly marked unavailable here
  621 | - (void)previewingContext:(id <UIViewControllerPreviewing>)previewingContext commitViewController:(UIViewController *)viewControllerToCommit API_DEPRECATED("UIViewControllerPreviewing is deprecated. Please use UIContextMenuInteraction.", ios(9.0, 13.0)) API_UNAVAILABLE(visionos);
      | ^
9 errors 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-xros/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=xros "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-xros/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-xros/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-xros/LNPreviewToContextMenu.build/Objects-normal/arm64/UIViewController+UIPreviewContextCompat.d --serialize-diagnostics /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LNPreviewToContextMenu.build/Debug-xros/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-xros/LNPreviewToContextMenu.build/Objects-normal/arm64/UIViewController+UIPreviewContextCompat.o -index-unit-output-path /LNPreviewToContextMenu.build/Debug-xros/LNPreviewToContextMenu.build/Objects-normal/arm64/UIViewController+UIPreviewContextCompat.o
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:66:38: error: 'UIPreviewAction' is unavailable: not available on visionOS
   66 |         if([previewActionItem isKindOfClass:UIPreviewAction.class])
      |                                             ^
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/XROS.platform/Developer/SDKs/XROS1.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:751:12: note: 'UIPreviewAction' has been explicitly marked unavailable here
  751 | @interface UIPreviewAction : NSObject <NSCopying,UIPreviewActionItem>
      |            ^
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:66:54: error: 'UIPreviewAction' is unavailable: not available on visionOS
   66 |         if([previewActionItem isKindOfClass:UIPreviewAction.class])
      |                                                             ^
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/XROS.platform/Developer/SDKs/XROS1.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:751:12: note: 'UIPreviewAction' has been explicitly marked unavailable here
  751 | @interface UIPreviewAction : NSObject <NSCopying,UIPreviewActionItem>
      |            ^
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:70:20: error: 'UIPreviewAction' is unavailable: not available on visionOS
   70 |                         void (^handler)(UIPreviewAction *action, UIViewController *previewViewController) = [userActionItem valueForKey:@"handler"];
      |                                         ^
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/XROS.platform/Developer/SDKs/XROS1.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:751:12: note: 'UIPreviewAction' has been explicitly marked unavailable here
  751 | @interface UIPreviewAction : NSObject <NSCopying,UIPreviewActionItem>
      |            ^
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:69:4: error: 'UIPreviewAction' is unavailable: not available on visionOS
   69 |                         UIPreviewAction* userActionItem = (id)previewActionItem;
      |                         ^
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/XROS.platform/Developer/SDKs/XROS1.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:751:12: note: 'UIPreviewAction' has been explicitly marked unavailable here
  751 | @interface UIPreviewAction : NSObject <NSCopying,UIPreviewActionItem>
      |            ^
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:81:43: error: 'UIPreviewActionGroup' is unavailable: not available on visionOS
   81 |         else if([previewActionItem isKindOfClass:UIPreviewActionGroup.class])
      |                                                  ^
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/XROS.platform/Developer/SDKs/XROS1.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:760:12: note: 'UIPreviewActionGroup' has been explicitly marked unavailable here
  760 | @interface UIPreviewActionGroup : NSObject <NSCopying,UIPreviewActionItem>
      |            ^
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:81:64: error: 'UIPreviewActionGroup' is unavailable: not available on visionOS
   81 |         else if([previewActionItem isKindOfClass:UIPreviewActionGroup.class])
      |                                                                       ^
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/XROS.platform/Developer/SDKs/XROS1.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:760:12: note: 'UIPreviewActionGroup' has been explicitly marked unavailable here
  760 | @interface UIPreviewActionGroup : NSObject <NSCopying,UIPreviewActionItem>
      |            ^
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:103:85: error: 'previewActionItems' is unavailable: not available on visionOS
  103 |         NSArray<id<UIPreviewActionItem>>* previewActionItems = [self.previewViewController previewActionItems];
      |                                                                                            ^
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/XROS.platform/Developer/SDKs/XROS1.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:703:68: note: property 'previewActionItems' is declared unavailable here
  703 | @property(nonatomic, readonly) NSArray <id <UIPreviewActionItem>> *previewActionItems API_DEPRECATED("UIViewControllerPreviewing is deprecated. Please use UIContextMenuInteraction.", ios(9.0, 13.0)) API_UNAVAILABLE(visionos);
      |                                                                    ^
/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS1.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:703:68: note: 'previewActionItems' has been explicitly marked unavailable here
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:125:60: error: 'previewingContext:viewControllerForLocation:' is unavailable: not available on visionOS
  125 |         self.previewViewController = [self.compatSupport.delegate previewingContext:self.compatSupport viewControllerForLocation: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/XROS.platform/Developer/SDKs/XROS1.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:620:1: note: 'previewingContext:viewControllerForLocation:' has been explicitly marked unavailable here
  620 | - (nullable UIViewController *)previewingContext:(id <UIViewControllerPreviewing>)previewingContext viewControllerForLocation:(CGPoint)location API_DEPRECATED("UIViewControllerPreviewing is deprecated. Please use UIContextMenuInteraction.", ios(9.0, 13.0)) API_UNAVAILABLE(visionos);
      | ^
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:182:32: error: 'previewingContext:commitViewController:' is unavailable: not available on visionOS
  182 |                 [self.compatSupport.delegate previewingContext:self.compatSupport commitViewController:vc];
      |                                              ^
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/XROS.platform/Developer/SDKs/XROS1.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:621:1: note: 'previewingContext:commitViewController:' has been explicitly marked unavailable here
  621 | - (void)previewingContext:(id <UIViewControllerPreviewing>)previewingContext commitViewController:(UIViewController *)viewControllerToCommit API_DEPRECATED("UIViewControllerPreviewing is deprecated. Please use UIContextMenuInteraction.", ios(9.0, 13.0)) API_UNAVAILABLE(visionos);
      | ^
9 errors generated.
note: Using global toolchain override 'Swift 6.0 Development Snapshot 2024-05-26 (a)'. (in target 'LNPreviewToContextMenu-Static' from project 'LNPreviewToContextMenu')
note: Using global toolchain override 'Swift 6.0 Development Snapshot 2024-05-26 (a)'. (in target 'LNPreviewToContextMenu' from project 'LNPreviewToContextMenu')
** BUILD FAILED **
The following build commands failed:
	CompileC /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LNPreviewToContextMenu.build/Debug-xros/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 visionOS
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.