The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SmartDeviceLink with Swift 5.9 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.9-latest swift build 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.22.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/smartdevicelink/sdl_ios.git
Reference: 7.6.1
Cloned https://github.com/smartdevicelink/sdl_ios.git into spi-builder-workspace
SUCCESS checkout https://github.com/smartdevicelink/sdl_ios.git at 7.6.1
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.9
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.9-latest swift build 2>&1
Fetching https://github.com/smartdevicelink/bson_c_lib.git
[1/834] Fetching bson_c_lib
Fetched https://github.com/smartdevicelink/bson_c_lib.git (0.27s)
Computing version for https://github.com/smartdevicelink/bson_c_lib.git
Computed https://github.com/smartdevicelink/bson_c_lib.git at 1.2.5 (0.28s)
Creating working copy for https://github.com/smartdevicelink/bson_c_lib.git
Working copy of https://github.com/smartdevicelink/bson_c_lib.git resolved at 1.2.5
Building for debugging...
[0/576] Copying SDLLockScreen.strings
[0/576] Copying SDLLockScreen.storyboard
[0/576] Copying SDLLockScreen.strings
[1/576] Copying Info.plist
[2/576] Copying SDLLockScreen.strings
[8/576] Copying SDLAssets.xcassets
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/SmartDeviceLink.build/DerivedSources/resource_bundle_accessor.h:1:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[9/576] Compiling SmartDeviceLink resource_bundle_accessor.m
[9/576] Compiling SDLWiperStatus.m
[9/576] Compiling SDLWindowCapability.m
[9/576] Compiling SDLWindowType.m
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/SmartDeviceLink.build/DerivedSources/resource_bundle_accessor.h:1:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
[9/576] Compiling SDLWindowTypeCapabilities.m
[9/576] Compiling SDLWindowState.m
[9/576] Compiling SDLWindowStatus.m
BUILD FAILURE 5.9 linux

Build Machine: Linux 1