Build Information
Failed to build CenteredCollectionView with Swift 5.10 for macOS (SPM).
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun swift build --arch arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/BenEmdon/CenteredCollectionView.git
Reference: 2.2.2
Initialized empty Git repository in /Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-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
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies",
"dependencies": [
{
"identity": "centeredcollectionview",
"name": "CenteredCollectionView",
"url": "https://github.com/BenEmdon/CenteredCollectionView.git",
"version": "unspecified",
"path": "/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/CenteredCollectionView",
"dependencies": [
]
}
]
}
Fetching https://github.com/BenEmdon/CenteredCollectionView.git
[1/1338] Fetching centeredcollectionview
Fetched https://github.com/BenEmdon/CenteredCollectionView.git from cache (3.37s)
Creating working copy for https://github.com/BenEmdon/CenteredCollectionView.git
Working copy of https://github.com/BenEmdon/CenteredCollectionView.git resolved at 2.2.2 (f2bf371)
warning: '.resolve-product-dependencies': dependency 'centeredcollectionview' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 5.10
Building package at path: $workDir
https://github.com/BenEmdon/CenteredCollectionView.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-6044DDE57671499D.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/4] Emitting module CenteredCollectionView
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/CenteredCollectionView/Classes/CenteredCollectionViewFlowLayout.swift:9:8: error: no such module 'UIKit'
import UIKit
^
[4/4] Compiling CenteredCollectionView CenteredCollectionViewFlowLayout.swift
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/CenteredCollectionView/Classes/CenteredCollectionViewFlowLayout.swift:9:8: error: no such module 'UIKit'
import UIKit
^
error: fatalError
BUILD FAILURE 5.10 macosSpm