The Swift Package Index logo.Swift Package Index

Build Information

Failed to build klaviyo-swift-sdk, reference 5.4.1 (83fece), with Swift 6.2 for macOS (SPM) on 4 Sep 2026 21:26:00 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/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
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/klaviyo/klaviyo-swift-sdk.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.3.0.app xcrun swift build --arch arm64
Building for debugging...
[0/15] Write sources
[5/15] Copying toggleHandler.js
[5/15] Write sources
[6/15] Copying klaviyo.html
[8/15] Copying closeHandler.js
[9/15] Copying PrivacyInfo.xcprivacy
[10/15] Copying jstest.html
[11/15] Copying consoleHandler.js
[12/15] Copying InAppFormsTemplate.html
[13/15] Write swift-version--3CB7CFEC50E0D141.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
Fetching https://github.com/Flight-School/AnyCodable
Fetching https://github.com/pointfreeco/combine-schedulers
Fetching https://github.com/pointfreeco/swift-case-paths
Fetching https://github.com/pointfreeco/swift-snapshot-testing
Fetching https://github.com/pointfreeco/swift-custom-dump
[1/782] Fetching anycodable
[322/6069] Fetching anycodable, swift-case-paths
[323/8755] Fetching anycodable, swift-case-paths, combine-schedulers
[1237/14411] Fetching anycodable, swift-case-paths, combine-schedulers, swift-custom-dump
Fetched https://github.com/pointfreeco/swift-custom-dump from cache (1.94s)
[1/16403] Fetching swift-snapshot-testing
Fetched https://github.com/pointfreeco/combine-schedulers from cache (7.80s)
Fetched https://github.com/pointfreeco/swift-snapshot-testing from cache (7.80s)
Fetched https://github.com/Flight-School/AnyCodable from cache (7.80s)
Fetched https://github.com/pointfreeco/swift-case-paths from cache (7.80s)
Computing version for https://github.com/pointfreeco/combine-schedulers
Computed https://github.com/pointfreeco/combine-schedulers at 0.11.0 (10.79s)
Fetching https://github.com/pointfreeco/swift-concurrency-extras
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay
[1/1058] Fetching swift-concurrency-extras
[372/3785] Fetching swift-concurrency-extras, xctest-dynamic-overlay
Fetched https://github.com/pointfreeco/swift-concurrency-extras from cache (1.48s)
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay from cache (1.48s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 0.9.0 (2.20s)
Computing version for https://github.com/pointfreeco/swift-concurrency-extras
Computed https://github.com/pointfreeco/swift-concurrency-extras at 0.1.2 (0.65s)
Computing version for https://github.com/pointfreeco/swift-case-paths
Computed https://github.com/pointfreeco/swift-case-paths at 0.14.1 (0.67s)
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-custom-dump
Computed https://github.com/pointfreeco/swift-custom-dump at 0.11.2 (0.66s)
Computing version for https://github.com/pointfreeco/swift-snapshot-testing
Computed https://github.com/pointfreeco/swift-snapshot-testing at 1.17.7 (0.65s)
Fetching https://github.com/swiftlang/swift-syntax
[1/79546] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax from cache (7.55s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 600.0.1 (8.32s)
Creating working copy for https://github.com/pointfreeco/xctest-dynamic-overlay
Working copy of https://github.com/pointfreeco/xctest-dynamic-overlay resolved at 0.9.0
Creating working copy for https://github.com/pointfreeco/combine-schedulers
Working copy of https://github.com/pointfreeco/combine-schedulers resolved at 0.11.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.11.2
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-case-paths
Working copy of https://github.com/pointfreeco/swift-case-paths resolved at 0.14.1
Creating working copy for https://github.com/swiftlang/swift-syntax
Working copy of https://github.com/swiftlang/swift-syntax resolved at 600.0.1
Creating working copy for https://github.com/pointfreeco/swift-concurrency-extras
Working copy of https://github.com/pointfreeco/swift-concurrency-extras resolved at 0.1.2
Creating working copy for https://github.com/pointfreeco/swift-snapshot-testing
Working copy of https://github.com/pointfreeco/swift-snapshot-testing resolved at 1.17.7
Downloading package prebuilt https://download.swift.org/prebuilts/swift-syntax/600.0.1/swiftlang-6.2.4.1.4-MacroSupport-macos_aarch64.zip
BUILD FAILURE 6.2 macosSpm