This page describes building Vector Watcher on macOS.
On the target Mac:
cd backend
./build.sh
vector-watcher-backend-aarch64-apple-darwinvector-watcher-backend-x86_64-apple-darwinFrom the project root :
cd frontend
npm run clean
npm run tauri:build:mac
Recommended script:
{
"scripts": {
"tauri:build:mac": "cd .. && tauri build --config src-tauri/tauri.prod.conf.json --bundles app,dmg"
}
}
Application: src-tauri/target/release/bundle/macos/Vector Watcher.app
DMG output: src-tauri/target/release/bundle/dmg/
The .app can be tested directly.
The .dmg is suitable for distribution.
If the packaged application produces:
Failed to load Python shared library libpython3.12.dylib
the PyInstaller executable may have been packaged without the complete runtime.
Expected PyInstaller structure:
dist/
├── vector-watcher-backend
└── _internal/
└── libpython3.12.dylib
The executable depends on: _internal/libpython3.12.dylib
Do not package only the executable without its required PyInstaller runtime.
Always test the packaged backend independently before assuming the Tauri frontend is responsible for a Load failed error.
📷 Screenshot placeholder: Vector Watcher.app
📷 Screenshot placeholder: macOS installation
📷 Screenshot placeholder: DMG window