Files
VoiceStudio/mobile/ios/scripts/native-load-test.sh
debpalash 1b8fc07ac5 feat(ios): on-device TTS and dictation, model downloads, phone-first routing
The three pinned runtimes sit behind one LocalEngine; VoiceStudioKit tests
run real sherpa TTS, Whisper and Zipformer, OmniVoice cloning and llama
translation on macOS with the same native code. Models screen with
user-started, resumable, SHA-256-verified downloads, the desktop's licence
acceptance and RAM fit; Speak and Dictate choose This phone or My computer;
every tab works without pairing. iOS xcframeworks build in CI
(mobile/native/ios/build.sh ios needs Xcode).
2026-10-18 03:44:09 +05:30

10 lines
594 B
Bash
Executable File

#!/bin/sh
set -eu
IOS_DIR=$(CDPATH= cd -- "$(dirname -- "$0")/.." && pwd)
ROOT=$(CDPATH= cd -- "$IOS_DIR/../.." && pwd)
OMNIVOICE_LIBRARY=$(python3 -c 'import json,sys; print(json.load(open(sys.argv[1]))[sys.argv[2]])' "$ROOT/mobile/native/ios/build/macos/runtime-paths.json" 'omnivoice.cpp')
LLAMA_LIBRARY=$(python3 -c 'import json,sys; print(json.load(open(sys.argv[1]))[sys.argv[2]])' "$ROOT/mobile/native/ios/build/macos/runtime-paths.json" 'llama.cpp')
export OMNIVOICE_LIBRARY LLAMA_LIBRARY
export VOICESTUDIO_REAL_NATIVE=1
exec "$IOS_DIR/scripts/check-swift.sh" test --filter realNative