Build Information
Failed to build GrowingAPM with Swift 5.10 for Linux.
Build Command
bash -c docker run --rm -v "checkouts-4606859-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.29.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/growingio/growingio-sdk-ios-performance-ext.git
Reference: 1.0.1
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
* tag 1.0.1 -> FETCH_HEAD
HEAD is now at 89d0566 feat: add code signature for output xcframework
Cloned https://github.com/growingio/growingio-sdk-ios-performance-ext.git
Revision (git rev-parse @):
89d05663c31bd8a535405fb932fa1fde59f4d843
SUCCESS checkout https://github.com/growingio/growingio-sdk-ios-performance-ext.git at 1.0.1
========================================
Build
========================================
Selected platform: linux
Swift version: 5.10
Building package at path: $workDir
https://github.com/growingio/growingio-sdk-ios-performance-ext.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Fetching https://github.com/growingio/growingio-sdk-ios-utilities.git
[1/277] Fetching growingio-sdk-ios-utilities
Fetched https://github.com/growingio/growingio-sdk-ios-utilities.git from cache (0.22s)
Computing version for https://github.com/growingio/growingio-sdk-ios-utilities.git
Computed https://github.com/growingio/growingio-sdk-ios-utilities.git at 1.2.2 (0.38s)
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.2.2
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
[1/5] Compiling GrowingAPMCore GrowingAPMConfig.m
[1/5] Compiling GrowingAPMCrashMonitorWrapper resource_bundle_accessor.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/5] Compiling GrowingAPMCore GrowingAPM.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/GrowingAPMConfig.m:20:
/host/spi-builder-workspace/Core/GrowingAPMConfig.h:20:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/4] Compiling GrowingAPMCore GrowingAPMConfig.m
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 resource_bundle_accessor.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>
^~~~~~~~~~~~~~~~~~~~~~~~~
While building module 'GrowingUtilsTrackerCore' imported from /host/spi-builder-workspace/Core/GrowingAPM.m:27:
In file included from <module-includes>:1:
/host/spi-builder-workspace/.build/checkouts/growingio-sdk-ios-utilities/Sources/TrackerCore/include/GrowingTargetConditionals.h:20:9: fatal error: 'TargetConditionals.h' file not found
#import <TargetConditionals.h>
^~~~~~~~~~~~~~~~~~~~~~
[0/4] Compiling GrowingAPMCore GrowingAPM.m
BUILD FAILURE 5.10 linux