Build Information
Failed to build SwiftUIBackgroundVideo, reference main (d0ec70), with Swift 6.4 for watchOS using Xcode 27.0 on 15 Oct 2026 22:15:22 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-27.0.0.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme SwiftUIBackgroundVideo -destination generic/platform=watchOSBuild Log
========================================
RunAll
========================================
Builder version: 5.1.3
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ivan-magda/swiftui-background-video.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/ivan-magda/swiftui-background-video
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at d0ec705 Use the latest stable Xcode in CI
Cloned https://github.com/ivan-magda/swiftui-background-video.git
Revision (git rev-parse @):
d0ec705aea0cdd7c16547e2b724af58ec2985acd
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/ivan-magda/swiftui-background-video.git at main
========================================
Build
========================================
Selected platform: watchOS
Swift version: 6.4
Building package at path: $PWD
https://github.com/ivan-magda/swiftui-background-video.git
Command line invocation:
/Applications/Xcode-27.0.0.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -resolvePackageDependencies
Resolve Package Graph
Resolve Package Graph
Resolved source packages:
SwiftUIBackgroundVideo: /Users/admin/builder/spi-builder-workspace
resolved source packages: SwiftUIBackgroundVideo
2026-10-15 18:14:37.869 xcodebuild[527:3013] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
{
"dependencies" : [
],
"manifest_display_name" : "SwiftUIBackgroundVideo",
"name" : "SwiftUIBackgroundVideo",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "13.0"
}
],
"products" : [
{
"name" : "SwiftUIBackgroundVideo",
"targets" : [
"SwiftUIBackgroundVideo"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "SwiftUIBackgroundVideoTests",
"module_type" : "SwiftTarget",
"name" : "SwiftUIBackgroundVideoTests",
"path" : "Tests/SwiftUIBackgroundVideoTests",
"sources" : [
"SwiftUIBackgroundVideoTests.swift"
],
"target_dependencies" : [
"SwiftUIBackgroundVideo"
],
"type" : "test"
},
{
"c99name" : "SwiftUIBackgroundVideo",
"module_type" : "SwiftTarget",
"name" : "SwiftUIBackgroundVideo",
"path" : "Sources/SwiftUIBackgroundVideo",
"product_memberships" : [
"SwiftUIBackgroundVideo"
],
"sources" : [
"BackgroundVideoUIView.swift",
"BackgroundVideoView.swift",
"VideoAssetCache.swift",
"VideoPlayerError.swift",
"VideoPlayerState.swift"
],
"type" : "library"
}
],
"tools_version" : "6.0"
}
{
"workspace" : {
"name" : "SwiftUIBackgroundVideo",
"schemes" : [
"SwiftUIBackgroundVideo"
]
}
}
2026-10-15 18:15:10.159 xcodebuild[624:3819] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-27.0.0.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme SwiftUIBackgroundVideo -destination generic/platform=watchOS
Command line invocation:
/Applications/Xcode-27.0.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 SwiftUIBackgroundVideo -destination generic/platform=watchOS
Resolve Package Graph
Resolved source packages:
SwiftUIBackgroundVideo: /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 'SwiftUIBackgroundVideo-product' in project 'SwiftUIBackgroundVideo'
➜ Explicit dependency on target 'SwiftUIBackgroundVideo' in project 'SwiftUIBackgroundVideo'
Target 'SwiftUIBackgroundVideo' in project 'SwiftUIBackgroundVideo' (no dependencies)
GatherProvisioningInputs
CreateBuildDescription
ExecuteExternalTool /Applications/Xcode-27.0.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -v -E -dM -isysroot /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk -x c -c /dev/null
ExecuteExternalTool /Applications/Xcode-27.0.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc --version
ExecuteExternalTool /Applications/Xcode-27.0.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld -version_details
Build description signature: 1fc3ddb9a25f5afa7c73e31b62974758
Build description path: /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/XCBuildData/1fc3ddb9a25f5afa7c73e31b62974758.xcbuilddata
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-create-build-directory /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-create-build-directory /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/CompilationCache.noindex
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-create-build-directory /Users/admin/builder/spi-builder-workspace/.derivedData/CompilationCache.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/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
ClangStatCache /Applications/Xcode-27.0.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang-stat-cache /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos27.0-24R360-e829b21a6f8c9b70876ba0858053c044b9db9bc9c079ee3c7b5f3373b13d10bc.sdkstatcache
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Applications/Xcode-27.0.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang-stat-cache /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk -o /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos27.0-24R360-e829b21a6f8c9b70876ba0858053c044b9db9bc9c079ee3c7b5f3373b13d10bc.sdkstatcache
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-create-build-directory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PrecompiledHeaders
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-create-build-directory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PrecompiledHeaders
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-create-build-directory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/EagerLinkingTBDs/Debug-watchos
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-watchos
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-create-build-directory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/PackageFrameworks
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-create-build-directory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/PackageFrameworks
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUIBackgroundVideo.build/Debug-watchos/SwiftUIBackgroundVideo-t.build/SwiftUIBackgroundVideo.DependencyStaticMetadataFileList (in target 'SwiftUIBackgroundVideo' from project 'SwiftUIBackgroundVideo')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUIBackgroundVideo.build/Debug-watchos/SwiftUIBackgroundVideo-t.build/SwiftUIBackgroundVideo.DependencyStaticMetadataFileList
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUIBackgroundVideo.build/Debug-watchos/SwiftUIBackgroundVideo-t.build/SwiftUIBackgroundVideo.DependencyMetadataFileList (in target 'SwiftUIBackgroundVideo' from project 'SwiftUIBackgroundVideo')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUIBackgroundVideo.build/Debug-watchos/SwiftUIBackgroundVideo-t.build/SwiftUIBackgroundVideo.DependencyMetadataFileList
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUIBackgroundVideo.build/Debug-watchos/SwiftUIBackgroundVideo-t.build/SwiftUIBackgroundVideo.modulemap (in target 'SwiftUIBackgroundVideo' from project 'SwiftUIBackgroundVideo')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUIBackgroundVideo.build/Debug-watchos/SwiftUIBackgroundVideo-t.build/SwiftUIBackgroundVideo.modulemap
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUIBackgroundVideo.build/Debug-watchos/SwiftUIBackgroundVideo-t.build/Objects-normal/arm64_32/SwiftUIBackgroundVideo_const_extract_protocols.json (in target 'SwiftUIBackgroundVideo' from project 'SwiftUIBackgroundVideo')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUIBackgroundVideo.build/Debug-watchos/SwiftUIBackgroundVideo-t.build/Objects-normal/arm64_32/SwiftUIBackgroundVideo_const_extract_protocols.json
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUIBackgroundVideo.build/Debug-watchos/SwiftUIBackgroundVideo-t.build/Objects-normal/arm64_32/SwiftUIBackgroundVideo.LinkFileList (in target 'SwiftUIBackgroundVideo' from project 'SwiftUIBackgroundVideo')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUIBackgroundVideo.build/Debug-watchos/SwiftUIBackgroundVideo-t.build/Objects-normal/arm64_32/SwiftUIBackgroundVideo.LinkFileList
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUIBackgroundVideo.build/Debug-watchos/SwiftUIBackgroundVideo-t.build/Objects-normal/arm64_32/SwiftUIBackgroundVideo-OutputFileMap.json (in target 'SwiftUIBackgroundVideo' from project 'SwiftUIBackgroundVideo')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUIBackgroundVideo.build/Debug-watchos/SwiftUIBackgroundVideo-t.build/Objects-normal/arm64_32/SwiftUIBackgroundVideo-OutputFileMap.json
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUIBackgroundVideo.build/Debug-watchos/SwiftUIBackgroundVideo-t.build/Objects-normal/arm64_32/SwiftUIBackgroundVideo.SwiftConstValuesFileList (in target 'SwiftUIBackgroundVideo' from project 'SwiftUIBackgroundVideo')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUIBackgroundVideo.build/Debug-watchos/SwiftUIBackgroundVideo-t.build/Objects-normal/arm64_32/SwiftUIBackgroundVideo.SwiftConstValuesFileList
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUIBackgroundVideo.build/Debug-watchos/SwiftUIBackgroundVideo-t.build/Objects-normal/arm64_32/SwiftUIBackgroundVideo.SwiftFileList (in target 'SwiftUIBackgroundVideo' from project 'SwiftUIBackgroundVideo')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUIBackgroundVideo.build/Debug-watchos/SwiftUIBackgroundVideo-t.build/Objects-normal/arm64_32/SwiftUIBackgroundVideo.SwiftFileList
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUIBackgroundVideo.build/Debug-watchos/SwiftUIBackgroundVideo-t.build/Objects-normal/arm64/SwiftUIBackgroundVideo_const_extract_protocols.json (in target 'SwiftUIBackgroundVideo' from project 'SwiftUIBackgroundVideo')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUIBackgroundVideo.build/Debug-watchos/SwiftUIBackgroundVideo-t.build/Objects-normal/arm64/SwiftUIBackgroundVideo_const_extract_protocols.json
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUIBackgroundVideo.build/Debug-watchos/SwiftUIBackgroundVideo-t.build/Objects-normal/arm64/SwiftUIBackgroundVideo.SwiftFileList (in target 'SwiftUIBackgroundVideo' from project 'SwiftUIBackgroundVideo')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUIBackgroundVideo.build/Debug-watchos/SwiftUIBackgroundVideo-t.build/Objects-normal/arm64/SwiftUIBackgroundVideo.SwiftFileList
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUIBackgroundVideo.build/Debug-watchos/SwiftUIBackgroundVideo-t.build/Objects-normal/arm64/SwiftUIBackgroundVideo.SwiftConstValuesFileList (in target 'SwiftUIBackgroundVideo' from project 'SwiftUIBackgroundVideo')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUIBackgroundVideo.build/Debug-watchos/SwiftUIBackgroundVideo-t.build/Objects-normal/arm64/SwiftUIBackgroundVideo.SwiftConstValuesFileList
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUIBackgroundVideo.build/Debug-watchos/SwiftUIBackgroundVideo-t.build/Objects-normal/arm64/SwiftUIBackgroundVideo.LinkFileList (in target 'SwiftUIBackgroundVideo' from project 'SwiftUIBackgroundVideo')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUIBackgroundVideo.build/Debug-watchos/SwiftUIBackgroundVideo-t.build/Objects-normal/arm64/SwiftUIBackgroundVideo.LinkFileList
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUIBackgroundVideo.build/Debug-watchos/SwiftUIBackgroundVideo-t.build/Objects-normal/arm64/SwiftUIBackgroundVideo-OutputFileMap.json (in target 'SwiftUIBackgroundVideo' from project 'SwiftUIBackgroundVideo')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUIBackgroundVideo.build/Debug-watchos/SwiftUIBackgroundVideo-t.build/Objects-normal/arm64/SwiftUIBackgroundVideo-OutputFileMap.json
Copy /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeneratedModuleMaps-watchos/SwiftUIBackgroundVideo.modulemap /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUIBackgroundVideo.build/Debug-watchos/SwiftUIBackgroundVideo-t.build/SwiftUIBackgroundVideo.modulemap (in target 'SwiftUIBackgroundVideo' from project 'SwiftUIBackgroundVideo')
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/SwiftUIBackgroundVideo.build/Debug-watchos/SwiftUIBackgroundVideo-t.build/SwiftUIBackgroundVideo.modulemap /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeneratedModuleMaps-watchos
SwiftDriver SwiftUIBackgroundVideo normal arm64 com.apple.xcode.tools.swift.compiler (in target 'SwiftUIBackgroundVideo' from project 'SwiftUIBackgroundVideo')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftDriver -- /Applications/Xcode-27.0.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -parse-as-library -module-name SwiftUIBackgroundVideo -Onone @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUIBackgroundVideo.build/Debug-watchos/SwiftUIBackgroundVideo-t.build/Objects-normal/arm64/SwiftUIBackgroundVideo.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -DSWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -DXcode -plugin-path /Applications/Xcode-27.0.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -enable-experimental-feature DebugDescriptionMacro -sdk /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk -target arm64-apple-watchos9.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 -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -swift-version 6 -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -Isystem /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/Developer/Library/Frameworks -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos27.0-24R360-e829b21a6f8c9b70876ba0858053c044b9db9bc9c079ee3c7b5f3373b13d10bc.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUIBackgroundVideo.build/Debug-watchos/SwiftUIBackgroundVideo-t.build/Objects-normal/arm64/SwiftUIBackgroundVideo-OutputFileMap.json -save-temps -no-color-diagnostics -explicit-module-build -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules -clang-scanner-module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -sdk-module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules -emit-dependencies -emit-module -emit-module-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUIBackgroundVideo.build/Debug-watchos/SwiftUIBackgroundVideo-t.build/Objects-normal/arm64/SwiftUIBackgroundVideo.swiftmodule -serialize-diagnostics -dependency-scan-serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUIBackgroundVideo.build/Debug-watchos/SwiftUIBackgroundVideo-t.build/Objects-normal/arm64/SwiftUIBackgroundVideo-dependency-scan.dia -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -package-name spi_builder_workspace -emit-const-values -const-gather-protocols-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUIBackgroundVideo.build/Debug-watchos/SwiftUIBackgroundVideo-t.build/Objects-normal/arm64/SwiftUIBackgroundVideo_const_extract_protocols.json -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUIBackgroundVideo.build/Debug-watchos/SwiftUIBackgroundVideo-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUIBackgroundVideo.build/Debug-watchos/SwiftUIBackgroundVideo-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUIBackgroundVideo.build/Debug-watchos/SwiftUIBackgroundVideo-t.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/SwiftUIBackgroundVideo.build/Debug-watchos/SwiftUIBackgroundVideo-t.build/Objects-normal/arm64/SwiftUIBackgroundVideo-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
SwiftDriver SwiftUIBackgroundVideo normal arm64_32 com.apple.xcode.tools.swift.compiler (in target 'SwiftUIBackgroundVideo' from project 'SwiftUIBackgroundVideo')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftDriver -- /Applications/Xcode-27.0.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -parse-as-library -module-name SwiftUIBackgroundVideo -Onone @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUIBackgroundVideo.build/Debug-watchos/SwiftUIBackgroundVideo-t.build/Objects-normal/arm64_32/SwiftUIBackgroundVideo.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -DSWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -DXcode -plugin-path /Applications/Xcode-27.0.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -enable-experimental-feature DebugDescriptionMacro -sdk /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk -target arm64_32-apple-watchos9.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 -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -swift-version 6 -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -Isystem /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/Developer/Library/Frameworks -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos27.0-24R360-e829b21a6f8c9b70876ba0858053c044b9db9bc9c079ee3c7b5f3373b13d10bc.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUIBackgroundVideo.build/Debug-watchos/SwiftUIBackgroundVideo-t.build/Objects-normal/arm64_32/SwiftUIBackgroundVideo-OutputFileMap.json -save-temps -no-color-diagnostics -explicit-module-build -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules -clang-scanner-module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -sdk-module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules -emit-dependencies -emit-module -emit-module-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUIBackgroundVideo.build/Debug-watchos/SwiftUIBackgroundVideo-t.build/Objects-normal/arm64_32/SwiftUIBackgroundVideo.swiftmodule -serialize-diagnostics -dependency-scan-serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUIBackgroundVideo.build/Debug-watchos/SwiftUIBackgroundVideo-t.build/Objects-normal/arm64_32/SwiftUIBackgroundVideo-dependency-scan.dia -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -package-name spi_builder_workspace -emit-const-values -const-gather-protocols-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUIBackgroundVideo.build/Debug-watchos/SwiftUIBackgroundVideo-t.build/Objects-normal/arm64_32/SwiftUIBackgroundVideo_const_extract_protocols.json -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUIBackgroundVideo.build/Debug-watchos/SwiftUIBackgroundVideo-t.build/DerivedSources-normal/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUIBackgroundVideo.build/Debug-watchos/SwiftUIBackgroundVideo-t.build/DerivedSources/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUIBackgroundVideo.build/Debug-watchos/SwiftUIBackgroundVideo-t.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/SwiftUIBackgroundVideo.build/Debug-watchos/SwiftUIBackgroundVideo-t.build/Objects-normal/arm64_32/SwiftUIBackgroundVideo-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/DeveloperToolsSupport-3A24UJC4NRK1KTKOC3ZZKBC85.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_Builtin_float-5MBXF8DKVHQBRUJNM16KVMIQC.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/SwiftShims-D5RMRWG63RILSKWQ5872PCQT2.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_AvailabilityInternal-F1LNUT9MK1HRUMT1GHZHQ1RLU.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/ptrcheck-2FDVY6UR0H40GBA6U2HDPB8SM.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_Builtin_stdarg-ES3WE6BADGYLJ1IBGV298L0ED.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_Builtin_stdbool-EIIY79CJBKY0CNDO2RQTENME.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_SwiftConcurrencyShims-2Q4BGBV41YFU7T8ZZ1LYOHHM8.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/DeveloperToolsSupport-2SDLA0C7KKCYWP8CD7XVQTHPR.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/ptrcheck-D11ZNSDYZRFEJJA53KWXZ702P.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_Builtin_stdbool-DHPYJAMN6KTVWD1S31Z90I6C9.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_Builtin_stdarg-102WX5NAUESOXIXJSPGYHVM9S.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_Builtin_stddef-8VT85WZQKGACA68JZ07TP0Y0J.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_Builtin_float-BJZXUCJSIX9PRVEKM14BGMJVY.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_SwiftConcurrencyShims-AOFF2AEQJRI8DA66TEQ347NE7.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/ptrauth-88RK1G9DAGJXQFP1AN1WL17RR.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/SwiftShims-4MNCVKZ1HKINJ0ZSNUCRO6CZ8.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_AvailabilityInternal-BQQUK8V8SWJHTHJSVFJK2AKWW.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/ptrauth-75D2Q69SEU6TW661FC9T39G5T.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_DarwinFoundation1-C5AXMEYDFVMWI0AXBXZS13K0J.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_Builtin_stddef-8XIMPUPOCEKW43OJT6UFVW8YW.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_DarwinFoundation1-88RVECTIWIA3ZONBBWQIW1DJZ.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_Builtin_limits-D5KOXTTAIGWXE3DL0Q1NI089X.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_DarwinFoundation2-NYVMEQYGHBE0ZIL3ZJZSOEY1.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_DarwinFoundation2-44ZJFO85HR0BJ749M999B8LPA.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_Builtin_limits-C136SD3CEQ3KB0CFUK32YJB19.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_Builtin_tgmath-1OJ1CVZRD1MGSKTENEG2SEKB2.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/sys_types-ASTFSZ1DRYRY331XT4Z9KV73D.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/string_h-4CSQOUX7AGTYYYGKC8M276OI9.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_Builtin_stdint-74NMYF5YUKK9X44SQHE76VBIQ.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/sys_types-C3M5EX2O95KRM34PBYN44HPBI.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/string_h-5JIQF7F6QR5PADS6CIIQIXRFW.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_Builtin_tgmath-9EIX6C0B946AJ5BO3J3W0E8YL.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_Builtin_stdint-2Z10U0EB6591SMUSD1HCK6PI.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_Builtin_stdatomic-DFKZ8ZOUW5YM8P1GLT1U424GY.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_DarwinFoundation3-ANTW1ITQ0J9JQTH8BRFBZWI1Q.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_Builtin_intrinsics-AQBT3I3HZ6WQLHM0XJXAYR4R2.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_DarwinFoundation3-F4AQTMWJJP4FVAZ08SHRNZXAM.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_Builtin_intrinsics-959O5MVSMXRGS5ARHGPSM2J7C.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_Builtin_stdatomic-70890TXYRZ5DZ1JPU2XCV4YSX.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_Builtin_inttypes-6I92U55H5N26FLV9VYV8R3I6O.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_Builtin_inttypes-BMQHYJQS69SCBJY3RFS64DBTV.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/Darwin-98ESD9QN5COC9NNCABFONVFP8.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/Darwin-7UEVD02CQP1PVIKBVFQ49O3SD.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/simd-528GTDMDKZMZXSDX30KY5IDV3.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/simd-AF64M5Z1H71R1EGNAU05UY87.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/ObjectiveC-DV0JE3OUNWO3O3UE1N347RY55.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/MachO-15FQ9M0VC0V1FL7TPT2R7Q0R4.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/MachO-ACR45N7ZFEL35O7PB2TVKQT6F.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/ObjectiveC-AJI1K6ZMESMAXDSQ8OKHJ72H7.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/os_object-1JFESJBLQUD4RS3VL4N1KYEDU.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/os_object-5TY9JM8WCIDWZD1H148JEBV2F.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/os_workgroup-65XNBX18CBCXC0KTSN0M6UNVT.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/os_workgroup-LKX7LZYC1IUZO27QQLWUANJE.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/Spatial-9MID3YIH729B1WBR3BU8WEG1D.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/Dispatch-6D65D6EIW4AHX08JGF4J74MV9.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/Spatial-8KUW3XOM48SC4KMH7TC7PGQBL.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/Dispatch-7K60THHWK3C851QMSWUUEEC2Q.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreFoundation-8MLEPC68IRDBIK6YTJL7DNZH.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/XPC-46U120GB61ZMOBIJJ669AYIXF.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/XPC-CZIZYD8A7DCOUWGZRQ4DKZKSL.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreFoundation-89G5WX03B78NXYKER48PGSMVI.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/os-2GDYECRIKV7Q8I9SYTO8ZHGYP.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/os-3K8UZAZIRDUH91EOFIWCRRSEM.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/Security-B8EWSEMP4Z3IE155A3ILBKM2V.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreGraphics-5PBZKZGKBP8I3OSEUDR963CHA.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreAudioTypes-6S9P9W0OZSKT9SWE5WTT2ZKG7.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/Security-C9W0029I4749M0FMG9UVPZUKU.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreAudioTypes-EH46BW0N9TQAFAM658KAXI2HK.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreGraphics-46XFDT15OA1UMAVA4P068AUXB.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreAudio-AG4UGUIQ2S3L92SD9AJ5MTPM6.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/Foundation-93OAIR4R5IDN1SU1A5KNY63PA.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreAudio-1D85LQBU32G9DAVFVJDRIIKVU.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreVideo-44ANF38Y9COF9WNQ4Z4TVH3HT.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreText-C2OMK34E5UWXOOMMXM462Q23U.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/ImageIO-6G5FIB3S3GGGAFTGDFSO62V0X.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/Foundation-63KC4JQT5I8XAZ72WSG0A8C35.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreText-9SR0QSHMJLFSEX1SQHTJKGSL5.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/ImageIO-EURB1OIS39T0DELCDL4LJ4QH8.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreVideo-982R0MIIT4QZ7CNNYJRWDCVJZ.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreMedia-67TS8991WTJ4DNEII1DNQ0M3U.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreMedia-DIRRX6DLEO5M2R4N3ZWIHNQD4.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/OSLog-BTXJQEK6BKB6NQOIYRYP0MQYB.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/UniformTypeIdentifiers-3ROI8ZFKQNP9FEJCLTAB3G3S6.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_LocationEssentials-AC3H2STDUT9P96FJO6DV48PNP.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreTransferable-CUPPADLUY13ZK3BQZ1IYC67D4.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/DataDetection-BU5I7ELEWG639KG0N6MNLXFNO.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/UserNotifications-2AO17R2GNRDA2OMZ5W8PY02MP.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/QuartzCore-3NILGGAZ5TSVKY4F7DWF68I34.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/UIUtilities-7ZIMMCI52YM1PP54E6HPMAX8Z.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/SceneKit-3DCWNSWKMHXAPF5B6UTK4HEM0.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreMIDI-SYQJUBSJUGR2Q5PVDUV2EQ2B.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreMIDI-50K3VWWCTU006JHFO2YT6GRBJ.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreData-6Y9HVIU7TWJCVTQD1ZWWIXODI.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/Accessibility-DIBKN45VPPKZ23QP6RIRRS0J.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/QuartzCore-B38JYPKZ9JJSZZH09PD93UYGH.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/Symbols-2ENRG72YSQC7AWU0CD2G85VCR.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/DataDetection-2T8L1HB9S7KDCI3ZEAASNGW3.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/SceneKit-8B7HHHTQ2WX4UCJPGYJNHAZXO.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreLocation-CT7IO6D7J2ZQGMTWKD2YA5BLV.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/SwiftUICore-NS6C80YTAE6CMPAZ003V82QV.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/UniformTypeIdentifiers-7HPV1K0BFGWF49HRB05L12Y0G.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/UIUtilities-CGRQYRG51XDGM33ZVEWF0FZ35.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/OSLog-9Y6C28FUSEHZ0VUUKF2HBOUOC.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreData-3CN8KB1YOLM0QLFHRWY1TM0I4.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreTransferable-1U3A73F7D5AKXVOWIDJ9BE6E5.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/AVFAudio-1JY4WWL4WH28BOACYXH0X0R5M.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/AVFAudio-8D6BW132Y9NKBUMW031LRUC1I.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/SwiftUICore-UYWG2UM50SUK6GUT85OJGGGU.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/Symbols-9X6U62JAYVGTYK6610D3S514E.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreMotion-2LM13SKZR55U3ZSU2B92ETH7E.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/Accessibility-3TNHG64JB39D1D5QZ377QJNC6.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_LocationEssentials-BCQ50OBW7GBDX1MPTAFKD09AZ.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/UserNotifications-1PEWVA01YZLKTDUKQR5CHG2WA.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreLocation-9AQCUG84MXK7QRA19UHUZ7COW.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/UIKit-3NXNXJMGTIGLSPCUMJYECGUT2.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/AVFoundation-EBDTMO9GE9LEOFW3E8CME08QZ.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/AVFoundation-698R81VBHZ30WGHE7JBW7K5U8.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreMotion-3JCK5DO7QLO4DSQD87NSMN3FO.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/UIKit-4XONMD0BX0LMIR90AS1OF9IWL.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/MapKit-CY0HYXY78Y7MKX7HHJKLHZHSE.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/HomeKit-828DN93JSOQ52ZA4QA4J38CD.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/MapKit-4QHO9971BNK7Z8ZV3IM0Z8JHM.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/HomeKit-3G28JPRBYVFDNVGP3N1AJIRON.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/WatchKit-BO78WUD7ZRCBRY95H7ENJBBSS.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/SwiftUI-50RGMSU3855RUN43JPITBT2Y9.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/WatchKit-52R8D796YDUMWDJVUEFB445DC.pcm
SwiftEmitModule normal arm64 Emitting\ module\ for\ SwiftUIBackgroundVideo (in target 'SwiftUIBackgroundVideo' from project 'SwiftUIBackgroundVideo')
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackgroundVideo/BackgroundVideoUIView.swift:80:30: error: 'AVPlayerLayer' is unavailable in watchOS
78 |
79 | /// The layer used to display video content.
80 | private var playerLayer: AVPlayerLayer?
| `- error: 'AVPlayerLayer' is unavailable in watchOS
81 |
82 | /// The looper that enables seamless video repetition.
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVPlayerLayer.h:48:12: note: 'AVPlayerLayer' has been explicitly marked unavailable here
46 | /// important into indepedently timed subtrees of their layer trees.
47 | API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos)
48 | @interface AVPlayerLayer : CALayer
| `- note: 'AVPlayerLayer' has been explicitly marked unavailable here
49 | {
50 | @private
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackgroundVideo/BackgroundVideoUIView.swift:83:31: error: 'AVPlayerLooper' is unavailable in watchOS
81 |
82 | /// The looper that enables seamless video repetition.
83 | private var playerLooper: AVPlayerLooper?
| `- error: 'AVPlayerLooper' is unavailable in watchOS
84 |
85 | /// The queue player that handles video playback.
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVPlayerLooper.h:91:12: note: 'AVPlayerLooper' has been explicitly marked unavailable here
89 | NS_SWIFT_SENDABLE
90 | API_AVAILABLE(macos(10.12), ios(10.0), tvos(10.0), visionos(1.0)) API_UNAVAILABLE(watchos)
91 | @interface AVPlayerLooper : NSObject
| `- note: 'AVPlayerLooper' has been explicitly marked unavailable here
92 | {
93 | @private
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackgroundVideo/BackgroundVideoUIView.swift:29:43: error: 'UIView' is unavailable in watchOS
27 | /// view.addSubview(videoView)
28 | /// ```
29 | public final class BackgroundVideoUIView: UIView {
| `- error: 'UIView' is unavailable in watchOS
30 | /// The name of the currently loaded video resource.
31 | ///
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackgroundVideo/BackgroundVideoView.swift:114:37: error: cannot find type 'Context' in scope
112 | /// - Parameter context: The context containing environment and coordinator info.
113 | /// - Returns: A configured ``BackgroundVideoUIView`` instance.
114 | public func makeUIView(context: Context) -> BackgroundVideoUIView {
| `- error: cannot find type 'Context' in scope
115 | let view = BackgroundVideoUIView()
116 | view.stateDidChange = { [weak coordinator = context.coordinator] state in
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackgroundVideo/BackgroundVideoView.swift:130:72: error: cannot find type 'Context' in scope
128 | /// - uiView: The underlying UIKit view to update.
129 | /// - context: The context containing environment and coordinator info.
130 | public func updateUIView(_ uiView: BackgroundVideoUIView, context: Context) {
| `- error: cannot find type 'Context' in scope
131 | context.coordinator.onStateChanged = onStateChanged
132 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackgroundVideo/BackgroundVideoView.swift:37:36: error: cannot find type 'UIViewRepresentable' in scope
35 | ///
36 | /// For UIKit applications, use ``BackgroundVideoUIView`` directly.
37 | public struct BackgroundVideoView: UIViewRepresentable {
| `- error: cannot find type 'UIViewRepresentable' in scope
38 | /// The name of the video file in the app bundle (without extension).
39 | let resourceName: String
Failed frontend command:
SwiftCompile normal arm64 (in target 'SwiftUIBackgroundVideo' from project 'SwiftUIBackgroundVideo')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Applications/Xcode-27.0.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/SwiftUIBackgroundVideo/BackgroundVideoUIView.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackgroundVideo/BackgroundVideoView.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackgroundVideo/VideoAssetCache.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackgroundVideo/VideoPlayerError.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackgroundVideo/VideoPlayerState.swift -target arm64-apple-watchos9.0 -disable-cross-import-overlay-search -load-resolved-plugin /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libFoundationMacros.dylib\#/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#FoundationMacros -load-resolved-plugin /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libObservationMacros.dylib\#/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#ObservationMacros -load-resolved-plugin /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libPreviewsMacros.dylib\#/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#PreviewsMacros -load-resolved-plugin /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libSwiftMacros.dylib\#/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#SwiftMacros -load-resolved-plugin /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libSwiftUIMacros.dylib\#/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#SwiftUIMacros -disable-implicit-swift-modules -Xcc -fno-implicit-modules -Xcc -fno-implicit-module-maps -explicit-swift-module-map-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUIBackgroundVideo.build/Debug-watchos/SwiftUIBackgroundVideo-t.build/Objects-normal/arm64/SwiftUIBackgroundVideo-dependencies-2.json -Xllvm -aarch64-use-tbi -enable-objc-interop -stack-check -sdk /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -Isystem /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/Developer/Library/Frameworks -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules -no-color-diagnostics -Xcc -fno-color-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -profile-generate -profile-coverage-mapping -swift-version 6 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -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 -enable-anonymous-context-mangled-names -file-compilation-dir /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos27.0-24R360-e829b21a6f8c9b70876ba0858053c044b9db9bc9c079ee3c7b5f3373b13d10bc.sdkstatcache -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUIBackgroundVideo.build/Debug-watchos/SwiftUIBackgroundVideo-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUIBackgroundVideo.build/Debug-watchos/SwiftUIBackgroundVideo-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUIBackgroundVideo.build/Debug-watchos/SwiftUIBackgroundVideo-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name SwiftUIBackgroundVideo -package-name spi_builder_workspace -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUIBackgroundVideo.build/Debug-watchos/SwiftUIBackgroundVideo-t.build/Objects-normal/arm64/SwiftUIBackgroundVideo_const_extract_protocols.json -disable-clang-spi -clang-target arm64-apple-watchos27.0 -target-sdk-version 27.0 -target-sdk-name watchos27.0 -in-process-plugin-server-path /Applications/Xcode-27.0.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/libSwiftInProcPluginServer.dylib -emit-module-doc-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUIBackgroundVideo.build/Debug-watchos/SwiftUIBackgroundVideo-t.build/Objects-normal/arm64/SwiftUIBackgroundVideo.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUIBackgroundVideo.build/Debug-watchos/SwiftUIBackgroundVideo-t.build/Objects-normal/arm64/SwiftUIBackgroundVideo.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUIBackgroundVideo.build/Debug-watchos/SwiftUIBackgroundVideo-t.build/Objects-normal/arm64/SwiftUIBackgroundVideo-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUIBackgroundVideo.build/Debug-watchos/SwiftUIBackgroundVideo-t.build/Objects-normal/arm64/SwiftUIBackgroundVideo-primary-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUIBackgroundVideo.build/Debug-watchos/SwiftUIBackgroundVideo-t.build/Objects-normal/arm64/SwiftUIBackgroundVideo-primary-emit-module.d -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUIBackgroundVideo.build/Debug-watchos/SwiftUIBackgroundVideo-t.build/Objects-normal/arm64/SwiftUIBackgroundVideo.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUIBackgroundVideo.build/Debug-watchos/SwiftUIBackgroundVideo-t.build/Objects-normal/arm64/SwiftUIBackgroundVideo.abi.json
SwiftCompile normal arm64 Compiling\ VideoPlayerError.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackgroundVideo/VideoPlayerError.swift (in target 'SwiftUIBackgroundVideo' from project 'SwiftUIBackgroundVideo')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackgroundVideo/VideoPlayerError.swift (in target 'SwiftUIBackgroundVideo' from project 'SwiftUIBackgroundVideo')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile VideoPlayerError.swift
SwiftCompile normal arm64 Compiling\ BackgroundVideoView.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackgroundVideo/BackgroundVideoView.swift (in target 'SwiftUIBackgroundVideo' from project 'SwiftUIBackgroundVideo')
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackgroundVideo/BackgroundVideoView.swift:114:37: error: cannot find type 'Context' in scope
112 | /// - Parameter context: The context containing environment and coordinator info.
113 | /// - Returns: A configured ``BackgroundVideoUIView`` instance.
114 | public func makeUIView(context: Context) -> BackgroundVideoUIView {
| `- error: cannot find type 'Context' in scope
115 | let view = BackgroundVideoUIView()
116 | view.stateDidChange = { [weak coordinator = context.coordinator] state in
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackgroundVideo/BackgroundVideoView.swift:130:72: error: cannot find type 'Context' in scope
128 | /// - uiView: The underlying UIKit view to update.
129 | /// - context: The context containing environment and coordinator info.
130 | public func updateUIView(_ uiView: BackgroundVideoUIView, context: Context) {
| `- error: cannot find type 'Context' in scope
131 | context.coordinator.onStateChanged = onStateChanged
132 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackgroundVideo/BackgroundVideoView.swift:37:36: error: cannot find type 'UIViewRepresentable' in scope
35 | ///
36 | /// For UIKit applications, use ``BackgroundVideoUIView`` directly.
37 | public struct BackgroundVideoView: UIViewRepresentable {
| `- error: cannot find type 'UIViewRepresentable' in scope
38 | /// The name of the video file in the app bundle (without extension).
39 | let resourceName: String
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackgroundVideo/BackgroundVideoView.swift:105:16: warning: main actor-isolated property 'stateDidChange' can not be mutated from a nonisolated context
102 | /// - uiView: The underlying UIKit view being dismantled.
103 | /// - coordinator: The coordinator managing state callbacks.
104 | public static func dismantleUIView(_ uiView: BackgroundVideoUIView, coordinator: Coordinator) {
| `- note: add '@MainActor' to make static method 'dismantleUIView(_:coordinator:)' part of global actor 'MainActor'
105 | uiView.stateDidChange = nil
| `- warning: main actor-isolated property 'stateDidChange' can not be mutated from a nonisolated context
106 | uiView.removeObservers()
107 | uiView.cleanupPlayer()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackgroundVideo/BackgroundVideoUIView.swift:77:9: note: mutation of this property is only permitted within the actor
75 | /// }
76 | /// ```
77 | var stateDidChange: ((VideoPlayerState) -> Void)?
| `- note: mutation of this property is only permitted within the actor
78 |
79 | /// The layer used to display video content.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackgroundVideo/BackgroundVideoView.swift:107:16: warning: call to main actor-isolated instance method 'cleanupPlayer()' in a synchronous nonisolated context [#ActorIsolatedCall]
102 | /// - uiView: The underlying UIKit view being dismantled.
103 | /// - coordinator: The coordinator managing state callbacks.
104 | public static func dismantleUIView(_ uiView: BackgroundVideoUIView, coordinator: Coordinator) {
| `- note: add '@MainActor' to make static method 'dismantleUIView(_:coordinator:)' part of global actor 'MainActor'
105 | uiView.stateDidChange = nil
106 | uiView.removeObservers()
107 | uiView.cleanupPlayer()
| `- warning: call to main actor-isolated instance method 'cleanupPlayer()' in a synchronous nonisolated context [#ActorIsolatedCall]
108 | }
109 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackgroundVideo/BackgroundVideoUIView.swift:180:10: note: calls to instance method 'cleanupPlayer()' from outside of its actor context are implicitly asynchronous
178 | /// After calling this method, you can start playback again by calling
179 | /// ``prepareAndPlayVideo(with:ofType:)``.
180 | func cleanupPlayer() {
| |- note: calls to instance method 'cleanupPlayer()' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'UIView'
181 | loadAssetTask?.cancel()
182 | loadAssetTask = nil
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackgroundVideo/BackgroundVideoView.swift:115:20: warning: call to main actor-isolated initializer 'init(frame:resourceName:resourceType:bundle:)' in a synchronous nonisolated context [#ActorIsolatedCall]
112 | /// - Parameter context: The context containing environment and coordinator info.
113 | /// - Returns: A configured ``BackgroundVideoUIView`` instance.
114 | public func makeUIView(context: Context) -> BackgroundVideoUIView {
| `- note: add '@MainActor' to make instance method 'makeUIView(context:)' part of global actor 'MainActor'
115 | let view = BackgroundVideoUIView()
| `- warning: call to main actor-isolated initializer 'init(frame:resourceName:resourceType:bundle:)' in a synchronous nonisolated context [#ActorIsolatedCall]
116 | view.stateDidChange = { [weak coordinator = context.coordinator] state in
117 | coordinator?.onStateChanged?(state)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackgroundVideo/BackgroundVideoUIView.swift:134:12: note: calls to initializer 'init(frame:resourceName:resourceType:bundle:)' from outside of its actor context are implicitly asynchronous
132 | /// - resourceType: The file extension of the video (e.g., "mp4").
133 | /// - bundle: The bundle containing the video resource. Defaults to `.main`.
134 | public init(
| |- note: calls to initializer 'init(frame:resourceName:resourceType:bundle:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'UIView'
135 | frame: CGRect = .zero,
136 | resourceName: String? = nil,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackgroundVideo/BackgroundVideoView.swift:133:19: warning: main actor-isolated property 'currentResourceName' can not be referenced from a nonisolated context
128 | /// - uiView: The underlying UIKit view to update.
129 | /// - context: The context containing environment and coordinator info.
130 | public func updateUIView(_ uiView: BackgroundVideoUIView, context: Context) {
| `- note: add '@MainActor' to make instance method 'updateUIView(_:context:)' part of global actor 'MainActor'
131 | context.coordinator.onStateChanged = onStateChanged
132 |
133 | if uiView.currentResourceName != resourceName ||
| `- warning: main actor-isolated property 'currentResourceName' can not be referenced from a nonisolated context
134 | uiView.currentResourceType != resourceType ||
135 | uiView.currentBundle != bundle {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackgroundVideo/BackgroundVideoUIView.swift:34:9: note: property declared here
32 | /// This value is updated when ``prepareAndPlayVideo(with:ofType:)`` is called
33 | /// and is used to avoid reloading the same video.
34 | var currentResourceName: String?
| `- note: property declared here
35 |
36 | /// The file extension of the currently loaded video resource.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackgroundVideo/BackgroundVideoView.swift:134:20: warning: main actor-isolated property 'currentResourceType' can not be referenced from a nonisolated autoclosure
132 |
133 | if uiView.currentResourceName != resourceName ||
134 | uiView.currentResourceType != resourceType ||
| `- warning: main actor-isolated property 'currentResourceType' can not be referenced from a nonisolated autoclosure
135 | uiView.currentBundle != bundle {
136 | uiView.prepareAndPlayVideo(with: resourceName, ofType: resourceType, bundle: bundle)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackgroundVideo/BackgroundVideoUIView.swift:39:9: note: property declared here
37 | ///
38 | /// Common values include "mp4", "mov", and "m4v".
39 | var currentResourceType: String?
| `- note: property declared here
40 |
41 | /// The bundle containing the currently loaded video resource.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackgroundVideo/BackgroundVideoView.swift:135:20: warning: main actor-isolated property 'currentBundle' can not be referenced from a nonisolated autoclosure
133 | if uiView.currentResourceName != resourceName ||
134 | uiView.currentResourceType != resourceType ||
135 | uiView.currentBundle != bundle {
| `- warning: main actor-isolated property 'currentBundle' can not be referenced from a nonisolated autoclosure
136 | uiView.prepareAndPlayVideo(with: resourceName, ofType: resourceType, bundle: bundle)
137 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackgroundVideo/BackgroundVideoUIView.swift:42:9: note: property declared here
40 |
41 | /// The bundle containing the currently loaded video resource.
42 | var currentBundle: Bundle?
| `- note: property declared here
43 |
44 | /// The current playback state of the video player.
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackgroundVideo/BackgroundVideoView.swift (in target 'SwiftUIBackgroundVideo' from project 'SwiftUIBackgroundVideo')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile BackgroundVideoView.swift
SwiftCompile normal arm64 Compiling\ VideoPlayerState.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackgroundVideo/VideoPlayerState.swift (in target 'SwiftUIBackgroundVideo' from project 'SwiftUIBackgroundVideo')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackgroundVideo/VideoPlayerState.swift (in target 'SwiftUIBackgroundVideo' from project 'SwiftUIBackgroundVideo')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile VideoPlayerState.swift
SwiftCompile normal arm64 Compiling\ VideoAssetCache.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackgroundVideo/VideoAssetCache.swift (in target 'SwiftUIBackgroundVideo' from project 'SwiftUIBackgroundVideo')
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackgroundVideo/VideoAssetCache.swift:47:22: error: 'UIApplication' is unavailable in watchOS
45 |
46 | memoryWarningObserver = NotificationCenter.default.addObserver(
47 | forName: UIApplication.didReceiveMemoryWarningNotification,
| `- error: 'UIApplication' is unavailable in watchOS
48 | object: nil,
49 | queue: .main
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h:85:12: note: 'UIApplication' has been explicitly marked unavailable here
83 |
84 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
85 | @interface UIApplication : UIResponder
| `- note: 'UIApplication' has been explicitly marked unavailable here
86 |
87 | @property(class, nonatomic, readonly) UIApplication *sharedApplication NS_EXTENSION_UNAVAILABLE_IOS("Use view controller based solutions where appropriate instead.");
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackgroundVideo/VideoAssetCache.swift (in target 'SwiftUIBackgroundVideo' from project 'SwiftUIBackgroundVideo')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile VideoAssetCache.swift
SwiftCompile normal arm64 Compiling\ BackgroundVideoUIView.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackgroundVideo/BackgroundVideoUIView.swift (in target 'SwiftUIBackgroundVideo' from project 'SwiftUIBackgroundVideo')
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackgroundVideo/BackgroundVideoUIView.swift:80:30: error: 'AVPlayerLayer' is unavailable in watchOS
78 |
79 | /// The layer used to display video content.
80 | private var playerLayer: AVPlayerLayer?
| `- error: 'AVPlayerLayer' is unavailable in watchOS
81 |
82 | /// The looper that enables seamless video repetition.
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVPlayerLayer.h:48:12: note: 'AVPlayerLayer' has been explicitly marked unavailable here
46 | /// important into indepedently timed subtrees of their layer trees.
47 | API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos)
48 | @interface AVPlayerLayer : CALayer
| `- note: 'AVPlayerLayer' has been explicitly marked unavailable here
49 | {
50 | @private
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackgroundVideo/BackgroundVideoUIView.swift:83:31: error: 'AVPlayerLooper' is unavailable in watchOS
81 |
82 | /// The looper that enables seamless video repetition.
83 | private var playerLooper: AVPlayerLooper?
| `- error: 'AVPlayerLooper' is unavailable in watchOS
84 |
85 | /// The queue player that handles video playback.
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVPlayerLooper.h:91:12: note: 'AVPlayerLooper' has been explicitly marked unavailable here
89 | NS_SWIFT_SENDABLE
90 | API_AVAILABLE(macos(10.12), ios(10.0), tvos(10.0), visionos(1.0)) API_UNAVAILABLE(watchos)
91 | @interface AVPlayerLooper : NSObject
| `- note: 'AVPlayerLooper' has been explicitly marked unavailable here
92 | {
93 | @private
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackgroundVideo/BackgroundVideoUIView.swift (in target 'SwiftUIBackgroundVideo' from project 'SwiftUIBackgroundVideo')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile BackgroundVideoUIView.swift
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/SwiftUI-1RR011ILX8M637U24HKCUKH2G.pcm
SwiftCompile normal arm64_32 Compiling\ VideoAssetCache.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackgroundVideo/VideoAssetCache.swift (in target 'SwiftUIBackgroundVideo' from project 'SwiftUIBackgroundVideo')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackgroundVideo/VideoAssetCache.swift (in target 'SwiftUIBackgroundVideo' from project 'SwiftUIBackgroundVideo')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile VideoAssetCache.swift
SwiftEmitModule normal arm64_32 Emitting\ module\ for\ SwiftUIBackgroundVideo (in target 'SwiftUIBackgroundVideo' from project 'SwiftUIBackgroundVideo')
SwiftCompile normal arm64_32 (in target 'SwiftUIBackgroundVideo' from project 'SwiftUIBackgroundVideo')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64_32 Compiling\ BackgroundVideoUIView.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackgroundVideo/BackgroundVideoUIView.swift (in target 'SwiftUIBackgroundVideo' from project 'SwiftUIBackgroundVideo')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackgroundVideo/BackgroundVideoUIView.swift (in target 'SwiftUIBackgroundVideo' from project 'SwiftUIBackgroundVideo')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile BackgroundVideoUIView.swift
SwiftCompile normal arm64_32 Compiling\ VideoPlayerError.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackgroundVideo/VideoPlayerError.swift (in target 'SwiftUIBackgroundVideo' from project 'SwiftUIBackgroundVideo')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackgroundVideo/VideoPlayerError.swift (in target 'SwiftUIBackgroundVideo' from project 'SwiftUIBackgroundVideo')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile VideoPlayerError.swift
SwiftCompile normal arm64_32 Compiling\ VideoPlayerState.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackgroundVideo/VideoPlayerState.swift (in target 'SwiftUIBackgroundVideo' from project 'SwiftUIBackgroundVideo')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackgroundVideo/VideoPlayerState.swift (in target 'SwiftUIBackgroundVideo' from project 'SwiftUIBackgroundVideo')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile VideoPlayerState.swift
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules
2026-10-15 18:15:11.699 xcodebuild[625:3860] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
** BUILD FAILED **
The following build commands failed:
SwiftCompile normal arm64 (in target 'SwiftUIBackgroundVideo' from project 'SwiftUIBackgroundVideo')
SwiftEmitModule normal arm64 Emitting\ module\ for\ SwiftUIBackgroundVideo (in target 'SwiftUIBackgroundVideo' from project 'SwiftUIBackgroundVideo')
Building workspace SwiftUIBackgroundVideo with scheme SwiftUIBackgroundVideo
(3 failures)
Command line invocation:
/Applications/Xcode-27.0.0.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -resolvePackageDependencies
Resolve Package Graph
Resolved source packages:
SwiftUIBackgroundVideo: /Users/admin/builder/spi-builder-workspace
resolved source packages: SwiftUIBackgroundVideo
2026-10-15 18:15:18.372 xcodebuild[801:4611] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
{
"dependencies" : [
],
"manifest_display_name" : "SwiftUIBackgroundVideo",
"name" : "SwiftUIBackgroundVideo",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "13.0"
}
],
"products" : [
{
"name" : "SwiftUIBackgroundVideo",
"targets" : [
"SwiftUIBackgroundVideo"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "SwiftUIBackgroundVideoTests",
"module_type" : "SwiftTarget",
"name" : "SwiftUIBackgroundVideoTests",
"path" : "Tests/SwiftUIBackgroundVideoTests",
"sources" : [
"SwiftUIBackgroundVideoTests.swift"
],
"target_dependencies" : [
"SwiftUIBackgroundVideo"
],
"type" : "test"
},
{
"c99name" : "SwiftUIBackgroundVideo",
"module_type" : "SwiftTarget",
"name" : "SwiftUIBackgroundVideo",
"path" : "Sources/SwiftUIBackgroundVideo",
"product_memberships" : [
"SwiftUIBackgroundVideo"
],
"sources" : [
"BackgroundVideoUIView.swift",
"BackgroundVideoView.swift",
"VideoAssetCache.swift",
"VideoPlayerError.swift",
"VideoPlayerState.swift"
],
"type" : "library"
}
],
"tools_version" : "6.0"
}
{
"workspace" : {
"name" : "SwiftUIBackgroundVideo",
"schemes" : [
"SwiftUIBackgroundVideo"
]
}
}
2026-10-15 18:15:19.610 xcodebuild[809:4683] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-27.0.0.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme SwiftUIBackgroundVideo -destination generic/platform=watchOS
Command line invocation:
/Applications/Xcode-27.0.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 SwiftUIBackgroundVideo -destination generic/platform=watchOS
Resolve Package Graph
Resolved source packages:
SwiftUIBackgroundVideo: /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 'SwiftUIBackgroundVideo-product' in project 'SwiftUIBackgroundVideo'
➜ Explicit dependency on target 'SwiftUIBackgroundVideo' in project 'SwiftUIBackgroundVideo'
Target 'SwiftUIBackgroundVideo' in project 'SwiftUIBackgroundVideo' (no dependencies)
GatherProvisioningInputs
CreateBuildDescription
ClangStatCache /Applications/Xcode-27.0.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang-stat-cache /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos27.0-24R360-e829b21a6f8c9b70876ba0858053c044b9db9bc9c079ee3c7b5f3373b13d10bc.sdkstatcache
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Applications/Xcode-27.0.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang-stat-cache /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk -o /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos27.0-24R360-e829b21a6f8c9b70876ba0858053c044b9db9bc9c079ee3c7b5f3373b13d10bc.sdkstatcache
SwiftDriver SwiftUIBackgroundVideo normal arm64 com.apple.xcode.tools.swift.compiler (in target 'SwiftUIBackgroundVideo' from project 'SwiftUIBackgroundVideo')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftDriver -- /Applications/Xcode-27.0.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -parse-as-library -module-name SwiftUIBackgroundVideo -Onone @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUIBackgroundVideo.build/Debug-watchos/SwiftUIBackgroundVideo-t.build/Objects-normal/arm64/SwiftUIBackgroundVideo.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -DSWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -DXcode -plugin-path /Applications/Xcode-27.0.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -enable-experimental-feature DebugDescriptionMacro -sdk /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk -target arm64-apple-watchos9.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 -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -swift-version 6 -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -Isystem /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/Developer/Library/Frameworks -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos27.0-24R360-e829b21a6f8c9b70876ba0858053c044b9db9bc9c079ee3c7b5f3373b13d10bc.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUIBackgroundVideo.build/Debug-watchos/SwiftUIBackgroundVideo-t.build/Objects-normal/arm64/SwiftUIBackgroundVideo-OutputFileMap.json -save-temps -no-color-diagnostics -explicit-module-build -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules -clang-scanner-module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -sdk-module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules -emit-dependencies -emit-module -emit-module-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUIBackgroundVideo.build/Debug-watchos/SwiftUIBackgroundVideo-t.build/Objects-normal/arm64/SwiftUIBackgroundVideo.swiftmodule -serialize-diagnostics -dependency-scan-serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUIBackgroundVideo.build/Debug-watchos/SwiftUIBackgroundVideo-t.build/Objects-normal/arm64/SwiftUIBackgroundVideo-dependency-scan.dia -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -package-name spi_builder_workspace -emit-const-values -const-gather-protocols-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUIBackgroundVideo.build/Debug-watchos/SwiftUIBackgroundVideo-t.build/Objects-normal/arm64/SwiftUIBackgroundVideo_const_extract_protocols.json -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUIBackgroundVideo.build/Debug-watchos/SwiftUIBackgroundVideo-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUIBackgroundVideo.build/Debug-watchos/SwiftUIBackgroundVideo-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUIBackgroundVideo.build/Debug-watchos/SwiftUIBackgroundVideo-t.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/SwiftUIBackgroundVideo.build/Debug-watchos/SwiftUIBackgroundVideo-t.build/Objects-normal/arm64/SwiftUIBackgroundVideo-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
SwiftDriver SwiftUIBackgroundVideo normal arm64_32 com.apple.xcode.tools.swift.compiler (in target 'SwiftUIBackgroundVideo' from project 'SwiftUIBackgroundVideo')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftDriver -- /Applications/Xcode-27.0.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -parse-as-library -module-name SwiftUIBackgroundVideo -Onone @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUIBackgroundVideo.build/Debug-watchos/SwiftUIBackgroundVideo-t.build/Objects-normal/arm64_32/SwiftUIBackgroundVideo.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -DSWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -DXcode -plugin-path /Applications/Xcode-27.0.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -enable-experimental-feature DebugDescriptionMacro -sdk /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk -target arm64_32-apple-watchos9.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 -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -swift-version 6 -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -Isystem /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/Developer/Library/Frameworks -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos27.0-24R360-e829b21a6f8c9b70876ba0858053c044b9db9bc9c079ee3c7b5f3373b13d10bc.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUIBackgroundVideo.build/Debug-watchos/SwiftUIBackgroundVideo-t.build/Objects-normal/arm64_32/SwiftUIBackgroundVideo-OutputFileMap.json -save-temps -no-color-diagnostics -explicit-module-build -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules -clang-scanner-module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -sdk-module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules -emit-dependencies -emit-module -emit-module-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUIBackgroundVideo.build/Debug-watchos/SwiftUIBackgroundVideo-t.build/Objects-normal/arm64_32/SwiftUIBackgroundVideo.swiftmodule -serialize-diagnostics -dependency-scan-serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUIBackgroundVideo.build/Debug-watchos/SwiftUIBackgroundVideo-t.build/Objects-normal/arm64_32/SwiftUIBackgroundVideo-dependency-scan.dia -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -package-name spi_builder_workspace -emit-const-values -const-gather-protocols-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUIBackgroundVideo.build/Debug-watchos/SwiftUIBackgroundVideo-t.build/Objects-normal/arm64_32/SwiftUIBackgroundVideo_const_extract_protocols.json -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUIBackgroundVideo.build/Debug-watchos/SwiftUIBackgroundVideo-t.build/DerivedSources-normal/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUIBackgroundVideo.build/Debug-watchos/SwiftUIBackgroundVideo-t.build/DerivedSources/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUIBackgroundVideo.build/Debug-watchos/SwiftUIBackgroundVideo-t.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/SwiftUIBackgroundVideo.build/Debug-watchos/SwiftUIBackgroundVideo-t.build/Objects-normal/arm64_32/SwiftUIBackgroundVideo-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
SwiftCompile normal arm64 Compiling\ BackgroundVideoView.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackgroundVideo/BackgroundVideoView.swift (in target 'SwiftUIBackgroundVideo' from project 'SwiftUIBackgroundVideo')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackgroundVideo/BackgroundVideoView.swift (in target 'SwiftUIBackgroundVideo' from project 'SwiftUIBackgroundVideo')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile BackgroundVideoView.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackgroundVideo/BackgroundVideoView.swift:114:37: error: cannot find type 'Context' in scope
112 | /// - Parameter context: The context containing environment and coordinator info.
113 | /// - Returns: A configured ``BackgroundVideoUIView`` instance.
114 | public func makeUIView(context: Context) -> BackgroundVideoUIView {
| `- error: cannot find type 'Context' in scope
115 | let view = BackgroundVideoUIView()
116 | view.stateDidChange = { [weak coordinator = context.coordinator] state in
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackgroundVideo/BackgroundVideoView.swift:130:72: error: cannot find type 'Context' in scope
128 | /// - uiView: The underlying UIKit view to update.
129 | /// - context: The context containing environment and coordinator info.
130 | public func updateUIView(_ uiView: BackgroundVideoUIView, context: Context) {
| `- error: cannot find type 'Context' in scope
131 | context.coordinator.onStateChanged = onStateChanged
132 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackgroundVideo/BackgroundVideoView.swift:37:36: error: cannot find type 'UIViewRepresentable' in scope
35 | ///
36 | /// For UIKit applications, use ``BackgroundVideoUIView`` directly.
37 | public struct BackgroundVideoView: UIViewRepresentable {
| `- error: cannot find type 'UIViewRepresentable' in scope
38 | /// The name of the video file in the app bundle (without extension).
39 | let resourceName: String
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackgroundVideo/BackgroundVideoView.swift:105:16: warning: main actor-isolated property 'stateDidChange' can not be mutated from a nonisolated context
102 | /// - uiView: The underlying UIKit view being dismantled.
103 | /// - coordinator: The coordinator managing state callbacks.
104 | public static func dismantleUIView(_ uiView: BackgroundVideoUIView, coordinator: Coordinator) {
| `- note: add '@MainActor' to make static method 'dismantleUIView(_:coordinator:)' part of global actor 'MainActor'
105 | uiView.stateDidChange = nil
| `- warning: main actor-isolated property 'stateDidChange' can not be mutated from a nonisolated context
106 | uiView.removeObservers()
107 | uiView.cleanupPlayer()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackgroundVideo/BackgroundVideoUIView.swift:77:9: note: mutation of this property is only permitted within the actor
75 | /// }
76 | /// ```
77 | var stateDidChange: ((VideoPlayerState) -> Void)?
| `- note: mutation of this property is only permitted within the actor
78 |
79 | /// The layer used to display video content.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackgroundVideo/BackgroundVideoView.swift:107:16: warning: call to main actor-isolated instance method 'cleanupPlayer()' in a synchronous nonisolated context [#ActorIsolatedCall]
102 | /// - uiView: The underlying UIKit view being dismantled.
103 | /// - coordinator: The coordinator managing state callbacks.
104 | public static func dismantleUIView(_ uiView: BackgroundVideoUIView, coordinator: Coordinator) {
| `- note: add '@MainActor' to make static method 'dismantleUIView(_:coordinator:)' part of global actor 'MainActor'
105 | uiView.stateDidChange = nil
106 | uiView.removeObservers()
107 | uiView.cleanupPlayer()
| `- warning: call to main actor-isolated instance method 'cleanupPlayer()' in a synchronous nonisolated context [#ActorIsolatedCall]
108 | }
109 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackgroundVideo/BackgroundVideoUIView.swift:180:10: note: calls to instance method 'cleanupPlayer()' from outside of its actor context are implicitly asynchronous
178 | /// After calling this method, you can start playback again by calling
179 | /// ``prepareAndPlayVideo(with:ofType:)``.
180 | func cleanupPlayer() {
| |- note: calls to instance method 'cleanupPlayer()' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'UIView'
181 | loadAssetTask?.cancel()
182 | loadAssetTask = nil
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackgroundVideo/BackgroundVideoView.swift:115:20: warning: call to main actor-isolated initializer 'init(frame:resourceName:resourceType:bundle:)' in a synchronous nonisolated context [#ActorIsolatedCall]
112 | /// - Parameter context: The context containing environment and coordinator info.
113 | /// - Returns: A configured ``BackgroundVideoUIView`` instance.
114 | public func makeUIView(context: Context) -> BackgroundVideoUIView {
| `- note: add '@MainActor' to make instance method 'makeUIView(context:)' part of global actor 'MainActor'
115 | let view = BackgroundVideoUIView()
| `- warning: call to main actor-isolated initializer 'init(frame:resourceName:resourceType:bundle:)' in a synchronous nonisolated context [#ActorIsolatedCall]
116 | view.stateDidChange = { [weak coordinator = context.coordinator] state in
117 | coordinator?.onStateChanged?(state)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackgroundVideo/BackgroundVideoUIView.swift:134:12: note: calls to initializer 'init(frame:resourceName:resourceType:bundle:)' from outside of its actor context are implicitly asynchronous
132 | /// - resourceType: The file extension of the video (e.g., "mp4").
133 | /// - bundle: The bundle containing the video resource. Defaults to `.main`.
134 | public init(
| |- note: calls to initializer 'init(frame:resourceName:resourceType:bundle:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'UIView'
135 | frame: CGRect = .zero,
136 | resourceName: String? = nil,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackgroundVideo/BackgroundVideoView.swift:133:19: warning: main actor-isolated property 'currentResourceName' can not be referenced from a nonisolated context
128 | /// - uiView: The underlying UIKit view to update.
129 | /// - context: The context containing environment and coordinator info.
130 | public func updateUIView(_ uiView: BackgroundVideoUIView, context: Context) {
| `- note: add '@MainActor' to make instance method 'updateUIView(_:context:)' part of global actor 'MainActor'
131 | context.coordinator.onStateChanged = onStateChanged
132 |
133 | if uiView.currentResourceName != resourceName ||
| `- warning: main actor-isolated property 'currentResourceName' can not be referenced from a nonisolated context
134 | uiView.currentResourceType != resourceType ||
135 | uiView.currentBundle != bundle {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackgroundVideo/BackgroundVideoUIView.swift:34:9: note: property declared here
32 | /// This value is updated when ``prepareAndPlayVideo(with:ofType:)`` is called
33 | /// and is used to avoid reloading the same video.
34 | var currentResourceName: String?
| `- note: property declared here
35 |
36 | /// The file extension of the currently loaded video resource.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackgroundVideo/BackgroundVideoView.swift:134:20: warning: main actor-isolated property 'currentResourceType' can not be referenced from a nonisolated autoclosure
132 |
133 | if uiView.currentResourceName != resourceName ||
134 | uiView.currentResourceType != resourceType ||
| `- warning: main actor-isolated property 'currentResourceType' can not be referenced from a nonisolated autoclosure
135 | uiView.currentBundle != bundle {
136 | uiView.prepareAndPlayVideo(with: resourceName, ofType: resourceType, bundle: bundle)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackgroundVideo/BackgroundVideoUIView.swift:39:9: note: property declared here
37 | ///
38 | /// Common values include "mp4", "mov", and "m4v".
39 | var currentResourceType: String?
| `- note: property declared here
40 |
41 | /// The bundle containing the currently loaded video resource.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackgroundVideo/BackgroundVideoView.swift:135:20: warning: main actor-isolated property 'currentBundle' can not be referenced from a nonisolated autoclosure
133 | if uiView.currentResourceName != resourceName ||
134 | uiView.currentResourceType != resourceType ||
135 | uiView.currentBundle != bundle {
| `- warning: main actor-isolated property 'currentBundle' can not be referenced from a nonisolated autoclosure
136 | uiView.prepareAndPlayVideo(with: resourceName, ofType: resourceType, bundle: bundle)
137 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackgroundVideo/BackgroundVideoUIView.swift:42:9: note: property declared here
40 |
41 | /// The bundle containing the currently loaded video resource.
42 | var currentBundle: Bundle?
| `- note: property declared here
43 |
44 | /// The current playback state of the video player.
SwiftEmitModule normal arm64 Emitting\ module\ for\ SwiftUIBackgroundVideo (in target 'SwiftUIBackgroundVideo' from project 'SwiftUIBackgroundVideo')
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackgroundVideo/BackgroundVideoUIView.swift:80:30: error: 'AVPlayerLayer' is unavailable in watchOS
78 |
79 | /// The layer used to display video content.
80 | private var playerLayer: AVPlayerLayer?
| `- error: 'AVPlayerLayer' is unavailable in watchOS
81 |
82 | /// The looper that enables seamless video repetition.
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVPlayerLayer.h:48:12: note: 'AVPlayerLayer' has been explicitly marked unavailable here
46 | /// important into indepedently timed subtrees of their layer trees.
47 | API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos)
48 | @interface AVPlayerLayer : CALayer
| `- note: 'AVPlayerLayer' has been explicitly marked unavailable here
49 | {
50 | @private
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackgroundVideo/BackgroundVideoUIView.swift:83:31: error: 'AVPlayerLooper' is unavailable in watchOS
81 |
82 | /// The looper that enables seamless video repetition.
83 | private var playerLooper: AVPlayerLooper?
| `- error: 'AVPlayerLooper' is unavailable in watchOS
84 |
85 | /// The queue player that handles video playback.
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVPlayerLooper.h:91:12: note: 'AVPlayerLooper' has been explicitly marked unavailable here
89 | NS_SWIFT_SENDABLE
90 | API_AVAILABLE(macos(10.12), ios(10.0), tvos(10.0), visionos(1.0)) API_UNAVAILABLE(watchos)
91 | @interface AVPlayerLooper : NSObject
| `- note: 'AVPlayerLooper' has been explicitly marked unavailable here
92 | {
93 | @private
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackgroundVideo/BackgroundVideoUIView.swift:29:43: error: 'UIView' is unavailable in watchOS
27 | /// view.addSubview(videoView)
28 | /// ```
29 | public final class BackgroundVideoUIView: UIView {
| `- error: 'UIView' is unavailable in watchOS
30 | /// The name of the currently loaded video resource.
31 | ///
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackgroundVideo/BackgroundVideoView.swift:114:37: error: cannot find type 'Context' in scope
112 | /// - Parameter context: The context containing environment and coordinator info.
113 | /// - Returns: A configured ``BackgroundVideoUIView`` instance.
114 | public func makeUIView(context: Context) -> BackgroundVideoUIView {
| `- error: cannot find type 'Context' in scope
115 | let view = BackgroundVideoUIView()
116 | view.stateDidChange = { [weak coordinator = context.coordinator] state in
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackgroundVideo/BackgroundVideoView.swift:130:72: error: cannot find type 'Context' in scope
128 | /// - uiView: The underlying UIKit view to update.
129 | /// - context: The context containing environment and coordinator info.
130 | public func updateUIView(_ uiView: BackgroundVideoUIView, context: Context) {
| `- error: cannot find type 'Context' in scope
131 | context.coordinator.onStateChanged = onStateChanged
132 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackgroundVideo/BackgroundVideoView.swift:37:36: error: cannot find type 'UIViewRepresentable' in scope
35 | ///
36 | /// For UIKit applications, use ``BackgroundVideoUIView`` directly.
37 | public struct BackgroundVideoView: UIViewRepresentable {
| `- error: cannot find type 'UIViewRepresentable' in scope
38 | /// The name of the video file in the app bundle (without extension).
39 | let resourceName: String
Failed frontend command:
/Applications/Xcode-27.0.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/SwiftUIBackgroundVideo/BackgroundVideoUIView.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackgroundVideo/BackgroundVideoView.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackgroundVideo/VideoAssetCache.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackgroundVideo/VideoPlayerError.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackgroundVideo/VideoPlayerState.swift -target arm64-apple-watchos9.0 -disable-cross-import-overlay-search -load-resolved-plugin /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libFoundationMacros.dylib\#/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#FoundationMacros -load-resolved-plugin /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libObservationMacros.dylib\#/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#ObservationMacros -load-resolved-plugin /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libPreviewsMacros.dylib\#/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#PreviewsMacros -load-resolved-plugin /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libSwiftMacros.dylib\#/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#SwiftMacros -load-resolved-plugin /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libSwiftUIMacros.dylib\#/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#SwiftUIMacros -disable-implicit-swift-modules -Xcc -fno-implicit-modules -Xcc -fno-implicit-module-maps -explicit-swift-module-map-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUIBackgroundVideo.build/Debug-watchos/SwiftUIBackgroundVideo-t.build/Objects-normal/arm64/SwiftUIBackgroundVideo-dependencies-2.json -Xllvm -aarch64-use-tbi -enable-objc-interop -stack-check -sdk /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -Isystem /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/Developer/Library/Frameworks -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules -no-color-diagnostics -Xcc -fno-color-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -profile-generate -profile-coverage-mapping -swift-version 6 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -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 -enable-anonymous-context-mangled-names -file-compilation-dir /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos27.0-24R360-e829b21a6f8c9b70876ba0858053c044b9db9bc9c079ee3c7b5f3373b13d10bc.sdkstatcache -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUIBackgroundVideo.build/Debug-watchos/SwiftUIBackgroundVideo-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUIBackgroundVideo.build/Debug-watchos/SwiftUIBackgroundVideo-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUIBackgroundVideo.build/Debug-watchos/SwiftUIBackgroundVideo-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name SwiftUIBackgroundVideo -package-name spi_builder_workspace -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUIBackgroundVideo.build/Debug-watchos/SwiftUIBackgroundVideo-t.build/Objects-normal/arm64/SwiftUIBackgroundVideo_const_extract_protocols.json -disable-clang-spi -clang-target arm64-apple-watchos27.0 -target-sdk-version 27.0 -target-sdk-name watchos27.0 -in-process-plugin-server-path /Applications/Xcode-27.0.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/libSwiftInProcPluginServer.dylib -emit-module-doc-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUIBackgroundVideo.build/Debug-watchos/SwiftUIBackgroundVideo-t.build/Objects-normal/arm64/SwiftUIBackgroundVideo.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUIBackgroundVideo.build/Debug-watchos/SwiftUIBackgroundVideo-t.build/Objects-normal/arm64/SwiftUIBackgroundVideo.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUIBackgroundVideo.build/Debug-watchos/SwiftUIBackgroundVideo-t.build/Objects-normal/arm64/SwiftUIBackgroundVideo-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUIBackgroundVideo.build/Debug-watchos/SwiftUIBackgroundVideo-t.build/Objects-normal/arm64/SwiftUIBackgroundVideo-primary-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUIBackgroundVideo.build/Debug-watchos/SwiftUIBackgroundVideo-t.build/Objects-normal/arm64/SwiftUIBackgroundVideo-primary-emit-module.d -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUIBackgroundVideo.build/Debug-watchos/SwiftUIBackgroundVideo-t.build/Objects-normal/arm64/SwiftUIBackgroundVideo.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUIBackgroundVideo.build/Debug-watchos/SwiftUIBackgroundVideo-t.build/Objects-normal/arm64/SwiftUIBackgroundVideo.abi.json
SwiftCompile normal arm64 (in target 'SwiftUIBackgroundVideo' from project 'SwiftUIBackgroundVideo')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 Compiling\ BackgroundVideoUIView.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackgroundVideo/BackgroundVideoUIView.swift (in target 'SwiftUIBackgroundVideo' from project 'SwiftUIBackgroundVideo')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackgroundVideo/BackgroundVideoUIView.swift (in target 'SwiftUIBackgroundVideo' from project 'SwiftUIBackgroundVideo')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile BackgroundVideoUIView.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackgroundVideo/BackgroundVideoUIView.swift:80:30: error: 'AVPlayerLayer' is unavailable in watchOS
78 |
79 | /// The layer used to display video content.
80 | private var playerLayer: AVPlayerLayer?
| `- error: 'AVPlayerLayer' is unavailable in watchOS
81 |
82 | /// The looper that enables seamless video repetition.
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVPlayerLayer.h:48:12: note: 'AVPlayerLayer' has been explicitly marked unavailable here
46 | /// important into indepedently timed subtrees of their layer trees.
47 | API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos)
48 | @interface AVPlayerLayer : CALayer
| `- note: 'AVPlayerLayer' has been explicitly marked unavailable here
49 | {
50 | @private
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackgroundVideo/BackgroundVideoUIView.swift:83:31: error: 'AVPlayerLooper' is unavailable in watchOS
81 |
82 | /// The looper that enables seamless video repetition.
83 | private var playerLooper: AVPlayerLooper?
| `- error: 'AVPlayerLooper' is unavailable in watchOS
84 |
85 | /// The queue player that handles video playback.
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVPlayerLooper.h:91:12: note: 'AVPlayerLooper' has been explicitly marked unavailable here
89 | NS_SWIFT_SENDABLE
90 | API_AVAILABLE(macos(10.12), ios(10.0), tvos(10.0), visionos(1.0)) API_UNAVAILABLE(watchos)
91 | @interface AVPlayerLooper : NSObject
| `- note: 'AVPlayerLooper' has been explicitly marked unavailable here
92 | {
93 | @private
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackgroundVideo/BackgroundVideoUIView.swift:29:43: error: 'UIView' is unavailable in watchOS
27 | /// view.addSubview(videoView)
28 | /// ```
29 | public final class BackgroundVideoUIView: UIView {
| `- error: 'UIView' is unavailable in watchOS
30 | /// The name of the currently loaded video resource.
31 | ///
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackgroundVideo/BackgroundVideoUIView.swift:142:9: error: 'isAccessibilityElement' is unavailable in watchOS
140 | super.init(frame: frame)
141 |
142 | isAccessibilityElement = false
| `- error: 'isAccessibilityElement' is unavailable in watchOS
143 | accessibilityElementsHidden = true
144 |
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibility.h:52:28: note: 'isAccessibilityElement' has been explicitly marked unavailable here
50 | Setting the property to YES will cause the receiver to be visible to assistive applications.
51 | */
52 | @property (nonatomic) BOOL isAccessibilityElement API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR;
| `- note: 'isAccessibilityElement' has been explicitly marked unavailable here
53 |
54 | /*
SwiftCompile normal arm64 Compiling\ VideoAssetCache.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackgroundVideo/VideoAssetCache.swift (in target 'SwiftUIBackgroundVideo' from project 'SwiftUIBackgroundVideo')
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackgroundVideo/VideoAssetCache.swift:47:22: error: 'UIApplication' is unavailable in watchOS
45 |
46 | memoryWarningObserver = NotificationCenter.default.addObserver(
47 | forName: UIApplication.didReceiveMemoryWarningNotification,
| `- error: 'UIApplication' is unavailable in watchOS
48 | object: nil,
49 | queue: .main
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h:85:12: note: 'UIApplication' has been explicitly marked unavailable here
83 |
84 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
85 | @interface UIApplication : UIResponder
| `- note: 'UIApplication' has been explicitly marked unavailable here
86 |
87 | @property(class, nonatomic, readonly) UIApplication *sharedApplication NS_EXTENSION_UNAVAILABLE_IOS("Use view controller based solutions where appropriate instead.");
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackgroundVideo/VideoAssetCache.swift (in target 'SwiftUIBackgroundVideo' from project 'SwiftUIBackgroundVideo')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile VideoAssetCache.swift
SwiftCompile normal arm64 Compiling\ VideoPlayerError.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackgroundVideo/VideoPlayerError.swift (in target 'SwiftUIBackgroundVideo' from project 'SwiftUIBackgroundVideo')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackgroundVideo/VideoPlayerError.swift (in target 'SwiftUIBackgroundVideo' from project 'SwiftUIBackgroundVideo')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile VideoPlayerError.swift
SwiftCompile normal arm64 Compiling\ VideoPlayerState.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackgroundVideo/VideoPlayerState.swift (in target 'SwiftUIBackgroundVideo' from project 'SwiftUIBackgroundVideo')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackgroundVideo/VideoPlayerState.swift (in target 'SwiftUIBackgroundVideo' from project 'SwiftUIBackgroundVideo')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile VideoPlayerState.swift
SwiftEmitModule normal arm64_32 Emitting\ module\ for\ SwiftUIBackgroundVideo (in target 'SwiftUIBackgroundVideo' from project 'SwiftUIBackgroundVideo')
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackgroundVideo/BackgroundVideoUIView.swift:80:30: error: 'AVPlayerLayer' is unavailable in watchOS
78 |
79 | /// The layer used to display video content.
80 | private var playerLayer: AVPlayerLayer?
| `- error: 'AVPlayerLayer' is unavailable in watchOS
81 |
82 | /// The looper that enables seamless video repetition.
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVPlayerLayer.h:48:12: note: 'AVPlayerLayer' has been explicitly marked unavailable here
46 | /// important into indepedently timed subtrees of their layer trees.
47 | API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos)
48 | @interface AVPlayerLayer : CALayer
| `- note: 'AVPlayerLayer' has been explicitly marked unavailable here
49 | {
50 | @private
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackgroundVideo/BackgroundVideoUIView.swift:83:31: error: 'AVPlayerLooper' is unavailable in watchOS
81 |
82 | /// The looper that enables seamless video repetition.
83 | private var playerLooper: AVPlayerLooper?
| `- error: 'AVPlayerLooper' is unavailable in watchOS
84 |
85 | /// The queue player that handles video playback.
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVPlayerLooper.h:91:12: note: 'AVPlayerLooper' has been explicitly marked unavailable here
89 | NS_SWIFT_SENDABLE
90 | API_AVAILABLE(macos(10.12), ios(10.0), tvos(10.0), visionos(1.0)) API_UNAVAILABLE(watchos)
91 | @interface AVPlayerLooper : NSObject
| `- note: 'AVPlayerLooper' has been explicitly marked unavailable here
92 | {
93 | @private
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackgroundVideo/BackgroundVideoUIView.swift:29:43: error: 'UIView' is unavailable in watchOS
27 | /// view.addSubview(videoView)
28 | /// ```
29 | public final class BackgroundVideoUIView: UIView {
| `- error: 'UIView' is unavailable in watchOS
30 | /// The name of the currently loaded video resource.
31 | ///
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackgroundVideo/BackgroundVideoView.swift:114:37: error: cannot find type 'Context' in scope
112 | /// - Parameter context: The context containing environment and coordinator info.
113 | /// - Returns: A configured ``BackgroundVideoUIView`` instance.
114 | public func makeUIView(context: Context) -> BackgroundVideoUIView {
| `- error: cannot find type 'Context' in scope
115 | let view = BackgroundVideoUIView()
116 | view.stateDidChange = { [weak coordinator = context.coordinator] state in
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackgroundVideo/BackgroundVideoView.swift:130:72: error: cannot find type 'Context' in scope
128 | /// - uiView: The underlying UIKit view to update.
129 | /// - context: The context containing environment and coordinator info.
130 | public func updateUIView(_ uiView: BackgroundVideoUIView, context: Context) {
| `- error: cannot find type 'Context' in scope
131 | context.coordinator.onStateChanged = onStateChanged
132 |
SwiftCompile normal arm64_32 (in target 'SwiftUIBackgroundVideo' from project 'SwiftUIBackgroundVideo')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64_32 Compiling\ BackgroundVideoView.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackgroundVideo/BackgroundVideoView.swift (in target 'SwiftUIBackgroundVideo' from project 'SwiftUIBackgroundVideo')
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackgroundVideo/BackgroundVideoView.swift:114:37: error: cannot find type 'Context' in scope
112 | /// - Parameter context: The context containing environment and coordinator info.
113 | /// - Returns: A configured ``BackgroundVideoUIView`` instance.
114 | public func makeUIView(context: Context) -> BackgroundVideoUIView {
| `- error: cannot find type 'Context' in scope
115 | let view = BackgroundVideoUIView()
116 | view.stateDidChange = { [weak coordinator = context.coordinator] state in
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackgroundVideo/BackgroundVideoView.swift:130:72: error: cannot find type 'Context' in scope
128 | /// - uiView: The underlying UIKit view to update.
129 | /// - context: The context containing environment and coordinator info.
130 | public func updateUIView(_ uiView: BackgroundVideoUIView, context: Context) {
| `- error: cannot find type 'Context' in scope
131 | context.coordinator.onStateChanged = onStateChanged
132 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackgroundVideo/BackgroundVideoView.swift:37:36: error: cannot find type 'UIViewRepresentable' in scope
35 | ///
36 | /// For UIKit applications, use ``BackgroundVideoUIView`` directly.
37 | public struct BackgroundVideoView: UIViewRepresentable {
| `- error: cannot find type 'UIViewRepresentable' in scope
38 | /// The name of the video file in the app bundle (without extension).
39 | let resourceName: String
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackgroundVideo/BackgroundVideoView.swift:105:16: warning: main actor-isolated property 'stateDidChange' can not be mutated from a nonisolated context
102 | /// - uiView: The underlying UIKit view being dismantled.
103 | /// - coordinator: The coordinator managing state callbacks.
104 | public static func dismantleUIView(_ uiView: BackgroundVideoUIView, coordinator: Coordinator) {
| `- note: add '@MainActor' to make static method 'dismantleUIView(_:coordinator:)' part of global actor 'MainActor'
105 | uiView.stateDidChange = nil
| `- warning: main actor-isolated property 'stateDidChange' can not be mutated from a nonisolated context
106 | uiView.removeObservers()
107 | uiView.cleanupPlayer()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackgroundVideo/BackgroundVideoUIView.swift:77:9: note: mutation of this property is only permitted within the actor
75 | /// }
76 | /// ```
77 | var stateDidChange: ((VideoPlayerState) -> Void)?
| `- note: mutation of this property is only permitted within the actor
78 |
79 | /// The layer used to display video content.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackgroundVideo/BackgroundVideoView.swift:107:16: warning: call to main actor-isolated instance method 'cleanupPlayer()' in a synchronous nonisolated context [#ActorIsolatedCall]
102 | /// - uiView: The underlying UIKit view being dismantled.
103 | /// - coordinator: The coordinator managing state callbacks.
104 | public static func dismantleUIView(_ uiView: BackgroundVideoUIView, coordinator: Coordinator) {
| `- note: add '@MainActor' to make static method 'dismantleUIView(_:coordinator:)' part of global actor 'MainActor'
105 | uiView.stateDidChange = nil
106 | uiView.removeObservers()
107 | uiView.cleanupPlayer()
| `- warning: call to main actor-isolated instance method 'cleanupPlayer()' in a synchronous nonisolated context [#ActorIsolatedCall]
108 | }
109 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackgroundVideo/BackgroundVideoUIView.swift:180:10: note: calls to instance method 'cleanupPlayer()' from outside of its actor context are implicitly asynchronous
178 | /// After calling this method, you can start playback again by calling
179 | /// ``prepareAndPlayVideo(with:ofType:)``.
180 | func cleanupPlayer() {
| |- note: calls to instance method 'cleanupPlayer()' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'UIView'
181 | loadAssetTask?.cancel()
182 | loadAssetTask = nil
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackgroundVideo/BackgroundVideoView.swift:115:20: warning: call to main actor-isolated initializer 'init(frame:resourceName:resourceType:bundle:)' in a synchronous nonisolated context [#ActorIsolatedCall]
112 | /// - Parameter context: The context containing environment and coordinator info.
113 | /// - Returns: A configured ``BackgroundVideoUIView`` instance.
114 | public func makeUIView(context: Context) -> BackgroundVideoUIView {
| `- note: add '@MainActor' to make instance method 'makeUIView(context:)' part of global actor 'MainActor'
115 | let view = BackgroundVideoUIView()
| `- warning: call to main actor-isolated initializer 'init(frame:resourceName:resourceType:bundle:)' in a synchronous nonisolated context [#ActorIsolatedCall]
116 | view.stateDidChange = { [weak coordinator = context.coordinator] state in
117 | coordinator?.onStateChanged?(state)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackgroundVideo/BackgroundVideoUIView.swift:134:12: note: calls to initializer 'init(frame:resourceName:resourceType:bundle:)' from outside of its actor context are implicitly asynchronous
132 | /// - resourceType: The file extension of the video (e.g., "mp4").
133 | /// - bundle: The bundle containing the video resource. Defaults to `.main`.
134 | public init(
| |- note: calls to initializer 'init(frame:resourceName:resourceType:bundle:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'UIView'
135 | frame: CGRect = .zero,
136 | resourceName: String? = nil,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackgroundVideo/BackgroundVideoView.swift:133:19: warning: main actor-isolated property 'currentResourceName' can not be referenced from a nonisolated context
128 | /// - uiView: The underlying UIKit view to update.
129 | /// - context: The context containing environment and coordinator info.
130 | public func updateUIView(_ uiView: BackgroundVideoUIView, context: Context) {
| `- note: add '@MainActor' to make instance method 'updateUIView(_:context:)' part of global actor 'MainActor'
131 | context.coordinator.onStateChanged = onStateChanged
132 |
133 | if uiView.currentResourceName != resourceName ||
| `- warning: main actor-isolated property 'currentResourceName' can not be referenced from a nonisolated context
134 | uiView.currentResourceType != resourceType ||
135 | uiView.currentBundle != bundle {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackgroundVideo/BackgroundVideoUIView.swift:34:9: note: property declared here
32 | /// This value is updated when ``prepareAndPlayVideo(with:ofType:)`` is called
33 | /// and is used to avoid reloading the same video.
34 | var currentResourceName: String?
| `- note: property declared here
35 |
36 | /// The file extension of the currently loaded video resource.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackgroundVideo/BackgroundVideoView.swift:134:20: warning: main actor-isolated property 'currentResourceType' can not be referenced from a nonisolated autoclosure
132 |
133 | if uiView.currentResourceName != resourceName ||
134 | uiView.currentResourceType != resourceType ||
| `- warning: main actor-isolated property 'currentResourceType' can not be referenced from a nonisolated autoclosure
135 | uiView.currentBundle != bundle {
136 | uiView.prepareAndPlayVideo(with: resourceName, ofType: resourceType, bundle: bundle)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackgroundVideo/BackgroundVideoUIView.swift:39:9: note: property declared here
37 | ///
38 | /// Common values include "mp4", "mov", and "m4v".
39 | var currentResourceType: String?
| `- note: property declared here
40 |
41 | /// The bundle containing the currently loaded video resource.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackgroundVideo/BackgroundVideoView.swift:135:20: warning: main actor-isolated property 'currentBundle' can not be referenced from a nonisolated autoclosure
133 | if uiView.currentResourceName != resourceName ||
134 | uiView.currentResourceType != resourceType ||
135 | uiView.currentBundle != bundle {
| `- warning: main actor-isolated property 'currentBundle' can not be referenced from a nonisolated autoclosure
136 | uiView.prepareAndPlayVideo(with: resourceName, ofType: resourceType, bundle: bundle)
137 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackgroundVideo/BackgroundVideoUIView.swift:42:9: note: property declared here
40 |
41 | /// The bundle containing the currently loaded video resource.
42 | var currentBundle: Bundle?
| `- note: property declared here
43 |
44 | /// The current playback state of the video player.
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackgroundVideo/BackgroundVideoView.swift (in target 'SwiftUIBackgroundVideo' from project 'SwiftUIBackgroundVideo')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile BackgroundVideoView.swift
SwiftCompile normal arm64_32 Compiling\ VideoAssetCache.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackgroundVideo/VideoAssetCache.swift (in target 'SwiftUIBackgroundVideo' from project 'SwiftUIBackgroundVideo')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackgroundVideo/VideoAssetCache.swift (in target 'SwiftUIBackgroundVideo' from project 'SwiftUIBackgroundVideo')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile VideoAssetCache.swift
SwiftCompile normal arm64_32 Compiling\ VideoPlayerError.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackgroundVideo/VideoPlayerError.swift (in target 'SwiftUIBackgroundVideo' from project 'SwiftUIBackgroundVideo')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackgroundVideo/VideoPlayerError.swift (in target 'SwiftUIBackgroundVideo' from project 'SwiftUIBackgroundVideo')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile VideoPlayerError.swift
SwiftCompile normal arm64_32 Compiling\ VideoPlayerState.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackgroundVideo/VideoPlayerState.swift (in target 'SwiftUIBackgroundVideo' from project 'SwiftUIBackgroundVideo')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackgroundVideo/VideoPlayerState.swift (in target 'SwiftUIBackgroundVideo' from project 'SwiftUIBackgroundVideo')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile VideoPlayerState.swift
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules
2026-10-15 18:15:20.626 xcodebuild[810:4710] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
** BUILD FAILED **
The following build commands failed:
SwiftEmitModule normal arm64 Emitting\ module\ for\ SwiftUIBackgroundVideo (in target 'SwiftUIBackgroundVideo' from project 'SwiftUIBackgroundVideo')
SwiftCompile normal arm64 (in target 'SwiftUIBackgroundVideo' from project 'SwiftUIBackgroundVideo')
Building workspace SwiftUIBackgroundVideo with scheme SwiftUIBackgroundVideo
(3 failures)
BUILD FAILURE 6.4 watchOS