Lakebed Native Cloud

Lakebed Native Cloud is maintainer infrastructure only — not a replacement for Lakebed hosted.

What runs where

Concern Where Command
Capsule API + DB + deploy Lakebed hosted (normal Lakebed) lakebed-native deploy --api $LAKEBED_HOSTED_API
Dev / hot reload Your machine lakebed-native dev
Simulator .app / Android APK pack Your machine (template shell) lakebed-native pack
Physical iPhone IPA Lakebed Native Cloud lakebed-native cloud build --platform ios
Apple certs & profiles Your Apple Developer + Lakebed Native signing lakebed-native apple setup

Cloud API (this deployment)

GET  /api/health
POST /api/builds          { "platform": "ios", "profile": "device-preview" }
GET  /api/builds/:id      poll build status + artifact URL

Set LAKEBED_NATIVE_CLOUD=https://lakebednative.xyz in CLI (default).

Cloud device build policy

Physical iPhone flow

  1. Deploy capsule to Lakebed hosted (not Native Cloud):
    npx lakebed-native deploy --api https://hosted.lakebed.dev
    
  2. Configure your Apple credentials:
    npx lakebed-native apple setup
    npx lakebed-native apple devices register
    
  3. Cloud build:
    npx lakebed-native cloud build --platform ios
    
  4. Install IPA from the build artifact URL when finished.

Environment (Vercel — maintainers)

Secret Purpose
EXPO_TOKEN Internal build service account (not exposed to capsule authors)
NATIVE_CLOUD_BUILD_SECRET Shared secret; CLI sends Authorization: Bearer … via LAKEBED_NATIVE_CLOUD_BUILD_SECRET

Users do not send Apple passwords to Lakebed Cloud. Apple auth goes through apple setup during CLI onboarding.

Docs & agents