An iOS app for local AI chat and text-to-speech using Apple Intelligence and llama.cpp.
- Xcode 26.0+
- iOS 26.0+
- macOS 14.0+ (for building)
- CMake 3.28+ (
brew install cmake)
git clone --recursive https://github.com/LeoBlackCat/LocalVoice.git
cd LocalVoiceOr if already cloned:
git submodule update --init --recursivecd llama.cpp
./build-xcframework.sh
cd ..This takes 10-20 minutes and creates llama.cpp/build-apple/llama.xcframework.
open LocalVoice.xcodeprojSelect your development team and build.
- AI Chat - Powered by Apple Intelligence (iOS 26+) or local llama.cpp models
- Text-to-Speech - Apple TTS with enhanced voice selection
- Document RAG - Chat with your documents (iOS 26+)
LocalAI/- Main app source codellama.cpp/- Local LLM inference engine (submodule)espeak-ng.xcframework/- Phonemizer for text processing