mirror of
https://github.com/samsonjs/vibetunnel.git
synced 2026-03-25 09:25:50 +00:00
1.4 KiB
1.4 KiB
Build Requirements
VibeTunnel for macOS now has a self-contained build system that automatically installs all required dependencies.
Requirements
- macOS: 10.15 or later
- Xcode: 15.0 or later
- Internet connection: Required for first build to download dependencies
Build Process
When you build VibeTunnel in Xcode for the first time:
-
Install Build Dependencies phase runs first
- Downloads and installs Bun locally to
.build-tools/bun/ - No system-wide installation required
- Works on both Intel and Apple Silicon Macs
- Downloads and installs Bun locally to
-
Build Web Frontend phase uses Bun
- Runs
bun installto fetch dependencies - Runs
bun run bundleto build the web interface - 10-100x faster than npm
- Runs
-
Build Bun Executable phase compiles the server
Benefits
- Zero manual setup - Just open in Xcode and build
- No Node.js required - Uses Bun for everything
- Portable - All tools installed locally
- Fast - Bun is significantly faster than npm
- Cached - Downloads only happen once
Troubleshooting
If the build fails:
- Check internet connection (required for first build)
- Delete
.build-tools/directory and rebuild - Check Console.app for detailed error messages
Clean Build
To perform a completely clean build:
cd mac
rm -rf .build-tools/
rm -rf ../web/node_modules/
# Then build in Xcode