Build Information
Failed to build TikTokBusinessSDK, reference 1.7.2 (2a3a35), with Swift 6.2 for Wasm on 28 Aug 2026 11:51:23 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344843-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:wasm-6.2-latest swift build --swift-sdk swift-6.2-RELEASE_wasm 2>&1Build 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: wasm
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-54344843-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:wasm-6.2-latest swift build --swift-sdk swift-6.2-RELEASE_wasm 2>&1
wasm-6.2-latest: Pulling from saguaro1/spi-images
Digest: sha256:70428a4f4110aef5b17a27427e965f31cf3855e8cf1dfdc416ed61c780337965
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-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/TikTokZZZZBusinessSDKEnd.m:9:9: fatal error: 'mach-o/dyld.h' file not found
9 | #import <mach-o/dyld.h>
| ^~~~~~~~~~~~~~~
1 error generated.
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 TikTokZZZZBusinessSDKEnd.m
[0/118] Compiling TikTokAppEventUtility.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/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>
| ^~~~~~~~~~~~~~~~~~~~~~~~~
[0/118] Compiling TikTokSKANEventPersistence.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/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
[0/118] Compiling TikTokBaseEventPersistence.m
[0/118] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.2 wasm