The Swift Package Index logo.Swift Package Index

Build Information

Failed to build PerfectICONV, reference master (9158e2), with Swift 6.2 for macOS (SPM) on 17 Jun 2025 14:58:34 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: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/perfectsiderepos/perfect-iconv
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
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 master
========================================
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