The Swift Package Index logo.Swift Package Index

Build Information

Failed to build CenteredCollectionView, reference 2.2.2 (f2bf37), with Swift 6.2 for macOS (SPM) on 17 Jun 2025 17:11:01 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/BenEmdon/CenteredCollectionView.git
Reference: 2.2.2
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/BenEmdon/CenteredCollectionView
 * tag               2.2.2      -> FETCH_HEAD
HEAD is now at f2bf371 Merge pull request #60 from BenEmdon/bump_version
Cloned https://github.com/BenEmdon/CenteredCollectionView.git
Revision (git rev-parse @):
f2bf371dae314b46f1bc03c222861c9fc40fff32
SUCCESS checkout https://github.com/BenEmdon/CenteredCollectionView.git at 2.2.2
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/BenEmdon/CenteredCollectionView.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-1EA4D86E10B52AF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/4] Emitting module CenteredCollectionView
/Users/admin/builder/spi-builder-workspace/CenteredCollectionView/Classes/CenteredCollectionViewFlowLayout.swift:9:8: error: no such module 'UIKit'
  7 | //
  8 |
  9 | import UIKit
    |        `- error: no such module 'UIKit'
 10 |
 11 | public extension UICollectionView {
[4/4] Compiling CenteredCollectionView CenteredCollectionViewFlowLayout.swift
/Users/admin/builder/spi-builder-workspace/CenteredCollectionView/Classes/CenteredCollectionViewFlowLayout.swift:9:8: error: no such module 'UIKit'
  7 | //
  8 |
  9 | import UIKit
    |        `- error: no such module 'UIKit'
 10 |
 11 | public extension UICollectionView {
BUILD FAILURE 6.2 macosSpm