The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Branch, reference 1.5.0 (061c8d), with Swift 6.3 for Android on 14 Apr 2026 14:49:25 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/BranchMetrics/mac-branch-deep-linking.git
Reference: 1.5.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/BranchMetrics/mac-branch-deep-linking
 * tag               1.5.0      -> FETCH_HEAD
HEAD is now at 061c8d2 Release 1.5.0 (#44)
Cloned https://github.com/BranchMetrics/mac-branch-deep-linking.git
Revision (git rev-parse @):
061c8d2b857967a533bf27f72d7152b7bfcf8c90
SUCCESS checkout https://github.com/BranchMetrics/mac-branch-deep-linking.git at 1.5.0
========================================
Build
========================================
Selected platform:         android
Swift version:             6.3
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-4606859-2":/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/Branch/BNCUserAgentCollector.m:9:
/host/spi-builder-workspace/Branch/BNCUserAgentCollector.h:9:1: error: use of '@import' when modules are disabled
    9 | @import Foundation;
      | ^
/host/spi-builder-workspace/Branch/BNCUserAgentCollector.h:11:1: error: unknown type name 'NS_ASSUME_NONNULL_BEGIN'
   11 | NS_ASSUME_NONNULL_BEGIN
      | ^
/host/spi-builder-workspace/Branch/BNCUserAgentCollector.h:13:36: error: cannot find interface declaration for 'NSObject', superclass of 'BNCUserAgentCollector'
   13 | @interface BNCUserAgentCollector : NSObject
      | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~   ^
/host/spi-builder-workspace/Branch/BNCUserAgentCollector.h:17:40: error: unknown type name 'NSString'
   17 | @property (nonatomic, copy, readwrite) NSString *userAgent;
      |                                        ^
/host/spi-builder-workspace/Branch/BNCUserAgentCollector.h:17:1: error: property with 'copy' attribute must be of object type
   17 | @property (nonatomic, copy, readwrite) NSString *userAgent;
      | ^
/host/spi-builder-workspace/Branch/BNCUserAgentCollector.h:19:47: error: unknown type name 'NSString'
   19 | - (void)loadUserAgentWithCompletion:(void (^)(NSString * _Nullable userAgent))completion;
      |                                               ^
/host/spi-builder-workspace/Branch/BNCUserAgentCollector.h:15:26: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
   15 | + (BNCUserAgentCollector *)instance;
      |                          ^
/host/spi-builder-workspace/Branch/BNCUserAgentCollector.h:15:26: note: insert '_Nullable' if the pointer may be null
   15 | + (BNCUserAgentCollector *)instance;
      |                          ^
      |                           _Nullable
/host/spi-builder-workspace/Branch/BNCUserAgentCollector.h:15:26: note: insert '_Nonnull' if the pointer should never be null
   15 | + (BNCUserAgentCollector *)instance;
      |                          ^
      |                           _Nonnull
/host/spi-builder-workspace/Branch/BNCUserAgentCollector.h:19:44: warning: block pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
   19 | - (void)loadUserAgentWithCompletion:(void (^)(NSString * _Nullable userAgent))completion;
      |                                            ^
/host/spi-builder-workspace/Branch/BNCUserAgentCollector.h:19:44: note: insert '_Nullable' if the block pointer may be null
   19 | - (void)loadUserAgentWithCompletion:(void (^)(NSString * _Nullable userAgent))completion;
      |                                            ^
      |                                             _Nullable
/host/spi-builder-workspace/Branch/BNCUserAgentCollector.h:19:44: note: insert '_Nonnull' if the block pointer should never be null
   19 | - (void)loadUserAgentWithCompletion:(void (^)(NSString * _Nullable userAgent))completion;
      |                                            ^
      |                                             _Nonnull
In file included from /host/spi-builder-workspace/Branch/BNCUserAgentCollector.m:10:
In file included from /host/spi-builder-workspace/Branch/BNCDevice.h:11:
/host/spi-builder-workspace/Branch/BranchHeader.h:17:9: fatal error: 'Foundation/Foundation.h' file not found
   17 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
2 warnings and 7 errors generated.
[0/30] Compiling Branch BNCUserAgentCollector.m
In file included from /host/spi-builder-workspace/Branch/BNCDevice.m:11:
In file included from /host/spi-builder-workspace/Branch/BNCDevice.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 BNCDevice.m
In file included from /host/spi-builder-workspace/Branch/NSString+Branch.m:11:
In file included from /host/spi-builder-workspace/Branch/NSString+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>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/30] Compiling Branch NSString+Branch.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>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/30] Compiling Branch BNCURLBlackList.m
In file included from /host/spi-builder-workspace/Branch/NSData+Branch.m:11:
/host/spi-builder-workspace/Branch/NSData+Branch.h:11:9: fatal error: 'Foundation/Foundation.h' file not found
   11 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[0/30] Compiling Branch NSData+Branch.m
In file included from /host/spi-builder-workspace/Branch/BNCEncoder.m:11:
/host/spi-builder-workspace/Branch/BNCEncoder.h:11:9: fatal error: 'Foundation/Foundation.h' file not found
   11 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/30] Compiling Branch BNCEncoder.m
In file included from /host/spi-builder-workspace/Branch/BNCLog.m:11:
In file included from /host/spi-builder-workspace/Branch/BNCLog.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 BNCLog.m
In file included from /host/spi-builder-workspace/Branch/BranchUniversalObject.m:11:
In file included from /host/spi-builder-workspace/Branch/BranchUniversalObject.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 BranchUniversalObject.m
BUILD FAILURE 6.3 android