Build Information
Failed to build PerfectICONV with Swift 6.0 for macOS (SPM).
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
========================================
RunAll
========================================
Builder version: 4.40.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.0
Building package at path: $workDir
https://github.com/perfectsiderepos/perfect-iconv.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/3] Write sources
[1/3] Compiling ICONVApi ICONVApi.c
[2/3] Write swift-version-6F35C1178C84523A.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.0 macosSpm