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

Successful build of OpenCV, reference 4.12.0 (141d91), with Swift 6.2 for macOS (SPM) on 21 Oct 2025 06:20:40 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-26.0.0.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/yeatse/opencv-spm.git
Reference: 4.12.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/yeatse/opencv-spm
 * tag               4.12.0     -> FETCH_HEAD
HEAD is now at 141d91b Update Package.swift
Cloned https://github.com/yeatse/opencv-spm.git
Revision (git rev-parse @):
141d91be1f53990b4f5d63e1373afba539a7914d
SUCCESS checkout https://github.com/yeatse/opencv-spm.git at 4.12.0
Downloading binary artifact https://github.com/yeatse/opencv-spm/releases/download/4.12.0/opencv2.xcframework.zip
[2747/196118984] Downloading https://github.com/yeatse/opencv-spm/releases/download/4.12.0/opencv2.xcframework.zip
Downloaded https://github.com/yeatse/opencv-spm/releases/download/4.12.0/opencv2.xcframework.zip (10.96s)
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "dependencies": [
    {
      "identity": "opencv-spm",
      "name": "OpenCV",
      "url": "https://github.com/yeatse/opencv-spm.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/opencv-spm",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/yeatse/opencv-spm.git
[1/347] Fetching opencv-spm
Fetched https://github.com/yeatse/opencv-spm.git from cache (0.78s)
Creating working copy for https://github.com/yeatse/opencv-spm.git
Working copy of https://github.com/yeatse/opencv-spm.git resolved at 4.12.0 (141d91b)
Fetching binary artifact https://github.com/yeatse/opencv-spm/releases/download/4.12.0/opencv2.xcframework.zip from cache
Fetched https://github.com/yeatse/opencv-spm/releases/download/4.12.0/opencv2.xcframework.zip from cache (9.95s)
warning: '.resolve-product-dependencies': dependency 'opencv-spm' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/yeatse/opencv-spm.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-49B95AFC49DCD68C.txt
[3/4] Emitting module opencv2_dependencies
[4/4] Compiling opencv2_dependencies Stub.swift
Build complete! (3.48s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "OpenCV",
  "name" : "OpenCV",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.13"
    },
    {
      "name" : "ios",
      "version" : "12.0"
    },
    {
      "name" : "maccatalyst",
      "version" : "13.0"
    },
    {
      "name" : "visionos",
      "version" : "1.0"
    }
  ],
  "products" : [
    {
      "name" : "OpenCV",
      "targets" : [
        "opencv2",
        "opencv2-dependencies"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "opencv2_dependencies",
      "module_type" : "SwiftTarget",
      "name" : "opencv2-dependencies",
      "path" : "Sources/opencv2-dependencies",
      "product_memberships" : [
        "OpenCV"
      ],
      "sources" : [
        "Stub.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "opencv2",
      "module_type" : "BinaryTarget",
      "name" : "opencv2",
      "path" : "remote/archive/opencv2.xcframework.zip",
      "product_memberships" : [
        "OpenCV"
      ],
      "sources" : [
      ],
      "type" : "binary"
    }
  ],
  "tools_version" : "5.9"
}
Done.