Build Information
Failed to build AppMetrica, reference 5.10.0 (c8cefd
), with Swift 5.10 for Linux on 21 Apr 2025 15:24:54 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.60.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/appmetrica/appmetrica-sdk-ios.git
Reference: 5.10.0
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/appmetrica/appmetrica-sdk-ios
* tag 5.10.0 -> FETCH_HEAD
HEAD is now at c8cefdc Refactor data migration tests commit_hash:3e576cfe107b3883346a92aec5f382e7d99032dc
Cloned https://github.com/appmetrica/appmetrica-sdk-ios.git
Revision (git rev-parse @):
c8cefdc11a7715e3752b6b63d5d7c7b5d5b200f0
SUCCESS checkout https://github.com/appmetrica/appmetrica-sdk-ios.git at 5.10.0
========================================
Build
========================================
Selected platform: linux
Swift version: 5.10
Building package at path: $PWD
https://github.com/appmetrica/appmetrica-sdk-ios.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-5.10-latest: Pulling from finestructure/spi-images
Digest: sha256:616ef225d0085997f26355ad9695b1159b91f6187a43f9ff135cb59d096bc97d
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.10-latest
Fetching https://github.com/kstenerud/KSCrash
Fetching https://github.com/appmetrica/Kiwi
[1/5815] Fetching kiwi
[5816/21728] Fetching kiwi, kscrash
Fetched https://github.com/appmetrica/Kiwi from cache (0.86s)
Fetched https://github.com/kstenerud/KSCrash from cache (0.87s)
Computing version for https://github.com/kstenerud/KSCrash
Computed https://github.com/kstenerud/KSCrash at 2.0.0 (0.96s)
Computing version for https://github.com/appmetrica/Kiwi
Computed https://github.com/appmetrica/Kiwi at 3.0.1-spm (0.38s)
Creating working copy for https://github.com/appmetrica/Kiwi
Working copy of https://github.com/appmetrica/Kiwi resolved at 3.0.1-spm
Creating working copy for https://github.com/kstenerud/KSCrash
Working copy of https://github.com/kstenerud/KSCrash resolved at 2.0.0
warning: 'spi-builder-workspace': ignoring target 'AppMetricaWebKitTests' in package 'spi-builder-workspace'; C language in tests is not yet supported
warning: 'spi-builder-workspace': ignoring target 'AppMetricaStorageUtilsTests' in package 'spi-builder-workspace'; C language in tests is not yet supported
warning: 'spi-builder-workspace': ignoring target 'AppMetricaScreenshotTests' in package 'spi-builder-workspace'; C language in tests is not yet supported
warning: 'spi-builder-workspace': ignoring target 'AppMetricaProtobufUtilsTests' in package 'spi-builder-workspace'; C language in tests is not yet supported
warning: 'spi-builder-workspace': ignoring target 'AppMetricaPlatformTests' in package 'spi-builder-workspace'; C language in tests is not yet supported
warning: 'spi-builder-workspace': ignoring target 'AppMetricaNetworkTests' in package 'spi-builder-workspace'; C language in tests is not yet supported
warning: 'spi-builder-workspace': ignoring target 'AppMetricaLogTests' in package 'spi-builder-workspace'; C language in tests is not yet supported
warning: 'spi-builder-workspace': ignoring target 'AppMetricaKeychainTests' in package 'spi-builder-workspace'; C language in tests is not yet supported
warning: 'spi-builder-workspace': ignoring target 'AppMetricaHostStateTests' in package 'spi-builder-workspace'; C language in tests is not yet supported
warning: 'spi-builder-workspace': ignoring target 'AppMetricaEncodingUtilsTests' in package 'spi-builder-workspace'; C language in tests is not yet supported
warning: 'spi-builder-workspace': ignoring target 'AppMetricaCrashesTests' in package 'spi-builder-workspace'; C language in tests is not yet supported
warning: 'spi-builder-workspace': ignoring target 'AppMetricaCoreUtilsTests' in package 'spi-builder-workspace'; C language in tests is not yet supported
warning: 'spi-builder-workspace': ignoring target 'AppMetricaCoreTests' in package 'spi-builder-workspace'; C language in tests is not yet supported
warning: 'spi-builder-workspace': ignoring target 'AppMetricaAdSupportTests' in package 'spi-builder-workspace'; C language in tests is not yet supported
Building for debugging...
[0/604] Copying PrivacyInfo.xcprivacy
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/AppMetricaWebKit.build/DerivedSources/resource_bundle_accessor.h:1:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[21/604] Compiling AppMetricaWebKit resource_bundle_accessor.m
In file included from /host/spi-builder-workspace/AppMetricaTestUtils/Sources/AMAUserDefaultsMock.m:2:
In file included from /host/spi-builder-workspace/AppMetricaTestUtils/Sources/include/AppMetricaTestUtils/AppMetricaTestUtils.h:3:
/host/spi-builder-workspace/AppMetricaTestUtils/Sources/include/AppMetricaTestUtils/AMADateProviderMock.h:1:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
^~~~~~~~~~~~~~~~~~~~~~~~~
[21/604] Compiling AppMetricaTestUtils AMAUserDefaultsMock.m
[21/604] Compiling AppMetricaTestUtils AMATestUtilities.m
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/AppMetricaWebKit.build/DerivedSources/resource_bundle_accessor.h:1:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
^~~~~~~~~~~~~~~~~~~~~~~~~
While building module 'AppMetricaCore' imported from /host/spi-builder-workspace/AppMetricaWebKit/Sources/include/AppMetricaWebKit/AMAJSController.h:5:
In file included from <module-includes>:1:
In file included from /host/spi-builder-workspace/AppMetricaCore/Sources/include/AppMetricaCore/AppMetricaCore.h:3:
/host/spi-builder-workspace/AppMetricaCore/Sources/include/AppMetricaCore/AMAAdRevenueInfo.h:2:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
^~~~~~~~~~~~~~~~~~~~~~~~~
[21/604] Compiling AppMetricaWebKit AMAJSController.m
In file included from /host/spi-builder-workspace/AppMetricaTestUtils/Sources/NSObject+Swizzling.m:2:
In file included from /host/spi-builder-workspace/AppMetricaTestUtils/Sources/include/AppMetricaTestUtils/AppMetricaTestUtils.h:3:
/host/spi-builder-workspace/AppMetricaTestUtils/Sources/include/AppMetricaTestUtils/AMADateProviderMock.h:1:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
^~~~~~~~~~~~~~~~~~~~~~~~~
[21/604] Compiling AppMetricaTestUtils NSObject+Swizzling.m
In file included from /host/spi-builder-workspace/AppMetricaTestUtils/Sources/CLLocation+TestUtilities.m:2:
In file included from /host/spi-builder-workspace/AppMetricaTestUtils/Sources/include/AppMetricaTestUtils/AppMetricaTestUtils.h:3:
/host/spi-builder-workspace/AppMetricaTestUtils/Sources/include/AppMetricaTestUtils/AMADateProviderMock.h:1:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
^~~~~~~~~~~~~~~~~~~~~~~~~
[21/604] Compiling AppMetricaTestUtils CLLocation+TestUtilities.m
In file included from /host/spi-builder-workspace/AppMetricaTestUtils/Sources/AMATestURLProtocol.m:2:
In file included from /host/spi-builder-workspace/AppMetricaTestUtils/Sources/include/AppMetricaTestUtils/AppMetricaTestUtils.h:3:
/host/spi-builder-workspace/AppMetricaTestUtils/Sources/include/AppMetricaTestUtils/AMADateProviderMock.h:1:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
^~~~~~~~~~~~~~~~~~~~~~~~~
[21/604] Compiling AppMetricaTestUtils AMATestURLProtocol.m
[21/604] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 5.10 linux