Template uses typescript with vanilla flavour for UI.
See tauri prerequisites.
Note: you required to install node.js. After that you need to run:
cd ./tauri-template-app
npm install
cd ..This will install all required node dependencies which is required step before you build your app.
This plugin required to build project.
cargo install tauri-cli --version "^2.0.0" --lockedDownload and install Android Studio from official website.
Then configure environment for Tauri and Android Studio.
Run this script root directory(.) to install minimal required dependencies
./install_mac_dep.shRun this command from project root(./tauri-template-app)
cargo tauri dev You can run macOS from Linux or Windows using Docker-OSX.
Ensure that you have Windows 11 installed.
Install WSL if you have not done it before. Run these commands from cmd
wsl --install
wsl --updateThen set up WSL distro by default:
# For example, 'wsl -d Ubuntu'
wsl -s <DistroName>
# Ensure that you have installed Linux distro by defaultAfter WSL installation go to C:/Users/Your_Name/.wslconfig (Create if it doesn't exist) and add nestedVirtualization=true to the end of file. The result should be like this:
[wsl2]
nestedVirtualization=trueRun WSL
wslInstall cpu-checker and then run kvm-ok to ensure that you can use kvm
# installing cpu-checker to be able run 'kvm-ok' command
sudo apt install cpu-checker
# Ensure that we can use kvm
kvm-okYour output should be like this:
INFO: /dev/kvm exists
KVM acceleration can be usedNow you can leave WSL using Ctrl + D or via command exit. And now it is time to install Docker Desktop if you have not done it before.
After installation, go to Settings and check these 2 boxes:
General -> "Use the WSL2 based engine"
Resources -> WSL Integration -> "Enable integration with my default WSL distro"Okay, finally you can run docker-osx, just run this script:
wsl -e ./install-windows-macos.sh
# You can set RAM or CPU using '-e' flag for greater perfomance, by default they are: RAM=6, CPU=Haswell-noTSX
# Example `wsl -e ./install-windows-macos.sh -e RAM=10` You have to wait a little bit and after installation your command line will be like this:
Then type Enter and you will be in (qemu) mode:
Type command
change vnc password <your password>Don't type a strong password, it's not super important
Now, install RealVNC Viewer if you have not done it before. Open it and enter localhost:5999
Then enter passwrod which you set before.
After you will have this:
Enter macOS Base System -> Enter Disk Utility -> Choose the bigest one -> Click on Erase -> Enter name of your disk and continue.
Go back and click on Reinstall macOS Sonoma
After you agree with all therms, chose erased disk and wait untill macOS installed. It is going to take about 2 hours.
Congratulations you have just run macOS on Windows!
Just run this command:
wsl -e docker start -i -a <DOCKER_ID>
# Example: 'wsl -e docker start -i -a b91f2377d848ba46e7a7e97c8bf02734c9775af36fd94da26fd70054083b8e50' After installation, clone this repo to your macOS and run this script:
./install-mac-dep.shIt will install dependencies for iOS development.
Try this official Docker-OSX guide
Good luck!




