Repository navigation
π Swift 6.1.0
This release introduces the first version of the precompiled Swift runtime libraries for Android, distributed as .aar artifacts via JitPack.
π¦ Included Modules
Each module is built as a standalone .aar and includes ABI-specific native .so files for:
- arm64-v8a
- armeabi-v7a
- x86_64
Published artifacts:
- compression
- core
- foundation
- foundationessentials
- i18n
- networking
- testing
- xml
β Features
- Fully packaged .aar files with Swift runtime .so libraries.
- Compatible with minSdk 21+.
- Ready-to-use from any Android project via Gradle and JitPack.
- Designed for Swift-on-Android apps using JNI and native libraries.
π§ How to Use
Add this to your build.gradle.kts:
repositories {
maven { url = uri("https://jitpack.io") }
}
dependencies {
implementation("com.github.SwifDroid.runtime-libs:core:6.1.0")
implementation("com.github.SwifDroid.runtime-libs:foundationessentials:6.1.0")
// Add other modules as needed
}π Notes
Each .aar contains native .so libraries inside jni/ folders.
You must configure your Android app to include these .so files in your APK (see packagingOptions or sourceSets.jniLibs if needed).
Built with Android Gradle Plugin 8.3.1 and Gradle 8.11.1.