Tauri v2 app scaffolded in this folder with a Svelte + Vite frontend and local commands for desktop, iOS, and Android targets.
- Svelte 5 frontend in
src/ - Tauri Rust project in
src-tauri/ - Mobile-ready Rust entry point in
src-tauri/src/lib.rs - Local npm scripts for desktop, iOS, and Android workflows
- Vite dev server settings tuned for Tauri mobile host forwarding
- Workspace tool versions pinned in
.mise.toml - Generated Android Studio project in
src-tauri/gen/android - Generated Xcode project in
src-tauri/gen/apple
This project pins Node, Java, and Rust via .mise.toml.
npm install
npm run tauri:devnpm run tauri:dev
npm run tauri:buildnpm run tauri:ios:init
npm run tauri:ios:dev
npm run tauri:ios:build
npm run tauri:android:init
npm run tauri:android:dev
npm run tauri:android:buildIf you have not installed the pinned tool versions yet, run:
mise install- This project now requires Rust 1.88.0 or newer because the current dependency graph includes crates that require that compiler version.
- If a shell still resolves an older Cargo first, confirm the active toolchain before building:
cargo --version
rustc --version- Full Xcode install is still required to build/run the iOS app locally.
- The current machine is using Command Line Tools only, so
xcodebuildandsimctlare not available yet. - You will also need an Apple development team/signing certificate before deploying to a device.
- After installing Xcode, run
sudo xcode-select -s /Applications/Xcode.app/Contents/Developer.
- Java 17 is configured via
.mise.toml. - Android command-line tools, platform-tools, SDK platform 35, build-tools 35.0.1, and NDK 29 are installed.
- Android Studio is still useful for emulator management and IDE workflows, but the generated Android project already exists in
src-tauri/gen/android.
Install the Rust mobile targets you need before building the mobile apps:
rustup target add aarch64-apple-ios aarch64-apple-ios-sim x86_64-apple-ios
rustup target add aarch64-linux-android armv7-linux-androideabi i686-linux-android x86_64-linux-android- The bundle identifier is currently set to
com.oris.reader. - If you want a different reverse-DNS identifier or app name, update
src-tauri/tauri.conf.json.