Build Information
Failed to build Branch, reference 0.32.0 (bf5a70), with Swift 6.3 for Android on 20 Apr 2026 17:17:42 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:android-6.3-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/mihaelisaev/branch.io.spm.git
Reference: 0.32.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/mihaelisaev/branch.io.spm
* tag 0.32.0 -> FETCH_HEAD
HEAD is now at bf5a705 Trying to reach headers
Cloned https://github.com/mihaelisaev/branch.io.spm.git
Revision (git rev-parse @):
bf5a70522bcf709dab6376eeede86845e8196f21
SUCCESS checkout https://github.com/mihaelisaev/branch.io.spm.git at 0.32.0
========================================
Build
========================================
Selected platform: android
Swift version: 6.3
Building package at path: $PWD
https://github.com/mihaelisaev/branch.io.spm.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:android-6.3-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:9008270ea37a55e78725e6225015adb5eff8582da520c5232bf0499f32c36dc4
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:android-6.3-latest
Building for debugging...
In file included from /host/spi-builder-workspace/Sources/NSString+Branch.m:11:
/host/spi-builder-workspace/Sources/include/NSString+Branch.h:14:9: fatal error: 'Foundation/Foundation.h' file not found
14 | #import <Foundation/Foundation.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/74] Compiling Branch NSString+Branch.m
In file included from /host/spi-builder-workspace/Sources/BNCCommerceEvent.m:9:
In file included from /host/spi-builder-workspace/Sources/include/BNCCommerceEvent.h:9:
In file included from /host/spi-builder-workspace/Sources/include/BNCServerRequest.h:9:
In file included from /host/spi-builder-workspace/Sources/include/BNCServerInterface.h:9:
/host/spi-builder-workspace/Sources/include/BNCServerResponse.h:12:9: fatal error: 'Foundation/Foundation.h' file not found
12 | #import <Foundation/Foundation.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/74] Compiling Branch BNCCommerceEvent.m
[0/74] Compiling Branch NSMutableDictionary+Branch.m
In file included from /host/spi-builder-workspace/Sources/BNCCallbackMap.m:9:
/host/spi-builder-workspace/Sources/include/BNCCallbackMap.h:9:9: fatal error: 'Foundation/Foundation.h' file not found
9 | #import <Foundation/Foundation.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/74] Compiling Branch BNCCallbackMap.m
In file included from /host/spi-builder-workspace/Sources/BNCApplication.m:11:
/host/spi-builder-workspace/Sources/include/BNCApplication.h:14:9: fatal error: 'Foundation/Foundation.h' file not found
14 | #import <Foundation/Foundation.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/74] Compiling Branch BNCApplication.m
[0/74] Compiling Branch NSError+Branch.m
[0/74] Compiling Branch UIViewController+Branch.m
In file included from /host/spi-builder-workspace/Sources/BNCAvailability.m:9:
/host/spi-builder-workspace/Sources/include/BNCAvailability.h:12:9: fatal error: 'Foundation/Foundation.h' file not found
12 | #import <Foundation/Foundation.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/74] Compiling Branch BNCAvailability.m
BUILD FAILURE 6.3 android