Build Information
Failed to build VideoIO, reference 2.3.1 (22f7c0
), with Swift 6.1 for visionOS using Xcode 16.3 on 27 Apr 2025 14:53:23 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme VideoIO -destination generic/platform=xrOS
Build Log
========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/MetalPetal/VideoIO.git
Reference: 2.3.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/MetalPetal/VideoIO
* tag 2.3.1 -> FETCH_HEAD
HEAD is now at 22f7c00 Fix tvOS build issue
Cloned https://github.com/MetalPetal/VideoIO.git
Revision (git rev-parse @):
22f7c00083b7e16c7e15ace1adcdb90fb5ffe006
SUCCESS checkout https://github.com/MetalPetal/VideoIO.git at 2.3.1
========================================
Build
========================================
Selected platform: visionOS
Swift version: 6.1
Building package at path: $PWD
https://github.com/MetalPetal/VideoIO.git
https://github.com/MetalPetal/VideoIO.git
{
"dependencies" : [
],
"manifest_display_name" : "VideoIO",
"name" : "VideoIO",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "10.0"
},
{
"name" : "macos",
"version" : "10.13"
},
{
"name" : "tvos",
"version" : "10.0"
}
],
"products" : [
{
"name" : "VideoIO",
"targets" : [
"VideoIO"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "VideoIOTests",
"module_type" : "SwiftTarget",
"name" : "VideoIOTests",
"path" : "Tests/VideoIOTests",
"sources" : [
"VideoIOTests.swift"
],
"target_dependencies" : [
"VideoIO"
],
"type" : "test"
},
{
"c99name" : "VideoIO",
"module_type" : "SwiftTarget",
"name" : "VideoIO",
"path" : "Sources/VideoIO",
"product_memberships" : [
"VideoIO"
],
"sources" : [
"AVAsset.swift",
"AssetExportSession.swift",
"AudioQueueCaptureSession.swift",
"AudioVideoSettings.swift",
"Camera+AudioQueueCapture.swift",
"Camera+FocusExposure.swift",
"Camera+PhotoCapture.swift",
"Camera.swift",
"DeviceOrientationTracker.swift",
"MovieFileType.swift",
"MovieMerger.swift",
"MultitrackMovieRecorder.swift",
"PlayerVideoOutput.swift",
"SampleBufferUtilities.swift",
"UnfairLock.swift",
"VideoComposition.swift",
"VideoOrientationUtilities.swift"
],
"type" : "library"
}
],
"tools_version" : "5.1"
}
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:
VideoIO: /Users/admin/builder/spi-builder-workspace
resolved source packages: VideoIO
{
"dependencies" : [
],
"manifest_display_name" : "VideoIO",
"name" : "VideoIO",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "10.0"
},
{
"name" : "macos",
"version" : "10.13"
},
{
"name" : "tvos",
"version" : "10.0"
}
],
"products" : [
{
"name" : "VideoIO",
"targets" : [
"VideoIO"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "VideoIOTests",
"module_type" : "SwiftTarget",
"name" : "VideoIOTests",
"path" : "Tests/VideoIOTests",
"sources" : [
"VideoIOTests.swift"
],
"target_dependencies" : [
"VideoIO"
],
"type" : "test"
},
{
"c99name" : "VideoIO",
"module_type" : "SwiftTarget",
"name" : "VideoIO",
"path" : "Sources/VideoIO",
"product_memberships" : [
"VideoIO"
],
"sources" : [
"AVAsset.swift",
"AssetExportSession.swift",
"AudioQueueCaptureSession.swift",
"AudioVideoSettings.swift",
"Camera+AudioQueueCapture.swift",
"Camera+FocusExposure.swift",
"Camera+PhotoCapture.swift",
"Camera.swift",
"DeviceOrientationTracker.swift",
"MovieFileType.swift",
"MovieMerger.swift",
"MultitrackMovieRecorder.swift",
"PlayerVideoOutput.swift",
"SampleBufferUtilities.swift",
"UnfairLock.swift",
"VideoComposition.swift",
"VideoOrientationUtilities.swift"
],
"type" : "library"
}
],
"tools_version" : "5.1"
}
{
"workspace" : {
"name" : "spi-builder-workspace",
"schemes" : [
"VideoIO"
]
}
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme VideoIO -destination generic/platform=xrOS 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 VideoIO -destination generic/platform=xrOS "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:
VideoIO: /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 'VideoIO' in project 'VideoIO'
➜ Explicit dependency on target 'VideoIO' in project 'VideoIO'
Target 'VideoIO' in project 'VideoIO' (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/XROS.platform/Developer/SDKs/XROS2.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: 4898331fc871a5240d9f026709e68b3f
Build description path: /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/XCBuildData/4898331fc871a5240d9f026709e68b3f.xcbuilddata
ClangStatCache /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang-stat-cache /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/xros2.4-22O233-407b76dbb837030756cbe1ab3f0b01b6.sdkstatcache
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang-stat-cache /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk -o /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/xros2.4-22O233-407b76dbb837030756cbe1ab3f0b01b6.sdkstatcache
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-create-build-directory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-create-build-directory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-create-build-directory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/EagerLinkingTBDs/Debug-xros
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-create-build-directory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/EagerLinkingTBDs/Debug-xros
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/PackageFrameworks
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-create-build-directory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/PackageFrameworks
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/VideoIO.build/Debug-xros/VideoIO.build/VideoIO.DependencyStaticMetadataFileList (in target 'VideoIO' from project 'VideoIO')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/VideoIO.build/Debug-xros/VideoIO.build/VideoIO.DependencyStaticMetadataFileList
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/VideoIO.build/Debug-xros/VideoIO.build/VideoIO.DependencyMetadataFileList (in target 'VideoIO' from project 'VideoIO')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/VideoIO.build/Debug-xros/VideoIO.build/VideoIO.DependencyMetadataFileList
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/VideoIO.build/Debug-xros/VideoIO.build/VideoIO.modulemap (in target 'VideoIO' from project 'VideoIO')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/VideoIO.build/Debug-xros/VideoIO.build/VideoIO.modulemap
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/VideoIO.build/Debug-xros/VideoIO.build/Objects-normal/arm64/VideoIO_const_extract_protocols.json (in target 'VideoIO' from project 'VideoIO')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/VideoIO.build/Debug-xros/VideoIO.build/Objects-normal/arm64/VideoIO_const_extract_protocols.json
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/VideoIO.build/Debug-xros/VideoIO.build/Objects-normal/arm64/VideoIO.LinkFileList (in target 'VideoIO' from project 'VideoIO')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/VideoIO.build/Debug-xros/VideoIO.build/Objects-normal/arm64/VideoIO.LinkFileList
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/VideoIO.build/Debug-xros/VideoIO.build/Objects-normal/arm64/VideoIO.SwiftConstValuesFileList (in target 'VideoIO' from project 'VideoIO')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/VideoIO.build/Debug-xros/VideoIO.build/Objects-normal/arm64/VideoIO.SwiftConstValuesFileList
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/VideoIO.build/Debug-xros/VideoIO.build/Objects-normal/arm64/VideoIO.SwiftFileList (in target 'VideoIO' from project 'VideoIO')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/VideoIO.build/Debug-xros/VideoIO.build/Objects-normal/arm64/VideoIO.SwiftFileList
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/VideoIO.build/Debug-xros/VideoIO.build/Objects-normal/arm64/VideoIO-OutputFileMap.json (in target 'VideoIO' from project 'VideoIO')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/VideoIO.build/Debug-xros/VideoIO.build/Objects-normal/arm64/VideoIO-OutputFileMap.json
Copy /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeneratedModuleMaps-xros/VideoIO.modulemap /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/VideoIO.build/Debug-xros/VideoIO.build/VideoIO.modulemap (in target 'VideoIO' from project 'VideoIO')
cd /Users/admin/builder/spi-builder-workspace
builtin-copy -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git -exclude .hg -resolve-src-symlinks /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/VideoIO.build/Debug-xros/VideoIO.build/VideoIO.modulemap /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeneratedModuleMaps-xros
SwiftDriver VideoIO normal arm64 com.apple.xcode.tools.swift.compiler (in target 'VideoIO' from project 'VideoIO')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftDriver -- /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -module-name VideoIO -Onone -enforce-exclusivity\=checked @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/VideoIO.build/Debug-xros/VideoIO.build/Objects-normal/arm64/VideoIO.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -stats-output-dir .stats -strict-concurrency\=complete -enable-upcoming-feature StrictConcurrency -enable-upcoming-feature DisableOutwardActorInference -enable-upcoming-feature GlobalActorIsolatedTypesUsability -enable-upcoming-feature InferSendableFromCaptures -plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -enable-experimental-feature DebugDescriptionMacro -sdk /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk -target arm64-apple-xros1.0 -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -Xfrontend -serialize-debugging-options -profile-coverage-mapping -profile-generate -enable-testing -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -swift-version 5 -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros -I /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/Library/Frameworks -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk/Developer/Library/Frameworks -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/xros2.4-22O233-407b76dbb837030756cbe1ab3f0b01b6.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/VideoIO.build/Debug-xros/VideoIO.build/Objects-normal/arm64/VideoIO-OutputFileMap.json -use-frontend-parseable-output -save-temps -no-color-diagnostics -serialize-diagnostics -emit-dependencies -emit-module -emit-module-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/VideoIO.build/Debug-xros/VideoIO.build/Objects-normal/arm64/VideoIO.swiftmodule -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/VideoIO.build/Debug-xros/VideoIO.build/swift-overrides.hmap -emit-const-values -Xfrontend -const-gather-protocols-file -Xfrontend /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/VideoIO.build/Debug-xros/VideoIO.build/Objects-normal/arm64/VideoIO_const_extract_protocols.json -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/VideoIO.build/Debug-xros/VideoIO.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/VideoIO.build/Debug-xros/VideoIO.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/VideoIO.build/Debug-xros/VideoIO.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -emit-objc-header -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/VideoIO.build/Debug-xros/VideoIO.build/Objects-normal/arm64/VideoIO-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
SwiftCompile normal arm64 Compiling\ Camera+AudioQueueCapture.swift,\ Camera+FocusExposure.swift /Users/admin/builder/spi-builder-workspace/Sources/VideoIO/Camera+AudioQueueCapture.swift /Users/admin/builder/spi-builder-workspace/Sources/VideoIO/Camera+FocusExposure.swift (in target 'VideoIO' from project 'VideoIO')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/VideoIO/Camera+AudioQueueCapture.swift (in target 'VideoIO' from project 'VideoIO')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/VideoIO/Camera+FocusExposure.swift (in target 'VideoIO' from project 'VideoIO')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 Compiling\ AudioQueueCaptureSession.swift,\ AudioVideoSettings.swift /Users/admin/builder/spi-builder-workspace/Sources/VideoIO/AudioQueueCaptureSession.swift /Users/admin/builder/spi-builder-workspace/Sources/VideoIO/AudioVideoSettings.swift (in target 'VideoIO' from project 'VideoIO')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/VideoIO/AudioQueueCaptureSession.swift (in target 'VideoIO' from project 'VideoIO')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/VideoIO/AudioVideoSettings.swift (in target 'VideoIO' from project 'VideoIO')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 Compiling\ DeviceOrientationTracker.swift,\ MovieFileType.swift /Users/admin/builder/spi-builder-workspace/Sources/VideoIO/DeviceOrientationTracker.swift /Users/admin/builder/spi-builder-workspace/Sources/VideoIO/MovieFileType.swift (in target 'VideoIO' from project 'VideoIO')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/VideoIO/DeviceOrientationTracker.swift (in target 'VideoIO' from project 'VideoIO')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/VideoIO/MovieFileType.swift (in target 'VideoIO' from project 'VideoIO')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 Compiling\ Camera+PhotoCapture.swift,\ Camera.swift /Users/admin/builder/spi-builder-workspace/Sources/VideoIO/Camera+PhotoCapture.swift /Users/admin/builder/spi-builder-workspace/Sources/VideoIO/Camera.swift (in target 'VideoIO' from project 'VideoIO')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/VideoIO/Camera+PhotoCapture.swift (in target 'VideoIO' from project 'VideoIO')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/VideoIO/Camera.swift (in target 'VideoIO' from project 'VideoIO')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 Compiling\ MovieMerger.swift,\ MultitrackMovieRecorder.swift /Users/admin/builder/spi-builder-workspace/Sources/VideoIO/MovieMerger.swift /Users/admin/builder/spi-builder-workspace/Sources/VideoIO/MultitrackMovieRecorder.swift (in target 'VideoIO' from project 'VideoIO')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/VideoIO/MovieMerger.swift (in target 'VideoIO' from project 'VideoIO')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/VideoIO/MultitrackMovieRecorder.swift (in target 'VideoIO' from project 'VideoIO')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 Compiling\ AVAsset.swift,\ AssetExportSession.swift /Users/admin/builder/spi-builder-workspace/Sources/VideoIO/AVAsset.swift /Users/admin/builder/spi-builder-workspace/Sources/VideoIO/AssetExportSession.swift (in target 'VideoIO' from project 'VideoIO')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/VideoIO/AVAsset.swift (in target 'VideoIO' from project 'VideoIO')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/VideoIO/AssetExportSession.swift (in target 'VideoIO' from project 'VideoIO')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 Compiling\ PlayerVideoOutput.swift,\ SampleBufferUtilities.swift /Users/admin/builder/spi-builder-workspace/Sources/VideoIO/PlayerVideoOutput.swift /Users/admin/builder/spi-builder-workspace/Sources/VideoIO/SampleBufferUtilities.swift (in target 'VideoIO' from project 'VideoIO')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/VideoIO/PlayerVideoOutput.swift (in target 'VideoIO' from project 'VideoIO')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/VideoIO/SampleBufferUtilities.swift (in target 'VideoIO' from project 'VideoIO')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 Compiling\ VideoOrientationUtilities.swift /Users/admin/builder/spi-builder-workspace/Sources/VideoIO/VideoOrientationUtilities.swift (in target 'VideoIO' from project 'VideoIO')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/VideoIO/VideoOrientationUtilities.swift (in target 'VideoIO' from project 'VideoIO')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 Compiling\ VideoComposition.swift /Users/admin/builder/spi-builder-workspace/Sources/VideoIO/VideoComposition.swift (in target 'VideoIO' from project 'VideoIO')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/VideoIO/VideoComposition.swift (in target 'VideoIO' from project 'VideoIO')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftEmitModule normal arm64 Emitting\ module\ for\ VideoIO (in target 'VideoIO' from project 'VideoIO')
Failed frontend command:
/Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /Users/admin/builder/spi-builder-workspace/Sources/VideoIO/AVAsset.swift /Users/admin/builder/spi-builder-workspace/Sources/VideoIO/AssetExportSession.swift /Users/admin/builder/spi-builder-workspace/Sources/VideoIO/AudioQueueCaptureSession.swift /Users/admin/builder/spi-builder-workspace/Sources/VideoIO/AudioVideoSettings.swift /Users/admin/builder/spi-builder-workspace/Sources/VideoIO/Camera+AudioQueueCapture.swift /Users/admin/builder/spi-builder-workspace/Sources/VideoIO/Camera+FocusExposure.swift /Users/admin/builder/spi-builder-workspace/Sources/VideoIO/Camera+PhotoCapture.swift /Users/admin/builder/spi-builder-workspace/Sources/VideoIO/Camera.swift /Users/admin/builder/spi-builder-workspace/Sources/VideoIO/DeviceOrientationTracker.swift /Users/admin/builder/spi-builder-workspace/Sources/VideoIO/MovieFileType.swift /Users/admin/builder/spi-builder-workspace/Sources/VideoIO/MovieMerger.swift /Users/admin/builder/spi-builder-workspace/Sources/VideoIO/MultitrackMovieRecorder.swift /Users/admin/builder/spi-builder-workspace/Sources/VideoIO/PlayerVideoOutput.swift /Users/admin/builder/spi-builder-workspace/Sources/VideoIO/SampleBufferUtilities.swift /Users/admin/builder/spi-builder-workspace/Sources/VideoIO/UnfairLock.swift /Users/admin/builder/spi-builder-workspace/Sources/VideoIO/VideoComposition.swift /Users/admin/builder/spi-builder-workspace/Sources/VideoIO/VideoOrientationUtilities.swift -target arm64-apple-xros1.0 -Xllvm -aarch64-use-tbi -enable-objc-interop -stack-check -sdk /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros -I /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/Library/Frameworks -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk/Developer/Library/Frameworks -no-color-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -profile-generate -profile-coverage-mapping -swift-version 5 -enforce-exclusivity\=checked -stats-output-dir /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode/.stats -Onone -D SWIFT_PACKAGE -D DEBUG -serialize-debugging-options -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/VideoIO.build/Debug-xros/VideoIO.build/Objects-normal/arm64/VideoIO_const_extract_protocols.json -enable-upcoming-feature StrictConcurrency -enable-upcoming-feature DisableOutwardActorInference -enable-upcoming-feature GlobalActorIsolatedTypesUsability -enable-upcoming-feature InferSendableFromCaptures -enable-experimental-feature DebugDescriptionMacro -strict-concurrency\=complete -empty-abi-descriptor -plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -resource-dir /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift -enable-anonymous-context-mangled-names -file-compilation-dir /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/xros2.4-22O233-407b76dbb837030756cbe1ab3f0b01b6.sdkstatcache -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/VideoIO.build/Debug-xros/VideoIO.build/swift-overrides.hmap -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/VideoIO.build/Debug-xros/VideoIO.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/VideoIO.build/Debug-xros/VideoIO.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/VideoIO.build/Debug-xros/VideoIO.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -module-name VideoIO -frontend-parseable-output -disable-clang-spi -target-sdk-version 2.4 -target-sdk-name xros2.4 -external-plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/lib/swift/host/plugins\#/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/bin/swift-plugin-server -external-plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/local/lib/swift/host/plugins\#/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/bin/swift-plugin-server -in-process-plugin-server-path /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/libSwiftInProcPluginServer.dylib -plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins -plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/local/lib/swift/host/plugins -emit-module-doc-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/VideoIO.build/Debug-xros/VideoIO.build/Objects-normal/arm64/VideoIO.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/VideoIO.build/Debug-xros/VideoIO.build/Objects-normal/arm64/VideoIO.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/VideoIO.build/Debug-xros/VideoIO.build/Objects-normal/arm64/VideoIO-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/VideoIO.build/Debug-xros/VideoIO.build/Objects-normal/arm64/VideoIO-master-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/VideoIO.build/Debug-xros/VideoIO.build/Objects-normal/arm64/VideoIO-master-emit-module.d -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/VideoIO.build/Debug-xros/VideoIO.build/Objects-normal/arm64/VideoIO.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/VideoIO.build/Debug-xros/VideoIO.build/Objects-normal/arm64/VideoIO.abi.json
EmitSwiftModule normal arm64 (in target 'VideoIO' from project 'VideoIO')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Users/admin/builder/spi-builder-workspace/Sources/VideoIO/AssetExportSession.swift:216:18: warning: class 'ExportProgress' must restate inherited '@unchecked Sendable' conformance
public class ExportProgress: Progress {
^
, @unchecked Sendable
/Users/admin/builder/spi-builder-workspace/Sources/VideoIO/AudioQueueCaptureSession.swift:43:24: warning: static property 'tracker' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
static var tracker = ""
^
/Users/admin/builder/spi-builder-workspace/Sources/VideoIO/AudioQueueCaptureSession.swift:43:24: note: convert 'tracker' to a 'let' constant to make 'Sendable' shared state immutable
static var tracker = ""
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/Sources/VideoIO/AudioQueueCaptureSession.swift:43:24: note: add '@MainActor' to make static property 'tracker' part of global actor 'MainActor'
static var tracker = ""
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/VideoIO/AudioQueueCaptureSession.swift:43:24: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
static var tracker = ""
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/VideoIO/AudioVideoSettings.swift:26:27: warning: static property 'fit' is not concurrency-safe because non-'Sendable' type 'VideoSettings.ScalingMode' may have shared mutable state; this is an error in the Swift 6 language mode
public static let fit = ScalingMode(AVVideoScalingModeFit)
^
/Users/admin/builder/spi-builder-workspace/Sources/VideoIO/AudioVideoSettings.swift:18:19: note: consider making struct 'ScalingMode' conform to the 'Sendable' protocol
public struct ScalingMode: RawRepresentable {
^
, Sendable
/Users/admin/builder/spi-builder-workspace/Sources/VideoIO/AudioVideoSettings.swift:26:27: note: add '@MainActor' to make static property 'fit' part of global actor 'MainActor'
public static let fit = ScalingMode(AVVideoScalingModeFit)
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/VideoIO/AudioVideoSettings.swift:26:27: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
public static let fit = ScalingMode(AVVideoScalingModeFit)
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/VideoIO/AudioVideoSettings.swift:27:27: warning: static property 'resize' is not concurrency-safe because non-'Sendable' type 'VideoSettings.ScalingMode' may have shared mutable state; this is an error in the Swift 6 language mode
public static let resize = ScalingMode(AVVideoScalingModeResize)
^
/Users/admin/builder/spi-builder-workspace/Sources/VideoIO/AudioVideoSettings.swift:18:19: note: consider making struct 'ScalingMode' conform to the 'Sendable' protocol
public struct ScalingMode: RawRepresentable {
^
, Sendable
/Users/admin/builder/spi-builder-workspace/Sources/VideoIO/AudioVideoSettings.swift:27:27: note: add '@MainActor' to make static property 'resize' part of global actor 'MainActor'
public static let resize = ScalingMode(AVVideoScalingModeResize)
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/VideoIO/AudioVideoSettings.swift:27:27: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
public static let resize = ScalingMode(AVVideoScalingModeResize)
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/VideoIO/AudioVideoSettings.swift:28:27: warning: static property 'resizeAspect' is not concurrency-safe because non-'Sendable' type 'VideoSettings.ScalingMode' may have shared mutable state; this is an error in the Swift 6 language mode
public static let resizeAspect = ScalingMode(AVVideoScalingModeResizeAspect)
^
/Users/admin/builder/spi-builder-workspace/Sources/VideoIO/AudioVideoSettings.swift:18:19: note: consider making struct 'ScalingMode' conform to the 'Sendable' protocol
public struct ScalingMode: RawRepresentable {
^
, Sendable
/Users/admin/builder/spi-builder-workspace/Sources/VideoIO/AudioVideoSettings.swift:28:27: note: add '@MainActor' to make static property 'resizeAspect' part of global actor 'MainActor'
public static let resizeAspect = ScalingMode(AVVideoScalingModeResizeAspect)
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/VideoIO/AudioVideoSettings.swift:28:27: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
public static let resizeAspect = ScalingMode(AVVideoScalingModeResizeAspect)
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/VideoIO/AudioVideoSettings.swift:29:27: warning: static property 'resizeAspectFill' is not concurrency-safe because non-'Sendable' type 'VideoSettings.ScalingMode' may have shared mutable state; this is an error in the Swift 6 language mode
public static let resizeAspectFill = ScalingMode(AVVideoScalingModeResizeAspectFill)
^
/Users/admin/builder/spi-builder-workspace/Sources/VideoIO/AudioVideoSettings.swift:18:19: note: consider making struct 'ScalingMode' conform to the 'Sendable' protocol
public struct ScalingMode: RawRepresentable {
^
, Sendable
/Users/admin/builder/spi-builder-workspace/Sources/VideoIO/AudioVideoSettings.swift:29:27: note: add '@MainActor' to make static property 'resizeAspectFill' part of global actor 'MainActor'
public static let resizeAspectFill = ScalingMode(AVVideoScalingModeResizeAspectFill)
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/VideoIO/AudioVideoSettings.swift:29:27: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
public static let resizeAspectFill = ScalingMode(AVVideoScalingModeResizeAspectFill)
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/VideoIO/Camera+FocusExposure.swift:16:101: error: 'FocusMode' is unavailable in visionOS
public func setFocusExposurePointOfInterest(to devicePoint: CGPoint, focusMode: AVCaptureDevice.FocusMode = .continuousAutoFocus, exposureMode: AVCaptureDevice.ExposureMode = .continuousAutoExposure, shouldMonitorSubjectAreaChange: Bool = false) throws {
^~~~~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureDevice.h:1058:28: note: 'FocusMode' has been explicitly marked unavailable here
typedef NS_ENUM(NSInteger, AVCaptureFocusMode) {
^
/Users/admin/builder/spi-builder-workspace/Sources/VideoIO/Camera+FocusExposure.swift:16:165: error: 'ExposureMode' is unavailable in visionOS
public func setFocusExposurePointOfInterest(to devicePoint: CGPoint, focusMode: AVCaptureDevice.FocusMode = .continuousAutoFocus, exposureMode: AVCaptureDevice.ExposureMode = .continuousAutoExposure, shouldMonitorSubjectAreaChange: Bool = false) throws {
^~~~~~~~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureDevice.h:1272:28: note: 'ExposureMode' has been explicitly marked unavailable here
typedef NS_ENUM(NSInteger, AVCaptureExposureMode) {
^
/Users/admin/builder/spi-builder-workspace/Sources/VideoIO/Camera+FocusExposure.swift:33:101: error: 'FocusMode' is unavailable in visionOS
public func setFocusExposurePointOfInterest(to devicePoint: CGPoint, focusMode: AVCaptureDevice.FocusMode = .continuousAutoFocus, exposureMode: AVCaptureDevice.ExposureMode = .continuousAutoExposure) throws {
^~~~~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureDevice.h:1058:28: note: 'FocusMode' has been explicitly marked unavailable here
typedef NS_ENUM(NSInteger, AVCaptureFocusMode) {
^
/Users/admin/builder/spi-builder-workspace/Sources/VideoIO/Camera+FocusExposure.swift:33:165: error: 'ExposureMode' is unavailable in visionOS
public func setFocusExposurePointOfInterest(to devicePoint: CGPoint, focusMode: AVCaptureDevice.FocusMode = .continuousAutoFocus, exposureMode: AVCaptureDevice.ExposureMode = .continuousAutoExposure) throws {
^~~~~~~~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureDevice.h:1272:28: note: 'ExposureMode' has been explicitly marked unavailable here
typedef NS_ENUM(NSInteger, AVCaptureExposureMode) {
^
/Users/admin/builder/spi-builder-workspace/Sources/VideoIO/Camera+PhotoCapture.swift:20:40: error: 'AVCaptureResolvedPhotoSettings' is unavailable in visionOS
var willBeginCaptureHandler: ((AVCaptureResolvedPhotoSettings) -> Void)?
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:1763:12: note: 'AVCaptureResolvedPhotoSettings' has been explicitly marked unavailable here
@interface AVCaptureResolvedPhotoSettings : NSObject
^
/Users/admin/builder/spi-builder-workspace/Sources/VideoIO/Camera+PhotoCapture.swift:21:50: error: 'AVCapturePhoto' is unavailable in visionOS
var didFinishProcessingHandler: ((Result<AVCapturePhoto, Swift.Error>) -> Void)?
^~~~~~~~~~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:1954:12: note: 'AVCapturePhoto' has been explicitly marked unavailable here
@interface AVCapturePhoto : NSObject
^
/Users/admin/builder/spi-builder-workspace/Sources/VideoIO/Camera+PhotoCapture.swift:22:36: error: 'AVCapturePhotoOutput' is unavailable in visionOS
func photoOutput(_ output: AVCapturePhotoOutput, willBeginCaptureFor resolvedSettings: AVCaptureResolvedPhotoSettings) {
^~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:50:12: note: 'AVCapturePhotoOutput' has been explicitly marked unavailable here
@interface AVCapturePhotoOutput : AVCaptureOutput
^
/Users/admin/builder/spi-builder-workspace/Sources/VideoIO/Camera+PhotoCapture.swift:22:96: error: 'AVCaptureResolvedPhotoSettings' is unavailable in visionOS
func photoOutput(_ output: AVCapturePhotoOutput, willBeginCaptureFor resolvedSettings: AVCaptureResolvedPhotoSettings) {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:1763:12: note: 'AVCaptureResolvedPhotoSettings' has been explicitly marked unavailable here
@interface AVCaptureResolvedPhotoSettings : NSObject
^
/Users/admin/builder/spi-builder-workspace/Sources/VideoIO/Camera+PhotoCapture.swift:25:36: error: 'AVCapturePhotoOutput' is unavailable in visionOS
func photoOutput(_ output: AVCapturePhotoOutput, didFinishProcessingPhoto photo: AVCapturePhoto, error: Swift.Error?) {
^~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:50:12: note: 'AVCapturePhotoOutput' has been explicitly marked unavailable here
@interface AVCapturePhotoOutput : AVCaptureOutput
^
/Users/admin/builder/spi-builder-workspace/Sources/VideoIO/Camera+PhotoCapture.swift:25:90: error: 'AVCapturePhoto' is unavailable in visionOS
func photoOutput(_ output: AVCapturePhotoOutput, didFinishProcessingPhoto photo: AVCapturePhoto, error: Swift.Error?) {
^~~~~~~~~~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:1954:12: note: 'AVCapturePhoto' has been explicitly marked unavailable here
@interface AVCapturePhoto : NSObject
^
/Users/admin/builder/spi-builder-workspace/Sources/VideoIO/Camera+PhotoCapture.swift:19:58: error: 'AVCapturePhotoCaptureDelegate' is unavailable in visionOS
private class PhotoCaptureDelegateHandler: NSObject, AVCapturePhotoCaptureDelegate {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:966:11: note: 'AVCapturePhotoCaptureDelegate' has been explicitly marked unavailable here
@protocol AVCapturePhotoCaptureDelegate <NSObject>
^
/Users/admin/builder/spi-builder-workspace/Sources/VideoIO/Camera+PhotoCapture.swift:25:14: error: cannot override 'photoOutput' which has been marked unavailable
func photoOutput(_ output: AVCapturePhotoOutput, didFinishProcessingPhoto photo: AVCapturePhoto, error: Swift.Error?) {
^
AVFoundation.AVCapturePhotoCaptureDelegate.photoOutput:3:17: note: 'photoOutput(_:didFinishProcessingPhoto:error:)' has been explicitly marked unavailable here
optional func photoOutput(_ output: AVCapturePhotoOutput, didFinishProcessingPhoto photo: AVCapturePhoto, error: (any Error)?)}
^
/Users/admin/builder/spi-builder-workspace/Sources/VideoIO/Camera+PhotoCapture.swift:36:45: error: 'AVCapturePhotoSettings' is unavailable in visionOS
public func capturePhoto(with settings: AVCapturePhotoSettings,
^~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:1168:12: note: 'AVCapturePhotoSettings' has been explicitly marked unavailable here
@interface AVCapturePhotoSettings : NSObject <NSCopying>
^
/Users/admin/builder/spi-builder-workspace/Sources/VideoIO/Camera+PhotoCapture.swift:37:57: error: 'AVCaptureResolvedPhotoSettings' is unavailable in visionOS
willBeginCaptureHandler: ((AVCaptureResolvedPhotoSettings) -> Void)? = nil,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:1763:12: note: 'AVCaptureResolvedPhotoSettings' has been explicitly marked unavailable here
@interface AVCaptureResolvedPhotoSettings : NSObject
^
/Users/admin/builder/spi-builder-workspace/Sources/VideoIO/Camera+PhotoCapture.swift:38:76: error: 'AVCapturePhoto' is unavailable in visionOS
didFinishProcessingHandler: @escaping (Result<AVCapturePhoto, Swift.Error>) -> Void) {
^~~~~~~~~~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:1954:12: note: 'AVCapturePhoto' has been explicitly marked unavailable here
@interface AVCapturePhoto : NSObject
^
/Users/admin/builder/spi-builder-workspace/Sources/VideoIO/Camera+PhotoCapture.swift:52:45: error: 'AVCapturePhotoSettings' is unavailable in visionOS
public func capturePhoto(with settings: AVCapturePhotoSettings, delegate: AVCapturePhotoCaptureDelegate) {
^~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:1168:12: note: 'AVCapturePhotoSettings' has been explicitly marked unavailable here
@interface AVCapturePhotoSettings : NSObject <NSCopying>
^
/Users/admin/builder/spi-builder-workspace/Sources/VideoIO/Camera+PhotoCapture.swift:52:79: error: 'AVCapturePhotoCaptureDelegate' is unavailable in visionOS
public func capturePhoto(with settings: AVCapturePhotoSettings, delegate: AVCapturePhotoCaptureDelegate) {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:966:11: note: 'AVCapturePhotoCaptureDelegate' has been explicitly marked unavailable here
@protocol AVCapturePhotoCaptureDelegate <NSObject>
^
/Users/admin/builder/spi-builder-workspace/Sources/VideoIO/Camera.swift:29:27: warning: static property 'portraitFrontMirroredVideoOutput' is not concurrency-safe because non-'Sendable' type 'Camera.Configurator' may have shared mutable state; this is an error in the Swift 6 language mode
public static let portraitFrontMirroredVideoOutput: Configurator = {
^
/Users/admin/builder/spi-builder-workspace/Sources/VideoIO/Camera.swift:22:19: note: consider making struct 'Configurator' conform to the 'Sendable' protocol
public struct Configurator {
^
: Sendable
/Users/admin/builder/spi-builder-workspace/Sources/VideoIO/Camera.swift:29:27: note: add '@MainActor' to make static property 'portraitFrontMirroredVideoOutput' part of global actor 'MainActor'
public static let portraitFrontMirroredVideoOutput: Configurator = {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/VideoIO/Camera.swift:29:27: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
public static let portraitFrontMirroredVideoOutput: Configurator = {
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/VideoIO/Camera.swift:32:28: error: 'videoOrientation' is unavailable in visionOS
connection.videoOrientation = .portrait
^~~~~~~~~~~~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureSession.h:1056:48: note: 'videoOrientation' has been explicitly marked unavailable here
@property(nonatomic) AVCaptureVideoOrientation videoOrientation API_DEPRECATED("Use -videoRotationAngle instead", macos(10.7, 14.0), ios(4.0, 17.0), macCatalyst(14.0, 17.0)) API_UNAVAILABLE(tvos, visionos);
^
/Users/admin/builder/spi-builder-workspace/Sources/VideoIO/Camera.swift:48:29: error: 'AVCapturePhotoOutput' is unavailable in visionOS
public let photoOutput: AVCapturePhotoOutput?
^~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:50:12: note: 'AVCapturePhotoOutput' has been explicitly marked unavailable here
@interface AVCapturePhotoOutput : AVCaptureOutput
^
/Users/admin/builder/spi-builder-workspace/Sources/VideoIO/Camera.swift:54:56: error: 'Preset' is unavailable in visionOS
public init(captureSessionPreset: AVCaptureSession.Preset, defaultCameraPosition: AVCaptureDevice.Position = .back, configurator: Configurator = Configurator()) {
^~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureSessionPreset.h:21:20: note: 'Preset' has been explicitly marked unavailable here
typedef NSString * AVCaptureSessionPreset NS_TYPED_ENUM API_AVAILABLE(macos(10.7), ios(4.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos);
^
/Users/admin/builder/spi-builder-workspace/Sources/VideoIO/Camera.swift:100:124: error: 'DeviceType' is only available in visionOS 2.1 or newer
public func switchToVideoCaptureDevice(with position: AVCaptureDevice.Position, preferredDeviceTypes: [AVCaptureDevice.DeviceType] = []) throws {
^
/Users/admin/builder/spi-builder-workspace/Sources/VideoIO/Camera.swift:100:17: note: add @available attribute to enclosing instance method
public func switchToVideoCaptureDevice(with position: AVCaptureDevice.Position, preferredDeviceTypes: [AVCaptureDevice.DeviceType] = []) throws {
^
/Users/admin/builder/spi-builder-workspace/Sources/VideoIO/Camera.swift:195:46: error: 'AVCaptureAudioDataOutput' is unavailable in visionOS
public private(set) var audioDataOutput: AVCaptureAudioDataOutput?
^~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureAudioDataOutput.h:30:12: note: 'AVCaptureAudioDataOutput' has been explicitly marked unavailable here
@interface AVCaptureAudioDataOutput : AVCaptureOutput
^
/Users/admin/builder/spi-builder-workspace/Sources/VideoIO/Camera.swift:197:82: error: 'AVCaptureAudioDataOutputSampleBufferDelegate' is unavailable in visionOS
public func enableAudioDataOutput(on queue: DispatchQueue = .main, delegate: AVCaptureAudioDataOutputSampleBufferDelegate) throws {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureAudioDataOutput.h:119:11: note: 'AVCaptureAudioDataOutputSampleBufferDelegate' has been explicitly marked unavailable here
@protocol AVCaptureAudioDataOutputSampleBufferDelegate <NSObject>
^
/Users/admin/builder/spi-builder-workspace/Sources/VideoIO/DeviceOrientationTracker.swift:35:34: error: 'AVCaptureVideoOrientation' is unavailable in visionOS
public var videoOrientation: AVCaptureVideoOrientation = .portrait
^~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureSession.h:140:28: note: 'AVCaptureVideoOrientation' has been explicitly marked unavailable here
typedef NS_ENUM(NSInteger, AVCaptureVideoOrientation) {
^
/Users/admin/builder/spi-builder-workspace/Sources/VideoIO/PlayerVideoOutput.swift:17:27: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'PlayerVideoOutput.Configuration' may have shared mutable state; this is an error in the Swift 6 language mode
public static let `default` = Configuration()
^
/Users/admin/builder/spi-builder-workspace/Sources/VideoIO/PlayerVideoOutput.swift:14:19: note: consider making struct 'Configuration' conform to the 'Sendable' protocol
public struct Configuration {
^
: Sendable
/Users/admin/builder/spi-builder-workspace/Sources/VideoIO/PlayerVideoOutput.swift:17:27: note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
public static let `default` = Configuration()
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/VideoIO/PlayerVideoOutput.swift:17:27: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
public static let `default` = Configuration()
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/VideoIO/PlayerVideoOutput.swift:12:14: warning: non-final class 'PlayerVideoOutput' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
public class PlayerVideoOutput: NSObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/VideoIO/PlayerVideoOutput.swift:30:16: warning: stored property 'configuration' of 'Sendable'-conforming class 'PlayerVideoOutput' is mutable; this is an error in the Swift 6 language mode
public var configuration = Configuration() {
^
/Users/admin/builder/spi-builder-workspace/Sources/VideoIO/VideoComposition.swift:15:14: warning: non-final class 'BlockBasedVideoCompositor' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
public class BlockBasedVideoCompositor: NSObject, VideoCompositorProtocol {
^
/Users/admin/builder/spi-builder-workspace/Sources/VideoIO/VideoComposition.swift:48:16: warning: stored property 'sourcePixelBufferAttributes' of 'Sendable'-conforming class 'BlockBasedVideoCompositor' has non-sendable type '[String : Any]?'; this is an error in the Swift 6 language mode
public let sourcePixelBufferAttributes: [String : Any]? = [kCVPixelBufferPixelFormatTypeKey as String: [kCVPixelFormatType_420YpCbCr8BiPlanarFullRange, kCVPixelFormatType_32BGRA, kCVPixelFormatType_420YpCbCr8BiPlanarVideoRange]]
^
/Users/admin/builder/spi-builder-workspace/Sources/VideoIO/VideoComposition.swift:50:16: warning: stored property 'requiredPixelBufferAttributesForRenderContext' of 'Sendable'-conforming class 'BlockBasedVideoCompositor' has non-sendable type '[String : Any]'; this is an error in the Swift 6 language mode
public let requiredPixelBufferAttributesForRenderContext: [String : Any] = [kCVPixelBufferPixelFormatTypeKey as String: kCVPixelFormatType_32BGRA]
^
/Users/admin/builder/spi-builder-workspace/Sources/VideoIO/VideoComposition.swift:15:14: error: type 'BlockBasedVideoCompositor' does not conform to protocol 'AVVideoCompositing'
public class BlockBasedVideoCompositor: NSObject, VideoCompositorProtocol {
^
/Users/admin/builder/spi-builder-workspace/Sources/VideoIO/VideoComposition.swift:48:16: note: candidate has non-matching type '[String : Any]?'
public let sourcePixelBufferAttributes: [String : Any]? = [kCVPixelBufferPixelFormatTypeKey as String: [kCVPixelFormatType_420YpCbCr8BiPlanarFullRange, kCVPixelFormatType_32BGRA, kCVPixelFormatType_420YpCbCr8BiPlanarVideoRange]]
^
/Users/admin/builder/spi-builder-workspace/Sources/VideoIO/VideoComposition.swift:50:16: note: candidate has non-matching type '[String : Any]'
public let requiredPixelBufferAttributesForRenderContext: [String : Any] = [kCVPixelBufferPixelFormatTypeKey as String: kCVPixelFormatType_32BGRA]
^
/Users/admin/builder/spi-builder-workspace/Sources/VideoIO/VideoComposition.swift:15:14: note: add stubs for conformance
public class BlockBasedVideoCompositor: NSObject, VideoCompositorProtocol {
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVVideoCompositing.h:141:91: note: protocol requires property 'sourcePixelBufferAttributes' with type '[String : any Sendable]?'
@property (nonatomic, readonly, nullable) NSDictionary<NSString *, id> NS_SWIFT_SENDABLE *sourcePixelBufferAttributes;
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVVideoCompositing.h:151:81: note: protocol requires property 'requiredPixelBufferAttributesForRenderContext' with type '[String : any Sendable]'
@property (nonatomic, readonly) NSDictionary<NSString *, id> NS_SWIFT_SENDABLE *requiredPixelBufferAttributesForRenderContext;
^
/Users/admin/builder/spi-builder-workspace/Sources/VideoIO/VideoOrientationUtilities.swift:16:72: error: 'AVCaptureVideoOrientation' is unavailable in visionOS
public static func exifOrientationToApply(from captureOrientation: AVCaptureVideoOrientation, to targetOrientation: AVCaptureVideoOrientation, shouldMirror: Bool) -> CGImagePropertyOrientation {
^~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureSession.h:140:28: note: 'AVCaptureVideoOrientation' has been explicitly marked unavailable here
typedef NS_ENUM(NSInteger, AVCaptureVideoOrientation) {
^
/Users/admin/builder/spi-builder-workspace/Sources/VideoIO/VideoOrientationUtilities.swift:16:121: error: 'AVCaptureVideoOrientation' is unavailable in visionOS
public static func exifOrientationToApply(from captureOrientation: AVCaptureVideoOrientation, to targetOrientation: AVCaptureVideoOrientation, shouldMirror: Bool) -> CGImagePropertyOrientation {
^~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureSession.h:140:28: note: 'AVCaptureVideoOrientation' has been explicitly marked unavailable here
typedef NS_ENUM(NSInteger, AVCaptureVideoOrientation) {
^
SwiftCompile normal arm64 Compiling\ UnfairLock.swift /Users/admin/builder/spi-builder-workspace/Sources/VideoIO/UnfairLock.swift (in target 'VideoIO' from project 'VideoIO')
Command SwiftCompile failed with a nonzero exit code
** BUILD FAILED **
The following build commands failed:
SwiftEmitModule normal arm64 Emitting\ module\ for\ VideoIO (in target 'VideoIO' from project 'VideoIO')
EmitSwiftModule normal arm64 (in target 'VideoIO' from project 'VideoIO')
SwiftCompile normal arm64 Compiling\ UnfairLock.swift /Users/admin/builder/spi-builder-workspace/Sources/VideoIO/UnfairLock.swift (in target 'VideoIO' from project 'VideoIO')
Building workspace spi-builder-workspace with scheme VideoIO
(4 failures)
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:
VideoIO: /Users/admin/builder/spi-builder-workspace
resolved source packages: VideoIO
{
"dependencies" : [
],
"manifest_display_name" : "VideoIO",
"name" : "VideoIO",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "10.0"
},
{
"name" : "macos",
"version" : "10.13"
},
{
"name" : "tvos",
"version" : "10.0"
}
],
"products" : [
{
"name" : "VideoIO",
"targets" : [
"VideoIO"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "VideoIOTests",
"module_type" : "SwiftTarget",
"name" : "VideoIOTests",
"path" : "Tests/VideoIOTests",
"sources" : [
"VideoIOTests.swift"
],
"target_dependencies" : [
"VideoIO"
],
"type" : "test"
},
{
"c99name" : "VideoIO",
"module_type" : "SwiftTarget",
"name" : "VideoIO",
"path" : "Sources/VideoIO",
"product_memberships" : [
"VideoIO"
],
"sources" : [
"AVAsset.swift",
"AssetExportSession.swift",
"AudioQueueCaptureSession.swift",
"AudioVideoSettings.swift",
"Camera+AudioQueueCapture.swift",
"Camera+FocusExposure.swift",
"Camera+PhotoCapture.swift",
"Camera.swift",
"DeviceOrientationTracker.swift",
"MovieFileType.swift",
"MovieMerger.swift",
"MultitrackMovieRecorder.swift",
"PlayerVideoOutput.swift",
"SampleBufferUtilities.swift",
"UnfairLock.swift",
"VideoComposition.swift",
"VideoOrientationUtilities.swift"
],
"type" : "library"
}
],
"tools_version" : "5.1"
}
{
"workspace" : {
"name" : "spi-builder-workspace",
"schemes" : [
"VideoIO"
]
}
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme VideoIO -destination generic/platform=xrOS
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 VideoIO -destination generic/platform=xrOS
Resolve Package Graph
Resolved source packages:
VideoIO: /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 'VideoIO' in project 'VideoIO'
➜ Explicit dependency on target 'VideoIO' in project 'VideoIO'
Target 'VideoIO' in project 'VideoIO' (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/XROS.platform/Developer/SDKs/XROS2.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: 7a3fa291c77609d0e61272f6a84b1051
Build description path: /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/XCBuildData/7a3fa291c77609d0e61272f6a84b1051.xcbuilddata
ClangStatCache /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang-stat-cache /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/xros2.4-22O233-407b76dbb837030756cbe1ab3f0b01b6.sdkstatcache
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang-stat-cache /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk -o /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/xros2.4-22O233-407b76dbb837030756cbe1ab3f0b01b6.sdkstatcache
SwiftDriver VideoIO normal arm64 com.apple.xcode.tools.swift.compiler (in target 'VideoIO' from project 'VideoIO')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftDriver -- /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -module-name VideoIO -Onone -enforce-exclusivity\=checked @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/VideoIO.build/Debug-xros/VideoIO.build/Objects-normal/arm64/VideoIO.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -DXcode -plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -enable-experimental-feature DebugDescriptionMacro -sdk /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk -target arm64-apple-xros1.0 -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -Xfrontend -serialize-debugging-options -profile-coverage-mapping -profile-generate -enable-testing -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -swift-version 5 -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros -I /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/Library/Frameworks -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk/Developer/Library/Frameworks -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/xros2.4-22O233-407b76dbb837030756cbe1ab3f0b01b6.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/VideoIO.build/Debug-xros/VideoIO.build/Objects-normal/arm64/VideoIO-OutputFileMap.json -use-frontend-parseable-output -save-temps -no-color-diagnostics -serialize-diagnostics -emit-dependencies -emit-module -emit-module-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/VideoIO.build/Debug-xros/VideoIO.build/Objects-normal/arm64/VideoIO.swiftmodule -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/VideoIO.build/Debug-xros/VideoIO.build/swift-overrides.hmap -emit-const-values -Xfrontend -const-gather-protocols-file -Xfrontend /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/VideoIO.build/Debug-xros/VideoIO.build/Objects-normal/arm64/VideoIO_const_extract_protocols.json -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/VideoIO.build/Debug-xros/VideoIO.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/VideoIO.build/Debug-xros/VideoIO.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/VideoIO.build/Debug-xros/VideoIO.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -emit-objc-header -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/VideoIO.build/Debug-xros/VideoIO.build/Objects-normal/arm64/VideoIO-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
SwiftCompile normal arm64 Compiling\ AudioQueueCaptureSession.swift,\ AudioVideoSettings.swift /Users/admin/builder/spi-builder-workspace/Sources/VideoIO/AudioQueueCaptureSession.swift /Users/admin/builder/spi-builder-workspace/Sources/VideoIO/AudioVideoSettings.swift (in target 'VideoIO' from project 'VideoIO')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/VideoIO/AudioQueueCaptureSession.swift (in target 'VideoIO' from project 'VideoIO')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/VideoIO/AudioVideoSettings.swift (in target 'VideoIO' from project 'VideoIO')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 Compiling\ Camera+PhotoCapture.swift,\ Camera.swift /Users/admin/builder/spi-builder-workspace/Sources/VideoIO/Camera+PhotoCapture.swift /Users/admin/builder/spi-builder-workspace/Sources/VideoIO/Camera.swift (in target 'VideoIO' from project 'VideoIO')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/VideoIO/Camera+PhotoCapture.swift (in target 'VideoIO' from project 'VideoIO')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/VideoIO/Camera.swift (in target 'VideoIO' from project 'VideoIO')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 Compiling\ Camera+AudioQueueCapture.swift,\ Camera+FocusExposure.swift /Users/admin/builder/spi-builder-workspace/Sources/VideoIO/Camera+AudioQueueCapture.swift /Users/admin/builder/spi-builder-workspace/Sources/VideoIO/Camera+FocusExposure.swift (in target 'VideoIO' from project 'VideoIO')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/VideoIO/Camera+AudioQueueCapture.swift (in target 'VideoIO' from project 'VideoIO')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/VideoIO/Camera+FocusExposure.swift (in target 'VideoIO' from project 'VideoIO')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 Compiling\ DeviceOrientationTracker.swift,\ MovieFileType.swift /Users/admin/builder/spi-builder-workspace/Sources/VideoIO/DeviceOrientationTracker.swift /Users/admin/builder/spi-builder-workspace/Sources/VideoIO/MovieFileType.swift (in target 'VideoIO' from project 'VideoIO')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/VideoIO/DeviceOrientationTracker.swift (in target 'VideoIO' from project 'VideoIO')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/VideoIO/MovieFileType.swift (in target 'VideoIO' from project 'VideoIO')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 Compiling\ UnfairLock.swift /Users/admin/builder/spi-builder-workspace/Sources/VideoIO/UnfairLock.swift (in target 'VideoIO' from project 'VideoIO')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/VideoIO/UnfairLock.swift (in target 'VideoIO' from project 'VideoIO')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftEmitModule normal arm64 Emitting\ module\ for\ VideoIO (in target 'VideoIO' from project 'VideoIO')
Failed frontend command:
/Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /Users/admin/builder/spi-builder-workspace/Sources/VideoIO/AVAsset.swift /Users/admin/builder/spi-builder-workspace/Sources/VideoIO/AssetExportSession.swift /Users/admin/builder/spi-builder-workspace/Sources/VideoIO/AudioQueueCaptureSession.swift /Users/admin/builder/spi-builder-workspace/Sources/VideoIO/AudioVideoSettings.swift /Users/admin/builder/spi-builder-workspace/Sources/VideoIO/Camera+AudioQueueCapture.swift /Users/admin/builder/spi-builder-workspace/Sources/VideoIO/Camera+FocusExposure.swift /Users/admin/builder/spi-builder-workspace/Sources/VideoIO/Camera+PhotoCapture.swift /Users/admin/builder/spi-builder-workspace/Sources/VideoIO/Camera.swift /Users/admin/builder/spi-builder-workspace/Sources/VideoIO/DeviceOrientationTracker.swift /Users/admin/builder/spi-builder-workspace/Sources/VideoIO/MovieFileType.swift /Users/admin/builder/spi-builder-workspace/Sources/VideoIO/MovieMerger.swift /Users/admin/builder/spi-builder-workspace/Sources/VideoIO/MultitrackMovieRecorder.swift /Users/admin/builder/spi-builder-workspace/Sources/VideoIO/PlayerVideoOutput.swift /Users/admin/builder/spi-builder-workspace/Sources/VideoIO/SampleBufferUtilities.swift /Users/admin/builder/spi-builder-workspace/Sources/VideoIO/UnfairLock.swift /Users/admin/builder/spi-builder-workspace/Sources/VideoIO/VideoComposition.swift /Users/admin/builder/spi-builder-workspace/Sources/VideoIO/VideoOrientationUtilities.swift -target arm64-apple-xros1.0 -Xllvm -aarch64-use-tbi -enable-objc-interop -stack-check -sdk /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros -I /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/Library/Frameworks -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk/Developer/Library/Frameworks -no-color-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -profile-generate -profile-coverage-mapping -swift-version 5 -enforce-exclusivity\=checked -Onone -D SWIFT_PACKAGE -D DEBUG -D Xcode -serialize-debugging-options -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/VideoIO.build/Debug-xros/VideoIO.build/Objects-normal/arm64/VideoIO_const_extract_protocols.json -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -resource-dir /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift -enable-anonymous-context-mangled-names -file-compilation-dir /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/xros2.4-22O233-407b76dbb837030756cbe1ab3f0b01b6.sdkstatcache -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/VideoIO.build/Debug-xros/VideoIO.build/swift-overrides.hmap -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/VideoIO.build/Debug-xros/VideoIO.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/VideoIO.build/Debug-xros/VideoIO.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/VideoIO.build/Debug-xros/VideoIO.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -module-name VideoIO -frontend-parseable-output -disable-clang-spi -target-sdk-version 2.4 -target-sdk-name xros2.4 -external-plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/lib/swift/host/plugins\#/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/bin/swift-plugin-server -external-plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/local/lib/swift/host/plugins\#/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/bin/swift-plugin-server -in-process-plugin-server-path /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/libSwiftInProcPluginServer.dylib -plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins -plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/local/lib/swift/host/plugins -emit-module-doc-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/VideoIO.build/Debug-xros/VideoIO.build/Objects-normal/arm64/VideoIO.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/VideoIO.build/Debug-xros/VideoIO.build/Objects-normal/arm64/VideoIO.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/VideoIO.build/Debug-xros/VideoIO.build/Objects-normal/arm64/VideoIO-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/VideoIO.build/Debug-xros/VideoIO.build/Objects-normal/arm64/VideoIO-master-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/VideoIO.build/Debug-xros/VideoIO.build/Objects-normal/arm64/VideoIO-master-emit-module.d -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/VideoIO.build/Debug-xros/VideoIO.build/Objects-normal/arm64/VideoIO.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/VideoIO.build/Debug-xros/VideoIO.build/Objects-normal/arm64/VideoIO.abi.json
EmitSwiftModule normal arm64 (in target 'VideoIO' from project 'VideoIO')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Users/admin/builder/spi-builder-workspace/Sources/VideoIO/AssetExportSession.swift:216:18: warning: class 'ExportProgress' must restate inherited '@unchecked Sendable' conformance
public class ExportProgress: Progress {
^
, @unchecked Sendable
/Users/admin/builder/spi-builder-workspace/Sources/VideoIO/Camera+FocusExposure.swift:16:101: error: 'FocusMode' is unavailable in visionOS
public func setFocusExposurePointOfInterest(to devicePoint: CGPoint, focusMode: AVCaptureDevice.FocusMode = .continuousAutoFocus, exposureMode: AVCaptureDevice.ExposureMode = .continuousAutoExposure, shouldMonitorSubjectAreaChange: Bool = false) throws {
^~~~~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureDevice.h:1058:28: note: 'FocusMode' has been explicitly marked unavailable here
typedef NS_ENUM(NSInteger, AVCaptureFocusMode) {
^
/Users/admin/builder/spi-builder-workspace/Sources/VideoIO/Camera+FocusExposure.swift:16:165: error: 'ExposureMode' is unavailable in visionOS
public func setFocusExposurePointOfInterest(to devicePoint: CGPoint, focusMode: AVCaptureDevice.FocusMode = .continuousAutoFocus, exposureMode: AVCaptureDevice.ExposureMode = .continuousAutoExposure, shouldMonitorSubjectAreaChange: Bool = false) throws {
^~~~~~~~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureDevice.h:1272:28: note: 'ExposureMode' has been explicitly marked unavailable here
typedef NS_ENUM(NSInteger, AVCaptureExposureMode) {
^
/Users/admin/builder/spi-builder-workspace/Sources/VideoIO/Camera+FocusExposure.swift:33:101: error: 'FocusMode' is unavailable in visionOS
public func setFocusExposurePointOfInterest(to devicePoint: CGPoint, focusMode: AVCaptureDevice.FocusMode = .continuousAutoFocus, exposureMode: AVCaptureDevice.ExposureMode = .continuousAutoExposure) throws {
^~~~~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureDevice.h:1058:28: note: 'FocusMode' has been explicitly marked unavailable here
typedef NS_ENUM(NSInteger, AVCaptureFocusMode) {
^
/Users/admin/builder/spi-builder-workspace/Sources/VideoIO/Camera+FocusExposure.swift:33:165: error: 'ExposureMode' is unavailable in visionOS
public func setFocusExposurePointOfInterest(to devicePoint: CGPoint, focusMode: AVCaptureDevice.FocusMode = .continuousAutoFocus, exposureMode: AVCaptureDevice.ExposureMode = .continuousAutoExposure) throws {
^~~~~~~~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureDevice.h:1272:28: note: 'ExposureMode' has been explicitly marked unavailable here
typedef NS_ENUM(NSInteger, AVCaptureExposureMode) {
^
/Users/admin/builder/spi-builder-workspace/Sources/VideoIO/Camera+PhotoCapture.swift:20:40: error: 'AVCaptureResolvedPhotoSettings' is unavailable in visionOS
var willBeginCaptureHandler: ((AVCaptureResolvedPhotoSettings) -> Void)?
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:1763:12: note: 'AVCaptureResolvedPhotoSettings' has been explicitly marked unavailable here
@interface AVCaptureResolvedPhotoSettings : NSObject
^
/Users/admin/builder/spi-builder-workspace/Sources/VideoIO/Camera+PhotoCapture.swift:21:50: error: 'AVCapturePhoto' is unavailable in visionOS
var didFinishProcessingHandler: ((Result<AVCapturePhoto, Swift.Error>) -> Void)?
^~~~~~~~~~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:1954:12: note: 'AVCapturePhoto' has been explicitly marked unavailable here
@interface AVCapturePhoto : NSObject
^
/Users/admin/builder/spi-builder-workspace/Sources/VideoIO/Camera+PhotoCapture.swift:22:36: error: 'AVCapturePhotoOutput' is unavailable in visionOS
func photoOutput(_ output: AVCapturePhotoOutput, willBeginCaptureFor resolvedSettings: AVCaptureResolvedPhotoSettings) {
^~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:50:12: note: 'AVCapturePhotoOutput' has been explicitly marked unavailable here
@interface AVCapturePhotoOutput : AVCaptureOutput
^
/Users/admin/builder/spi-builder-workspace/Sources/VideoIO/Camera+PhotoCapture.swift:22:96: error: 'AVCaptureResolvedPhotoSettings' is unavailable in visionOS
func photoOutput(_ output: AVCapturePhotoOutput, willBeginCaptureFor resolvedSettings: AVCaptureResolvedPhotoSettings) {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:1763:12: note: 'AVCaptureResolvedPhotoSettings' has been explicitly marked unavailable here
@interface AVCaptureResolvedPhotoSettings : NSObject
^
/Users/admin/builder/spi-builder-workspace/Sources/VideoIO/Camera+PhotoCapture.swift:25:36: error: 'AVCapturePhotoOutput' is unavailable in visionOS
func photoOutput(_ output: AVCapturePhotoOutput, didFinishProcessingPhoto photo: AVCapturePhoto, error: Swift.Error?) {
^~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:50:12: note: 'AVCapturePhotoOutput' has been explicitly marked unavailable here
@interface AVCapturePhotoOutput : AVCaptureOutput
^
/Users/admin/builder/spi-builder-workspace/Sources/VideoIO/Camera+PhotoCapture.swift:25:90: error: 'AVCapturePhoto' is unavailable in visionOS
func photoOutput(_ output: AVCapturePhotoOutput, didFinishProcessingPhoto photo: AVCapturePhoto, error: Swift.Error?) {
^~~~~~~~~~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:1954:12: note: 'AVCapturePhoto' has been explicitly marked unavailable here
@interface AVCapturePhoto : NSObject
^
/Users/admin/builder/spi-builder-workspace/Sources/VideoIO/Camera+PhotoCapture.swift:19:58: error: 'AVCapturePhotoCaptureDelegate' is unavailable in visionOS
private class PhotoCaptureDelegateHandler: NSObject, AVCapturePhotoCaptureDelegate {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:966:11: note: 'AVCapturePhotoCaptureDelegate' has been explicitly marked unavailable here
@protocol AVCapturePhotoCaptureDelegate <NSObject>
^
/Users/admin/builder/spi-builder-workspace/Sources/VideoIO/Camera+PhotoCapture.swift:25:14: error: cannot override 'photoOutput' which has been marked unavailable
func photoOutput(_ output: AVCapturePhotoOutput, didFinishProcessingPhoto photo: AVCapturePhoto, error: Swift.Error?) {
^
AVFoundation.AVCapturePhotoCaptureDelegate.photoOutput:3:17: note: 'photoOutput(_:didFinishProcessingPhoto:error:)' has been explicitly marked unavailable here
optional func photoOutput(_ output: AVCapturePhotoOutput, didFinishProcessingPhoto photo: AVCapturePhoto, error: (any Error)?)}
^
/Users/admin/builder/spi-builder-workspace/Sources/VideoIO/Camera+PhotoCapture.swift:36:45: error: 'AVCapturePhotoSettings' is unavailable in visionOS
public func capturePhoto(with settings: AVCapturePhotoSettings,
^~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:1168:12: note: 'AVCapturePhotoSettings' has been explicitly marked unavailable here
@interface AVCapturePhotoSettings : NSObject <NSCopying>
^
/Users/admin/builder/spi-builder-workspace/Sources/VideoIO/Camera+PhotoCapture.swift:37:57: error: 'AVCaptureResolvedPhotoSettings' is unavailable in visionOS
willBeginCaptureHandler: ((AVCaptureResolvedPhotoSettings) -> Void)? = nil,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:1763:12: note: 'AVCaptureResolvedPhotoSettings' has been explicitly marked unavailable here
@interface AVCaptureResolvedPhotoSettings : NSObject
^
/Users/admin/builder/spi-builder-workspace/Sources/VideoIO/Camera+PhotoCapture.swift:38:76: error: 'AVCapturePhoto' is unavailable in visionOS
didFinishProcessingHandler: @escaping (Result<AVCapturePhoto, Swift.Error>) -> Void) {
^~~~~~~~~~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:1954:12: note: 'AVCapturePhoto' has been explicitly marked unavailable here
@interface AVCapturePhoto : NSObject
^
/Users/admin/builder/spi-builder-workspace/Sources/VideoIO/Camera+PhotoCapture.swift:52:45: error: 'AVCapturePhotoSettings' is unavailable in visionOS
public func capturePhoto(with settings: AVCapturePhotoSettings, delegate: AVCapturePhotoCaptureDelegate) {
^~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:1168:12: note: 'AVCapturePhotoSettings' has been explicitly marked unavailable here
@interface AVCapturePhotoSettings : NSObject <NSCopying>
^
/Users/admin/builder/spi-builder-workspace/Sources/VideoIO/Camera+PhotoCapture.swift:52:79: error: 'AVCapturePhotoCaptureDelegate' is unavailable in visionOS
public func capturePhoto(with settings: AVCapturePhotoSettings, delegate: AVCapturePhotoCaptureDelegate) {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:966:11: note: 'AVCapturePhotoCaptureDelegate' has been explicitly marked unavailable here
@protocol AVCapturePhotoCaptureDelegate <NSObject>
^
/Users/admin/builder/spi-builder-workspace/Sources/VideoIO/Camera.swift:32:28: error: 'videoOrientation' is unavailable in visionOS
connection.videoOrientation = .portrait
^~~~~~~~~~~~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureSession.h:1056:48: note: 'videoOrientation' has been explicitly marked unavailable here
@property(nonatomic) AVCaptureVideoOrientation videoOrientation API_DEPRECATED("Use -videoRotationAngle instead", macos(10.7, 14.0), ios(4.0, 17.0), macCatalyst(14.0, 17.0)) API_UNAVAILABLE(tvos, visionos);
^
/Users/admin/builder/spi-builder-workspace/Sources/VideoIO/Camera.swift:48:29: error: 'AVCapturePhotoOutput' is unavailable in visionOS
public let photoOutput: AVCapturePhotoOutput?
^~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:50:12: note: 'AVCapturePhotoOutput' has been explicitly marked unavailable here
@interface AVCapturePhotoOutput : AVCaptureOutput
^
/Users/admin/builder/spi-builder-workspace/Sources/VideoIO/Camera.swift:54:56: error: 'Preset' is unavailable in visionOS
public init(captureSessionPreset: AVCaptureSession.Preset, defaultCameraPosition: AVCaptureDevice.Position = .back, configurator: Configurator = Configurator()) {
^~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureSessionPreset.h:21:20: note: 'Preset' has been explicitly marked unavailable here
typedef NSString * AVCaptureSessionPreset NS_TYPED_ENUM API_AVAILABLE(macos(10.7), ios(4.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos);
^
/Users/admin/builder/spi-builder-workspace/Sources/VideoIO/Camera.swift:100:124: error: 'DeviceType' is only available in visionOS 2.1 or newer
public func switchToVideoCaptureDevice(with position: AVCaptureDevice.Position, preferredDeviceTypes: [AVCaptureDevice.DeviceType] = []) throws {
^
/Users/admin/builder/spi-builder-workspace/Sources/VideoIO/Camera.swift:100:17: note: add @available attribute to enclosing instance method
public func switchToVideoCaptureDevice(with position: AVCaptureDevice.Position, preferredDeviceTypes: [AVCaptureDevice.DeviceType] = []) throws {
^
/Users/admin/builder/spi-builder-workspace/Sources/VideoIO/Camera.swift:195:46: error: 'AVCaptureAudioDataOutput' is unavailable in visionOS
public private(set) var audioDataOutput: AVCaptureAudioDataOutput?
^~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureAudioDataOutput.h:30:12: note: 'AVCaptureAudioDataOutput' has been explicitly marked unavailable here
@interface AVCaptureAudioDataOutput : AVCaptureOutput
^
/Users/admin/builder/spi-builder-workspace/Sources/VideoIO/Camera.swift:197:82: error: 'AVCaptureAudioDataOutputSampleBufferDelegate' is unavailable in visionOS
public func enableAudioDataOutput(on queue: DispatchQueue = .main, delegate: AVCaptureAudioDataOutputSampleBufferDelegate) throws {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureAudioDataOutput.h:119:11: note: 'AVCaptureAudioDataOutputSampleBufferDelegate' has been explicitly marked unavailable here
@protocol AVCaptureAudioDataOutputSampleBufferDelegate <NSObject>
^
/Users/admin/builder/spi-builder-workspace/Sources/VideoIO/DeviceOrientationTracker.swift:35:34: error: 'AVCaptureVideoOrientation' is unavailable in visionOS
public var videoOrientation: AVCaptureVideoOrientation = .portrait
^~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureSession.h:140:28: note: 'AVCaptureVideoOrientation' has been explicitly marked unavailable here
typedef NS_ENUM(NSInteger, AVCaptureVideoOrientation) {
^
/Users/admin/builder/spi-builder-workspace/Sources/VideoIO/VideoComposition.swift:48:16: warning: sendability of function types in property 'sourcePixelBufferAttributes' does not match requirement in protocol 'AVVideoCompositing'; this is an error in the Swift 6 language mode
public let sourcePixelBufferAttributes: [String : Any]? = [kCVPixelBufferPixelFormatTypeKey as String: [kCVPixelFormatType_420YpCbCr8BiPlanarFullRange, kCVPixelFormatType_32BGRA, kCVPixelFormatType_420YpCbCr8BiPlanarVideoRange]]
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVVideoCompositing.h:141:91: note: expected sendability to match requirement here
@property (nonatomic, readonly, nullable) NSDictionary<NSString *, id> NS_SWIFT_SENDABLE *sourcePixelBufferAttributes;
^
/Users/admin/builder/spi-builder-workspace/Sources/VideoIO/VideoComposition.swift:50:16: warning: sendability of function types in property 'requiredPixelBufferAttributesForRenderContext' does not match requirement in protocol 'AVVideoCompositing'; this is an error in the Swift 6 language mode
public let requiredPixelBufferAttributesForRenderContext: [String : Any] = [kCVPixelBufferPixelFormatTypeKey as String: kCVPixelFormatType_32BGRA]
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVVideoCompositing.h:151:81: note: expected sendability to match requirement here
@property (nonatomic, readonly) NSDictionary<NSString *, id> NS_SWIFT_SENDABLE *requiredPixelBufferAttributesForRenderContext;
^
/Users/admin/builder/spi-builder-workspace/Sources/VideoIO/VideoOrientationUtilities.swift:16:72: error: 'AVCaptureVideoOrientation' is unavailable in visionOS
public static func exifOrientationToApply(from captureOrientation: AVCaptureVideoOrientation, to targetOrientation: AVCaptureVideoOrientation, shouldMirror: Bool) -> CGImagePropertyOrientation {
^~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureSession.h:140:28: note: 'AVCaptureVideoOrientation' has been explicitly marked unavailable here
typedef NS_ENUM(NSInteger, AVCaptureVideoOrientation) {
^
/Users/admin/builder/spi-builder-workspace/Sources/VideoIO/VideoOrientationUtilities.swift:16:121: error: 'AVCaptureVideoOrientation' is unavailable in visionOS
public static func exifOrientationToApply(from captureOrientation: AVCaptureVideoOrientation, to targetOrientation: AVCaptureVideoOrientation, shouldMirror: Bool) -> CGImagePropertyOrientation {
^~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureSession.h:140:28: note: 'AVCaptureVideoOrientation' has been explicitly marked unavailable here
typedef NS_ENUM(NSInteger, AVCaptureVideoOrientation) {
^
SwiftCompile normal arm64 Compiling\ PlayerVideoOutput.swift,\ SampleBufferUtilities.swift /Users/admin/builder/spi-builder-workspace/Sources/VideoIO/PlayerVideoOutput.swift /Users/admin/builder/spi-builder-workspace/Sources/VideoIO/SampleBufferUtilities.swift (in target 'VideoIO' from project 'VideoIO')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/VideoIO/PlayerVideoOutput.swift (in target 'VideoIO' from project 'VideoIO')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/VideoIO/SampleBufferUtilities.swift (in target 'VideoIO' from project 'VideoIO')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 Compiling\ VideoOrientationUtilities.swift /Users/admin/builder/spi-builder-workspace/Sources/VideoIO/VideoOrientationUtilities.swift (in target 'VideoIO' from project 'VideoIO')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/VideoIO/VideoOrientationUtilities.swift (in target 'VideoIO' from project 'VideoIO')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 Compiling\ VideoComposition.swift /Users/admin/builder/spi-builder-workspace/Sources/VideoIO/VideoComposition.swift (in target 'VideoIO' from project 'VideoIO')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/VideoIO/VideoComposition.swift (in target 'VideoIO' from project 'VideoIO')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 Compiling\ MovieMerger.swift,\ MultitrackMovieRecorder.swift /Users/admin/builder/spi-builder-workspace/Sources/VideoIO/MovieMerger.swift /Users/admin/builder/spi-builder-workspace/Sources/VideoIO/MultitrackMovieRecorder.swift (in target 'VideoIO' from project 'VideoIO')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/VideoIO/MovieMerger.swift (in target 'VideoIO' from project 'VideoIO')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/VideoIO/MultitrackMovieRecorder.swift (in target 'VideoIO' from project 'VideoIO')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 Compiling\ AVAsset.swift,\ AssetExportSession.swift /Users/admin/builder/spi-builder-workspace/Sources/VideoIO/AVAsset.swift /Users/admin/builder/spi-builder-workspace/Sources/VideoIO/AssetExportSession.swift (in target 'VideoIO' from project 'VideoIO')
Command SwiftCompile failed with a nonzero exit code
** BUILD FAILED **
The following build commands failed:
SwiftEmitModule normal arm64 Emitting\ module\ for\ VideoIO (in target 'VideoIO' from project 'VideoIO')
EmitSwiftModule normal arm64 (in target 'VideoIO' from project 'VideoIO')
SwiftCompile normal arm64 Compiling\ AVAsset.swift,\ AssetExportSession.swift /Users/admin/builder/spi-builder-workspace/Sources/VideoIO/AVAsset.swift /Users/admin/builder/spi-builder-workspace/Sources/VideoIO/AssetExportSession.swift (in target 'VideoIO' from project 'VideoIO')
Building workspace spi-builder-workspace with scheme VideoIO
(4 failures)
BUILD FAILURE 6.1 visionOS