The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build AppMetricaPush, reference 3.1.0 (bca050), with Swift 6.2 (beta) for Android on 24 Jun 2025 02:48:26 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/appmetrica/push-sdk-ios.git
Reference: 3.1.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/push-sdk-ios
 * tag               3.1.0      -> FETCH_HEAD
HEAD is now at bca0509 set deployment target to 13 commit_hash:2eceeee3e018d20667052b6e5c0856096f9c511f
Cloned https://github.com/appmetrica/push-sdk-ios.git
Revision (git rev-parse @):
bca0509fe9723549230d824b3f5b7452a05aafef
SUCCESS checkout https://github.com/appmetrica/push-sdk-ios.git at 3.1.0
========================================
Build
========================================
Selected platform:         android
Swift version:             6.2
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-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:b7c4a6b4153ff40ef9277e2157e708f835b8eb011095d53bd8db4594eb2b7798
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.2-latest
Fetching https://github.com/appmetrica/appmetrica-sdk-ios
Fetching https://github.com/appmetrica/Kiwi
[1/6786] Fetching appmetrica-sdk-ios
[2377/12601] Fetching appmetrica-sdk-ios, kiwi
Fetched https://github.com/appmetrica/Kiwi from cache (0.58s)
Fetched https://github.com/appmetrica/appmetrica-sdk-ios from cache (0.58s)
Computing version for https://github.com/appmetrica/appmetrica-sdk-ios
Computed https://github.com/appmetrica/appmetrica-sdk-ios at 5.11.1 (1.68s)
Fetching https://github.com/kstenerud/KSCrash
[1/16284] Fetching kscrash
Fetched https://github.com/kstenerud/KSCrash from cache (1.25s)
Computing version for https://github.com/kstenerud/KSCrash
Computed https://github.com/kstenerud/KSCrash at 2.0.0 (1.79s)
Computing version for https://github.com/appmetrica/Kiwi
Computed https://github.com/appmetrica/Kiwi at 3.0.1-spm (1.07s)
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/appmetrica/appmetrica-sdk-ios
Working copy of https://github.com/appmetrica/appmetrica-sdk-ios resolved at 5.11.1
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 '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/48] Copying PrivacyInfo.xcprivacy
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/aarch64-unknown-linux-android28/debug/AppMetricaPushLazy.build/DerivedSources/resource_bundle_accessor.h:2:9: fatal error: 'Foundation/Foundation.h' file not found
    2 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[2/48] Compiling AppMetricaPushLazy resource_bundle_accessor.m
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/aarch64-unknown-linux-android28/debug/AppMetricaPushLazy.build/DerivedSources/resource_bundle_accessor.h:2:9: fatal error: 'Foundation/Foundation.h' file not found
    2 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[2/48] Compiling AppMetricaPushLazy AMPLocationProvider.m
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/aarch64-unknown-linux-android28/debug/AppMetricaPushLazy.build/DerivedSources/resource_bundle_accessor.h:2:9: fatal error: 'Foundation/Foundation.h' file not found
    2 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[2/48] Compiling AppMetricaPushLazy AMPLocationUtils.m
[2/48] Compiling AppMetricaPushLazy AMPLazyNetworkHelper.m
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/aarch64-unknown-linux-android28/debug/AppMetricaPushLazy.build/DerivedSources/resource_bundle_accessor.h:2:9: fatal error: 'Foundation/Foundation.h' file not found
    2 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[2/48] Compiling AppMetricaPushLazy AMPLazyPayloadDefaultsHelper.m
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/aarch64-unknown-linux-android28/debug/AppMetricaPushLazy.build/DerivedSources/resource_bundle_accessor.h:2:9: fatal error: 'Foundation/Foundation.h' file not found
    2 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[2/48] Compiling AppMetricaPushLazy AMPLazyPushProcessor.m
[2/48] Compiling AppMetricaPushLazy AMPLazyNotificationContentMerger.m
[2/48] Compiling AppMetricaPush resource_bundle_accessor.m
BUILD FAILURE 6.2 android