The Swift Package Index logo.Swift Package Index

Build Information

Failed to build CleverTapSDK, reference master (02681f), with Swift 6.2 for Linux on 20 Apr 2026 16:30:01 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-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:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/CleverTap/clevertap-ios-sdk.git
Reference: master
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/CleverTap/clevertap-ios-sdk
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 02681f8 Merge pull request #535 from CleverTap/develop
Cloned https://github.com/CleverTap/clevertap-ios-sdk.git
Revision (git rev-parse @):
02681f877972e5fc0eb35ac6a6a240b805a52fd1
SUCCESS checkout https://github.com/CleverTap/clevertap-ios-sdk.git at master
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.2
Building package at path:  $PWD
https://github.com/CleverTap/clevertap-ios-sdk.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-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:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.2-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:0ddb100795e64f71518020a73ad8441aeb43832ede7f1202ae7f8de93664f90d
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:basic-6.2-latest
Downloading binary artifact https://d1new0xr8otir0.cloudfront.net/CleverTapSDK-7.6.0.xcframework.zip
Downloading binary artifact https://github.com/SDWebImage/SDWebImage/releases/download/5.21.0/SDWebImage-dynamic.xcframework.zip
[16384/4132927] Downloading https://d1new0xr8otir0.cloudfront.net/CleverTapSDK-7.6.0.xcframework.zip
[1187246/26437141] Downloading https://d1new0xr8otir0.cloudfront.net/CleverTapSDK-7.6.0.xcframework.zip, https://github.com/SDWebImage/SDWebImage/releases/download/5.21.0/SDWebImage-dynamic.xcframework.zip
Downloaded https://d1new0xr8otir0.cloudfront.net/CleverTapSDK-7.6.0.xcframework.zip (0.82s)
Downloaded https://github.com/SDWebImage/SDWebImage/releases/download/5.21.0/SDWebImage-dynamic.xcframework.zip (2.74s)
Building for debugging...
[0/4] Write sources
In file included from /host/spi-builder-workspace/CleverTapLocation/CleverTapLocation/Classes/CTLocationManager.m:1:
/host/spi-builder-workspace/CleverTapLocation/CleverTapLocation/Classes/CTLocationManager.h:1:9: fatal error: 'Foundation/Foundation.h' file not found
    1 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[1/4] Compiling CTLocationManager.m
In file included from /host/spi-builder-workspace/CleverTapWatchOS/CleverTapWatchOS.m:2:
/host/spi-builder-workspace/CleverTapWatchOS/CleverTapWatchOS.h:2:9: fatal error: 'Foundation/Foundation.h' file not found
    2 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[1/4] Compiling CleverTapWatchOS CleverTapWatchOS.m
[1/4] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.2 linux