Skip to main content

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

1

Build the web client

2

Sync to native project

3

Open in IDE

4

Run on device/simulator

Use the native IDE to build and run on your target device.

Configuration

Capacitor Config

The Capacitor configuration is in packages/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

This triggers the .github/workflows/build-app.yml workflow which builds:
  • Windows: .msi installer
  • macOS: .dmg installer (Intel + Apple Silicon universal binary)
  • Linux: .AppImage and .deb packages
  • iOS: .ipa bundle (requires Apple Developer account)
  • Android: .apk bundle

Download Portal

Built apps are automatically published to:

Required Secrets

For the build workflow to succeed, configure these GitHub repository secrets:
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

  1. Open Xcode from npm run ios:dev
  2. Select simulator or connected device
  3. Use Safari Web Inspector for debugging

Android

  1. Open Android Studio from npm run android:dev
  2. Select emulator or connected device
  3. Use Chrome DevTools for debugging
Enable USB debugging on Android devices and trust your computer on iOS devices.