Build Information
Failed to build IGListKit with Swift 5.8 for macOS (SPM).
Build Command
env DEVELOPER_DIR=/Applications/Xcode-14.3.1.app xcrun swift build --arch arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.28.5
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/3a4oT/IGListKit.git
Reference: main
Initialized empty Git repository in /Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.git/
From https://github.com/3a4oT/IGListKit
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at ffd51e6 Enable using the invalidateLayout method in IGListCollectionViewLayout
Cloned https://github.com/3a4oT/IGListKit.git
Revision (git rev-parse @):
ffd51e6235c761b14c52ac657c69dd52ee7b321f
SUCCESS checkout https://github.com/3a4oT/IGListKit.git at main
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 5.8
Building package at path: $PWD/checkout
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-14.3.1.app xcrun swift build --arch arm64
Building for debugging...
In file included from /Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/spm/Sources/IGListKit/UIScrollView+IGListKit.m:8:
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/spm/Sources/IGListKit/UIScrollView+IGListKit.h:8:9: fatal error: 'UIKit/UIKit.h' file not found
#import <UIKit/UIKit.h>
^~~~~~~~~~~~~~~
1 error generated.
[0/45] Compiling IGListKit UIScrollView+IGListKit.m
In file included from /Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/spm/Sources/IGListKit/UICollectionView+IGListBatchUpdateData.m:8:
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/spm/Sources/IGListKit/UICollectionView+IGListBatchUpdateData.h:8:9: fatal error: 'UIKit/UIKit.h' file not found
#import <UIKit/UIKit.h>
^~~~~~~~~~~~~~~
[0/45] Compiling IGListKit UICollectionView+IGListBatchUpdateData.m
In file included from /Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/spm/Sources/IGListKit/UICollectionViewLayout+InteractiveReordering.m:8:
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/spm/Sources/IGListKit/UICollectionViewLayout+InteractiveReordering.h:8:9: fatal error: 'UIKit/UIKit.h' file not found
#import <UIKit/UIKit.h>
^~~~~~~~~~~~~~~
[0/45] Compiling IGListKit UICollectionViewLayout+InteractiveReordering.m
[0/1] Planning build
Building for debugging...
In file included from /Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/spm/Sources/IGListKit/UIScrollView+IGListKit.m:8:
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/spm/Sources/IGListKit/UIScrollView+IGListKit.h:8:9: fatal error: 'UIKit/UIKit.h' file not found
#import <UIKit/UIKit.h>
^~~~~~~~~~~~~~~
1 error generated.
[0/45] Compiling IGListKit UIScrollView+IGListKit.m
In file included from /Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/spm/Sources/IGListKit/UICollectionViewLayout+InteractiveReordering.m:8:
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/spm/Sources/IGListKit/UICollectionViewLayout+InteractiveReordering.h:8:9: fatal error: 'UIKit/UIKit.h' file not found
#import <UIKit/UIKit.h>
^~~~~~~~~~~~~~~
[0/45] Compiling IGListKit UICollectionViewLayout+InteractiveReordering.m
In file included from /Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/spm/Sources/IGListKit/UICollectionView+IGListBatchUpdateData.m:8:
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/spm/Sources/IGListKit/UICollectionView+IGListBatchUpdateData.h:8:9: fatal error: 'UIKit/UIKit.h' file not found
#import <UIKit/UIKit.h>
^~~~~~~~~~~~~~~
[0/45] Compiling IGListKit UICollectionView+IGListBatchUpdateData.m
BUILD FAILURE 5.8 macosSpm