The Swift Package Index logo.Swift Package Index

Build Information

Failed to build AppCenter with Swift 5.7 for Linux.

Build Command

docker run --rm -v "checkouts-4609320-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/microsoft/appcenter-sdk-apple.git
Reference: 5.0.4
Cloned https://github.com/microsoft/appcenter-sdk-apple.git into spi-builder-workspace
SUCCESS checkout https://github.com/microsoft/appcenter-sdk-apple.git at 5.0.4
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.7
Building package at path:  spi-builder-workspace
Running build ...
docker run --rm -v "checkouts-4609320-1":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.7-latest swift build 2>&1
Fetching https://github.com/microsoft/PLCrashReporter.git
[1/16052] Fetching plcrashreporter
Fetched https://github.com/microsoft/PLCrashReporter.git (2.46s)
Computing version for https://github.com/microsoft/PLCrashReporter.git
Computed https://github.com/microsoft/PLCrashReporter.git at 1.11.1 (0.31s)
Creating working copy for https://github.com/microsoft/PLCrashReporter.git
Working copy of https://github.com/microsoft/PLCrashReporter.git resolved at 1.11.1
Building for debugging...
[0/136] Copying AppCenterDistribute.strings
[14/136] Copying Info.plist
In file included from /host/spi-builder-workspace/AppCenter/AppCenter/Internals/Context/Device/MSACDeviceHistoryInfo.m:4:
In file included from /host/spi-builder-workspace/AppCenter/AppCenter/Internals/Context/Device/MSACDeviceHistoryInfo.h:4:
/host/spi-builder-workspace/AppCenter/AppCenter/Internals/Util/MSACHistoryInfo.h:4:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[15/136] Compiling MSACDeviceHistoryInfo.m
[15/136] Compiling MSACWrapperCrashesHelper.m
In file included from /host/spi-builder-workspace/AppCenter/AppCenter/Internals/Channel/MSACChannelUnitConfiguration.m:4:
In file included from /host/spi-builder-workspace/AppCenter/AppCenter/Internals/Channel/MSACChannelUnitConfiguration.h:4:
/host/spi-builder-workspace/AppCenter/AppCenter/Internals/Util/MSACConstants+Internal.h:4:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[15/136] Compiling MSACChannelUnitConfiguration.m
[15/136] Compiling MSACOneCollectorChannelDelegate.m
[15/136] Compiling MSACSessionContext.m
[15/136] Compiling MSACDeviceTracker.m
In file included from /host/spi-builder-workspace/AppCenter/AppCenter/Internals/Channel/MSACChannelUnitDefault.m:4:
/host/spi-builder-workspace/AppCenter/AppCenter/Internals/Channel/MSACChannelUnitDefault.h:4:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
[15/136] Compiling MSACChannelUnitDefault.m
In file included from /host/spi-builder-workspace/AppCenter/AppCenter/Internals/Channel/MSACChannelGroupDefault.m:4:
/host/spi-builder-workspace/AppCenter/AppCenter/Internals/Channel/MSACChannelGroupDefault.h:4:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
[15/136] Compiling MSACChannelGroupDefault.m
BUILD FAILURE 5.7 linux

Build Machine: Linux 2