Skip to content

Latest commit

 

History

History

tauri

PROJECT_NAME

Prerequisites

  • Node.js v22
  • PNPM v9
  • Tauri v2

Usage

$ pnpm install

iOS

$ sudo xcode-select -s /Applications/Xcode.app/Contents/Developer
$ xcrun -f devicectl
$ pnpm tauri ios init
# Xcode -> Open Developer Tool -> Simulator -> File -> Open Simulator -> iPhone Pro

$ pnpm dev:mobile # $ pnpm tauri ios dev
# select emulator
$ rm -rf ./src-tauri/gen/apple
$ pnpm tauri ios init

macOS

$ pnpm dev:desktop # $ pnpm tauri dev

Android

$ cd Library/Android/sdk/ndk/
$ ls
# 26.2.11394342

export NDK_HOME="$ANDROID_HOME/ndk/26.2.11394342"
$ pnpm tauri android init
$ pnpm tauri android dev
# select emulator
$ rm -rf ./src-tauri/gen/android
$ pnpm tauri android init

Windows

$ pnpm tauri dev