The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SwiftUIBackgroundVideo, reference main (ae391b), with Swift 6.2 for macOS (SPM) on 12 Jul 2026 10:52:33 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-26.3.0.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: undefined version: run 'make version' to update
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 ae391b7 Bump actions/checkout from 6 to 7 (#5)
Cloned https://github.com/ivan-magda/swiftui-background-video.git
Revision (git rev-parse @):
ae391b7710752264660d77e6cf53d68ff0cadc89
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/ivan-magda/swiftui-background-video.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/ivan-magda/swiftui-background-video.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.3.0.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--3CB7CFEC50E0D141.txt
[3/8] Compiling SwiftUIBackgroundVideo VideoPlayerState.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackgroundVideo/BackgroundVideoUIView.swift:2:8: error: no such module 'UIKit'
  1 | @preconcurrency import AVFoundation
  2 | import UIKit
    |        `- error: no such module 'UIKit'
  3 |
  4 | /// A UIKit view that displays a seamlessly looping background video.
[4/8] Compiling SwiftUIBackgroundVideo VideoPlayerError.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackgroundVideo/BackgroundVideoUIView.swift:2:8: error: no such module 'UIKit'
  1 | @preconcurrency import AVFoundation
  2 | import UIKit
    |        `- error: no such module 'UIKit'
  3 |
  4 | /// A UIKit view that displays a seamlessly looping background video.
[5/8] Compiling SwiftUIBackgroundVideo VideoAssetCache.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackgroundVideo/BackgroundVideoUIView.swift:2:8: error: no such module 'UIKit'
  1 | @preconcurrency import AVFoundation
  2 | import UIKit
    |        `- error: no such module 'UIKit'
  3 |
  4 | /// A UIKit view that displays a seamlessly looping background video.
error: emit-module command failed with exit code 1 (use -v to see invocation)
[6/8] Emitting module SwiftUIBackgroundVideo
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackgroundVideo/BackgroundVideoUIView.swift:2:8: error: no such module 'UIKit'
  1 | @preconcurrency import AVFoundation
  2 | import UIKit
    |        `- error: no such module 'UIKit'
  3 |
  4 | /// A UIKit view that displays a seamlessly looping background video.
[7/8] Compiling SwiftUIBackgroundVideo BackgroundVideoView.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackgroundVideo/BackgroundVideoUIView.swift:2:8: error: no such module 'UIKit'
  1 | @preconcurrency import AVFoundation
  2 | import UIKit
    |        `- error: no such module 'UIKit'
  3 |
  4 | /// A UIKit view that displays a seamlessly looping background video.
[8/8] Compiling SwiftUIBackgroundVideo BackgroundVideoUIView.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIBackgroundVideo/BackgroundVideoUIView.swift:2:8: error: no such module 'UIKit'
  1 | @preconcurrency import AVFoundation
  2 | import UIKit
    |        `- error: no such module 'UIKit'
  3 |
  4 | /// A UIKit view that displays a seamlessly looping background video.
BUILD FAILURE 6.2 macosSpm