The Swift Package Index logo.Swift Package Index

Build Information

Failed to build FSCalendar with Swift 5.7 for Linux.

Build Command

docker run --rm -v "checkouts-4606859-1":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.7-latest swift build 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.21.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/WenchaoD/FSCalendar.git
Reference: 2.8.4
Cloned https://github.com/WenchaoD/FSCalendar.git into spi-builder-workspace
SUCCESS checkout https://github.com/WenchaoD/FSCalendar.git at 2.8.4
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.7
Building package at path:  spi-builder-workspace
Running build ...
docker run --rm -v "checkouts-4606859-1":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.7-latest swift build 2>&1
Building for debugging...
In file included from /host/spi-builder-workspace/FSCalendar/FSCalendarCell.m:9:
/host/spi-builder-workspace/FSCalendar/FSCalendarCell.h:9:9: fatal error: 'UIKit/UIKit.h' file not found
#import <UIKit/UIKit.h>
        ^~~~~~~~~~~~~~~
1 error generated.
In file included from /host/spi-builder-workspace/FSCalendar/FSCalendarAppearance.m:11:
In file included from /host/spi-builder-workspace/FSCalendar/FSCalendarAppearance.h:11:
/host/spi-builder-workspace/FSCalendar/include/FSCalendarConstants.h:11:9: fatal error: 'UIKit/UIKit.h' file not found
#import <UIKit/UIKit.h>
        ^~~~~~~~~~~~~~~
1 error generated.
[0/15] Compiling FSCalendar FSCalendarAppearance.m
[0/15] Compiling FSCalendar FSCalendarCell.m
In file included from /host/spi-builder-workspace/FSCalendar/FSCalendarConstants.m:11:
/host/spi-builder-workspace/FSCalendar/FSCalendarConstants.h:11:9: fatal error: 'UIKit/UIKit.h' file not found
#import <UIKit/UIKit.h>
        ^~~~~~~~~~~~~~~
1 error generated.
[0/15] Compiling FSCalendar FSCalendarConstants.m
In file included from /host/spi-builder-workspace/FSCalendar/FSCalendarCollectionView.m:11:
/host/spi-builder-workspace/FSCalendar/FSCalendarCollectionView.h:9:9: fatal error: 'UIKit/UIKit.h' file not found
#import <UIKit/UIKit.h>
        ^~~~~~~~~~~~~~~
1 error generated.
[0/15] Compiling FSCalendar FSCalendarCollectionView.m
In file included from /host/spi-builder-workspace/FSCalendar/FSCalendarCollectionViewLayout.m:9:
/host/spi-builder-workspace/FSCalendar/FSCalendarCollectionViewLayout.h:9:9: fatal error: 'UIKit/UIKit.h' file not found
#import <UIKit/UIKit.h>
        ^~~~~~~~~~~~~~~
1 error generated.
[0/15] Compiling FSCalendar FSCalendarCollectionViewLayout.m
In file included from /host/spi-builder-workspace/FSCalendar/FSCalendarCalculator.m:9:
/host/spi-builder-workspace/FSCalendar/FSCalendar.h:18:9: fatal error: 'UIKit/UIKit.h' file not found
#import <UIKit/UIKit.h>
        ^~~~~~~~~~~~~~~
1 error generated.
[0/15] Compiling FSCalendar FSCalendarCalculator.m
In file included from /host/spi-builder-workspace/FSCalendar/FSCalendarDelegationFactory.m:9:
/host/spi-builder-workspace/FSCalendar/FSCalendarDelegationFactory.h:9:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/15] Compiling FSCalendar FSCalendarDelegationFactory.m
In file included from /host/spi-builder-workspace/FSCalendar/FSCalendar.m:9:
/host/spi-builder-workspace/FSCalendar/FSCalendar.h:18:9: fatal error: 'UIKit/UIKit.h' file not found
#import <UIKit/UIKit.h>
        ^~~~~~~~~~~~~~~
[0/15] Compiling FSCalendar FSCalendar.m
BUILD FAILURE 5.7 linux

Build Machine: Linux 1