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 PerfectICONV, reference 3.0.1 (9158e2), with Swift 6.2 (beta) for macOS (SPM) on 17 Jun 2025 14:58:23 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/perfectsiderepos/perfect-iconv.git
Reference: 3.0.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/perfectsiderepos/perfect-iconv
 * tag               3.0.1      -> FETCH_HEAD
HEAD is now at 9158e26 updating doc
Cloned https://github.com/perfectsiderepos/perfect-iconv.git
Revision (git rev-parse @):
9158e26559b7e33eff6b9bd890fd1e80134dd3af
SUCCESS checkout https://github.com/perfectsiderepos/perfect-iconv.git at 3.0.1
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/perfectsiderepos/perfect-iconv.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/3] Write sources
[1/3] Compiling ICONVApi ICONVApi.c
[2/3] Write swift-version-1EA4D86E10B52AF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/5] Emitting module PerfectICONV
/Users/admin/builder/spi-builder-workspace/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/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 |
[5/5] Compiling PerfectICONV PerfectICONV.swift
/Users/admin/builder/spi-builder-workspace/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/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 |
BUILD FAILURE 6.2 macosSpm