The Swift Package Index logo.Swift Package Index

Build Information

Failed to build klaviyo-swift-sdk, reference master (effec5), with Swift 6.3 for macOS (SPM) on 5 Sep 2026 12:53:09 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: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/klaviyo/klaviyo-swift-sdk
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at effec59 Merge pull request #718 from klaviyo/ecm/pr-target-check-quoting
Cloned https://github.com/klaviyo/klaviyo-swift-sdk.git
Revision (git rev-parse @):
effec593519f2a93afeaa231570818ac5e2364e9
SUCCESS checkout https://github.com/klaviyo/klaviyo-swift-sdk.git at master
Fetching https://github.com/pointfreeco/swift-custom-dump
Fetching https://github.com/pointfreeco/swift-snapshot-testing
Fetching https://github.com/pointfreeco/swift-case-paths
Fetching https://github.com/Flight-School/AnyCodable
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay
Fetching https://github.com/pointfreeco/combine-schedulers
[1/782] Fetching anycodable
[25/3468] Fetching anycodable, combine-schedulers
[26/9124] Fetching anycodable, combine-schedulers, swift-custom-dump
[27/14411] Fetching anycodable, combine-schedulers, swift-custom-dump, swift-case-paths
[1381/17138] Fetching anycodable, combine-schedulers, swift-custom-dump, swift-case-paths, xctest-dynamic-overlay
Fetched https://github.com/pointfreeco/swift-custom-dump from cache (1.22s)
[9274/11482] Fetching anycodable, combine-schedulers, swift-case-paths, xctest-dynamic-overlay
[11483/27885] Fetching anycodable, combine-schedulers, swift-case-paths, xctest-dynamic-overlay, swift-snapshot-testing
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay from cache (9.48s)
Fetched https://github.com/pointfreeco/combine-schedulers from cache (9.48s)
Fetched https://github.com/pointfreeco/swift-snapshot-testing from cache (9.48s)
Fetched https://github.com/Flight-School/AnyCodable from cache (9.48s)
Fetched https://github.com/pointfreeco/swift-case-paths from cache (9.48s)
Computing version for https://github.com/pointfreeco/combine-schedulers
Computed https://github.com/pointfreeco/combine-schedulers at 0.9.1 (12.40s)
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.64s)
Computing version for https://github.com/Flight-School/AnyCodable
Computed https://github.com/Flight-School/AnyCodable at 0.6.7 (0.65s)
Computing version for https://github.com/pointfreeco/swift-snapshot-testing
Computed https://github.com/pointfreeco/swift-snapshot-testing at 1.10.0 (0.67s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 0.6.0 (0.74s)
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-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
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
========================================
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 (14.52s)
Fetching https://github.com/Flight-School/AnyCodable from cache
Fetched https://github.com/Flight-School/AnyCodable from cache (0.52s)
Computing version for https://github.com/Flight-School/AnyCodable
Computed https://github.com/Flight-School/AnyCodable at 0.6.7 (0.58s)
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 master (effec59)
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] Copying InAppFormsTemplate.html
[0/15] Write sources
[2/15] Copying PrivacyInfo.xcprivacy
[3/15] Write sources
[4/15] Copying klaviyo.html
[4/15] Write sources
[6/15] Copying toggleHandler.js
[6/15] Write sources
[10/15] Copying consoleHandler.js
[11/15] Copying closeHandler.js
[11/15] Copying jstest.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