The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build IGListKit, reference main (700905), with Swift 6.0 for macOS (SPM) on 8 Sep 2025 11:25:57 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.67.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Instagram/IGListKit.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/Instagram/IGListKit
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 700905e Disable cache invaldation when the collection view perform an insertion of a new page to the list
Cloned https://github.com/Instagram/IGListKit.git
Revision (git rev-parse @):
700905e628bf56abebce5bbdb0698ecade3c9842
SUCCESS checkout https://github.com/Instagram/IGListKit.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/Instagram/IGListKit.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64
Building for debugging...
In file included from /Users/admin/builder/spi-builder-workspace/spm/Sources/IGListKit/UIViewController+IGListAdapter.m:8:
/Users/admin/builder/spi-builder-workspace/spm/Sources/IGListKit/include/UIViewController+IGListAdapter.h:8:9: fatal error: 'UIKit/UIKit.h' file not found
    8 | #import <UIKit/UIKit.h>
      |         ^~~~~~~~~~~~~~~
1 error generated.
[0/51] Compiling IGListKit UIViewController+IGListAdapter.m
In file included from /Users/admin/builder/spi-builder-workspace/spm/Sources/IGListKit/UICollectionViewLayout+InteractiveReordering.m:8:
/Users/admin/builder/spi-builder-workspace/spm/Sources/IGListKit/UICollectionViewLayout+InteractiveReordering.h:8:9: fatal error: 'UIKit/UIKit.h' file not found
    8 | #import <UIKit/UIKit.h>
      |         ^~~~~~~~~~~~~~~
[0/51] Compiling IGListKit IGListBatchUpdateTransaction.m
[0/51] Compiling IGListKit UICollectionViewLayout+InteractiveReordering.m
[0/51] Compiling IGListDiffKit IGListIndexPathResult.m
[0/51] Compiling IGListDiffKit IGListIndexSetResult.m
[0/51] Compiling IGListKit IGListBindingSectionController.m
[0/51] Compiling IGListKit IGListBindingSectionController+DebugDescription.m
In file included from /Users/admin/builder/spi-builder-workspace/spm/Sources/IGListKit/IGListCollectionView.m:8:
/Users/admin/builder/spi-builder-workspace/spm/Sources/IGListKit/include/IGListCollectionView.h:8:9: fatal error: 'UIKit/UIKit.h' file not found
    8 | #import <UIKit/UIKit.h>
      |         ^~~~~~~~~~~~~~~
[0/51] Compiling IGListKit IGListCollectionView.m
In file included from /Users/admin/builder/spi-builder-workspace/spm/Sources/IGListKit/IGListBindingSingleSectionController.m:8:
/Users/admin/builder/spi-builder-workspace/spm/Sources/IGListKit/include/IGListBindingSingleSectionController.h:8:9: fatal error: 'UIKit/UIKit.h' file not found
    8 | #import <UIKit/UIKit.h>
      |         ^~~~~~~~~~~~~~~
[0/51] Compiling IGListKit IGListBindingSingleSectionController.m
In file included from /Users/admin/builder/spi-builder-workspace/spm/Sources/IGListKit/IGListCollectionViewLayout.mm:8:
/Users/admin/builder/spi-builder-workspace/spm/Sources/IGListKit/include/IGListCollectionViewLayout.h:8:9: fatal error: 'UIKit/UIKit.h' file not found
    8 | #import <UIKit/UIKit.h>
      |         ^~~~~~~~~~~~~~~
[0/51] Compiling IGListKit IGListCollectionViewLayout.mm
BUILD FAILURE 6.0 macosSpm