Build Information
Failed to build OpenCV, reference main (141d91), with Swift 6.1 for tvOS using Xcode 16.3 on 21 Oct 2025 06:21:28 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 -destination generic/platform=tvOSBuild Log
========================================
RunAll
========================================
Builder version: 4.68.0
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 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 main
========================================
Build
========================================
Selected platform: tvOS
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" : "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"
}
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
2025-10-20 23:21:22.890 xcodebuild[547:3070] [MT] DVTAssertions: Warning in IDEFrameworks/IDEFoundation/Execution/RunContextManager/IDERunContextManager.m:851
Details: Error deleting scheme: Cannot modify data because the process disallows saving.
Object: <IDERunContextManager: 0x6000037ffde0>
Method: -deleteRunContexts:completionQueue:completionBlock:
Thread: <_NSMainThread: 0x6000015e8200>{number = 1, name = main}
Please file a bug at https://feedbackassistant.apple.com with this warning message and any useful information you can provide.
2025-10-20 23:21:22.891 xcodebuild[547:3070] could not delete old scheme: Error Domain=DVTCustomDataStoringErrors Code=0 "Cannot modify data because the process disallows saving." UserInfo={NSLocalizedDescription=Cannot modify data because the process disallows saving.}
{
"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"
}
{
"workspace" : {
"name" : "spi-builder-workspace",
"schemes" : [
"OpenCV"
]
}
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme OpenCV -destination generic/platform=tvOS 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 -destination generic/platform=tvOS "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 (2 targets)
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/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.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: f9fdc4671cf57481b8b208d11a8a823c
Build description path: /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/XCBuildData/f9fdc4671cf57481b8b208d11a8a823c.xcbuilddata
/Users/admin/builder/spi-builder-workspace/.dependencies/artifacts/spi-builder-workspace/opencv2/opencv2.xcframework:1:1: error: While building for tvOS, no library for this platform was found in '/Users/admin/builder/spi-builder-workspace/.dependencies/artifacts/spi-builder-workspace/opencv2/opencv2.xcframework'. (in target 'OpenCV' from project 'OpenCV')
** BUILD FAILED **
The following build commands failed:
Building workspace spi-builder-workspace with scheme OpenCV
(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" : "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"
}
{
"workspace" : {
"name" : "spi-builder-workspace",
"schemes" : [
"OpenCV"
]
}
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme OpenCV -destination generic/platform=tvOS
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 -destination generic/platform=tvOS
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 (2 targets)
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/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.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: 97e7a38565b6d5d7b84361ffd5469b3f
Build description path: /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/XCBuildData/97e7a38565b6d5d7b84361ffd5469b3f.xcbuilddata
/Users/admin/builder/spi-builder-workspace/.dependencies/artifacts/spi-builder-workspace/opencv2/opencv2.xcframework:1:1: error: While building for tvOS, no library for this platform was found in '/Users/admin/builder/spi-builder-workspace/.dependencies/artifacts/spi-builder-workspace/opencv2/opencv2.xcframework'. (in target 'OpenCV' from project 'OpenCV')
** BUILD FAILED **
The following build commands failed:
Building workspace spi-builder-workspace with scheme OpenCV
(1 failure)
BUILD FAILURE 6.1 tvOS