The Swift Package Index logo.Swift Package Index

Build Information

Failed to build CleverTapSDK, reference 7.6.0 (02681f), with Swift 6.0 for macOS (SPM) on 20 Apr 2026 16:09:22 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/CleverTap/clevertap-ios-sdk.git
Reference: 7.6.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/CleverTap/clevertap-ios-sdk
 * tag               7.6.0      -> FETCH_HEAD
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 7.6.0
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/CleverTap/clevertap-ios-sdk.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64
Building for debugging...
[0/4] Write sources
[1/4] Write swift-version-5BDAB9E9C0126B9D.txt
[3/6] Compiling CleverTapSDKWrapper Dummy.swift
[4/6] Emitting module CleverTapSDKWrapper
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-16.2.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.2.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];
      |                              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[4/6] Compiling CTLocationManager.m
[81413/4132927] Downloading https://d1new0xr8otir0.cloudfront.net/CleverTapSDK-7.6.0.xcframework.zip
Downloading binary artifact https://d1new0xr8otir0.cloudfront.net/CleverTapSDK-7.6.0.xcframework.zip
[4165677/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
Downloading binary artifact 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.63s)
Downloaded https://github.com/SDWebImage/SDWebImage/releases/download/5.21.0/SDWebImage-dynamic.xcframework.zip (2.00s)
BUILD FAILURE 6.0 macosSpm