The Swift Package Index logo.Swift Package Index

Build Information

Failed to build OpenCV, reference 4.10.2 (a0847c), with Swift 6.3 for visionOS using Xcode 26.4 on 15 Apr 2026 00:27:04 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme OpenCV -destination generic/platform=xrOS

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/r0ml/OpenCV.git
Reference: 4.10.2
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/r0ml/OpenCV
 * tag               4.10.2     -> FETCH_HEAD
HEAD is now at a0847cb changed submodule urls to use https: instead of git: -- and checkout out the 4.10.0 tag for both
Submodule path 'opencv': checked out '71d3237a093b60a27601c20e9ee6c3e52154e8b1'
Submodule path 'opencv_contrib': checked out '1ed3dd2c53888e3289afdb22ec4e9ebbff3dba87'
Submodule 'opencv' (https://github.com/opencv/opencv.git) registered for path 'opencv'
Submodule 'opencv_contrib' (https://github.com/opencv/opencv_contrib.git) registered for path 'opencv_contrib'
Cloning into '/Users/admin/builder/spi-builder-workspace/opencv'...
Cloning into '/Users/admin/builder/spi-builder-workspace/opencv_contrib'...
Cloned https://github.com/r0ml/OpenCV.git
Revision (git rev-parse @):
a0847cb3190b4af859a9431f9251140f1b9238a4
SUCCESS checkout https://github.com/r0ml/OpenCV.git at 4.10.2
========================================
Build
========================================
Selected platform:         visionOS
Swift version:             6.3
Building package at path:  $PWD
https://github.com/r0ml/OpenCV.git
Command line invocation:
    /Applications/Xcode-26.4.0.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -resolvePackageDependencies
Resolve Package Graph
Resolve Package Graph
Resolved source packages:
  OpenCV: /Users/admin/builder/spi-builder-workspace
resolved source packages: OpenCV
2026-04-14 20:26:42.699 xcodebuild[606:3684] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "OpenCV",
  "name" : "OpenCV",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "11.0"
    },
    {
      "name" : "ios",
      "version" : "16.0"
    },
    {
      "name" : "maccatalyst",
      "version" : "16.0"
    }
  ],
  "products" : [
    {
      "name" : "OpenCV",
      "targets" : [
        "OpenCV"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "OpenCV",
      "module_type" : "BinaryTarget",
      "name" : "OpenCV",
      "path" : "remote/archive/OpenCV.xcframework.zip",
      "product_memberships" : [
        "OpenCV"
      ],
      "sources" : [
      ],
      "type" : "binary"
    }
  ],
  "tools_version" : "5.9"
}
{
  "workspace" : {
    "name" : "spi-builder-workspace",
    "schemes" : [
      "OpenCV"
    ]
  }
}
2026-04-14 20:26:52.134 xcodebuild[1203:7629] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme OpenCV -destination generic/platform=xrOS
Command line invocation:
    /Applications/Xcode-26.4.0.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath /Users/admin/builder/spi-builder-workspace/.derivedData build -scheme OpenCV -destination generic/platform=xrOS
Resolve Package Graph
Resolved source packages:
  OpenCV: /Users/admin/builder/spi-builder-workspace
Resolve Package Graph
Resolving package dependencies…
ComputePackagePrebuildTargetDependencyGraph
Prepare packages
CreateBuildRequest
SendProjectDescription
CreateBuildOperation
ComputeTargetDependencyGraph
note: Building targets in dependency order
note: Target dependency graph (1 target)
    Target 'OpenCV' in project 'OpenCV' (no dependencies)
GatherProvisioningInputs
CreateBuildDescription
ExecuteExternalTool /Applications/Xcode-26.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -v -E -dM -isysroot /Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS26.4.sdk -x c -c /dev/null
Build description signature: 84ddbd51b8a54fa0b9fa741ff79de876
Build description path: /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/XCBuildData/84ddbd51b8a54fa0b9fa741ff79de876.xcbuilddata
/Users/admin/builder/spi-builder-workspace/.dependencies/artifacts/spi-builder-workspace/OpenCV/OpenCV.xcframework:1:1: error: While building for visionOS, no library for this platform was found in '/Users/admin/builder/spi-builder-workspace/.dependencies/artifacts/spi-builder-workspace/OpenCV/OpenCV.xcframework'. (in target 'OpenCV' from project 'OpenCV')
2026-04-14 20:26:55.129 xcodebuild[1210:7701] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
** BUILD FAILED **
The following build commands failed:
	Building workspace spi-builder-workspace with scheme OpenCV
(1 failure)
Command line invocation:
    /Applications/Xcode-26.4.0.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -resolvePackageDependencies
Resolve Package Graph
Resolved source packages:
  OpenCV: /Users/admin/builder/spi-builder-workspace
resolved source packages: OpenCV
2026-04-14 20:26:58.631 xcodebuild[1226:7834] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "OpenCV",
  "name" : "OpenCV",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "11.0"
    },
    {
      "name" : "ios",
      "version" : "16.0"
    },
    {
      "name" : "maccatalyst",
      "version" : "16.0"
    }
  ],
  "products" : [
    {
      "name" : "OpenCV",
      "targets" : [
        "OpenCV"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "OpenCV",
      "module_type" : "BinaryTarget",
      "name" : "OpenCV",
      "path" : "remote/archive/OpenCV.xcframework.zip",
      "product_memberships" : [
        "OpenCV"
      ],
      "sources" : [
      ],
      "type" : "binary"
    }
  ],
  "tools_version" : "5.9"
}
{
  "workspace" : {
    "name" : "spi-builder-workspace",
    "schemes" : [
      "OpenCV"
    ]
  }
}
2026-04-14 20:27:01.237 xcodebuild[1236:7899] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme OpenCV -destination generic/platform=xrOS
Command line invocation:
    /Applications/Xcode-26.4.0.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath /Users/admin/builder/spi-builder-workspace/.derivedData build -scheme OpenCV -destination generic/platform=xrOS
Resolve Package Graph
Resolved source packages:
  OpenCV: /Users/admin/builder/spi-builder-workspace
ComputePackagePrebuildTargetDependencyGraph
Prepare packages
CreateBuildRequest
SendProjectDescription
CreateBuildOperation
ComputeTargetDependencyGraph
note: Building targets in dependency order
note: Target dependency graph (1 target)
    Target 'OpenCV' in project 'OpenCV' (no dependencies)
GatherProvisioningInputs
CreateBuildDescription
ExecuteExternalTool /Applications/Xcode-26.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -v -E -dM -isysroot /Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS26.4.sdk -x c -c /dev/null
Build description signature: 84ddbd51b8a54fa0b9fa741ff79de876
Build description path: /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/XCBuildData/84ddbd51b8a54fa0b9fa741ff79de876.xcbuilddata
/Users/admin/builder/spi-builder-workspace/.dependencies/artifacts/spi-builder-workspace/OpenCV/OpenCV.xcframework:1:1: error: While building for visionOS, no library for this platform was found in '/Users/admin/builder/spi-builder-workspace/.dependencies/artifacts/spi-builder-workspace/OpenCV/OpenCV.xcframework'. (in target 'OpenCV' from project 'OpenCV')
2026-04-14 20:27:03.558 xcodebuild[1239:7933] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
** BUILD FAILED **
The following build commands failed:
	Building workspace spi-builder-workspace with scheme OpenCV
(1 failure)
BUILD FAILURE 6.3 visionOS