Build Information
Failed to build IGListKit with Swift 5.9 for macOS (SPM).
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.2.0.app xcrun swift build --arch arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.38.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Instagram/IGListKit.git
Reference: 5.0.0
Initialized empty Git repository in /Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.git/
From https://github.com/Instagram/IGListKit
* tag 5.0.0 -> FETCH_HEAD
HEAD is now at baf38ea Bump library version to 5.0.0
Cloned https://github.com/Instagram/IGListKit.git
Revision (git rev-parse @):
baf38ea4d438ef3cc6c6deb8615e1910e03f02bb
SUCCESS checkout https://github.com/Instagram/IGListKit.git at 5.0.0
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 5.9
Building package at path: $workDir
https://github.com/Instagram/IGListKit.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.2.0.app xcrun swift build --arch arm64
Building for debugging...
In file included from /Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/spm/Sources/IGListKit/UIScrollView+IGListKit.m:8:
/Users/builder/builds/UKfvDsi8u/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/43] Compiling IGListKit UIScrollView+IGListKit.m
In file included from /Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/spm/Sources/IGListKit/UICollectionView+DebugDescription.m:8:
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/spm/Sources/IGListKit/UICollectionView+DebugDescription.h:8:9: fatal error: 'UIKit/UIKit.h' file not found
#import <UIKit/UIKit.h>
^~~~~~~~~~~~~~~
[0/43] Compiling IGListKit UICollectionView+DebugDescription.m
[0/43] Compiling IGListDiffKit NSString+IGListDiffable.m
[0/43] Compiling IGListDiffKit IGListIndexPathResult.m
In file included from /Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/spm/Sources/IGListKit/IGListAdapter+DebugDescription.m:8:
In file included from /Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/spm/Sources/IGListKit/IGListAdapter+DebugDescription.h:8:
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/spm/Sources/IGListKit/include/IGListAdapter.h:8:9: fatal error: 'UIKit/UIKit.h' file not found
#import <UIKit/UIKit.h>
^~~~~~~~~~~~~~~
[0/43] Compiling IGListKit IGListAdapter+DebugDescription.m
[0/43] Compiling IGListDiffKit NSNumber+IGListDiffable.m
In file included from /Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/spm/Sources/IGListKit/IGListAdapter.m:8:
In file included from /Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/spm/Sources/IGListKit/IGListAdapterInternal.h:8:
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/spm/Sources/IGListKit/include/IGListAdapter.h:8:9: fatal error: 'UIKit/UIKit.h' file not found
#import <UIKit/UIKit.h>
^~~~~~~~~~~~~~~
[0/43] Compiling IGListKit IGListAdapter.m
In file included from /Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/spm/Sources/IGListKit/IGListAdapter+UICollectionView.m:8:
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/spm/Sources/IGListKit/IGListAdapter+UICollectionView.h:8:9: fatal error: 'UIKit/UIKit.h' file not found
#import <UIKit/UIKit.h>
^~~~~~~~~~~~~~~
[0/43] Compiling IGListKit IGListAdapter+UICollectionView.m
BUILD FAILURE 5.9 macosSpm