The Swift Package Index logo.Swift Package Index

Build Information

Failed to build TikTokBusinessSDK, reference 1.7.2 (2a3a35), with Swift 6.2 for Linux on 28 Aug 2026 11:52:34 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:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 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:         linux
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-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:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.2-latest: Pulling from saguaro1/spi-images
Digest: sha256:4f3911e0f09a6ac47ac813ad3222aa373869118ee0ae384fd641a13da74b5e3f
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:basic-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...
/host/spi-builder-workspace/TikTokBusinessSDK/Core/TTSDKAddress/TikTokaaaaBusinessSDKBegin.m:9:9: fatal error: 'mach-o/dyld.h' file not found
    9 | #import <mach-o/dyld.h>
      |         ^~~~~~~~~~~~~~~
1 error generated.
[0/118] Compiling TikTokaaaaBusinessSDKBegin.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/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
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>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
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>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[0/118] Compiling TikTokSKANEventPersistence.m
[0/118] Compiling TikTokBaseEventPersistence.m
[0/118] Compiling TTSDKID.c
In file included from /host/spi-builder-workspace/TikTokBusinessSDK/Core/TTSDKCrash/TTSDKCrashFilters/TTSDKCrashReportFilterAlert.m:27:
/host/spi-builder-workspace/TikTokBusinessSDK/Core/TTSDKCrash/TTSDKCrashFilters/include/TTSDKCrashReportFilterAlert.h:27:9: fatal error: 'Foundation/Foundation.h' file not found
   27 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/118] Compiling TTSDKCrashReportFilterAlert.m
In file included from /host/spi-builder-workspace/TikTokBusinessSDK/Core/TTSDKCrash/TTSDKCrashFilters/TTSDKCrashReportFilterAppleFmt.m:27:
In file included from /host/spi-builder-workspace/TikTokBusinessSDK/Core/TTSDKCrash/TTSDKCrashFilters/include/TTSDKCrashReportFilterAppleFmt.h:27:
/host/spi-builder-workspace/TikTokBusinessSDK/Core/TTSDKCrash/TTSDKCrashRecording/include/TTSDKCrashReportFilter.h:27:9: fatal error: 'Foundation/Foundation.h' file not found
   27 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[0/118] Compiling TTSDKCrashReportFilterAppleFmt.m
BUILD FAILURE 6.2 linux