Build Information
Failed to build CleverTapSDK, reference master (da5ca8), with Swift 6.2 for macOS (SPM) on 1 Nov 2026 17:27:23 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.3.0.app xcrun swift build --arch arm64Build Log
========================================
RunAll
========================================
Builder version: 5.1.4
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 da5ca82 Merge pull request #612 from CleverTap/develop
Cloned https://github.com/CleverTap/clevertap-ios-sdk.git
Revision (git rev-parse @):
da5ca8205ef54c825e612281770580b026453e4f
SUCCESS checkout https://github.com/CleverTap/clevertap-ios-sdk.git at master
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.2
Building package at path: $PWD
https://github.com/CleverTap/clevertap-ios-sdk.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.3.0.app xcrun swift build --arch arm64
Building for debugging...
[0/4] Write sources
[1/4] Write swift-version--3CB7CFEC50E0D141.txt
[3/6] Emitting module CleverTapSDKWrapper
[4/6] Compiling CleverTapSDKWrapper Dummy.swift
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.
[4/6] Compiling CleverTapWatchOS CleverTapWatchOS.m
/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-26.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.2.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLLocationManager.h:475:1: note: 'requestWhenInUseAuthorization' has been marked as being introduced in macOS 10.15 here, but the deployment target is macOS 10.13.0
475 | - (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];
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[4/6] Compiling CTLocationManager.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.9.1.xcframework.zip
[80344/4739573] Downloading https://d1new0xr8otir0.cloudfront.net/CleverTapSDK-7.9.1.xcframework.zip
Downloaded https://d1new0xr8otir0.cloudfront.net/CleverTapSDK-7.9.1.xcframework.zip (0.55s)
[32750/22304214] Downloading https://github.com/SDWebImage/SDWebImage/releases/download/5.21.0/SDWebImage-dynamic.xcframework.zip
Downloaded https://github.com/SDWebImage/SDWebImage/releases/download/5.21.0/SDWebImage-dynamic.xcframework.zip (2.16s)
BUILD FAILURE 6.2 macosSpm