Build Information
Failed to build klaviyo-swift-sdk, reference 5.4.1 (83fece), with Swift 6.4 for macOS (SPM) on 27 Sep 2026 21:27:11 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun swift build --arch arm64Build Log
========================================
RunAll
========================================
Builder version: 5.1.0
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.4
Building package at path: $PWD
https://github.com/klaviyo/klaviyo-swift-sdk.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun swift build --arch arm64
Building for debugging...
[Computing dependencies]
[Pre-planning 1 / 416]
[Planning deferred tasks]
[50 / 154] KlaviyoForms-product
[99 / 154]
Fetching https://github.com/pointfreeco/swift-case-paths
Fetching https://github.com/pointfreeco/swift-snapshot-testing
Fetching https://github.com/Flight-School/AnyCodable
Fetching https://github.com/pointfreeco/swift-custom-dump
Fetching https://github.com/pointfreeco/combine-schedulers
[1/782] Fetching anycodable
[25/3468] Fetching anycodable, combine-schedulers
[284/8815] Fetching anycodable, combine-schedulers, swift-case-paths
[6464/14481] Fetching anycodable, combine-schedulers, swift-case-paths, swift-custom-dump
Fetched https://github.com/pointfreeco/swift-case-paths (1.25s)
[3695/9134] Fetching anycodable, combine-schedulers, swift-custom-dump
[7492/25619] Fetching anycodable, combine-schedulers, swift-custom-dump, swift-snapshot-testing
Fetched https://github.com/pointfreeco/swift-custom-dump (1.69s)
[3633/19953] Fetching anycodable, combine-schedulers, swift-snapshot-testing
Fetched https://github.com/Flight-School/AnyCodable (6.75s)
Fetched https://github.com/pointfreeco/swift-snapshot-testing (6.75s)
Fetched https://github.com/pointfreeco/combine-schedulers (6.75s)
Computing version for https://github.com/pointfreeco/combine-schedulers
Computed https://github.com/pointfreeco/combine-schedulers at 0.11.0 (9.57s)
Fetching https://github.com/pointfreeco/swift-concurrency-extras
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay
[1/1058] Fetching swift-concurrency-extras
[414/3785] Fetching swift-concurrency-extras, xctest-dynamic-overlay
Fetched https://github.com/pointfreeco/swift-concurrency-extras (1.52s)
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay (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.23s)
Computing version for https://github.com/pointfreeco/swift-concurrency-extras
Computed https://github.com/pointfreeco/swift-concurrency-extras at 0.1.2 (0.68s)
Computing version for https://github.com/pointfreeco/swift-case-paths
Computed https://github.com/pointfreeco/swift-case-paths at 0.14.1 (0.72s)
Computing version for https://github.com/Flight-School/AnyCodable
Computed https://github.com/Flight-School/AnyCodable at 0.6.7 (0.70s)
Computing version for https://github.com/pointfreeco/swift-custom-dump
Computed https://github.com/pointfreeco/swift-custom-dump at 0.11.2 (0.65s)
Computing version for https://github.com/pointfreeco/swift-snapshot-testing
Computed https://github.com/pointfreeco/swift-snapshot-testing at 1.17.7 (0.66s)
Fetching https://github.com/swiftlang/swift-syntax
[1/80069] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax (5.19s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 600.0.1 (5.97s)
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/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-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-custom-dump
Working copy of https://github.com/pointfreeco/swift-custom-dump resolved at 0.11.2
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-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/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/combine-schedulers
Working copy of https://github.com/pointfreeco/combine-schedulers resolved at 0.11.0
warning: 'spi-builder-workspace': found 13 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/Users/admin/builder/spi-builder-workspace/Tests/KlaviyoCoreTests/__Snapshots__/EncodableTests/testEventPayload.1.json
/Users/admin/builder/spi-builder-workspace/Tests/KlaviyoCoreTests/__Snapshots__/EncodableTests/testKlaviyoRequest.1.json
/Users/admin/builder/spi-builder-workspace/Tests/KlaviyoCoreTests/__Snapshots__/EncodableTests/testProfilePayload.1.json
/Users/admin/builder/spi-builder-workspace/Tests/KlaviyoCoreTests/__Snapshots__/EncodableTests/testTokenPayload.1.json
/Users/admin/builder/spi-builder-workspace/Tests/KlaviyoCoreTests/__Snapshots__/EncodableTests/testUnregisterTokenPayload.1.json
/Users/admin/builder/spi-builder-workspace/Tests/KlaviyoCoreTests/__Snapshots__/KlaviyoAPITests/testEncodingError.1.txt
/Users/admin/builder/spi-builder-workspace/Tests/KlaviyoCoreTests/__Snapshots__/KlaviyoAPITests/testInvalidStatusCode.1.txt
/Users/admin/builder/spi-builder-workspace/Tests/KlaviyoCoreTests/__Snapshots__/KlaviyoAPITests/testInvalidURL.1.txt
/Users/admin/builder/spi-builder-workspace/Tests/KlaviyoCoreTests/__Snapshots__/KlaviyoAPITests/testNetworkError.1.txt
/Users/admin/builder/spi-builder-workspace/Tests/KlaviyoCoreTests/__Snapshots__/NetworkSessionTests/testCreateEmphemeralSesionHeaders.1.txt
/Users/admin/builder/spi-builder-workspace/Tests/KlaviyoCoreTests/__Snapshots__/NetworkSessionTests/testDefaultUserAgent.1.txt
/Users/admin/builder/spi-builder-workspace/Tests/KlaviyoCoreTests/__Snapshots__/NetworkSessionTests/testSessionDataTask.1.txt
/Users/admin/builder/spi-builder-workspace/Tests/KlaviyoCoreTests/__Snapshots__/NetworkSessionTests/testSessionDataTask.2.txt
error: /Users/admin/builder/spi-builder-workspace/Sources/KlaviyoAutomaticPushBootstrap/KlaviyoAutomaticPushBootstrap.m:4:9 'UIKit/UIKit.h' file not found
error: ScanDependencies /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/klaviyo-swift-sdk.build/Debug/KlaviyoAutomaticPushBootstrap-t.build/Objects-normal/arm64/KlaviyoAutomaticPushBootstrap.o /Users/admin/builder/spi-builder-workspace/Sources/KlaviyoAutomaticPushBootstrap/KlaviyoAutomaticPushBootstrap.m normal arm64 objective-c com.apple.compilers.llvm.clang.1_0.compiler failed with a nonzero exit code. Command line: cd /Users/admin/builder
Using response file: /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/klaviyo-swift-sdk.build/Debug/KlaviyoAutomaticPushBootstrap-t.build/Objects-normal/arm64/e6072d4f65d7061329687fe24e3d63a7-common-args.resp
builtin-ScanDependencies -o /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/klaviyo-swift-sdk.build/Debug/KlaviyoAutomaticPushBootstrap-t.build/Objects-normal/arm64/KlaviyoAutomaticPushBootstrap.o.scan -- /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x objective-c -ivfsstatcache /Users/admin/builder/spi-builder-workspace/.build/out/SDKStatCaches.noindex/macosx27.0-26A425-80c5bbf1d171475443272936d42f90a36a22442a12e9d48fe1a705f55a1adfc4.sdkstatcache -target arm64-apple-macos12.0 -fmessage-length\=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit\=0 -fcolor-diagnostics -fmodules-prune-interval\=86400 -fmodules-prune-after\=345600 -fbuild-session-file\=/Users/admin/builder/spi-builder-workspace/.build/out/ModuleCache.noindex/Session.modulevalidation -fmodules-validate-once-per-build-session -Wnon-modular-include-in-framework-module -Werror\=non-modular-include-in-framework-module -Wno-trigraphs -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-return-type -Wno-implicit-atomic-properties -Wno-objc-interface-ivars -Wno-arc-repeated-use-of-weak -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-bool-conversion -Wno-enum-conversion -Wno-float-conversion -Wno-non-literal-null-conversion -Wno-objc-literal-conversion -Wshorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-selector -Wno-strict-selector-match -Wno-undeclared-selector -Wno-deprecated-implementations -Wno-implicit-fallthrough -isysroot /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX27.0.sdk -fstrict-aliasing -Wprotocol -Wdeprecated-declarations -Wno-sign-conversion -Wno-infinite-recursion -Wno-comma -Wno-block-capture-autoreleasing -Wno-strict-prototypes -Wno-semicolon-before-method-body -index-store-path /Users/admin/builder/spi-builder-workspace/.build/out @/Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/klaviyo-swift-sdk.build/Debug/KlaviyoAutomaticPushBootstrap-t.build/Objects-normal/arm64/e6072d4f65d7061329687fe24e3d63a7-common-args.resp -MMD -MT dependencies -MF /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/klaviyo-swift-sdk.build/Debug/KlaviyoAutomaticPushBootstrap-t.build/Objects-normal/arm64/KlaviyoAutomaticPushBootstrap.d --serialize-diagnostics /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/klaviyo-swift-sdk.build/Debug/KlaviyoAutomaticPushBootstrap-t.build/Objects-normal/arm64/KlaviyoAutomaticPushBootstrap.dia -c /Users/admin/builder/spi-builder-workspace/Sources/KlaviyoAutomaticPushBootstrap/KlaviyoAutomaticPushBootstrap.m -o /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/klaviyo-swift-sdk.build/Debug/KlaviyoAutomaticPushBootstrap-t.build/Objects-normal/arm64/KlaviyoAutomaticPushBootstrap.o -index-unit-output-path /klaviyo-swift-sdk.build/Debug/KlaviyoAutomaticPushBootstrap-t.build/Objects-normal/arm64/KlaviyoAutomaticPushBootstrap.o
error: Build failed
BUILD FAILURE 6.4 macosSpm