The Swift Package Index logo.Swift Package Index

Build Information

Failed to build CollectionViewCenteredFlowLayout, reference main (fe9008), with Swift 6.2 for macOS (SPM) on 20 Jun 2025 08:53:28 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/Coeur/CollectionViewCenteredFlowLayout.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/Coeur/CollectionViewCenteredFlowLayout
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at fe9008e Updating min iOS to 12.0
Cloned https://github.com/Coeur/CollectionViewCenteredFlowLayout.git
Revision (git rev-parse @):
fe9008e2fda06bc0af2fe8ec9d78a5d0dcac2b8f
SUCCESS checkout https://github.com/Coeur/CollectionViewCenteredFlowLayout.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/Coeur/CollectionViewCenteredFlowLayout.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] Compiling CollectionViewCenteredFlowLayout CollectionViewCenteredFlowLayout.swift
/Users/admin/builder/spi-builder-workspace/CollectionViewCenteredFlowLayout/CollectionViewCenteredFlowLayout.swift:20:8: error: no such module 'UIKit'
 18 | // CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 19 |
 20 | import UIKit
    |        `- error: no such module 'UIKit'
 21 |
 22 | /**
[4/4] Emitting module CollectionViewCenteredFlowLayout
/Users/admin/builder/spi-builder-workspace/CollectionViewCenteredFlowLayout/CollectionViewCenteredFlowLayout.swift:20:8: error: no such module 'UIKit'
 18 | // CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 19 |
 20 | import UIKit
    |        `- error: no such module 'UIKit'
 21 |
 22 | /**
BUILD FAILURE 6.2 macosSpm