The Swift Package Index logo.Swift Package Index

Build Information

Failed to build CleverTapSDK, reference 7.8.2 (602ddc), with Swift 6.2 for macOS (SPM) on 5 Sep 2026 05:32:08 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 5.0.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/CleverTap/clevertap-ios-sdk.git
Reference: 7.8.2
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/CleverTap/clevertap-ios-sdk
 * tag               7.8.2      -> FETCH_HEAD
HEAD is now at 602ddcd Merge pull request #590 from CleverTap/develop
Cloned https://github.com/CleverTap/clevertap-ios-sdk.git
Revision (git rev-parse @):
602ddcd2346d073e34d4920b4ee9f15bd1fe8229
SUCCESS checkout https://github.com/CleverTap/clevertap-ios-sdk.git at 7.8.2
========================================
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] Compiling CleverTapSDKWrapper Dummy.swift
[4/6] Emitting module CleverTapSDKWrapper
/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];
      |                              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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://d1new0xr8otir0.cloudfront.net/CleverTapSDK-7.8.2.xcframework.zip
Downloading binary artifact https://github.com/SDWebImage/SDWebImage/releases/download/5.21.0/SDWebImage-dynamic.xcframework.zip
[81412/4324308] Downloading https://d1new0xr8otir0.cloudfront.net/CleverTapSDK-7.8.2.xcframework.zip
[4340683/26628522] Downloading https://d1new0xr8otir0.cloudfront.net/CleverTapSDK-7.8.2.xcframework.zip, https://github.com/SDWebImage/SDWebImage/releases/download/5.21.0/SDWebImage-dynamic.xcframework.zip
Downloaded https://d1new0xr8otir0.cloudfront.net/CleverTapSDK-7.8.2.xcframework.zip (0.53s)
Downloaded https://github.com/SDWebImage/SDWebImage/releases/download/5.21.0/SDWebImage-dynamic.xcframework.zip (1.76s)
BUILD FAILURE 6.2 macosSpm