Build Information
Failed to build CleverTapSDK, reference master (02681f), with Swift 6.1 for macOS (SPM) on 20 Apr 2026 16:11:09 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64Build 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 /Users/admin/builder/spi-builder-workspace/.git/
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: macosSpm
Swift version: 6.1
Building package at path: $PWD
https://github.com/CleverTap/clevertap-ios-sdk.git
https://github.com/CleverTap/clevertap-ios-sdk.git
{
"dependencies" : [
],
"manifest_display_name" : "CleverTapSDK",
"name" : "CleverTapSDK",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "9.0"
},
{
"name" : "tvos",
"version" : "9.0"
},
{
"name" : "watchos",
"version" : "2.0"
}
],
"products" : [
{
"name" : "CleverTapSDK",
"targets" : [
"CleverTapSDKWrapper"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "CleverTapLocation",
"targets" : [
"CleverTapLocation"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "CleverTapWatchOS",
"targets" : [
"CleverTapWatchOS"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "SDWebImageCT",
"module_type" : "BinaryTarget",
"name" : "SDWebImageCT",
"path" : "remote/archive/SDWebImage-dynamic.xcframework.zip",
"product_memberships" : [
"CleverTapSDK"
],
"sources" : [
],
"type" : "binary"
},
{
"c99name" : "CleverTapWatchOS",
"module_type" : "ClangTarget",
"name" : "CleverTapWatchOS",
"path" : "CleverTapWatchOS",
"product_memberships" : [
"CleverTapWatchOS"
],
"sources" : [
"CleverTapWatchOS.m"
],
"type" : "library"
},
{
"c99name" : "CleverTapSDKWrapper",
"module_type" : "SwiftTarget",
"name" : "CleverTapSDKWrapper",
"path" : "CleverTapSDKWrapper",
"product_memberships" : [
"CleverTapSDK"
],
"sources" : [
"Dummy.swift"
],
"target_dependencies" : [
"CleverTapSDK",
"SDWebImageCT"
],
"type" : "library"
},
{
"c99name" : "CleverTapSDK",
"module_type" : "BinaryTarget",
"name" : "CleverTapSDK",
"path" : "remote/archive/CleverTapSDK-7.6.0.xcframework.zip",
"product_memberships" : [
"CleverTapSDK"
],
"sources" : [
],
"type" : "binary"
},
{
"c99name" : "CleverTapLocation",
"module_type" : "ClangTarget",
"name" : "CleverTapLocation",
"path" : "CleverTapLocation",
"product_memberships" : [
"CleverTapLocation"
],
"sources" : [
"CleverTapLocation/Classes/CTLocationManager.m"
],
"type" : "library"
}
],
"tools_version" : "5.3"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Building for debugging...
[0/4] Write sources
[1/4] Write swift-version-2F0A5646E1D333AE.txt
[3/6] Emitting module CleverTapSDKWrapper
[4/6] Compiling CleverTapSDKWrapper Dummy.swift
/Users/admin/builder/spi-builder-workspace/CleverTapLocation/CleverTapLocation/Classes/CTLocationManager.m:60:30: warning: 'requestWhenInUseAuthorization' is only available on macOS 10.15 or newer [-Wunguarded-availability-new]
60 | [locationManager requestWhenInUseAuthorization];
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLLocationManager.h:521:1: note: 'requestWhenInUseAuthorization' has been marked as being introduced in macOS 10.15 here, but the deployment target is macOS 10.13.0
521 | - (void)requestWhenInUseAuthorization API_AVAILABLE(ios(8.0), macos(10.15));
| ^
/Users/admin/builder/spi-builder-workspace/CleverTapLocation/CleverTapLocation/Classes/CTLocationManager.m:60:30: note: enclose 'requestWhenInUseAuthorization' in an @available check to silence this warning
60 | [locationManager requestWhenInUseAuthorization];
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 warning generated.
[4/6] Compiling CTLocationManager.m
In file included from /Users/admin/builder/spi-builder-workspace/CleverTapWatchOS/CleverTapWatchOS.m:2:
/Users/admin/builder/spi-builder-workspace/CleverTapWatchOS/CleverTapWatchOS.h:3:9: fatal error: 'WatchKit/WatchKit.h' file not found
3 | #import <WatchKit/WatchKit.h>
| ^~~~~~~~~~~~~~~~~~~~~
1 error generated.
[5/6] Compiling CleverTapWatchOS CleverTapWatchOS.m
Downloading binary artifact https://github.com/SDWebImage/SDWebImage/releases/download/5.21.0/SDWebImage-dynamic.xcframework.zip
Downloading binary artifact https://d1new0xr8otir0.cloudfront.net/CleverTapSDK-7.6.0.xcframework.zip
[81412/4132927] Downloading https://d1new0xr8otir0.cloudfront.net/CleverTapSDK-7.6.0.xcframework.zip
[4149302/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.88s)
Downloaded https://github.com/SDWebImage/SDWebImage/releases/download/5.21.0/SDWebImage-dynamic.xcframework.zip (1.90s)
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
[0/1] Planning build
Building for debugging...
In file included from /Users/admin/builder/spi-builder-workspace/CleverTapWatchOS/CleverTapWatchOS.m:2:
/Users/admin/builder/spi-builder-workspace/CleverTapWatchOS/CleverTapWatchOS.h:3:9: fatal error: 'WatchKit/WatchKit.h' file not found
3 | #import <WatchKit/WatchKit.h>
| ^~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/2] Compiling CleverTapWatchOS CleverTapWatchOS.m
[0/2] Write swift-version-2F0A5646E1D333AE.txt
BUILD FAILURE 6.1 macosSpm