Build Information
Failed to build java_swift, reference 2.2.3 (8c6910), with Swift 6.2 for macOS (SPM) on 23 Jun 2025 03:53:02 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/java_swift.git
Reference: 2.2.3
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/readdle/java_swift
* tag 2.2.3 -> FETCH_HEAD
HEAD is now at 8c6910d Dev: fix Swift6 support
Cloned https://github.com/readdle/java_swift.git
Revision (git rev-parse @):
8c6910dbc94657e5dfb2bc9d1d4d862ffd809d83
SUCCESS checkout https://github.com/readdle/java_swift.git at 2.2.3
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.2
Building package at path: $PWD
https://github.com/readdle/java_swift.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/4] Write sources
[2/4] 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.
[3/4] Compiling CAndroidNDK MainRunLoop.c
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.65s)
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.65s)
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
BUILD FAILURE 6.2 macosSpm