Build Information
Failed to build IGListKit, reference main (101665
), with Swift 6.0 for macOS (SPM) on 25 Jun 2025 06:46:12 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.64.0
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 101665d Adding missing NS_UNAVAILABLE NSCoder constructor declaration to IGListKit
Cloned https://github.com/Instagram/IGListKit.git
Revision (git rev-parse @):
101665de0992ecb773928f5858cd23c1f422c937
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/IGListCollectionViewLayoutInvalidationContext.m:8:
/Users/admin/builder/spi-builder-workspace/spm/Sources/IGListKit/include/IGListCollectionViewLayoutInvalidationContext.h:8:9: fatal error: 'UIKit/UIKit.h' file not found
8 | #import <UIKit/UIKit.h>
| ^~~~~~~~~~~~~~~
1 error generated.
[0/51] Compiling IGListKit IGListCollectionViewLayoutInvalidationContext.m
[0/51] Compiling IGListKit IGListDataSourceChangeTransaction.m
In file included from /Users/admin/builder/spi-builder-workspace/spm/Sources/IGListKit/IGListAdapter+UICollectionView.m:8:
/Users/admin/builder/spi-builder-workspace/spm/Sources/IGListKit/IGListAdapter+UICollectionView.h:8:9: fatal error: 'UIKit/UIKit.h' file not found
8 | #import <UIKit/UIKit.h>
| ^~~~~~~~~~~~~~~
[0/51] Compiling IGListKit IGListAdapter+UICollectionView.m
[0/51] Compiling IGListDiffKit IGListIndexSetResult.m
[0/51] Compiling IGListDiffKit NSString+IGListDiffable.m
[0/51] Compiling IGListDiffKit IGListIndexPathResult.m
[0/51] Compiling IGListDiffKit NSNumber+IGListDiffable.m
[0/51] Compiling IGListDiffKit IGListBatchUpdateData.mm
In file included from /Users/admin/builder/spi-builder-workspace/spm/Sources/IGListKit/IGListAdapter+DebugDescription.m:8:
In file included from /Users/admin/builder/spi-builder-workspace/spm/Sources/IGListKit/IGListAdapter+DebugDescription.h:8:
/Users/admin/builder/spi-builder-workspace/spm/Sources/IGListKit/include/IGListAdapter.h:8:9: fatal error: 'UIKit/UIKit.h' file not found
8 | #import <UIKit/UIKit.h>
| ^~~~~~~~~~~~~~~
[0/51] Compiling IGListDiffKit IGListDiff.mm
[0/51] Compiling IGListKit IGListAdapter+DebugDescription.m
BUILD FAILURE 6.0 macosSpm