The Swift Package Index logo.Swift Package Index

Build Information

Failed to build klaviyo-swift-sdk, reference master (effec5), with Swift 6.2 for macOS (SPM) on 5 Sep 2026 12:52:53 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: 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
========================================
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
[6/15] Copying jstest.html
[6/15] Copying InAppFormsTemplate.html
[8/15] Copying PrivacyInfo.xcprivacy
[8/15] Copying consoleHandler.js
[8/15] Copying closeHandler.js
[11/15] Copying klaviyo.html
[11/15] Copying toggleHandler.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/pointfreeco/swift-case-paths
Fetching https://github.com/pointfreeco/combine-schedulers
Fetching https://github.com/Flight-School/AnyCodable
Fetching https://github.com/pointfreeco/swift-custom-dump
[1/2686] Fetching combine-schedulers
[592/7973] Fetching combine-schedulers, swift-case-paths
[699/13629] Fetching combine-schedulers, swift-case-paths, swift-custom-dump
[3165/14411] Fetching combine-schedulers, swift-case-paths, swift-custom-dump, anycodable
Fetched https://github.com/Flight-School/AnyCodable from cache (1.54s)
Fetched https://github.com/pointfreeco/combine-schedulers from cache (1.54s)
[7946/10943] Fetching swift-case-paths, swift-custom-dump
[10944/27346] Fetching swift-case-paths, swift-custom-dump, swift-snapshot-testing
Fetched https://github.com/pointfreeco/swift-custom-dump from cache (7.18s)
Fetched https://github.com/pointfreeco/swift-snapshot-testing from cache (7.18s)
Fetched https://github.com/pointfreeco/swift-case-paths from cache (7.18s)
Computing version for https://github.com/pointfreeco/combine-schedulers
Computed https://github.com/pointfreeco/combine-schedulers at 0.11.0 (10.00s)
Fetching https://github.com/pointfreeco/swift-concurrency-extras
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay
[1/1058] Fetching swift-concurrency-extras
[107/3785] Fetching swift-concurrency-extras, xctest-dynamic-overlay
Fetched https://github.com/pointfreeco/swift-concurrency-extras from cache (1.52s)
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay from cache (1.52s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 0.9.0 (2.22s)
Computing version for https://github.com/pointfreeco/swift-concurrency-extras
Computed https://github.com/pointfreeco/swift-concurrency-extras at 0.1.2 (0.64s)
Computing version for https://github.com/pointfreeco/swift-case-paths
Computed https://github.com/pointfreeco/swift-case-paths at 0.14.1 (0.66s)
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-custom-dump
Computed https://github.com/pointfreeco/swift-custom-dump at 0.11.2 (0.63s)
Computing version for https://github.com/pointfreeco/swift-snapshot-testing
Computed https://github.com/pointfreeco/swift-snapshot-testing at 1.17.7 (0.64s)
Fetching https://github.com/swiftlang/swift-syntax
[1/79573] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax from cache (4.74s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 600.0.1 (5.49s)
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
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/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/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/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/combine-schedulers
Working copy of https://github.com/pointfreeco/combine-schedulers resolved at 0.11.0
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