The Swift Package Index logo.Swift Package Index

Build Information

Failed to build PureLayout 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.22.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/PureLayout/PureLayout.git
Reference: v3.1.9
Cloned https://github.com/PureLayout/PureLayout.git into spi-builder-workspace
SUCCESS checkout https://github.com/PureLayout/PureLayout.git at v3.1.9
========================================
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/PureLayout/PureLayout/NSArray+PureLayout.m:29:
In file included from /host/spi-builder-workspace/PureLayout/PureLayout/include/NSArray+PureLayout.h:29:
/host/spi-builder-workspace/PureLayout/PureLayout/include/PureLayoutDefines.h:31:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/3] Compiling PureLayout NSArray+PureLayout.m
In file included from /host/spi-builder-workspace/PureLayout/PureLayout/ALView+PureLayout.m:29:
In file included from /host/spi-builder-workspace/PureLayout/PureLayout/include/ALView+PureLayout.h:29:
/host/spi-builder-workspace/PureLayout/PureLayout/include/PureLayoutDefines.h:31:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/3] Compiling PureLayout ALView+PureLayout.m
In file included from /host/spi-builder-workspace/PureLayout/PureLayout/NSLayoutConstraint+PureLayout.m:28:
In file included from /host/spi-builder-workspace/PureLayout/PureLayout/include/NSLayoutConstraint+PureLayout.h:28:
/host/spi-builder-workspace/PureLayout/PureLayout/include/PureLayoutDefines.h:31:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/3] Compiling PureLayout NSLayoutConstraint+PureLayout.m
BUILD FAILURE 5.7 linux

Build Machine: Linux 1