The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Leanplum, reference master (0a1f21), with Swift 6.1 for macOS (SPM) on 14 Sep 2026 11:34:13 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.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/leanplum/leanplum-ios-sdk.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/leanplum/leanplum-ios-sdk
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 0a1f214 Release/6.6.1 (#600)
Cloned https://github.com/leanplum/leanplum-ios-sdk.git
Revision (git rev-parse @):
0a1f2142bab6db644bb96b7b474e42c1285b1001
SUCCESS checkout https://github.com/leanplum/leanplum-ios-sdk.git at master
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/leanplum/leanplum-ios-sdk.git
https://github.com/leanplum/leanplum-ios-sdk.git
{
  "dependencies" : [
    {
      "identity" : "clevertap-ios-sdk",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "7.1.1",
            "upper_bound" : "8.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/CleverTap/clevertap-ios-sdk"
    }
  ],
  "manifest_display_name" : "Leanplum",
  "name" : "Leanplum",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "9.0"
    }
  ],
  "products" : [
    {
      "name" : "Leanplum",
      "targets" : [
        "LeanplumTargetWrapper"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "LeanplumLocation",
      "targets" : [
        "LeanplumLocation"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "LeanplumTargetWrapper",
      "module_type" : "SwiftTarget",
      "name" : "LeanplumTargetWrapper",
      "path" : "LeanplumTargetWrapper",
      "product_dependencies" : [
        "CleverTapSDK"
      ],
      "product_memberships" : [
        "Leanplum"
      ],
      "sources" : [
        "Dummy.swift"
      ],
      "target_dependencies" : [
        "Leanplum"
      ],
      "type" : "library"
    },
    {
      "c99name" : "LeanplumLocation",
      "module_type" : "ClangTarget",
      "name" : "LeanplumLocation",
      "path" : "LeanplumSDKLocation",
      "product_memberships" : [
        "LeanplumLocation"
      ],
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/LeanplumSDKLocation/LeanplumSDKLocation/PrivacyInfo.xcprivacy",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "LeanplumSDKLocation/Classes/LPLocationManager.m"
      ],
      "target_dependencies" : [
        "Leanplum"
      ],
      "type" : "library"
    },
    {
      "c99name" : "Leanplum",
      "module_type" : "BinaryTarget",
      "name" : "Leanplum",
      "path" : "remote/archive/Leanplum.xcframework.zip",
      "product_memberships" : [
        "Leanplum",
        "LeanplumLocation"
      ],
      "sources" : [
      ],
      "type" : "binary"
    }
  ],
  "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/6] Copying PrivacyInfo.xcprivacy
[1/6] Write sources
[3/6] Write swift-version-2F0A5646E1D333AE.txt
[5/8] Emitting module CleverTapSDKWrapper
[6/8] Compiling CleverTapSDKWrapper Dummy.swift
[7/10] Emitting module LeanplumTargetWrapper
[8/10] Compiling LeanplumTargetWrapper Dummy.swift
/Users/admin/builder/spi-builder-workspace/LeanplumSDKLocation/LeanplumSDKLocation/Classes/LPLocationManager.m:26:9: fatal error: 'Leanplum/Leanplum.h' file not found
   26 | #import <Leanplum/Leanplum.h>
      |         ^~~~~~~~~~~~~~~~~~~~~
1 error generated.
[8/10] Compiling LPLocationManager.m
[8/10] Compiling LeanplumLocation resource_bundle_accessor.m
Fetching https://github.com/CleverTap/clevertap-ios-sdk
[1/25726] Fetching clevertap-ios-sdk
Fetched https://github.com/CleverTap/clevertap-ios-sdk from cache (20.68s)
Computing version for https://github.com/CleverTap/clevertap-ios-sdk
Computed https://github.com/CleverTap/clevertap-ios-sdk at 7.8.2 (21.33s)
Creating working copy for https://github.com/CleverTap/clevertap-ios-sdk
Working copy of https://github.com/CleverTap/clevertap-ios-sdk resolved at 7.8.2
Downloading binary artifact https://github.com/Leanplum/Leanplum-iOS-SDK/releases/download/6.6.1/Leanplum.xcframework.zip
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.8.2.xcframework.zip
[81389/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
[11722929/30585301] 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, https://github.com/Leanplum/Leanplum-iOS-SDK/releases/download/6.6.1/Leanplum.xcframework.zip
Downloaded https://d1new0xr8otir0.cloudfront.net/CleverTapSDK-7.8.2.xcframework.zip (0.48s)
Downloaded https://github.com/Leanplum/Leanplum-iOS-SDK/releases/download/6.6.1/Leanplum.xcframework.zip (0.76s)
Downloaded https://github.com/SDWebImage/SDWebImage/releases/download/5.21.0/SDWebImage-dynamic.xcframework.zip (1.76s)
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
[0/1] Planning build
Building for debugging...
[0/3] Compiling LeanplumLocation resource_bundle_accessor.m
/Users/admin/builder/spi-builder-workspace/LeanplumSDKLocation/LeanplumSDKLocation/Classes/LPLocationManager.m:26:9: fatal error: 'Leanplum/Leanplum.h' file not found
   26 | #import <Leanplum/Leanplum.h>
      |         ^~~~~~~~~~~~~~~~~~~~~
1 error generated.
[1/3] Compiling LPLocationManager.m
[1/3] Write swift-version-2F0A5646E1D333AE.txt
BUILD FAILURE 6.1 macosSpm