Build Information
Failed to build OpenCV, reference main (518c25), with Swift 6.1 for watchOS using Xcode 16.3 on 9 Nov 2026 21:07:11 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme OpenCV-Package -destination generic/platform=watchOSBuild Log
========================================
RunAll
========================================
Builder version: 5.1.4
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/yeatse/opencv-spm.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/yeatse/opencv-spm
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 518c252 Update Package.swift
Cloned https://github.com/yeatse/opencv-spm.git
Revision (git rev-parse @):
518c2526424b7d4bb4a119161c67c8ab90835f0a
SUCCESS checkout https://github.com/yeatse/opencv-spm.git at main
========================================
Build
========================================
Selected platform: watchOS
Swift version: 6.1
Building package at path: $PWD
https://github.com/yeatse/opencv-spm.git
https://github.com/yeatse/opencv-spm.git
{
"dependencies" : [
],
"manifest_display_name" : "OpenCV",
"name" : "OpenCV",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "12.0"
},
{
"name" : "ios",
"version" : "15.0"
},
{
"name" : "maccatalyst",
"version" : "15.0"
},
{
"name" : "visionos",
"version" : "1.0"
}
],
"products" : [
{
"name" : "OpenCV",
"targets" : [
"opencv2-full",
"opencv2-dependencies"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "OpenCV-NoDNN",
"targets" : [
"opencv2-nodnn",
"opencv2-dependencies"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "OpenCV-Core",
"targets" : [
"opencv2-core",
"opencv2-dependencies"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "opencv2_nodnn",
"module_type" : "BinaryTarget",
"name" : "opencv2-nodnn",
"path" : "remote/archive/opencv2-nodnn.xcframework.zip",
"product_memberships" : [
"OpenCV-NoDNN"
],
"sources" : [
],
"type" : "binary"
},
{
"c99name" : "opencv2_full",
"module_type" : "BinaryTarget",
"name" : "opencv2-full",
"path" : "remote/archive/opencv2-full.xcframework.zip",
"product_memberships" : [
"OpenCV"
],
"sources" : [
],
"type" : "binary"
},
{
"c99name" : "opencv2_dependencies",
"module_type" : "SwiftTarget",
"name" : "opencv2-dependencies",
"path" : "Sources/opencv2-dependencies",
"product_memberships" : [
"OpenCV",
"OpenCV-NoDNN",
"OpenCV-Core"
],
"sources" : [
"Stub.swift"
],
"type" : "library"
},
{
"c99name" : "opencv2_core",
"module_type" : "BinaryTarget",
"name" : "opencv2-core",
"path" : "remote/archive/opencv2-core.xcframework.zip",
"product_memberships" : [
"OpenCV-Core"
],
"sources" : [
],
"type" : "binary"
}
],
"tools_version" : "5.9"
}
Command line invocation:
/Applications/Xcode-16.3.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
{
"dependencies" : [
],
"manifest_display_name" : "OpenCV",
"name" : "OpenCV",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "12.0"
},
{
"name" : "ios",
"version" : "15.0"
},
{
"name" : "maccatalyst",
"version" : "15.0"
},
{
"name" : "visionos",
"version" : "1.0"
}
],
"products" : [
{
"name" : "OpenCV",
"targets" : [
"opencv2-full",
"opencv2-dependencies"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "OpenCV-NoDNN",
"targets" : [
"opencv2-nodnn",
"opencv2-dependencies"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "OpenCV-Core",
"targets" : [
"opencv2-core",
"opencv2-dependencies"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "opencv2_nodnn",
"module_type" : "BinaryTarget",
"name" : "opencv2-nodnn",
"path" : "remote/archive/opencv2-nodnn.xcframework.zip",
"product_memberships" : [
"OpenCV-NoDNN"
],
"sources" : [
],
"type" : "binary"
},
{
"c99name" : "opencv2_full",
"module_type" : "BinaryTarget",
"name" : "opencv2-full",
"path" : "remote/archive/opencv2-full.xcframework.zip",
"product_memberships" : [
"OpenCV"
],
"sources" : [
],
"type" : "binary"
},
{
"c99name" : "opencv2_dependencies",
"module_type" : "SwiftTarget",
"name" : "opencv2-dependencies",
"path" : "Sources/opencv2-dependencies",
"product_memberships" : [
"OpenCV",
"OpenCV-NoDNN",
"OpenCV-Core"
],
"sources" : [
"Stub.swift"
],
"type" : "library"
},
{
"c99name" : "opencv2_core",
"module_type" : "BinaryTarget",
"name" : "opencv2-core",
"path" : "remote/archive/opencv2-core.xcframework.zip",
"product_memberships" : [
"OpenCV-Core"
],
"sources" : [
],
"type" : "binary"
}
],
"tools_version" : "5.9"
}
{
"workspace" : {
"name" : "spi-builder-workspace",
"schemes" : [
"OpenCV",
"OpenCV-Core",
"OpenCV-NoDNN",
"OpenCV-Package"
]
}
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme OpenCV-Package -destination generic/platform=watchOS OTHER_SWIFT_FLAGS=-stats-output-dir .stats -strict-concurrency=complete -enable-upcoming-feature StrictConcurrency -enable-upcoming-feature DisableOutwardActorInference -enable-upcoming-feature GlobalActorIsolatedTypesUsability -enable-upcoming-feature InferSendableFromCaptures
Command line invocation:
/Applications/Xcode-16.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 OpenCV-Package -destination generic/platform=watchOS "OTHER_SWIFT_FLAGS=-stats-output-dir .stats -strict-concurrency=complete -enable-upcoming-feature StrictConcurrency -enable-upcoming-feature DisableOutwardActorInference -enable-upcoming-feature GlobalActorIsolatedTypesUsability -enable-upcoming-feature InferSendableFromCaptures"
Build settings from command line:
OTHER_SWIFT_FLAGS = -stats-output-dir .stats -strict-concurrency=complete -enable-upcoming-feature StrictConcurrency -enable-upcoming-feature DisableOutwardActorInference -enable-upcoming-feature GlobalActorIsolatedTypesUsability -enable-upcoming-feature InferSendableFromCaptures
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 (4 targets)
Target 'OpenCV-NoDNN' in project 'OpenCV'
➜ Explicit dependency on target 'opencv2-dependencies' in project 'OpenCV'
Target 'OpenCV-Core' in project 'OpenCV'
➜ Explicit dependency on target 'opencv2-dependencies' in project 'OpenCV'
Target 'OpenCV' in project 'OpenCV'
➜ Explicit dependency on target 'opencv2-dependencies' in project 'OpenCV'
Target 'opencv2-dependencies' in project 'OpenCV' (no dependencies)
GatherProvisioningInputs
CreateBuildDescription
ExecuteExternalTool /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -v -E -dM -isysroot /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk -x c -c /dev/null
ExecuteExternalTool /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc --version
ExecuteExternalTool /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld -version_details
Build description signature: 9e1b4cccd114844ccdbe3c69b4912c22
Build description path: /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/XCBuildData/9e1b4cccd114844ccdbe3c69b4912c22.xcbuilddata
/Users/admin/builder/spi-builder-workspace/.dependencies/artifacts/spi-builder-workspace/opencv2-nodnn/opencv2.xcframework:1:1: error: While building for watchOS, no library for this platform was found in '/Users/admin/builder/spi-builder-workspace/.dependencies/artifacts/spi-builder-workspace/opencv2-nodnn/opencv2.xcframework'. (in target 'OpenCV-NoDNN' from project 'OpenCV')
/Users/admin/builder/spi-builder-workspace/.dependencies/artifacts/spi-builder-workspace/opencv2-full/opencv2.xcframework:1:1: error: While building for watchOS, no library for this platform was found in '/Users/admin/builder/spi-builder-workspace/.dependencies/artifacts/spi-builder-workspace/opencv2-full/opencv2.xcframework'. (in target 'OpenCV' from project 'OpenCV')
/Users/admin/builder/spi-builder-workspace/.dependencies/artifacts/spi-builder-workspace/opencv2-core/opencv2.xcframework:1:1: error: While building for watchOS, no library for this platform was found in '/Users/admin/builder/spi-builder-workspace/.dependencies/artifacts/spi-builder-workspace/opencv2-core/opencv2.xcframework'. (in target 'OpenCV-Core' from project 'OpenCV')
** BUILD FAILED **
The following build commands failed:
Building workspace spi-builder-workspace with scheme OpenCV-Package
(1 failure)
Command line invocation:
/Applications/Xcode-16.3.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
{
"dependencies" : [
],
"manifest_display_name" : "OpenCV",
"name" : "OpenCV",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "12.0"
},
{
"name" : "ios",
"version" : "15.0"
},
{
"name" : "maccatalyst",
"version" : "15.0"
},
{
"name" : "visionos",
"version" : "1.0"
}
],
"products" : [
{
"name" : "OpenCV",
"targets" : [
"opencv2-full",
"opencv2-dependencies"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "OpenCV-NoDNN",
"targets" : [
"opencv2-nodnn",
"opencv2-dependencies"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "OpenCV-Core",
"targets" : [
"opencv2-core",
"opencv2-dependencies"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "opencv2_nodnn",
"module_type" : "BinaryTarget",
"name" : "opencv2-nodnn",
"path" : "remote/archive/opencv2-nodnn.xcframework.zip",
"product_memberships" : [
"OpenCV-NoDNN"
],
"sources" : [
],
"type" : "binary"
},
{
"c99name" : "opencv2_full",
"module_type" : "BinaryTarget",
"name" : "opencv2-full",
"path" : "remote/archive/opencv2-full.xcframework.zip",
"product_memberships" : [
"OpenCV"
],
"sources" : [
],
"type" : "binary"
},
{
"c99name" : "opencv2_dependencies",
"module_type" : "SwiftTarget",
"name" : "opencv2-dependencies",
"path" : "Sources/opencv2-dependencies",
"product_memberships" : [
"OpenCV",
"OpenCV-NoDNN",
"OpenCV-Core"
],
"sources" : [
"Stub.swift"
],
"type" : "library"
},
{
"c99name" : "opencv2_core",
"module_type" : "BinaryTarget",
"name" : "opencv2-core",
"path" : "remote/archive/opencv2-core.xcframework.zip",
"product_memberships" : [
"OpenCV-Core"
],
"sources" : [
],
"type" : "binary"
}
],
"tools_version" : "5.9"
}
{
"workspace" : {
"name" : "spi-builder-workspace",
"schemes" : [
"OpenCV",
"OpenCV-Core",
"OpenCV-NoDNN",
"OpenCV-Package"
]
}
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme OpenCV-Package -destination generic/platform=watchOS
Command line invocation:
/Applications/Xcode-16.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 OpenCV-Package -destination generic/platform=watchOS
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 (4 targets)
Target 'OpenCV-NoDNN' in project 'OpenCV'
➜ Explicit dependency on target 'opencv2-dependencies' in project 'OpenCV'
Target 'OpenCV-Core' in project 'OpenCV'
➜ Explicit dependency on target 'opencv2-dependencies' in project 'OpenCV'
Target 'OpenCV' in project 'OpenCV'
➜ Explicit dependency on target 'opencv2-dependencies' in project 'OpenCV'
Target 'opencv2-dependencies' in project 'OpenCV' (no dependencies)
GatherProvisioningInputs
CreateBuildDescription
ExecuteExternalTool /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc --version
ExecuteExternalTool /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -v -E -dM -isysroot /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk -x c -c /dev/null
ExecuteExternalTool /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld -version_details
Build description signature: 9de2b7a3e176beb10fb67913a39307d3
Build description path: /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/XCBuildData/9de2b7a3e176beb10fb67913a39307d3.xcbuilddata
/Users/admin/builder/spi-builder-workspace/.dependencies/artifacts/spi-builder-workspace/opencv2-nodnn/opencv2.xcframework:1:1: error: While building for watchOS, no library for this platform was found in '/Users/admin/builder/spi-builder-workspace/.dependencies/artifacts/spi-builder-workspace/opencv2-nodnn/opencv2.xcframework'. (in target 'OpenCV-NoDNN' from project 'OpenCV')
/Users/admin/builder/spi-builder-workspace/.dependencies/artifacts/spi-builder-workspace/opencv2-full/opencv2.xcframework:1:1: error: While building for watchOS, no library for this platform was found in '/Users/admin/builder/spi-builder-workspace/.dependencies/artifacts/spi-builder-workspace/opencv2-full/opencv2.xcframework'. (in target 'OpenCV' from project 'OpenCV')
/Users/admin/builder/spi-builder-workspace/.dependencies/artifacts/spi-builder-workspace/opencv2-core/opencv2.xcframework:1:1: error: While building for watchOS, no library for this platform was found in '/Users/admin/builder/spi-builder-workspace/.dependencies/artifacts/spi-builder-workspace/opencv2-core/opencv2.xcframework'. (in target 'OpenCV-Core' from project 'OpenCV')
** BUILD FAILED **
The following build commands failed:
Building workspace spi-builder-workspace with scheme OpenCV-Package
(1 failure)
BUILD FAILURE 6.1 watchOS