Build Information
Failed to build OpenCV, reference main (a251a9), with Swift 6.3 for macOS (SPM) on 15 Apr 2026 00:25:36 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64Build Log
========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/r0ml/OpenCV.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/r0ml/OpenCV
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at a251a99 fixing the problem with XCode 26 and ios shallow bundle validation
Submodule path 'opencv': checked out '49486f61fb25722cbcf586b7f4320921d46fb38e'
Submodule path 'opencv_contrib': checked out 'd943e1d61c8bc556a13783e1546ee7c1a9e0b1cf'
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 @):
a251a99ec9e849530180a63ddf306fcfebefb251
SUCCESS checkout https://github.com/r0ml/OpenCV.git at main
error: 'spi-builder-workspace': Invalid manifest (compiled with: ["/Applications/Xcode-26.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc", "-vfsoverlay", "/var/folders/xq/y_g06wb113726d38xsyx71_h0000gn/T/TemporaryDirectory.WOiymK/vfs.yaml", "-L", "/Applications/Xcode-26.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/pm/ManifestAPI", "-lPackageDescription", "-Xlinker", "-rpath", "-Xlinker", "/Applications/Xcode-26.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/pm/ManifestAPI", "-target", "arm64-apple-macosx14.0", "-plugin-path", "/Applications/Xcode-26.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing", "-sdk", "/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.4.sdk", "-F", "/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks", "-I", "/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib", "-L", "/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib", "-swift-version", "6", "-I", "/Applications/Xcode-26.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/pm/ManifestAPI", "-sdk", "/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.4.sdk", "-package-description-version", "6.0.0", "/Users/admin/builder/spi-builder-workspace/Package.swift", "-o", "/var/folders/xq/y_g06wb113726d38xsyx71_h0000gn/T/TemporaryDirectory.pD30PR/spi-builder-workspace-manifest"])
/Users/admin/builder/spi-builder-workspace/Package.swift:8:13: error: reference to member 'v18' cannot be resolved without a contextual type
6 | name: "OpenCV",
7 | platforms: [
8 | .macOS(.v18), .iOS(.v18), .macCatalyst(.v18)
| `- error: reference to member 'v18' cannot be resolved without a contextual type
9 | ],
10 | products: [
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.3
Building package at path: $PWD
https://github.com/r0ml/OpenCV.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64
error: 'spi-builder-workspace': Invalid manifest (compiled with: ["/Applications/Xcode-26.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc", "-vfsoverlay", "/var/folders/xq/y_g06wb113726d38xsyx71_h0000gn/T/TemporaryDirectory.0f7r1l/vfs.yaml", "-L", "/Applications/Xcode-26.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/pm/ManifestAPI", "-lPackageDescription", "-Xlinker", "-rpath", "-Xlinker", "/Applications/Xcode-26.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/pm/ManifestAPI", "-target", "arm64-apple-macosx14.0", "-plugin-path", "/Applications/Xcode-26.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing", "-sdk", "/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.4.sdk", "-F", "/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks", "-I", "/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib", "-L", "/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib", "-swift-version", "6", "-I", "/Applications/Xcode-26.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/pm/ManifestAPI", "-sdk", "/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.4.sdk", "-package-description-version", "6.0.0", "/Users/admin/builder/spi-builder-workspace/Package.swift", "-o", "/var/folders/xq/y_g06wb113726d38xsyx71_h0000gn/T/TemporaryDirectory.8qXgV9/spi-builder-workspace-manifest"])
/Users/admin/builder/spi-builder-workspace/Package.swift:8:13: error: reference to member 'v18' cannot be resolved without a contextual type
6 | name: "OpenCV",
7 | platforms: [
8 | .macOS(.v18), .iOS(.v18), .macCatalyst(.v18)
| `- error: reference to member 'v18' cannot be resolved without a contextual type
9 | ],
10 | products: [
error: 'spi-builder-workspace': Invalid manifest (compiled with: ["/Applications/Xcode-26.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc", "-vfsoverlay", "/var/folders/xq/y_g06wb113726d38xsyx71_h0000gn/T/TemporaryDirectory.qZ8taH/vfs.yaml", "-L", "/Applications/Xcode-26.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/pm/ManifestAPI", "-lPackageDescription", "-Xlinker", "-rpath", "-Xlinker", "/Applications/Xcode-26.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/pm/ManifestAPI", "-target", "arm64-apple-macosx14.0", "-plugin-path", "/Applications/Xcode-26.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing", "-sdk", "/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.4.sdk", "-F", "/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks", "-I", "/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib", "-L", "/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib", "-swift-version", "6", "-I", "/Applications/Xcode-26.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/pm/ManifestAPI", "-sdk", "/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.4.sdk", "-package-description-version", "6.0.0", "/Users/admin/builder/spi-builder-workspace/Package.swift", "-o", "/var/folders/xq/y_g06wb113726d38xsyx71_h0000gn/T/TemporaryDirectory.oo6ZbR/spi-builder-workspace-manifest"])
/Users/admin/builder/spi-builder-workspace/Package.swift:8:13: error: reference to member 'v18' cannot be resolved without a contextual type
6 | name: "OpenCV",
7 | platforms: [
8 | .macOS(.v18), .iOS(.v18), .macCatalyst(.v18)
| `- error: reference to member 'v18' cannot be resolved without a contextual type
9 | ],
10 | products: [
BUILD FAILURE 6.3 macosSpm