The Swift Package Index logo.Swift Package Index

Build Information

Failed to build BasisTheoryElements, reference master (621bf4), with Swift 6.0 for macOS (SPM) on 23 Apr 2026 15:06:50 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Basis-Theory/ios-elements.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/Basis-Theory/ios-elements
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 621bf49 chore(ENG-10153): add AGENTS.md with developer essentials (#100)
Cloned https://github.com/Basis-Theory/ios-elements.git
Revision (git rev-parse @):
621bf4921a5dcab9ade41092c1b16db391019561
SUCCESS checkout https://github.com/Basis-Theory/ios-elements.git at master
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/Basis-Theory/ios-elements.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-5BDAB9E9C0126B9D.txt
[4/7] Compiling AnyCodable AnyDecodable.swift
[5/7] Emitting module AnyCodable
[6/7] Compiling AnyCodable AnyCodable.swift
[7/7] Compiling AnyCodable AnyEncodable.swift
[8/45] Compiling BasisTheoryElements ElementEvents.swift
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/BasisTheoryUIViewController.swift:8:8: error: no such module 'UIKit'
 6 | //
 7 |
 8 | import UIKit
   |        `- error: no such module 'UIKit'
 9 |
10 | open class BasisTheoryUIViewController: UIViewController, UITextFieldDelegate {
[9/45] Compiling BasisTheoryElements ElementMetadata.swift
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/BasisTheoryUIViewController.swift:8:8: error: no such module 'UIKit'
 6 | //
 7 |
 8 | import UIKit
   |        `- error: no such module 'UIKit'
 9 |
10 | open class BasisTheoryUIViewController: UIViewController, UITextFieldDelegate {
[10/45] Compiling BasisTheoryElements ElementTransform.swift
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/BasisTheoryUIViewController.swift:8:8: error: no such module 'UIKit'
 6 | //
 7 |
 8 | import UIKit
   |        `- error: no such module 'UIKit'
 9 |
10 | open class BasisTheoryUIViewController: UIViewController, UITextFieldDelegate {
[11/45] Compiling BasisTheoryElements EncryptTokenModel.swift
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/BasisTheoryUIViewController.swift:8:8: error: no such module 'UIKit'
 6 | //
 7 |
 8 | import UIKit
   |        `- error: no such module 'UIKit'
 9 |
10 | open class BasisTheoryUIViewController: UIViewController, UITextFieldDelegate {
[12/49] Compiling BasisTheoryElements AccessRule.swift
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/BasisTheoryUIViewController.swift:8:8: error: no such module 'UIKit'
 6 | //
 7 |
 8 | import UIKit
   |        `- error: no such module 'UIKit'
 9 |
10 | open class BasisTheoryUIViewController: UIViewController, UITextFieldDelegate {
[13/49] Compiling BasisTheoryElements AnyCodableExtensions.swift
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/BasisTheoryUIViewController.swift:8:8: error: no such module 'UIKit'
 6 | //
 7 |
 8 | import UIKit
   |        `- error: no such module 'UIKit'
 9 |
10 | open class BasisTheoryUIViewController: UIViewController, UITextFieldDelegate {
[14/49] Compiling BasisTheoryElements Application.swift
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/BasisTheoryUIViewController.swift:8:8: error: no such module 'UIKit'
 6 | //
 7 |
 8 | import UIKit
   |        `- error: no such module 'UIKit'
 9 |
10 | open class BasisTheoryUIViewController: UIViewController, UITextFieldDelegate {
[15/49] Compiling BasisTheoryElements AuthorizeSessionRequest.swift
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/BasisTheoryUIViewController.swift:8:8: error: no such module 'UIKit'
 6 | //
 7 |
 8 | import UIKit
   |        `- error: no such module 'UIKit'
 9 |
10 | open class BasisTheoryUIViewController: UIViewController, UITextFieldDelegate {
[16/49] Compiling BasisTheoryElements AuthorizeSessionResponse.swift
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/BasisTheoryUIViewController.swift:8:8: error: no such module 'UIKit'
 6 | //
 7 |
 8 | import UIKit
   |        `- error: no such module 'UIKit'
 9 |
10 | open class BasisTheoryUIViewController: UIViewController, UITextFieldDelegate {
[17/49] Compiling BasisTheoryElements EncryptionMetadata.swift
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/BasisTheoryUIViewController.swift:8:8: error: no such module 'UIKit'
 6 | //
 7 |
 8 | import UIKit
   |        `- error: no such module 'UIKit'
 9 |
10 | open class BasisTheoryUIViewController: UIViewController, UITextFieldDelegate {
[18/49] Compiling BasisTheoryElements GetTokenByIdResponse.swift
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/BasisTheoryUIViewController.swift:8:8: error: no such module 'UIKit'
 6 | //
 7 |
 8 | import UIKit
   |        `- error: no such module 'UIKit'
 9 |
10 | open class BasisTheoryUIViewController: UIViewController, UITextFieldDelegate {
[19/49] Compiling BasisTheoryElements HTTPMethod.swift
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/BasisTheoryUIViewController.swift:8:8: error: no such module 'UIKit'
 6 | //
 7 |
 8 | import UIKit
   |        `- error: no such module 'UIKit'
 9 |
10 | open class BasisTheoryUIViewController: UIViewController, UITextFieldDelegate {
[20/49] Compiling BasisTheoryElements HttpClientHelpers.swift
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/BasisTheoryUIViewController.swift:8:8: error: no such module 'UIKit'
 6 | //
 7 |
 8 | import UIKit
   |        `- error: no such module 'UIKit'
 9 |
10 | open class BasisTheoryUIViewController: UIViewController, UITextFieldDelegate {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[21/49] Emitting module BasisTheoryElements
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/BasisTheoryUIViewController.swift:8:8: error: no such module 'UIKit'
 6 | //
 7 |
 8 | import UIKit
   |        `- error: no such module 'UIKit'
 9 |
10 | open class BasisTheoryUIViewController: UIViewController, UITextFieldDelegate {
[22/49] Compiling BasisTheoryElements BinLookup.swift
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/BasisTheoryUIViewController.swift:8:8: error: no such module 'UIKit'
 6 | //
 7 |
 8 | import UIKit
   |        `- error: no such module 'UIKit'
 9 |
10 | open class BasisTheoryUIViewController: UIViewController, UITextFieldDelegate {
[23/49] Compiling BasisTheoryElements BtDatadogLogger.swift
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/BasisTheoryUIViewController.swift:8:8: error: no such module 'UIKit'
 6 | //
 7 |
 8 | import UIKit
   |        `- error: no such module 'UIKit'
 9 |
10 | open class BasisTheoryUIViewController: UIViewController, UITextFieldDelegate {
[24/49] Compiling BasisTheoryElements CardBrand.swift
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/BasisTheoryUIViewController.swift:8:8: error: no such module 'UIKit'
 6 | //
 7 |
 8 | import UIKit
   |        `- error: no such module 'UIKit'
 9 |
10 | open class BasisTheoryUIViewController: UIViewController, UITextFieldDelegate {
[25/49] Compiling BasisTheoryElements CardBrandSelectorUIButton.swift
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/BasisTheoryUIViewController.swift:8:8: error: no such module 'UIKit'
 6 | //
 7 |
 8 | import UIKit
   |        `- error: no such module 'UIKit'
 9 |
10 | open class BasisTheoryUIViewController: UIViewController, UITextFieldDelegate {
[26/49] Compiling BasisTheoryElements CardExpirationDateUITextField.swift
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/BasisTheoryUIViewController.swift:8:8: error: no such module 'UIKit'
 6 | //
 7 |
 8 | import UIKit
   |        `- error: no such module 'UIKit'
 9 |
10 | open class BasisTheoryUIViewController: UIViewController, UITextFieldDelegate {
[27/49] Compiling BasisTheoryElements CardNumberElementUITextField.swift
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/BasisTheoryUIViewController.swift:8:8: error: no such module 'UIKit'
 6 | //
 7 |
 8 | import UIKit
   |        `- error: no such module 'UIKit'
 9 |
10 | open class BasisTheoryUIViewController: UIViewController, UITextFieldDelegate {
[28/49] Compiling BasisTheoryElements CardVerificationCodeUITextField.swift
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/BasisTheoryUIViewController.swift:8:8: error: no such module 'UIKit'
 6 | //
 7 |
 8 | import UIKit
   |        `- error: no such module 'UIKit'
 9 |
10 | open class BasisTheoryUIViewController: UIViewController, UITextFieldDelegate {
[29/49] Compiling BasisTheoryElements CreateSessionResponse.swift
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/BasisTheoryUIViewController.swift:8:8: error: no such module 'UIKit'
 6 | //
 7 |
 8 | import UIKit
   |        `- error: no such module 'UIKit'
 9 |
10 | open class BasisTheoryUIViewController: UIViewController, UITextFieldDelegate {
[30/49] Compiling BasisTheoryElements TokenIntentClient.swift
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/BasisTheoryUIViewController.swift:8:8: error: no such module 'UIKit'
 6 | //
 7 |
 8 | import UIKit
   |        `- error: no such module 'UIKit'
 9 |
10 | open class BasisTheoryUIViewController: UIViewController, UITextFieldDelegate {
[31/49] Compiling BasisTheoryElements TokenIntentModels.swift
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/BasisTheoryUIViewController.swift:8:8: error: no such module 'UIKit'
 6 | //
 7 |
 8 | import UIKit
   |        `- error: no such module 'UIKit'
 9 |
10 | open class BasisTheoryUIViewController: UIViewController, UITextFieldDelegate {
[32/49] Compiling BasisTheoryElements UpdateToken.swift
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/BasisTheoryUIViewController.swift:8:8: error: no such module 'UIKit'
 6 | //
 7 |
 8 | import UIKit
   |        `- error: no such module 'UIKit'
 9 |
10 | open class BasisTheoryUIViewController: UIViewController, UITextFieldDelegate {
[33/49] Compiling BasisTheoryElements UpdateTokenRequest.swift
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/BasisTheoryUIViewController.swift:8:8: error: no such module 'UIKit'
 6 | //
 7 |
 8 | import UIKit
   |        `- error: no such module 'UIKit'
 9 |
10 | open class BasisTheoryUIViewController: UIViewController, UITextFieldDelegate {
[34/49] Compiling BasisTheoryElements CreateToken.swift
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/BasisTheoryUIViewController.swift:8:8: error: no such module 'UIKit'
 6 | //
 7 |
 8 | import UIKit
   |        `- error: no such module 'UIKit'
 9 |
10 | open class BasisTheoryUIViewController: UIViewController, UITextFieldDelegate {
[35/49] Compiling BasisTheoryElements CreateTokenRequest.swift
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/BasisTheoryUIViewController.swift:8:8: error: no such module 'UIKit'
 6 | //
 7 |
 8 | import UIKit
   |        `- error: no such module 'UIKit'
 9 |
10 | open class BasisTheoryUIViewController: UIViewController, UITextFieldDelegate {
[36/49] Compiling BasisTheoryElements CreateTokenResponse.swift
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/BasisTheoryUIViewController.swift:8:8: error: no such module 'UIKit'
 6 | //
 7 |
 8 | import UIKit
   |        `- error: no such module 'UIKit'
 9 |
10 | open class BasisTheoryUIViewController: UIViewController, UITextFieldDelegate {
[37/49] Compiling BasisTheoryElements DeviceInfo.swift
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/BasisTheoryUIViewController.swift:8:8: error: no such module 'UIKit'
 6 | //
 7 |
 8 | import UIKit
   |        `- error: no such module 'UIKit'
 9 |
10 | open class BasisTheoryUIViewController: UIViewController, UITextFieldDelegate {
[38/49] Compiling BasisTheoryElements JSON.swift
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/BasisTheoryUIViewController.swift:8:8: error: no such module 'UIKit'
 6 | //
 7 |
 8 | import UIKit
   |        `- error: no such module 'UIKit'
 9 |
10 | open class BasisTheoryUIViewController: UIViewController, UITextFieldDelegate {
[39/49] Compiling BasisTheoryElements JWEEncryption.swift
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/BasisTheoryUIViewController.swift:8:8: error: no such module 'UIKit'
 6 | //
 7 |
 8 | import UIKit
   |        `- error: no such module 'UIKit'
 9 |
10 | open class BasisTheoryUIViewController: UIViewController, UITextFieldDelegate {
[40/49] Compiling BasisTheoryElements Privacy.swift
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/BasisTheoryUIViewController.swift:8:8: error: no such module 'UIKit'
 6 | //
 7 |
 8 | import UIKit
   |        `- error: no such module 'UIKit'
 9 |
10 | open class BasisTheoryUIViewController: UIViewController, UITextFieldDelegate {
[41/49] Compiling BasisTheoryElements ProxyHelpers.swift
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/BasisTheoryUIViewController.swift:8:8: error: no such module 'UIKit'
 6 | //
 7 |
 8 | import UIKit
   |        `- error: no such module 'UIKit'
 9 |
10 | open class BasisTheoryUIViewController: UIViewController, UITextFieldDelegate {
[42/49] Compiling BasisTheoryElements ProxyHttpRequest.swift
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/BasisTheoryUIViewController.swift:8:8: error: no such module 'UIKit'
 6 | //
 7 |
 8 | import UIKit
   |        `- error: no such module 'UIKit'
 9 |
10 | open class BasisTheoryUIViewController: UIViewController, UITextFieldDelegate {
[43/49] Compiling BasisTheoryElements TelemetryLogging.swift
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/BasisTheoryUIViewController.swift:8:8: error: no such module 'UIKit'
 6 | //
 7 |
 8 | import UIKit
   |        `- error: no such module 'UIKit'
 9 |
10 | open class BasisTheoryUIViewController: UIViewController, UITextFieldDelegate {
[44/49] Compiling BasisTheoryElements TextElementUITextField.swift
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/BasisTheoryUIViewController.swift:8:8: error: no such module 'UIKit'
 6 | //
 7 |
 8 | import UIKit
   |        `- error: no such module 'UIKit'
 9 |
10 | open class BasisTheoryUIViewController: UIViewController, UITextFieldDelegate {
[45/49] Compiling BasisTheoryElements Token.swift
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/BasisTheoryUIViewController.swift:8:8: error: no such module 'UIKit'
 6 | //
 7 |
 8 | import UIKit
   |        `- error: no such module 'UIKit'
 9 |
10 | open class BasisTheoryUIViewController: UIViewController, UITextFieldDelegate {
[46/49] Compiling BasisTheoryElements BaseElement.swift
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/BasisTheoryUIViewController.swift:8:8: error: no such module 'UIKit'
 6 | //
 7 |
 8 | import UIKit
   |        `- error: no such module 'UIKit'
 9 |
10 | open class BasisTheoryUIViewController: UIViewController, UITextFieldDelegate {
[47/49] Compiling BasisTheoryElements BasisTheoryElements.swift
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/BasisTheoryUIViewController.swift:8:8: error: no such module 'UIKit'
 6 | //
 7 |
 8 | import UIKit
   |        `- error: no such module 'UIKit'
 9 |
10 | open class BasisTheoryUIViewController: UIViewController, UITextFieldDelegate {
[48/49] Compiling BasisTheoryElements BasisTheoryUIViewController.swift
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/BasisTheoryUIViewController.swift:8:8: error: no such module 'UIKit'
 6 | //
 7 |
 8 | import UIKit
   |        `- error: no such module 'UIKit'
 9 |
10 | open class BasisTheoryUIViewController: UIViewController, UITextFieldDelegate {
[49/49] Compiling BasisTheoryElements BinInfo.swift
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/BasisTheoryUIViewController.swift:8:8: error: no such module 'UIKit'
 6 | //
 7 |
 8 | import UIKit
   |        `- error: no such module 'UIKit'
 9 |
10 | open class BasisTheoryUIViewController: UIViewController, UITextFieldDelegate {
Fetching https://github.com/Flight-School/AnyCodable
[1/782] Fetching anycodable
Fetched https://github.com/Flight-School/AnyCodable from cache (0.84s)
Computing version for https://github.com/Flight-School/AnyCodable
Computed https://github.com/Flight-School/AnyCodable at 0.6.7 (0.54s)
Creating working copy for https://github.com/Flight-School/AnyCodable
Working copy of https://github.com/Flight-School/AnyCodable resolved at 0.6.7
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/Resources/Assets.xcassets
BUILD FAILURE 6.0 macosSpm