Build Information
Failed to build klaviyo-swift-sdk, reference 5.6.0 (fcd017), with Swift 6.2 for macOS (SPM) on 30 Oct 2026 02:13:56 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.3.0.app xcrun swift build --arch arm64Build Log
========================================
RunAll
========================================
Builder version: 5.1.4
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/klaviyo/klaviyo-swift-sdk.git
Reference: 5.6.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/klaviyo/klaviyo-swift-sdk
* tag 5.6.0 -> FETCH_HEAD
HEAD is now at fcd017e chore(release): merge master into rel/5.6.0 (#809)
Cloned https://github.com/klaviyo/klaviyo-swift-sdk.git
Revision (git rev-parse @):
fcd017e47b37c4d07c9b2a55075bea08cf789fa3
SUCCESS checkout https://github.com/klaviyo/klaviyo-swift-sdk.git at 5.6.0
========================================
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 klaviyo.html
[5/15] Copying toggleHandler.js
[5/15] Copying consoleHandler.js
[6/15] Copying jstest.html
[6/15] Copying PrivacyInfo.xcprivacy
[6/15] Write sources
[8/15] Copying InAppFormsTemplate.html
[9/15] Copying closeHandler.js
[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/pointfreeco/swift-snapshot-testing
Fetching https://github.com/Flight-School/AnyCodable
[1/782] Fetching anycodable
[783/17381] Fetching anycodable, swift-snapshot-testing
Fetched https://github.com/Flight-School/AnyCodable from cache (9.88s)
Fetched https://github.com/pointfreeco/swift-snapshot-testing from cache (9.88s)
Computing version for https://github.com/Flight-School/AnyCodable
Computed https://github.com/Flight-School/AnyCodable at 0.6.7 (12.67s)
Computing version for https://github.com/pointfreeco/swift-snapshot-testing
Computed https://github.com/pointfreeco/swift-snapshot-testing at 1.19.7 (0.64s)
Fetching https://github.com/pointfreeco/swift-custom-dump
Fetching https://github.com/swiftlang/swift-syntax
[1/5669] Fetching swift-custom-dump
[5670/87031] Fetching swift-custom-dump, swift-syntax
Fetched https://github.com/swiftlang/swift-syntax from cache (7.77s)
Fetched https://github.com/pointfreeco/swift-custom-dump from cache (7.77s)
Computing version for https://github.com/pointfreeco/swift-custom-dump
Computed https://github.com/pointfreeco/swift-custom-dump at 1.7.3 (8.38s)
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay
[1/2727] Fetching xctest-dynamic-overlay
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay from cache (1.36s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 1.13.1 (3.63s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 604.0.0 (0.75s)
Creating working copy for https://github.com/pointfreeco/xctest-dynamic-overlay
Working copy of https://github.com/pointfreeco/xctest-dynamic-overlay resolved at 1.13.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.19.7
Creating working copy for https://github.com/swiftlang/swift-syntax
Working copy of https://github.com/swiftlang/swift-syntax resolved at 604.0.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 1.7.3
BUILD FAILURE 6.2 macosSpm