Build Information
Failed to build GrowingAPM with Swift 5.9 for Linux.
Build Command
bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.28.9
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/growingio/growingio-sdk-ios-performance-ext.git
Reference: master
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
From https://github.com/growingio/growingio-sdk-ios-performance-ext
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at d0fcfab ci: update ci
Cloned https://github.com/growingio/growingio-sdk-ios-performance-ext.git
Revision (git rev-parse @):
d0fcfabd89c04a183804438d30a704735c067801
SUCCESS checkout https://github.com/growingio/growingio-sdk-ios-performance-ext.git at master
========================================
Build
========================================
Selected platform: linux
Swift version: 5.9
Building package at path: $workDir
https://github.com/growingio/growingio-sdk-ios-performance-ext.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1
Fetching https://github.com/growingio/growingio-sdk-ios-utilities.git
[1/208] Fetching growingio-sdk-ios-utilities
Fetched https://github.com/growingio/growingio-sdk-ios-utilities.git (0.27s)
Computing version for https://github.com/growingio/growingio-sdk-ios-utilities.git
Computed https://github.com/growingio/growingio-sdk-ios-utilities.git at 1.1.0 (0.41s)
Creating working copy for https://github.com/growingio/growingio-sdk-ios-utilities.git
Working copy of https://github.com/growingio/growingio-sdk-ios-utilities.git resolved at 1.1.0
Building for debugging...
[0/5] Copying PrivacyInfo.xcprivacy
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/GrowingAPMCrashMonitorWrapper.build/DerivedSources/resource_bundle_accessor.h:1:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[1/5] Compiling GrowingAPMCrashMonitorWrapper dummy.m
In file included from /host/spi-builder-workspace/Core/GrowingAPM.m:23:
/host/spi-builder-workspace/Core/GrowingAPM.h:20:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[1/5] Compiling GrowingAPMCore GrowingAPM.m
[1/5] Compiling GrowingAPMCrashMonitorWrapper resource_bundle_accessor.m
[1/5] Compiling GrowingAPMCore GrowingAPMConfig.m
[0/1] Planning build
Building for debugging...
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/GrowingAPMCrashMonitorWrapper.build/DerivedSources/resource_bundle_accessor.h:1:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/4] Compiling GrowingAPMCrashMonitorWrapper dummy.m
In file included from /host/spi-builder-workspace/Core/GrowingAPM.m:23:
/host/spi-builder-workspace/Core/GrowingAPM.h:20:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/4] Compiling GrowingAPMCore GrowingAPM.m
[0/4] Compiling GrowingAPMCrashMonitorWrapper resource_bundle_accessor.m
[0/4] Compiling GrowingAPMCore GrowingAPMConfig.m
BUILD FAILURE 5.9 linux