Swift Package Manager
Choosing a Product
FluidAudio provides two library products:FluidAudio(default) — Core functionality: ASR, diarization, VAD. Lightweight, no GPL dependencies.FluidAudioTTS— Text-to-Speech (Kokoro). Includes ESpeakNG framework (GPL-3.0). Only bundled if you explicitly add it.
- File > Add Package Dependencies
- Enter the FluidAudio repository URL
- Select your desired product (
FluidAudioorFluidAudioTTS) - Add to your app target
CocoaPods
We recommend using cocoapods-spm for better SPM integration, but you can also use the podspec:Other Frameworks
The Kokoro TTS tooling currently ships arm64-only dependencies. See the TTS docs if you hit linker errors targeting x86_64.