The Swift Package Index logo.Swift Package Index

Build Information

Failed to build KAPinField, reference 5.0.3 (16ee8b), with Swift 6.2 for macOS (SPM) on 21 Jun 2025 11:52:11 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/alexiscreuzot/KAPinField.git
Reference: 5.0.3
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/alexiscreuzot/KAPinField
 * tag               5.0.3      -> FETCH_HEAD
HEAD is now at 16ee8b1 Documentation, pod
Cloned https://github.com/alexiscreuzot/KAPinField.git
Revision (git rev-parse @):
16ee8b12acb947b383eb5cff9d40c1e03f11b412
SUCCESS checkout https://github.com/alexiscreuzot/KAPinField.git at 5.0.3
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/alexiscreuzot/KAPinField.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-1EA4D86E10B52AF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/4] Emitting module KAPinField
/Users/admin/builder/spi-builder-workspace/KAPinField/Sources/KAPinField.swift:9:8: error: no such module 'UIKit'
  7 | //
  8 |
  9 | import UIKit
    |        `- error: no such module 'UIKit'
 10 |
 11 | // Mark: - KAPinFieldDelegate
[4/4] Compiling KAPinField KAPinField.swift
/Users/admin/builder/spi-builder-workspace/KAPinField/Sources/KAPinField.swift:77:12: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
 75 |
 76 |     // Mark: - Public vars
 77 |     private (set) var properties = KAPinFieldProperties() {
    |            `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
 78 |         didSet {
 79 |             self.reload()
/Users/admin/builder/spi-builder-workspace/KAPinField/Sources/KAPinField.swift:82:12: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
 80 |         }
 81 |     }
 82 |     private (set) var appearance = KAPinFieldAppearance() {
    |            `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
 83 |         didSet {
 84 |             self.reloadAppearance()
/Users/admin/builder/spi-builder-workspace/KAPinField/Sources/KAPinField.swift:9:8: error: no such module 'UIKit'
  7 | //
  8 |
  9 | import UIKit
    |        `- error: no such module 'UIKit'
 10 |
 11 | // Mark: - KAPinFieldDelegate
BUILD FAILURE 6.2 macosSpm