timmyy123/LLM-Hub
关于
本地 LLM、图像/视频/音乐生成器,可在 8GB 手机上运行 26B MoE 模型
设计与媒体可以做什么
- GPU and NPU acceleration (Snapdragon Hexagon NPU, LiteRT GPU, OpenCL and Vulkan) with automatic CPU fallback
- Several on-device engines: LiteRT-LM, MediaPipe, llama.cpp (GGUF) and ONNX Runtime on Android; llama.cpp, Apple Foundation Model and Draw Things on iOS
- Vision and audio input with multimodal models
- Thinking models with their reasoning shown
实测星标增长
- 24小时
- +2
- 7天
- +9
- 15天
- +18
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文LLM Hub
LLM Hub is an open-source app for on-device LLM chat, image generation, video generation, and music generation, available for both Android and iOS, and now on Windows, macOS and Linux as LLM Hub Desktop. It's optimized for mobile usage (CPU/GPU/NPU acceleration) and supports multiple model formats so you can run powerful models locally and privately.
Featured: Featured by RunAnywhere on their website. Read the LLM Hub iOS Case Study!
Download
|
|
LLM Hub Desktop
LLM Hub Desktop 0.1.3 is out: native apps for Windows, macOS and Linux. Chat with local models, run Claude Code and OpenClaw on them, turn prompts into slides and pages, generate images, video and music, and serve OpenAI and Anthropic compatible APIs to your other apps. No account and no cloud. See the release notes for what's new and checksums.
| Download | For |
|---|---|
| macOS | Mac with Apple silicon, macOS 26 or later. Signed and notarized. |
| Windows x64 | Windows 10 (version 2004) or later on an Intel or AMD PC |
| Windows on Arm | Snapdragon PCs |
| Linux .deb | Ubuntu 24.04 or later, Debian and their derivatives |
| Linux AppImage | Other x64 distributions with GTK 4 and libadwaita 1.4 or later |
The Windows installers aren't code signed yet, so Windows may show "Windows protected your PC": click More info, then Run anyway. Signing is being set up, see the code signing policy. To build it yourself, see desktop/README.md.
Code signing policy
Free code signing provided by SignPath.io, certificate by SignPath Foundation.
- Signed Windows builds are built only from this repository's source, by the Desktop Windows installers workflow on GitHub-hosted runners.
- Committers and reviewers: Timmy Qian
- Approvers: Timmy Qian, who approves every signing request in SignPath
- Privacy: see the LLM Hub privacy policy
Demo & Screenshots
| Vibe Coder Demo on iOS | Image Generation on Android |
|---|---|
![]() |
![]() |
| Vibe Coder using Gemma 4 model on iPhone (HTML preview) | Stable Diffusion image generation on Android |
| AI Agent Termux Command Execution on Android | Music Generation on iOS |
|---|---|
![]() |
![]() |
Autonomous AI Agent executing Termux shell commands (ls list files) with live terminal output on Android |
On-device music generation with Magenta Realtime 2 on iPhone |
Features
AI Tools Suite
| Tool | Description |
|---|---|
| Chat | Multi-turn conversations with RAG memory, web search, TTS auto-readout, and multimodal input |
| AI Agent | Autonomous device agent with function calling, interactive maps, device tools, MCP tools, and Termux terminal command generation on Android |
| creAItor | Design custom AI personas with specialized system prompts (PCTF) in seconds |
| Vibe Coder | Build apps with live HTML/JS preview; Android also runs Codex and Claude Code through Termux using your selected local model |
| Writing Aid | Summarize, expand, rewrite, improve grammar, or generate code from descriptions |
| Image Generator | Create images from text prompts using Stable Diffusion 1.5 with swipeable gallery |
| Music Generator | Generate music and sound effects locally with Stable Audio 3 (Small Music, Small SFX, Medium) and SoundGen on Android, and Magenta Realtime 2 on iOS and Snapdragon Android, with live playback as music is generated (iOS, and Snapdragon 8 Elite Gen 5/Gen 6) |
| Instant Media Search | Search photos and videos by description or a reference image on Android and iOS using on-device EmbeddingGemma 2 |
| Video Moment Finder | Describe a moment in a video and jump to matching timestamps using visual and audio embeddings on Android and iOS |
| Text to Speech & Voice Cloning | Android supports Kokoro, multilingual Supertonic 3 with voice-profile import, Pocket TTS with on-device voice cloning, and Phonon |
| Image Upscale | Upscale images up to 4× using AI super-resolution models (RealESRGAN, UltraSharp) with NPU acceleration |
| Object Eraser | Paint over objects to remove them from photos on Android, with MI-GAN (Quick) or LaMa (HD) on the GPU with CPU fallback |
| Video Generator | Generate videos from text prompts or images: LTX-Video and SANA-Video 2B on Android (NPU on Snapdragon, MediaTek Dimensity and Google Tensor, Vulkan GPU or CPU), 1 or 5 seconds, with start, end and keyframe images; Stable Video Diffusion on iOS |
| Translator | Translate text, images (OCR), and audio across 50+ languages - offline |
| Transcriber | Convert speech to text on-device with Whisper, Moonshine, Parakeet, Parakeet Ultra, Granite Speech, ML Kit or audio-capable Gemma models, with live transcription while you speak |
| Scam Detector | Analyze messages and images for phishing with risk assessment |
| VibeVoice | Hands-free AI voice chat |
AI Agent & Termux Terminal Command Generation
The AI Agent turns on-device LLMs into autonomous assistants with device function calling capabilities:
- Device Actions & Function Calling: Embedded interactive maps (OpenStreetMap), calendar management, alarm setup, flashlight toggle, SMS & Email composition, cryptographic hashing (SHA-256/MD5), and math calculation.
- MCP Tools: Connect Model Context Protocol (MCP) servers so the Agent can discover and use external tools such as filesystem, search, document, memory, or custom hosted tools. MCP calls require user approval before execution.
- Termux Command Generation (Android): Automatically drafts shell/CLI commands targeting Termux environment execution (
RUN_COMMAND_SERVICEintent interface). - Interactive Pre-Execution Editing: Users can inspect and edit AI-generated shell commands before execution.
- Live Dark Terminal Container: Formats and streams live command outputs (
stdout/stderr) in a dark monospace terminal UI block. - AI Error Auto-Correction Loop: When a shell command fails or encounters permission/syntax errors, the agent automatically feeds the error logs back into the LLM for self-diagnostics and auto-generates fix commands.
Supported ASR Models (Android)
The offline Transcriber on Android works with dedicated speech recognition models and with chat models that take audio input:
- Whisper Tiny, Base, Small and Large v3 Turbo (English-only and multilingual, 8-bit quantized) on whisper.cpp: on the CPU with the same optimized code as the GGUF chat models, on the GPU (Vulkan) on Exynos, MediaTek and Tensor G4 or older chips, or on the Hexagon NPU on supported Snapdragon chips.
- Whisper Tiny int8 in Google's LiteRT-LM format (~42 MB): fast English transcription on CPU or GPU.
- Moonshine Tiny (~30 MB): the fastest and lightest English model, on CPU.
- Whisper ACFT Tiny, Base and Small (English, ~60 to 287 MB): FUTO's Whisper fine-tuned for 10-second windows, so short recordings are not padded to 30 seconds.
- NVIDIA Parakeet TDT 0.6B v3: 25 European languages with automatic language detection. A LiteRT-LM build runs on any device; NPU builds run on Snapdragon 8 Gen 2, 8 Gen 3, 8 Elite and 8 Elite Gen 5, Google Tensor G5 and G6, and MediaTek Dimensity 9400 and 9500.
- Parakeet Ultra (Moondream, ~1.3 GB): Parakeet TDT 0.6B v3 post-trained for higher accuracy, the same 25 languages. Runs on the CPU, on the GPU (float16 encoder), or on the NPU of the same chips as Parakeet.
- IBM Granite Speech 5.0 2B (LiteRT-LM): English, French, German, Spanish, Portuguese and Japanese, with the audio encoder on the GPU; about 2 minutes of audio per message.
- Google ML Kit speech recognition (Basic, and Advanced on recent flagships): the system installs and updates the model, so it uses no app storage.
- Gemma-3n and Gemma-4 (E2B and E4B): multimodal models with audio input can transcribe too.
- Live transcription: with Parakeet TDT v3, Moonshine or ML Kit, turn on Live in Transcriber or VibeVoice settings and the text appears while you speak.
Android Text to Speech & Voice Cloning
- Kokoro: Local speech with downloadable voices managed in Settings.
- Supertonic 3: Multilingual on-device speech with downloadable presets and import of compatible voice-style JSON files. Raw audio cloning and Pocket TTS voice states are not supported by Supertonic's importer. See Supertonic 3 setup.
- Phonon 31M: Small, fast English speech (~84 MB) with five built-in voices.
- Pocket TTS: English speech and fully local voice cloning from recorded or imported audio. Manage, select, rename and delete cloned voices in Settings. Cloning uses 3 to 30 seconds of reference audio; longer imports use their first 30 seconds. See Pocket TTS setup.
- Selecting an engine and voice in Settings applies it to app-wide speech and auto-readout. Translator keeps system TTS.
Media Search & Video Moment Finder
On Android and iOS, Instant Media Search uses EmbeddingGemma 2 to index photos and videos locally, then find matches from a text description or reference image. Video Moment Finder combines video frames and audio from two-second windows so you can search for a scene or event and play the matching moment. Download a compatible EmbeddingGemma 2 model and choose the media to index; search runs on-device.
Android Vibe Coder, Codex & Claude Code
Enable Codex mode in Vibe Coder's model settings to use the selected on-device model with the Codex app server running in Termux. Codex can inspect project files, edit code and run project commands, with streamed activity and terminal output in the app. This mode requires an ARM64 device running Android 10 or newer and does not require an OpenAI login. Install Termux, allow external app commands, grant LLM Hub permission to run Termux commands, and use the in-app Install Codex action before starting.
Enable Claude Code mode in the same settings to run Claude Code in Termux on the selected on-device model instead. It reads and edits project files and runs commands the same way, and does not require an Anthropic account. The requirements and Termux setup are the same; use the in-app Install Claude Code in Termux action before starting. Only one of the two modes can be on at a time.
Android Video Generation
The Android Video Generator runs two video models fully on-device: Lightricks LTX-Video 2B 0.9.8 distilled in 8 denoising steps, and SANA-Video 2B.
- Clip lengths: LTX-Video makes 1-second (25 frames) and 5-second (121 frames) clips; SANA-Video 2B makes 1-second (17 frames) and 5-second (81 frames) clips. NPU builds have a fixed size and length.
- Image input (LTX-Video): a start image, an end image and any number of keyframes, each with a strength slider (keyframes also with a frame slider). The images are encoded on the NPU in about a second.
- Snapdragon NPU (LTX-Video): The transformer and VAE decoder run on the Hexagon NPU as QNN context binaries, one build per Hexagon generation: v69 (8 Gen 1, 8+ Gen 1), v73 (8 Gen 2), v75 (8 Gen 3), v79 (8 Elite), v81 (8 Elite Gen 5) and v85 (8 Elite Gen 6), plus an integer-only v73 build for chips whose NPU has no FP16 (8s Gen 4, 8s Gen 3, 7+ Gen 3, 7 Gen 4). A 25-frame 768x512 clip takes about 25 seconds on a Snapdragon 8 Elite; v69 and v73 chips generate at 512x320. 5-second 512x320 builds cover 8 Gen 1 to 8 Elite Gen 6 (8 Gen 2 with 12 GB of RAM or more); the 8 Elite Gen 5 gets the 5-second build only (121 frames in about 70 seconds on a Galaxy S26 Ultra). Models: timmyboy26/LTX-Video-2B-0.9.8-distilled-QNN.
- MediaTek and Google Tensor NPU (LiteRT): LTX-Video and SANA-Video 2B run on the NPU through LiteRT, compiled per chip. LTX-Video: 1 s and 5 s on Dimensity 9300, 9400, 9500 and Tensor G6, 1 s on Tensor G5. SANA-Video 2B: 1 s and 5 s on Dimensity 9300, 9400, 9500, Tensor G6 and Tensor G5. Tensor G5 builds need Android 17 or later. A 25-frame LTX-Video clip takes about 46 seconds on a Dimensity 9500 (Galaxy Tab S12). Models: timmyboy26/LTX-Video-2B-0.9.8-distilled-LiteRT-NPU and timmyboy26/SANA-Video-LiteRT-NPU.
- Other chips: LTX-Video GGUF models (Q4_0 / Q8_0) run through stable-diffusion.cpp with Vulkan on the GPU, or on the CPU. A 25-frame 512x320 clip takes about 3 minutes on an Exynos 1580 (Galaxy A56) and about 20 minutes on a Tensor G3 (Pixel 8 Pro).
- Open Video Generator, download a model from the Video Generation tab, and choose the model and backend in the settings sheet. Detailed prompts that describe the subject, action, camera and lighting work best.
- The scripts that build the NPU models are in android/tools/ltxv_qnn, android/tools/ltxv_litert and android/tools/sana_litert.
iOS Live Music Generation
The iOS Music Generator supports Live generation with Magenta Realtime 2: hear audio as it is generated while the app writes it to a local file. Enable Unlimited duration to keep generating until you press Stop, or use a fixed duration. Fixed-duration output uses WAV; unlimited sessions use CAF for long recordings.
Privacy First
- 100% on-device processing - no internet required for inference
- Zero data collection - conversations never leave your device
- No accounts, no tracking - completely private
- Open-source - fully transparent
Advanced Capabilities
- GPU and NPU acceleration (Snapdragon Hexagon NPU, LiteRT GPU, OpenCL and Vulkan) with automatic CPU fallback
- Several on-device engines: LiteRT-LM, MediaPipe, llama.cpp (GGUF) and ONNX Runtime on Android; llama.cpp, Apple Foundation Model and Draw Things on iOS
- Vision and audio input with multimodal models
- Thinking models with their reasoning shown
- Web search with cited sources
- RAG with global memory (EmbeddingGemma 2) for enhanced responses
- Text-to-Speech with auto-readout and on-device voice cloning
- Flash streaming to run mixture-of-experts models larger than the device's RAM
- Import custom models, including GGUF vision models with their projector
- Direct downloads from Hugging Face, and export of downloaded models
- 22 language interfaces
LLM Hub's patched llama.cpp (Aion, flash streaming, NPU/GPU fixes)
The apps run their own build of llama.cpp with these fixes, published with prebuilt binaries in the llama.cpp releases (each release names the upstream version it is built on) for every backend the apps use: Android CPU, Vulkan GPU, Snapdragon OpenCL GPU and Hexagon NPU; iOS and macOS Metal GPU and CPU.
- Aion: the
aionarchitecture and chat template for microsoft/Aion-1.0-Instruct-2.3B - Flash streaming: MoE GGUF models bigger than the device's RAM (Gemma 4 26B-A4B, LFM2.5-24B-A2B, Inkling 2 Mini). The routed experts stay in the model file and are read from storage as tokens need them; the prompt is read on the Hexagon NPU (Android) or Metal GPU (iOS/macOS), decoding runs on the CPU. Built on BigMoeOnEdge
- Hexagon NPU: SET_ROWS (KV-cache writes) kept off the NPU for flash streaming, which hung Gemma 4; HTP repack fixes
- OpenCL (Adreno): copy-kernel fix that brings decode with flash attention back from 7.7 to 17-18 tok/s on the Tab S9+
- Vulkan (Mali, Xclipse and other non-Snapdragon Android GPUs): runs on Android API 27 (
vkGetPhysicalDeviceFeatures2through the dispatcher); a failed shader compile errors out instead of hanging the other threads, and reaches logcat; drivers below Vulkan 1.2 (such as Mali-G57, which reports 1.1) are skipped instead of crashing - Metal: NVFP4 weights, including MoE experts (port of ggml-org/llama.cpp#32825), so Inkling 2 Mini reads its prompt on the iPhone GPU
- Loading: no mmap prefetch while flash streaming opens a model, which stopped low-memory kills on 12 GB phones
| Release file | Contents |
|---|---|
llmhub-llama.cpp-<version>-android-arm64-cpu-vulkan.zip |
Android arm64 CPU (ARMv8.0 to ARMv9.2 variants) and Vulkan GPU libraries, flash streaming JNI library, headers |
llmhub-llama.cpp-<version>-android-arm64-snapdragon-opencl-hexagon.zip |
Snapdragon OpenCL GPU and Hexagon NPU libraries, HTP skels v73/v75/v79/v81/v85, flash streaming (NPU prompt) JNI library, headers |
llmhub-llama.cpp-<version>-apple-xcframework-ios-macos-metal.zip |
llama.xcframework: iOS device, iOS Simulator and macOS, Metal GPU and CPU |
llmhub-flash-streaming-apple-xcframework-ios-macos.zip |
LLMHubBmoe.xcframework: flash streaming engine and C bridge for iOS and macOS |
llmhub-llama.cpp-<version>.patch |
Every source change against that upstream version |
llmhub-flash-streaming-src.zip |
Flash streaming source: BigMoeOnEdge core (Apache-2.0), Android JNI and iOS bridge |
Flash streaming benchmarks
Measured in the apps on real devices: prompt reading and generation, in tokens per second.
| Device | Model | Prompt read on | Prompt tok/s | Generation tok/s |
|---|---|---|---|---|
| Snapdragon 8 Elite Gen 6 (SM8975, 12 GB) | LFM2.5-24B-A2B Q4_0 | NPU | 313.5-398.6 | 2.24-2.26 |
| Snapdragon 8 Elite Gen 6 (SM8975, 12 GB) | LFM2.5-24B-A2B Q4_0 | CPU | 39.3 | 2.26-2.58 |
| Snapdragon 8 Elite Gen 6 (SM8975, 12 GB) | Gemma 4 26B-A4B QAT Q4_0 | NPU | 319.4 | 0.71 |
| Snapdragon 8 Elite Gen 6 (SM8975, 12 GB) | Gemma 4 26B-A4B QAT Q4_0 | CPU | 26.9 | 0.81 |
| Snapdragon 8 Elite Gen 6 (SM8975, 12 GB) | Gemma 4 26B-A4B UD-Q2_K_XL | CPU (its IQ2_XS experts can't run on the NPU) | 22.7-24.2 | 1.57-2.58 |
| Snapdragon 8 Elite Gen 6 (SM8975, 12 GB) | Inkling 2 Mini UD-Q4_K_XL | CPU | 5.9-6.9* | 1.18-1.30 |
| Galaxy Tab S9+ (Snapdragon 8 Gen 2, 12 GB) | LFM2.5-24B-A2B Q4_0 | NPU | 274 | 2.28 |
| Galaxy Tab S9+ (Snapdragon 8 Gen 2, 12 GB) | LFM2.5-24B-A2B Q4_0 | NPU, all dense layers on the NPU | 24 | 2.65 |
| Galaxy Tab S9+ (Snapdragon 8 Gen 2, 12 GB) | LFM2.5-24B-A2B Q4_0 | CPU | 16 | 2.2 |
| Galaxy Tab S9+ (Snapdragon 8 Gen 2, 12 GB) | LFM2.5-24B-A2B Q4_0 | Vulkan GPU | 1.6 | 0.59 |
| Galaxy Tab S9+ (Snapdragon 8 Gen 2, 12 GB) | Inkling 2 Mini UD-Q4_K_XL | CPU | 1.1-2.4* | 0.67-1.65 |
| iPhone 15 Pro Max (A17 Pro, 8 GB) | LFM2.5-24B-A2B Q2_K_L | Metal GPU | 230.3 | 4.20 |
| iPhone 15 Pro Max (A17 Pro, 8 GB) | LFM2.5-24B-A2B Q2_K_L | Metal GPU, 20 layers on the GPU | 31.2 | 2.85 |
| iPhone 15 Pro Max (A17 Pro, 8 GB) | Inkling 2 Mini UD-IQ3_XXS | Metal GPU | 2.5-3.1* | 1.99-2.03 |
| MacBook Pro (M1 Pro), iPad app | Gemma 4 26B-A4B QAT Q4_0 | Metal GPU | 10.7-22.5* | 6.32-6.91 |
| MacBook Pro (M1 Pro), iPad app | Inkling 2 Mini UD-Q2_K_XL | Metal GPU | 10.3-14.2* | 3.96-4.86 |
Prompts were 900 to 1,314 tokens, except rows marked *, which used 25 to 28-token test prompts. The engine reads prompts under 32 tokens on the CPU, so those prompt speeds don't show the NPU or GPU.
Quick Start
- Download from Google Play or the App Store, get LLM Hub Desktop for your computer, or build from source
- Open Settings → Download Models → Download or Import a model
- Select a model and start chatting or generating images
Technology
- Android: Kotlin + Jetpack Compose (Material 3), GenieX SDK (for LLM and VLM inference), whisper.cpp (for ASR)
- iOS: Swift + SwiftUI, Run Anywhere SDK, Draw Things (MediaGenerationKit), Apple Foundation Model, whisper.cpp for on-device ASR
- LLM & ASR Runtime: MediaPipe, LiteRT, GenieX SDK (GGUF on Android), whisper.cpp (ASR on Android), Llama.cpp (via Run Anywhere SDK on iOS), whisper.cpp on iOS for transcription
- Image & Video Gen: Draw Things (MediaGenerationKit) (iOS), Qualcomm QNN (Android), stable-diffusion.cpp with LTX-Video on the Hexagon NPU (QNN), Vulkan or CPU, and LiteRT for LTX-Video and SANA-Video 2B on MediaTek and Google Tensor NPUs (Android video)
- Music Gen: Magenta Realtime 2 with MLX/LiteRT (iOS), SoundGen and Stable Audio 3 with LiteRT, Magenta Realtime 2 with adreno-llms OpenCL (Android)
- Media Search: EmbeddingGemma 2 for local media indexing and video moment retrieval (Android and iOS)
- Android TTS: Kokoro, Supertonic 3 with ONNX Runtime, Phonon with LiteRT, and PocketTTS.cpp with an NDK/JNI integration for local voice cloning
- Android Coding Agent: Codex app server or Claude Code in Termux, connected to the app's local model through a loopback inference server
Acknowledgments
- GenieX SDK: GGUF model inference support (credit shown in-app About)
- llama.cpp: GGUF inference on Android and iOS (patched build in the releases)
- BigMoeOnEdge: the expert-streaming engine behind flash streaming (Apache-2.0)
- whisper.cpp: On-device ASR/transcription on Android and iOS
- Run Anywhere SDK: iOS model runtime and LLM execution framework
- Draw Things: iOS image and video generation engine (MediaGenerationKit)
- Local Dream: Android image generation and image upscale engine (Stable Diffusion on Snapdragon NPU and CPU)
- PocketTTS.cpp: Android local speech and voice cloning integration
- Supertone Supertonic 3: Multilingual on-device TTS and voice presets
- Lightricks LTX-Video: Android video generation model (LTX-Video Open Weights License)
- stable-diffusion.cpp: Android video generation runtime, extended with LTX-Video 0.9 and a QNN backend
- calcuis/ltxv-gguf: GGUF builds of LTX-Video, T5-XXL and the VAE
- Google, OpenAI, Meta, Microsoft, IBM, LiquidAI, Mistral, Thinking Machines, HuggingFace: model and tooling contributions
Development Setup
Android local development (Android Studio + Gradle)
git clone https://github.com/timmyy123/LLM-Hub.git
cd LLM-Hub/android
./gradlew assembleDebug
./gradlew installDebug
Android-only local configuration
android/local.properties is not in the repository. It holds only your SDK path, which Android Studio writes for you, and one optional flag:
sdk.dir=/path/to/Android/sdk
DEBUG_PREMIUM=true
DEBUG_PREMIUM=true unlocks all premium features locally without a real purchase. Leave it out or set it to false for a production build. There are no API keys or tokens to add.
Hugging Face tokens
The app ships no Hugging Face token. The models in the catalog download without one. To search and download private or gated repositories, enter your own token in the app under Settings > Hugging Face Token.
iOS local development (macOS + Xcode)
Prerequisites
- macOS with Xcode installed (use a version that matches your iOS device version)
- An Apple ID signed into Xcode (free Personal Team works for local device testing)
- iPhone with Developer Mode enabled if you run on real hardware
Build and run on iPhone
- Clone the repo and open the iOS project:
git clone https://github.com/timmyy123/LLM-Hub.git
cd LLM-Hub
cp ios/LLMHub/Secrets.debug.xcconfig.template ios/LLMHub/Secrets.debug.xcconfig
cp ios/LLMHub/Secrets.release.xcconfig.template ios/LLMHub/Secrets.release.xcconfig
open ios/LLMHub/LLMHub.xcodeproj
The two Secrets.*.xcconfig files are not in the repository and the project will not build without them. They hold one setting, BYPASS_PREMIUM_UNLOCK: set it to YES in the debug file to unlock all premium features locally, and keep it NO in the release file. There are no API keys or tokens to add.
2. In Xcode, select target LLMHub → Signing & Capabilities:
- Set your Team
- Set a unique Bundle Identifier (for example:
com.yourname.llmhub) - Keep Automatically manage signing enabled
- Select your iPhone as the run destination and press Run.
If you use Xcode beta
If your phone is on a newer iOS build and requires Xcode beta support, switch CLI tools:
sudo xcode-select -s /Applications/Xcode-beta.app/Contents/Developer
xcodebuild -version
iOS TTS voice troubleshooting
TTS falls back to a robotic default voice after changing Siri voices
iOS can get into a state where the system TTS voice cache doesn't update after a Siri voice change, causing the app to fall back to the old default voice. To fix:
- Go to Settings → Accessibility → Spoken Content → Voices
- Tap your language and select any voice (even a different one)
- Switch back to your preferred Siri voice or whichever voice you want
This forces iOS to refresh the voice selection and the app will use the correct voice immediately.
Useful iOS dev troubleshooting
- If signing fails, re-check Team + Bundle Identifier in target settings.
- If build cache acts stale, clean DerivedData:
rm -rf ~/Library/Developer/Xcode/DerivedData/LLMHub-*
- Build logs: Report Navigator (
Cmd+9) - Runtime logs: Debug Console (
Cmd+Shift+Y)
Contributing
- Fork → branch → PR. See CONTRIBUTING.md (or open an issue/discussion if unsure).
License
- Source code is licensed under the PolyForm Noncommercial License 1.0.0.
- You are free to use, study, and build on this project for non-commercial purposes.
- Commercial use, including distributing the app, charging for it, or monetizing it with ads or IAP, requires a paid commercial license from the author.
- Contact [email protected] to buy a commercial license.
Star History
Support
- Email: [email protected]
- Issues & Discussions: GitHub
探索相关项目
加载中…




