The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build PerfectLDAP, reference 3.0.2 (e351ef), with Swift 6.2 (beta) for macOS (SPM) on 18 Jun 2025 03:35:01 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/perfectlysoft/perfect-ldap.git
Reference: 3.0.2
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/perfectlysoft/perfect-ldap
 * tag               3.0.2      -> FETCH_HEAD
HEAD is now at e351ef5 Merge pull request #6 from Lagerregal/master
Cloned https://github.com/perfectlysoft/perfect-ldap.git
Revision (git rev-parse @):
e351ef5b9497265f9498555820e408e57f00f950
SUCCESS checkout https://github.com/perfectlysoft/perfect-ldap.git at 3.0.2
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/perfectlysoft/perfect-ldap.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/4] Write sources
[2/4] Compiling ICONVApi ICONVApi.c
[3/4] Write swift-version-1EA4D86E10B52AF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[5/6] Emitting module PerfectICONV
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Perfect-ICONV/Sources/ICONVApi/include/module.modulemap:2:10: error: header '/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/iconv.h' not found
1 | module ICONVApi [system] {
2 |   header "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/iconv.h"
  |          `- error: header '/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/iconv.h' not found
3 |   link "iconv"
4 |   export *
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Perfect-ICONV/Sources/PerfectICONV/PerfectICONV.swift:22:8: error: could not build Objective-C module 'ICONVApi'
 20 | import ICONVApiLinux
 21 | #else
 22 | import ICONVApi
    |        `- error: could not build Objective-C module 'ICONVApi'
 23 | #endif
 24 |
[6/6] Compiling PerfectICONV PerfectICONV.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Perfect-ICONV/Sources/ICONVApi/include/module.modulemap:2:10: error: header '/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/iconv.h' not found
1 | module ICONVApi [system] {
2 |   header "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/iconv.h"
  |          `- error: header '/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/iconv.h' not found
3 |   link "iconv"
4 |   export *
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Perfect-ICONV/Sources/PerfectICONV/PerfectICONV.swift:22:8: error: could not build Objective-C module 'ICONVApi'
 20 | import ICONVApiLinux
 21 | #else
 22 | import ICONVApi
    |        `- error: could not build Objective-C module 'ICONVApi'
 23 | #endif
 24 |
Fetching https://github.com/PerfectlySoft/Perfect-OpenLDAP.git
Fetching https://github.com/PerfectSideRepos/Perfect-ICONV.git
Fetching https://github.com/PerfectlySoft/Perfect-libSASL.git
[1/29] Fetching perfect-libsasl
[15/130] Fetching perfect-libsasl, perfect-iconv
[24/162] Fetching perfect-libsasl, perfect-iconv, perfect-openldap
Fetched https://github.com/PerfectSideRepos/Perfect-ICONV.git from cache (0.63s)
Fetched https://github.com/PerfectlySoft/Perfect-libSASL.git from cache (0.63s)
Fetched https://github.com/PerfectlySoft/Perfect-OpenLDAP.git from cache (0.64s)
Computing version for https://github.com/PerfectSideRepos/Perfect-ICONV.git
Computed https://github.com/PerfectSideRepos/Perfect-ICONV.git at 3.0.1 (1.18s)
Computing version for https://github.com/PerfectlySoft/Perfect-libSASL.git
Computed https://github.com/PerfectlySoft/Perfect-libSASL.git at 1.0.2 (0.50s)
Computing version for https://github.com/PerfectlySoft/Perfect-OpenLDAP.git
Computed https://github.com/PerfectlySoft/Perfect-OpenLDAP.git at 1.0.3 (0.49s)
Creating working copy for https://github.com/PerfectlySoft/Perfect-OpenLDAP.git
Working copy of https://github.com/PerfectlySoft/Perfect-OpenLDAP.git resolved at 1.0.3
Creating working copy for https://github.com/PerfectSideRepos/Perfect-ICONV.git
Working copy of https://github.com/PerfectSideRepos/Perfect-ICONV.git resolved at 3.0.1
Creating working copy for https://github.com/PerfectlySoft/Perfect-libSASL.git
Working copy of https://github.com/PerfectlySoft/Perfect-libSASL.git resolved at 1.0.2
warning: 'perfect-openldap': ignoring declared target(s) 'OpenLDAP' in the system package
warning: 'perfect-libsasl': ignoring declared target(s) 'SASL' in the system package
warning: 'spi-builder-workspace': dependency 'perfect-libsasl' is not used by any target
warning: 'spi-builder-workspace': dependency 'perfect-openldap' is not used by any target
BUILD FAILURE 6.2 macosSpm