Build Information
Failed to build Branch, reference master (c1e36a), with Swift 6.2 for Android on 12 Aug 2026 04:42:25 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344849-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.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1Build Log
========================================
RunAll
========================================
Builder version: 729ceb5fcd9493dc13ee340bc4f0908bd201f85d
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/BranchMetrics/mac-branch-deep-linking.git
Reference: master
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/mac-branch-deep-linking
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at c1e36a5 Merge pull request #46 from BranchMetrics/chore/add-codeowners
Cloned https://github.com/BranchMetrics/mac-branch-deep-linking.git
Revision (git rev-parse @):
c1e36a561ba771ec3fb83e858561d32aee9e7f0d
SUCCESS checkout https://github.com/BranchMetrics/mac-branch-deep-linking.git at master
========================================
Build
========================================
Selected platform: android
Swift version: 6.2
Building package at path: $PWD
https://github.com/BranchMetrics/mac-branch-deep-linking.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344849-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.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.2-latest: Pulling from saguaro1/spi-images
Digest: sha256:573917aa137cc6f081a4f3d2a0330bac24553e9cd713cd758adf65046f5c6b90
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:android-6.2-latest
Building for debugging...
In file included from /host/spi-builder-workspace/Branch/BranchDelegate.m:11:
In file included from /host/spi-builder-workspace/Branch/BranchDelegate.h:11:
/host/spi-builder-workspace/Branch/BranchHeader.h:17:9: fatal error: 'Foundation/Foundation.h' file not found
17 | #import <Foundation/Foundation.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/30] Compiling Branch BranchDelegate.m
In file included from /host/spi-builder-workspace/Branch/BranchError.m:11:
In file included from /host/spi-builder-workspace/Branch/BranchError.h:11:
/host/spi-builder-workspace/Branch/BranchHeader.h:17:9: fatal error: 'Foundation/Foundation.h' file not found
17 | #import <Foundation/Foundation.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/30] Compiling Branch BranchError.m
In file included from /host/spi-builder-workspace/Branch/BNCWireFormat.m:11:
In file included from /host/spi-builder-workspace/Branch/BNCWireFormat.h:11:
/host/spi-builder-workspace/Branch/BranchHeader.h:17:9: fatal error: 'Foundation/Foundation.h' file not found
17 | #import <Foundation/Foundation.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/30] Compiling Branch BNCWireFormat.m
In file included from /host/spi-builder-workspace/Branch/Branch.m:11:
In file included from /host/spi-builder-workspace/Branch/Branch.h:11:
/host/spi-builder-workspace/Branch/BranchHeader.h:17:9: fatal error: 'Foundation/Foundation.h' file not found
17 | #import <Foundation/Foundation.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~
[0/30] Compiling Branch Branch.m
In file included from /host/spi-builder-workspace/Branch/BNCThreads.m:11:
In file included from /host/spi-builder-workspace/Branch/BNCThreads.h:11:
/host/spi-builder-workspace/Branch/BranchHeader.h:17:9: fatal error: 'Foundation/Foundation.h' file not found
17 | #import <Foundation/Foundation.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/30] Compiling Branch BNCThreads.m
In file included from /host/spi-builder-workspace/Branch/BNCURLBlackList.m:11:
In file included from /host/spi-builder-workspace/Branch/BNCURLBlackList.h:11:
/host/spi-builder-workspace/Branch/BranchHeader.h:17:9: fatal error: 'Foundation/Foundation.h' file not found
17 | #import <Foundation/Foundation.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~
[0/30] Compiling Branch BNCURLBlackList.m
In file included from /host/spi-builder-workspace/Branch/BNCUserAgentCollector.m:9:
/host/spi-builder-workspace/Branch/BNCUserAgentCollector.h:9:1: error: use of '@import' when modules are disabled
9 | @import Foundation;
| ^
In file included from /host/spi-builder-workspace/Branch/BranchEvent.m:11:
In file included from /host/spi-builder-workspace/Branch/BranchEvent.h:11:
/host/spi-builder-workspace/Branch/BranchHeader.h:17:9: fatal error: 'Foundation/Foundation.h' file not found
17 | #import <Foundation/Foundation.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~
[0/30] Compiling Branch BNCUserAgentCollector.m
[0/30] Compiling Branch BranchEvent.m
BUILD FAILURE 6.2 android