The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build java_swift with Swift 6.2 (beta) for visionOS using Xcode 26.0.

Build Command

Build command unavailable

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/swiftjava/java_swift.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/swiftjava/java_swift
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at ef87de5 Xcode 14/Swift 5.7
Cloned https://github.com/swiftjava/java_swift.git
Revision (git rev-parse @):
ef87de5b195c5df821a37b97306a8e42538a8d06
SUCCESS checkout https://github.com/swiftjava/java_swift.git at master
========================================
Build
========================================
Selected platform:         visionOS
Swift version:             6.2
Building package at path:  $PWD
https://github.com/swiftjava/java_swift.git
Command line invocation:
    /Applications/Xcode-26.0.0-Beta.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -resolvePackageDependencies
resolved source packages:
{
  "dependencies" : [
    {
      "identity" : "cjavavm",
      "requirement" : {
        "branch" : [
          "master"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/SwiftJava/CJavaVM.git"
    }
  ],
  "manifest_display_name" : "java_swift",
  "name" : "java_swift",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "java_swift",
      "targets" : [
        "java_swift"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "java_swift",
      "module_type" : "SwiftTarget",
      "name" : "java_swift",
      "path" : "Sources",
      "product_memberships" : [
        "java_swift"
      ],
      "sources" : [
        "Exception.swift",
        "HashMap.swift",
        "JNICore.swift",
        "JNIField.swift",
        "JNIMethod.swift",
        "JNIObject.swift",
        "JNIProxy.swift",
        "JNIType.swift",
        "JavaClass.swift",
        "JavaEnum.swift",
        "JavaMap.swift",
        "JavaObject.swift",
        "JavaSet.swift",
        "JavaThread.swift",
        "Runnable.swift",
        "Throwable.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.0"
}
{
  "project" : {
    "configurations" : [
      "Debug",
      "Release"
    ],
    "name" : "java_swift",
    "schemes" : [
      "java_swift"
    ],
    "targets" : [
      "java_swift"
    ]
  }
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme java_swift -destination generic/platform=xrOS
Command line invocation:
    /Applications/Xcode-26.0.0-Beta.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 java_swift -destination generic/platform=xrOS
2025-06-19 18:35:07.517 xcodebuild[567:3296] Writing error result bundle to /var/folders/5k/5yc19ymj0jqd5v0zvgfqz0xw0000gn/T/ResultBundle_2025-19-06_18-35-0007.xcresult
xcodebuild: error: Unable to find a destination matching the provided destination specifier:
		{ generic:1, platform:xrOS }
	Available destinations for the "java_swift" scheme:
		{ platform:macOS, arch:arm64, id:ba37d206aa7bb95d90c8d49a50c460d2485d1581, name:My Mac }
		{ platform:macOS, arch:x86_64, id:ba37d206aa7bb95d90c8d49a50c460d2485d1581, name:My Mac }
		{ platform:macOS, name:Any Mac }
INFRASTRUCTURE ERROR (status: destinationUnavailable