Build Information
Failed to build JavaCoder, reference 1.1.2 (d46cfd), with Swift 6.3 for macOS (SPM) on 10 Apr 2026 17:01:17 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64Build Log
========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/readdle/swift-java-coder.git
Reference: 1.1.2
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/readdle/swift-java-coder
* tag 1.1.2 -> FETCH_HEAD
HEAD is now at d46cfd9 Dev: fix issue with creating second instance of Kotlin data object
Cloned https://github.com/readdle/swift-java-coder.git
Revision (git rev-parse @):
d46cfd9f0efb61e45b08a01160a9e4aa35ae4817
SUCCESS checkout https://github.com/readdle/swift-java-coder.git at 1.1.2
Fetching https://github.com/readdle/java_swift.git
Fetching https://github.com/readdle/swift-anycodable.git
[1/320] Fetching java_swift
[321/412] Fetching java_swift, swift-anycodable
Fetched https://github.com/readdle/java_swift.git from cache (0.93s)
Fetched https://github.com/readdle/swift-anycodable.git from cache (0.93s)
Computing version for https://github.com/readdle/swift-anycodable.git
Computed https://github.com/readdle/swift-anycodable.git at 1.0.3 (1.61s)
Computing version for https://github.com/readdle/java_swift.git
Computed https://github.com/readdle/java_swift.git at 2.2.3 (0.66s)
Fetching https://github.com/readdle/swift-android-ndk.git
[1/80] Fetching swift-android-ndk
Fetched https://github.com/readdle/swift-android-ndk.git from cache (0.64s)
Computing version for https://github.com/readdle/swift-android-ndk.git
Computed https://github.com/readdle/swift-android-ndk.git at 1.1.4 (3.08s)
Creating working copy for https://github.com/readdle/swift-anycodable.git
Working copy of https://github.com/readdle/swift-anycodable.git resolved at 1.0.3
Creating working copy for https://github.com/readdle/swift-android-ndk.git
Working copy of https://github.com/readdle/swift-android-ndk.git resolved at 1.1.4
Creating working copy for https://github.com/readdle/java_swift.git
Working copy of https://github.com/readdle/java_swift.git resolved at 2.2.3
========================================
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": "swift-java-coder",
"name": "JavaCoder",
"url": "https://github.com/readdle/swift-java-coder.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-java-coder",
"traits": [
"default"
],
"dependencies": [
{
"identity": "java_swift",
"name": "java_swift",
"url": "https://github.com/readdle/java_swift.git",
"version": "2.2.3",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/java_swift",
"traits": [
"default"
],
"dependencies": [
{
"identity": "swift-android-ndk",
"name": "AndroidNDK",
"url": "https://github.com/readdle/swift-android-ndk.git",
"version": "1.1.4",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-android-ndk",
"traits": [
"default"
],
"dependencies": [
]
}
]
},
{
"identity": "swift-anycodable",
"name": "AnyCodable",
"url": "https://github.com/readdle/swift-anycodable.git",
"version": "1.0.3",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-anycodable",
"traits": [
"default"
],
"dependencies": [
]
}
]
}
]
}
Fetching https://github.com/readdle/swift-java-coder.git
[1/353] Fetching swift-java-coder
Fetched https://github.com/readdle/swift-java-coder.git from cache (0.82s)
Fetching https://github.com/readdle/swift-anycodable.git from cache
Fetching https://github.com/readdle/java_swift.git from cache
Fetched https://github.com/readdle/java_swift.git from cache (0.48s)
Fetched https://github.com/readdle/swift-anycodable.git from cache (0.48s)
Computing version for https://github.com/readdle/swift-anycodable.git
Computed https://github.com/readdle/swift-anycodable.git at 1.0.3 (0.54s)
Computing version for https://github.com/readdle/java_swift.git
Computed https://github.com/readdle/java_swift.git at 2.2.3 (0.03s)
Fetching https://github.com/readdle/swift-android-ndk.git from cache
Fetched https://github.com/readdle/swift-android-ndk.git from cache (0.47s)
Computing version for https://github.com/readdle/swift-android-ndk.git
Computed https://github.com/readdle/swift-android-ndk.git at 1.1.4 (0.53s)
Creating working copy for https://github.com/readdle/swift-android-ndk.git
Working copy of https://github.com/readdle/swift-android-ndk.git resolved at 1.1.4
Creating working copy for https://github.com/readdle/swift-java-coder.git
Working copy of https://github.com/readdle/swift-java-coder.git resolved at 1.1.2 (d46cfd9)
Creating working copy for https://github.com/readdle/java_swift.git
Working copy of https://github.com/readdle/java_swift.git resolved at 2.2.3
Creating working copy for https://github.com/readdle/swift-anycodable.git
Working copy of https://github.com/readdle/swift-anycodable.git resolved at 1.0.3
warning: '.resolve-product-dependencies': dependency 'swift-java-coder' is not used by any target
Found 2 product dependencies
- java_swift
- AnyCodable
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.3
Building package at path: $PWD
https://github.com/readdle/swift-java-coder.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64
Building for debugging...
[0/6] Write sources
[4/6] Write swift-version--6988338F2F200930.txt
In file included from /Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-android-ndk/Sources/CAndroidNDK/MainRunLoop.c:1:
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-android-ndk/Sources/CAndroidNDK/include/AndroidNDK.h:4:10: fatal error: 'jni.h' file not found
4 | #include <jni.h>
| ^~~~~~~
1 error generated.
[5/8] Compiling CAndroidNDK MainRunLoop.c
BUILD FAILURE 6.3 macosSpm