Build Information
Failed to build JavaCoder, reference 1.1.2 (d46cfd), with Swift 6.2 for macOS (SPM) on 21 Jun 2025 15:28:37 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64Build Log
========================================
RunAll
========================================
Builder version: 4.64.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
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.2
Building package at path: $PWD
https://github.com/readdle/swift-java-coder.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/6] Write sources
[4/6] Write swift-version-1EA4D86E10B52AF.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
Fetching https://github.com/readdle/java_swift.git
Fetching https://github.com/readdle/swift-anycodable.git
[1/92] Fetching swift-anycodable
[20/412] Fetching swift-anycodable, java_swift
Fetched https://github.com/readdle/java_swift.git from cache (0.75s)
Fetched https://github.com/readdle/swift-anycodable.git from cache (0.75s)
Computing version for https://github.com/readdle/swift-anycodable.git
Computed https://github.com/readdle/swift-anycodable.git at 1.0.3 (1.31s)
Computing version for https://github.com/readdle/java_swift.git
Computed https://github.com/readdle/java_swift.git at 2.2.3 (0.51s)
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.61s)
Computing version for https://github.com/readdle/swift-android-ndk.git
Computed https://github.com/readdle/swift-android-ndk.git at 1.1.4 (2.61s)
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
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
BUILD FAILURE 6.2 macosSpm