|
| 1 | +--- |
| 2 | +title: Introduction to Capgo Build |
| 3 | +description: Build iOS and Android apps in the cloud without local setup. No Mac required for iOS builds. |
| 4 | +sidebar: |
| 5 | + order: 0 |
| 6 | + label: Introduction |
| 7 | +--- |
| 8 | + |
| 9 | +import { Card, CardGrid, Aside, LinkCard } from '@astrojs/starlight/components'; |
| 10 | + |
| 11 | +Capgo Build is a cloud-based native app compilation service for Capacitor apps. It lets you build iOS and Android apps without maintaining local development environments - no Xcode, no Android Studio, no Mac hardware required. |
| 12 | + |
| 13 | +## What Capgo Build Does |
| 14 | + |
| 15 | +Capgo Build compiles the **native parts** of your Capacitor app in the cloud: |
| 16 | + |
| 17 | +- **iOS builds** run on dedicated Apple Silicon (Mac Mini M4) machines |
| 18 | +- **Android builds** run in isolated Docker containers |
| 19 | +- **Automatic code signing** handles certificates, provisioning profiles, and keystores |
| 20 | +- **Direct store submission** uploads signed apps to App Store Connect and Google Play |
| 21 | + |
| 22 | +You trigger builds with a single CLI command that works from anywhere - your local machine, GitHub Actions, GitLab CI, or any CI/CD pipeline. |
| 23 | + |
| 24 | +## When to Use Capgo Build vs Live Updates |
| 25 | + |
| 26 | +Capgo offers two complementary features for updating your app. Here's when to use each: |
| 27 | + |
| 28 | +| Scenario | Live Updates | Capgo Build | |
| 29 | +|----------|:------------:|:-----------:| |
| 30 | +| Bug fix in JavaScript/TypeScript code | ✓ | | |
| 31 | +| UI changes (HTML, CSS, images) | ✓ | | |
| 32 | +| Updating web dependencies | ✓ | | |
| 33 | +| Adding or removing a Capacitor plugin | | ✓ | |
| 34 | +| Updating a native SDK version | | ✓ | |
| 35 | +| Changing native permissions (Info.plist, AndroidManifest) | | ✓ | |
| 36 | +| Updating Capacitor version | | ✓ | |
| 37 | +| Modifying native code (Swift, Kotlin, Java) | | ✓ | |
| 38 | +| Changing app icon or splash screen | | ✓ | |
| 39 | +| First app store submission | | ✓ | |
| 40 | + |
| 41 | +<Aside> |
| 42 | +**Live Updates** push JavaScript changes instantly without app store review. **Capgo Build** creates new native binaries when you change native code. Most teams use Live Updates daily and Capgo Build occasionally when native changes are needed. |
| 43 | +</Aside> |
| 44 | + |
| 45 | +## Why Use Capgo Build |
| 46 | + |
| 47 | +<CardGrid> |
| 48 | + <Card title="No Mac Required for iOS" icon="laptop"> |
| 49 | + Build and ship iOS apps without Mac hardware. Anyone on Windows, Linux, or any CI/CD system can trigger iOS builds and publish to TestFlight. |
| 50 | + </Card> |
| 51 | + |
| 52 | + <Card title="Skip Local Environment Setup" icon="rocket"> |
| 53 | + No need to install Xcode, Android Studio, or manage SDK versions. Capgo Build handles all native tooling - you just run the CLI command. |
| 54 | + </Card> |
| 55 | + |
| 56 | + <Card title="Centralized Credentials" icon="setting"> |
| 57 | + Store your certificates and keystores in your CI/CD secrets once. Any team member can trigger builds without needing signing credentials on their local machine. |
| 58 | + </Card> |
| 59 | + |
| 60 | + <Card title="Works With Any CI/CD" icon="github"> |
| 61 | + A single CLI command integrates with any pipeline. GitHub Actions, GitLab CI, Jenkins - trigger builds as part of your existing workflow. |
| 62 | + </Card> |
| 63 | + |
| 64 | + <Card title="Real-Time Build Logs" icon="list-format"> |
| 65 | + Watch your build progress live in your terminal. Logs stream via Server-Sent Events so you can debug issues instantly as they happen. |
| 66 | + </Card> |
| 67 | + |
| 68 | + <Card title="Direct Store Submission" icon="approve-check"> |
| 69 | + Signed apps upload directly to App Store Connect and Google Play. No manual steps between build completion and store submission. |
| 70 | + </Card> |
| 71 | +</CardGrid> |
| 72 | + |
| 73 | +## How It Works |
| 74 | + |
| 75 | +When you run the build command: |
| 76 | + |
| 77 | +1. **Upload** - The CLI zips only what's needed (native platform folder + native dependencies) and uploads to secure cloud storage |
| 78 | +2. **Build** - Your app compiles on dedicated infrastructure using Fastlane |
| 79 | +3. **Sign** - Certificates and keystores are applied (they exist only in memory during the build) |
| 80 | +4. **Submit** - Signed apps are uploaded directly to App Store Connect or Google Play |
| 81 | +5. **Cleanup** - All build artifacts and credentials are automatically deleted |
| 82 | + |
| 83 | +Your source code stays on your machine. Only the platform-specific native code is uploaded. |
| 84 | + |
| 85 | +## Security Model |
| 86 | + |
| 87 | +Capgo Build is designed with zero credential storage: |
| 88 | + |
| 89 | +- **Runtime-only credentials** - Certificates and keystores are never stored in Capgo. They are uploaded and removed immediately after the build finishes. |
| 90 | +- **Ephemeral environments** - Each build runs in isolation and is destroyed after completion |
| 91 | +- **No log storage** - Build logs stream to your terminal only, never stored on Capgo servers |
| 92 | +- **Minimal upload** - Only the native platform you request is uploaded, not your full codebase. [See exactly what gets uploaded](/docs/cli/cloud-build/getting-started/#what-gets-built) |
| 93 | + |
| 94 | +## Pricing |
| 95 | + |
| 96 | +Build time is the only cost: |
| 97 | + |
| 98 | +- Build minutes are included in your Capgo plan |
| 99 | +- Extra minutes available via credit system |
| 100 | +- iOS builds run on Mac Mini M4 (2x cost multiplier due to hardware costs) |
| 101 | +- Android builds run in Docker containers (1x cost) |
| 102 | +- No storage fees |
| 103 | + |
| 104 | +## Next Steps |
| 105 | + |
| 106 | +<CardGrid> |
| 107 | + <LinkCard |
| 108 | + title="Getting Started" |
| 109 | + description="Create your first build and see Capgo Build in action." |
| 110 | + href="/docs/cli/cloud-build/getting-started/" |
| 111 | + /> |
| 112 | + <LinkCard |
| 113 | + title="Credentials Setup" |
| 114 | + description="Configure certificates for iOS and keystores for Android." |
| 115 | + href="/docs/cli/cloud-build/credentials/" |
| 116 | + /> |
| 117 | + <LinkCard |
| 118 | + title="iOS Builds" |
| 119 | + description="Complete guide to building and submitting iOS apps." |
| 120 | + href="/docs/cli/cloud-build/ios/" |
| 121 | + /> |
| 122 | + <LinkCard |
| 123 | + title="Android Builds" |
| 124 | + description="Complete guide to building and submitting Android apps." |
| 125 | + href="/docs/cli/cloud-build/android/" |
| 126 | + /> |
| 127 | +</CardGrid> |
0 commit comments