The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build MangopayVaultSDK, reference main (ce8a8a), with Swift 5.9 for macOS (SPM) on 17 Sep 2024 09:44:30 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.53.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Mangopay/mangopay-ios-vault-sdk.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/Mangopay/mangopay-ios-vault-sdk
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at ce8a8a8 CardRegistration Field Update
Cloned https://github.com/Mangopay/mangopay-ios-vault-sdk.git
Revision (git rev-parse @):
ce8a8a8b71286377afcbe8d076c8074b9f21a33f
SUCCESS checkout https://github.com/Mangopay/mangopay-ios-vault-sdk.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             5.9
Building package at path:  $PWD
https://github.com/Mangopay/mangopay-ios-vault-sdk.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.2.0.app xcrun swift build --arch arm64
Building for debugging...
[1/10] Compiling MangopayVaultSDK NetworkUtil.swift
/Users/admin/builder/spi-builder-workspace/MangopayVaultSDK/Networking/NetworkUtil.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[2/10] Compiling MangopayVaultSDK MGPVaultError.swift
/Users/admin/builder/spi-builder-workspace/MangopayVaultSDK/Networking/NetworkUtil.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[3/10] Compiling MangopayVaultSDK Validator.swift
/Users/admin/builder/spi-builder-workspace/MangopayVaultSDK/Networking/NetworkUtil.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[4/10] Compiling MangopayVaultSDK CardValidationError.swift
/Users/admin/builder/spi-builder-workspace/MangopayVaultSDK/Networking/NetworkUtil.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[5/10] Compiling MangopayVaultSDK CardRegistration.swift
/Users/admin/builder/spi-builder-workspace/MangopayVaultSDK/Networking/NetworkUtil.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[6/10] Compiling MangopayVaultSDK MangopayVaultClient.swift
/Users/admin/builder/spi-builder-workspace/MangopayVaultSDK/Networking/NetworkUtil.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[7/10] Compiling MangopayVaultSDK MangopayVault.swift
/Users/admin/builder/spi-builder-workspace/MangopayVaultSDK/Networking/NetworkUtil.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[8/10] Compiling MangopayVaultSDK Extensions.swift
/Users/admin/builder/spi-builder-workspace/MangopayVaultSDK/Networking/NetworkUtil.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[9/10] Emitting module MangopayVaultSDK
/Users/admin/builder/spi-builder-workspace/MangopayVaultSDK/Networking/NetworkUtil.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[10/10] Compiling MangopayVaultSDK CardInfo.swift
/Users/admin/builder/spi-builder-workspace/MangopayVaultSDK/Networking/NetworkUtil.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
error: fatalError
BUILD FAILURE 5.9 macosSpm