Build Information
Failed to build AppMetricaPush, reference 2.2.1 (dd19a0
), with Swift 5.8 for Linux on 1 Nov 2024 17:19:44 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.8-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/appmetrica/push-sdk-ios.git
Reference: 2.2.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/appmetrica/push-sdk-ios
* tag 2.2.1 -> FETCH_HEAD
HEAD is now at dd19a09 Intermediate changes commit_hash:07b7d60672f4ae596822c7a9d4782133ec570558
Cloned https://github.com/appmetrica/push-sdk-ios.git
Revision (git rev-parse @):
dd19a09fb5d3a40f6b708a2505200974ad87c084
SUCCESS checkout https://github.com/appmetrica/push-sdk-ios.git at 2.2.1
========================================
Build
========================================
Selected platform: linux
Swift version: 5.8
Building package at path: $PWD
https://github.com/appmetrica/push-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.8-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-5.8-latest: Pulling from finestructure/spi-images
Digest: sha256:d566266dd4ad92a164016b2b7f1872d3752585be93b4a9fa631006f2c48d84d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.8-latest
Fetching https://github.com/appmetrica/Kiwi
Fetching https://github.com/appmetrica/appmetrica-sdk-ios
[1/5815] Fetching kiwi
[2/11476] Fetching kiwi, appmetrica-sdk-ios
Fetched https://github.com/appmetrica/appmetrica-sdk-ios (0.72s)
Fetched https://github.com/appmetrica/Kiwi (0.72s)
Computing version for https://github.com/appmetrica/Kiwi
Computed https://github.com/appmetrica/Kiwi at 3.0.1-spm (0.38s)
Computing version for https://github.com/appmetrica/appmetrica-sdk-ios
Computed https://github.com/appmetrica/appmetrica-sdk-ios at 5.8.2 (0.54s)
Fetching https://github.com/kstenerud/KSCrash
[1/15258] Fetching kscrash
Fetched https://github.com/kstenerud/KSCrash (0.92s)
Computing version for https://github.com/kstenerud/KSCrash
Computed https://github.com/kstenerud/KSCrash at 2.0.0-rc.5 (0.39s)
Creating working copy for https://github.com/appmetrica/appmetrica-sdk-ios
Working copy of https://github.com/appmetrica/appmetrica-sdk-ios resolved at 5.8.2
Creating working copy for https://github.com/kstenerud/KSCrash
Working copy of https://github.com/kstenerud/KSCrash resolved at 2.0.0-rc.5
Creating working copy for https://github.com/appmetrica/Kiwi
Working copy of https://github.com/appmetrica/Kiwi resolved at 3.0.1-spm
warning: 'spi-builder-workspace': ignoring target 'AppMetricaPushTests' in package 'spi-builder-workspace'; C language in tests is not yet supported
warning: 'spi-builder-workspace': ignoring target 'AppMetricaPushLazyTests' in package 'spi-builder-workspace'; C language in tests is not yet supported
Building for debugging...
[0/49] Copying PrivacyInfo.xcprivacy
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/AppMetricaPush.build/DerivedSources/resource_bundle_accessor.h:1:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/AppMetricaPush.build/DerivedSources/resource_bundle_accessor.h:1:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[2/49] Compiling AppMetricaPush AMPTokenEventValueSerializer.m
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/AppMetricaPush.build/DerivedSources/resource_bundle_accessor.h:1:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[2/49] Compiling AppMetricaPush resource_bundle_accessor.m
[2/49] Compiling AppMetricaPush AMPTrackingDeduplicationController.m
[2/49] Compiling AppMetricaPush AMPUserNotificationCenterController.m
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/AppMetricaPush.build/DerivedSources/resource_bundle_accessor.h:1:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/AppMetricaPush.build/DerivedSources/resource_bundle_accessor.h:1:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[2/49] Compiling NSURL+EncodingCharactersInit.m
[2/49] Compiling AppMetricaPush AMPUserNotificationCenterHandler.m
[2/49] Compiling AMPLazyPushProvider.m
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/AppMetricaPush.build/DerivedSources/resource_bundle_accessor.h:1:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[2/49] Compiling AppMetricaPush AMPTokenEventModelProvider.m
BUILD FAILURE 5.8 linux