The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SwiftUIBackgroundVideo, reference 1.3.0 (c969d4), with Swift 6.1 for macOS (SPM) on 3 Mar 2026 23:46:33 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.3.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.1
Building package at path:  $PWD
https://github.com/ivan-magda/swiftui-background-video.git
https://github.com/ivan-magda/swiftui-background-video.git
{
  "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"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-2F0A5646E1D333AE.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 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.
[8/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.
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-2F0A5646E1D333AE.txt
[2/7] 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.
[3/7] 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/7] 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)
[5/7] 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.
[6/7] 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/7] 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.1 macosSpm