Overview
Hyperscape uses Tauri to build native desktop and mobile apps from the web client. The build system supports Windows, macOS, Linux, iOS, and Android with automated CI/CD via GitHub Actions.Prerequisites
iOS
- macOS with Xcode installed
- Apple Developer account (for device testing)
Android
- Android Studio installed
- Android SDK configured
Build Commands
iOS
Android
Sync Commands
Development Workflow
Configuration
Capacitor Config
The Capacitor configuration is inpackages/client/capacitor.config.ts:
Environment Variables
For mobile builds, ensure these are set:Automated Release Builds
Hyperscape uses GitHub Actions to automatically build native apps for all platforms when you create a tagged release.Creating a Release
.github/workflows/build-app.yml workflow which builds:
- Windows:
.msiinstaller - macOS:
.dmginstaller (Intel + Apple Silicon universal binary) - Linux:
.AppImageand.debpackages - iOS:
.ipabundle (requires Apple Developer account) - Android:
.apkbundle
Download Portal
Built apps are automatically published to:- GitHub Releases: https://github.com/HyperscapeAI/hyperscape/releases
- Public Portal: https://hyperscapeai.github.io/hyperscape/
Required Secrets
For the build workflow to succeed, configure these GitHub repository secrets:| Secret | Purpose | Required For |
|---|---|---|
APPLE_CERTIFICATE | Code signing certificate (base64) | macOS, iOS |
APPLE_CERTIFICATE_PASSWORD | Certificate password | macOS, iOS |
APPLE_SIGNING_IDENTITY | Developer ID | macOS, iOS |
APPLE_ID | Apple ID email | macOS, iOS |
APPLE_PASSWORD | App-specific password | macOS, iOS |
APPLE_TEAM_ID | Developer team ID | macOS, iOS |
TAURI_PRIVATE_KEY | Updater signing key | All platforms |
TAURI_KEY_PASSWORD | Key password | All platforms |
See
docs/native-release.md in the repository for complete setup instructions.Platform-Specific Notes
iOS
- Minimum iOS version: 13.0
- Requires provisioning profile for device testing
- Automated builds via GitHub Actions on tagged releases
- Manual builds:
cd packages/app && bun run tauri ios build
Android
- Minimum SDK: 24 (Android 7.0)
- Automated builds via GitHub Actions on tagged releases
- Manual builds:
cd packages/app && bun run tauri android build
Desktop
- Windows: Requires Windows 10+ (x64)
- macOS: Universal binary (Intel + Apple Silicon)
- Linux: AppImage (portable) and .deb (Debian/Ubuntu)
Debugging
iOS
- Open Xcode from
npm run ios:dev - Select simulator or connected device
- Use Safari Web Inspector for debugging
Android
- Open Android Studio from
npm run android:dev - Select emulator or connected device
- Use Chrome DevTools for debugging
Enable USB debugging on Android devices and trust your computer on iOS devices.