The Swift Package Index logo.Swift Package Index

Build Information

Failed to build klaviyo-swift-sdk, reference 5.4.1 (83fece), with Swift 6.3 for macOS (SPM) on 4 Sep 2026 21:27:14 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-26.5.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/klaviyo/klaviyo-swift-sdk.git
Reference: 5.4.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/klaviyo/klaviyo-swift-sdk
 * tag               5.4.1      -> FETCH_HEAD
HEAD is now at 83fece0 fix(KlaviyoForms): harden in-app forms session-expiry lifecycle (#715)
Cloned https://github.com/klaviyo/klaviyo-swift-sdk.git
Revision (git rev-parse @):
83fece0870d1367e39bcaff926748ff9d4816d77
SUCCESS checkout https://github.com/klaviyo/klaviyo-swift-sdk.git at 5.4.1
Fetching https://github.com/Flight-School/AnyCodable
Fetching https://github.com/pointfreeco/swift-snapshot-testing
Fetching https://github.com/pointfreeco/combine-schedulers
Fetching https://github.com/pointfreeco/swift-custom-dump
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay
Fetching https://github.com/pointfreeco/swift-case-paths
[1/2686] Fetching combine-schedulers
[2/3468] Fetching combine-schedulers, anycodable
[284/8755] Fetching combine-schedulers, anycodable, swift-case-paths
[2050/11482] Fetching combine-schedulers, anycodable, swift-case-paths, xctest-dynamic-overlay
Fetched https://github.com/Flight-School/AnyCodable from cache (0.98s)
[2511/10700] Fetching combine-schedulers, swift-case-paths, xctest-dynamic-overlay
[6473/16356] Fetching combine-schedulers, swift-case-paths, xctest-dynamic-overlay, swift-custom-dump
[13958/32759] Fetching combine-schedulers, swift-case-paths, xctest-dynamic-overlay, swift-custom-dump, swift-snapshot-testing
Fetched https://github.com/pointfreeco/swift-custom-dump from cache (7.09s)
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay from cache (7.10s)
[19292/24376] Fetching combine-schedulers, swift-case-paths, swift-snapshot-testing
Fetched https://github.com/pointfreeco/combine-schedulers from cache (7.90s)
Fetched https://github.com/pointfreeco/swift-case-paths from cache (7.90s)
Fetched https://github.com/pointfreeco/swift-snapshot-testing from cache (7.90s)
Computing version for https://github.com/pointfreeco/combine-schedulers
Computed https://github.com/pointfreeco/combine-schedulers at 0.9.1 (10.74s)
Computing version for https://github.com/pointfreeco/swift-case-paths
Computed https://github.com/pointfreeco/swift-case-paths at 0.10.1 (0.66s)
Computing version for https://github.com/pointfreeco/swift-custom-dump
Computed https://github.com/pointfreeco/swift-custom-dump at 0.6.1 (0.65s)
Computing version for https://github.com/Flight-School/AnyCodable
Computed https://github.com/Flight-School/AnyCodable at 0.6.7 (0.64s)
Computing version for https://github.com/pointfreeco/swift-snapshot-testing
Computed https://github.com/pointfreeco/swift-snapshot-testing at 1.10.0 (0.65s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 0.6.0 (0.64s)
Creating working copy for https://github.com/pointfreeco/swift-case-paths
Working copy of https://github.com/pointfreeco/swift-case-paths resolved at 0.10.1
Creating working copy for https://github.com/pointfreeco/xctest-dynamic-overlay
Working copy of https://github.com/pointfreeco/xctest-dynamic-overlay resolved at 0.6.0
Creating working copy for https://github.com/Flight-School/AnyCodable
Working copy of https://github.com/Flight-School/AnyCodable resolved at 0.6.7
Creating working copy for https://github.com/pointfreeco/swift-snapshot-testing
Working copy of https://github.com/pointfreeco/swift-snapshot-testing resolved at 1.10.0
Creating working copy for https://github.com/pointfreeco/swift-custom-dump
Working copy of https://github.com/pointfreeco/swift-custom-dump resolved at 0.6.1
Creating working copy for https://github.com/pointfreeco/combine-schedulers
Working copy of https://github.com/pointfreeco/combine-schedulers resolved at 0.9.1
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "traits": [
    "default"
  ],
  "dependencies": [
    {
      "identity": "klaviyo-swift-sdk",
      "name": "klaviyo-swift-sdk",
      "url": "https://github.com/klaviyo/klaviyo-swift-sdk.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/klaviyo-swift-sdk",
      "traits": [
        "default"
      ],
      "dependencies": [
        {
          "identity": "anycodable",
          "name": "AnyCodable",
          "url": "https://github.com/Flight-School/AnyCodable",
          "version": "0.6.7",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/AnyCodable",
          "traits": [
            "default"
          ],
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/klaviyo/klaviyo-swift-sdk.git
[1/26136] Fetching klaviyo-swift-sdk
Fetched https://github.com/klaviyo/klaviyo-swift-sdk.git from cache (4.32s)
Fetching https://github.com/Flight-School/AnyCodable from cache
Fetched https://github.com/Flight-School/AnyCodable from cache (0.56s)
Computing version for https://github.com/Flight-School/AnyCodable
Computed https://github.com/Flight-School/AnyCodable at 0.6.7 (0.62s)
Creating working copy for https://github.com/Flight-School/AnyCodable
Working copy of https://github.com/Flight-School/AnyCodable resolved at 0.6.7
Creating working copy for https://github.com/klaviyo/klaviyo-swift-sdk.git
Working copy of https://github.com/klaviyo/klaviyo-swift-sdk.git resolved at 5.4.1 (83fece0)
warning: '.resolve-product-dependencies': dependency 'klaviyo-swift-sdk' is not used by any target
Found 1 product dependencies
  - AnyCodable
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.3
Building package at path:  $PWD
https://github.com/klaviyo/klaviyo-swift-sdk.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.5.0.app xcrun swift build --arch arm64
Building for debugging...
[0/15] Write sources
[2/15] Copying klaviyo.html
[2/15] Write sources
[6/15] Copying toggleHandler.js
[6/15] Copying PrivacyInfo.xcprivacy
[8/15] Copying jstest.html
[9/15] Write sources
[10/15] Copying closeHandler.js
[10/15] Copying consoleHandler.js
[11/15] Copying InAppFormsTemplate.html
[13/15] Write swift-version-69A768CDF2A0BEE1.txt
/Users/admin/builder/spi-builder-workspace/Sources/KlaviyoAutomaticPushBootstrap/KlaviyoAutomaticPushBootstrap.m:4:9: fatal error: 'UIKit/UIKit.h' file not found
    4 | #import <UIKit/UIKit.h>
      |         ^~~~~~~~~~~~~~~
1 error generated.
[14/27] Compiling KlaviyoAutomaticPushBootstrap KlaviyoAutomaticPushBootstrap.m
BUILD FAILURE 6.3 macosSpm