The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SwiftUIBackgroundVideo, reference 1.3.0 (c969d4), with Swift 6.0 for macOS (SPM) on 4 Mar 2026 08:21:19 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ivan-magda/swiftui-background-video.git
Reference: 1.3.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/ivan-magda/swiftui-background-video
 * tag               1.3.0      -> FETCH_HEAD
HEAD is now at c969d44 Refactors test suite organization and improves coverage
Cloned https://github.com/ivan-magda/swiftui-background-video.git
Revision (git rev-parse @):
c969d44cece60f22e4aa8602b63776dc5d1f7d57
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/ivan-magda/swiftui-background-video.git at 1.3.0
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/ivan-magda/swiftui-background-video.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-5BDAB9E9C0126B9D.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/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.
[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 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.
[6/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.
[7/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.
[8/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.
BUILD FAILURE 6.0 macosSpm