Build Information
Failed to build BranchSDK, reference 3.14.2 (ec34dd), with Swift 6.1 for Android on 17 Jul 2026 11:30:31 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344844-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1Build Log
========================================
RunAll
========================================
Builder version: 333316120c8b89ed7d21f1b34865290794301d91
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/BranchMetrics/ios-branch-sdk-spm.git
Reference: 3.14.2
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/BranchMetrics/ios-branch-sdk-spm
* tag 3.14.2 -> FETCH_HEAD
HEAD is now at ec34dd7 Release 3.14.2 Updates
Cloned https://github.com/BranchMetrics/ios-branch-sdk-spm.git
Revision (git rev-parse @):
ec34dd77d08cb8ae017def1e66b4bf59a62a5bce
SUCCESS checkout https://github.com/BranchMetrics/ios-branch-sdk-spm.git at 3.14.2
========================================
Build
========================================
Selected platform: android
Swift version: 6.1
Building package at path: $PWD
https://github.com/BranchMetrics/ios-branch-sdk-spm.git
https://github.com/BranchMetrics/ios-branch-sdk-spm.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344844-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
android-6.1-latest: Pulling from saguaro1/spi-images
Digest: sha256:365d9b14669f92fea0572234887def10439445c91d7e524c78a6579ad7294f11
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:android-6.1-latest
Building for debugging...
[0/74] Copying PrivacyInfo.xcprivacy
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/aarch64-unknown-linux-android24/debug/BranchSDK.build/DerivedSources/resource_bundle_accessor.h:2:9: fatal error: 'Foundation/Foundation.h' file not found
2 | #import <Foundation/Foundation.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[1/74] Compiling NSMutableDictionary+Branch.m
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/aarch64-unknown-linux-android24/debug/BranchSDK.build/DerivedSources/resource_bundle_accessor.h:2:9: fatal error: 'Foundation/Foundation.h' file not found
2 | #import <Foundation/Foundation.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[1/74] Compiling BranchSDK resource_bundle_accessor.m
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/aarch64-unknown-linux-android24/debug/BranchSDK.build/DerivedSources/resource_bundle_accessor.h:2:9: fatal error: 'Foundation/Foundation.h' file not found
2 | #import <Foundation/Foundation.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[1/74] Compiling UIViewController+Branch.m
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/aarch64-unknown-linux-android24/debug/BranchSDK.build/DerivedSources/resource_bundle_accessor.h:2:9: fatal error: 'Foundation/Foundation.h' file not found
2 | #import <Foundation/Foundation.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~
[1/74] Compiling BranchShortUrlSyncRequest.m
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/aarch64-unknown-linux-android24/debug/BranchSDK.build/DerivedSources/resource_bundle_accessor.h:2:9: fatal error: 'Foundation/Foundation.h' file not found
2 | #import <Foundation/Foundation.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~
[1/74] Compiling BranchSpotlightUrlRequest.m
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/aarch64-unknown-linux-android24/debug/BranchSDK.build/DerivedSources/resource_bundle_accessor.h:2:9: fatal error: 'Foundation/Foundation.h' file not found
2 | #import <Foundation/Foundation.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/aarch64-unknown-linux-android24/debug/BranchSDK.build/DerivedSources/resource_bundle_accessor.h:2:9: fatal error: 'Foundation/Foundation.h' file not found
2 | #import <Foundation/Foundation.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[1/74] Compiling NSString+Branch.m
[1/74] Compiling NSError+Branch.m
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/aarch64-unknown-linux-android24/debug/BranchSDK.build/DerivedSources/resource_bundle_accessor.h:2:9: fatal error: 'Foundation/Foundation.h' file not found
2 | #import <Foundation/Foundation.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~
[1/74] Compiling BranchUniversalObject.m
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344844-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from saguaro1/spi-images
Digest: sha256:365d9b14669f92fea0572234887def10439445c91d7e524c78a6579ad7294f11
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:android-6.1-latest
[0/1] Planning build
Building for debugging...
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/aarch64-unknown-linux-android24/debug/BranchSDK.build/DerivedSources/resource_bundle_accessor.h:2:9: fatal error: 'Foundation/Foundation.h' file not found
2 | #import <Foundation/Foundation.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/aarch64-unknown-linux-android24/debug/BranchSDK.build/DerivedSources/resource_bundle_accessor.h:2:9: fatal error: 'Foundation/Foundation.h' file not found
2 | #import <Foundation/Foundation.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/73] Compiling NSString+Branch.m
[0/73] Compiling BranchSDK resource_bundle_accessor.m
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/aarch64-unknown-linux-android24/debug/BranchSDK.build/DerivedSources/resource_bundle_accessor.h:2:9: fatal error: 'Foundation/Foundation.h' file not found
2 | #import <Foundation/Foundation.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/73] Compiling NSMutableDictionary+Branch.m
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/aarch64-unknown-linux-android24/debug/BranchSDK.build/DerivedSources/resource_bundle_accessor.h:2:9: fatal error: 'Foundation/Foundation.h' file not found
2 | #import <Foundation/Foundation.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/73] Compiling NSError+Branch.m
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/aarch64-unknown-linux-android24/debug/BranchSDK.build/DerivedSources/resource_bundle_accessor.h:2:9: fatal error: 'Foundation/Foundation.h' file not found
2 | #import <Foundation/Foundation.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/73] Compiling UIViewController+Branch.m
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/aarch64-unknown-linux-android24/debug/BranchSDK.build/DerivedSources/resource_bundle_accessor.h:2:9: fatal error: 'Foundation/Foundation.h' file not found
2 | #import <Foundation/Foundation.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~
[0/73] Compiling BranchShortUrlSyncRequest.m
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/aarch64-unknown-linux-android24/debug/BranchSDK.build/DerivedSources/resource_bundle_accessor.h:2:9: fatal error: 'Foundation/Foundation.h' file not found
2 | #import <Foundation/Foundation.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~
[0/73] Compiling BranchUniversalObject.m
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/aarch64-unknown-linux-android24/debug/BranchSDK.build/DerivedSources/resource_bundle_accessor.h:2:9: fatal error: 'Foundation/Foundation.h' file not found
2 | #import <Foundation/Foundation.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~
[0/73] Compiling BranchSpotlightUrlRequest.m
BUILD FAILURE 6.1 android