The Swift Package Index logo.Swift Package Index

Build Information

Failed to build PerfectICONV, reference 3.0.1 (9158e2), with Swift 6.3 for macOS (SPM) on 10 Apr 2026 11:16:16 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.70.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
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "traits": [
    "default"
  ],
  "dependencies": [
    {
      "identity": "perfect-iconv",
      "name": "PerfectICONV",
      "url": "https://github.com/perfectsiderepos/perfect-iconv.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/perfect-iconv",
      "traits": [
        "default"
      ],
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/perfectsiderepos/perfect-iconv.git
[1/101] Fetching perfect-iconv
Fetched https://github.com/perfectsiderepos/perfect-iconv.git from cache (0.59s)
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 (9158e26)
warning: '.resolve-product-dependencies': dependency 'perfect-iconv' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.3
Building package at path:  $PWD
https://github.com/perfectsiderepos/perfect-iconv.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64
Building for debugging...
[0/3] Write sources
[1/3] Compiling ICONVApi ICONVApi.c
[2/3] Write swift-version--6988338F2F200930.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.3 macosSpm