The Swift Package Index logo.Swift Package Index

Build Information

Failed to build TikTokBusinessSDK, reference 1.7.2 (2a3a35), with Swift 6.2 for Android on 28 Aug 2026 11:51:23 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 5.0.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/tiktok/tiktok-business-ios-sdk.git
Reference: 1.7.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/tiktok/tiktok-business-ios-sdk
 * tag               1.7.2      -> FETCH_HEAD
HEAD is now at 2a3a355 Version bumped to 1.7.2
Cloned https://github.com/tiktok/tiktok-business-ios-sdk.git
Revision (git rev-parse @):
2a3a35560c2c0547f74869c58160946e29c0932c
SUCCESS checkout https://github.com/tiktok/tiktok-business-ios-sdk.git at 1.7.2
========================================
Build
========================================
Selected platform:         android
Swift version:             6.2
Building package at path:  $PWD
https://github.com/tiktok/tiktok-business-ios-sdk.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344847-1":/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
warning: 'spi-builder-workspace': ignoring target 'TikTokBusinessSDKTestsAppEvents' in package 'spi-builder-workspace'; C language in tests is not yet supported
Building for debugging...
In file included from /host/spi-builder-workspace/TikTokBusinessSDK/Core/Storage/TikTokBaseEventPersistence.m:9:
/host/spi-builder-workspace/TikTokBusinessSDK/Core/Storage/TikTokBaseEventPersistence.h:9:9: fatal error: 'Foundation/Foundation.h' file not found
    9 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/118] Compiling TikTokBaseEventPersistence.m
In file included from /host/spi-builder-workspace/TikTokBusinessSDK/Core/AppEvents/TikTokAppEventUtility.m:8:
/host/spi-builder-workspace/TikTokBusinessSDK/Core/AppEvents/TikTokAppEventUtility.h:8:9: fatal error: 'Foundation/Foundation.h' file not found
    8 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/118] Compiling TikTokAppEventUtility.m
In file included from /host/spi-builder-workspace/TikTokBusinessSDK/Core/Storage/TikTokSKANEventPersistence.m:9:
/host/spi-builder-workspace/TikTokBusinessSDK/Core/Storage/TikTokSKANEventPersistence.h:9:9: fatal error: 'Foundation/Foundation.h' file not found
    9 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/118] Compiling TikTokSKANEventPersistence.m
In file included from /host/spi-builder-workspace/TikTokBusinessSDK/Core/AppEvents/TikTokAppEvent.m:8:
/host/spi-builder-workspace/TikTokBusinessSDK/Core/AppEvents/TikTokAppEvent.h:8:9: fatal error: 'Foundation/Foundation.h' file not found
    8 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[0/118] Compiling TikTokAppEvent.m
In file included from /host/spi-builder-workspace/TikTokBusinessSDK/Core/TTSDKAddress/TikTokBusinessSDKAddress.m:9:
/host/spi-builder-workspace/TikTokBusinessSDK/Core/TTSDKAddress/TikTokBusinessSDKAddress.h:9:9: fatal error: 'Foundation/Foundation.h' file not found
    9 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/118] Compiling TikTokBusinessSDKAddress.m
In file included from /host/spi-builder-workspace/TikTokBusinessSDK/Core/Storage/TikTokDatabase.m:9:
/host/spi-builder-workspace/TikTokBusinessSDK/Core/Storage/TikTokDatabase.h:9:9: fatal error: 'Foundation/Foundation.h' file not found
    9 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[0/118] Compiling TikTokDatabase.m
/host/spi-builder-workspace/TikTokBusinessSDK/Core/TTSDKCrash/TTSDKCrashRecording/TTSDKCrashCachedData.c:29:10: fatal error: 'mach/mach.h' file not found
   29 | #include <mach/mach.h>
      |          ^~~~~~~~~~~~~
[0/118] Compiling TTSDKCrashCachedData.c
In file included from /host/spi-builder-workspace/TikTokBusinessSDK/Core/TikTokIdentifyUtility.m:8:
/host/spi-builder-workspace/TikTokBusinessSDK/Core/TikTokIdentifyUtility.h:8:9: fatal error: 'Foundation/Foundation.h' file not found
    8 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/118] Compiling TikTokBusinessSDKCore TikTokIdentifyUtility.m
BUILD FAILURE 6.2 android