> ## Documentation Index
> Fetch the complete documentation index at: https://docs.median.co/llms.txt
> Use this file to discover all available pages before exploring further.

# iOS build & deployment

> Build your iOS app in App Studio, test it in TestFlight, and publish it to the App Store, or build from source in Xcode if you need to.

You need an active Apple Developer account to build and distribute an iOS app. Apple manages provisioning and code signing through App Store Connect.

Most apps never need a Mac or Xcode. You can build your app in Median App Studio, test it in TestFlight, and submit it to the App Store from App Store Connect.

## Build, test, and publish

> [card] [Build an iOS binary (IPA)](https://docs.median.co/docs/build-ios-binary)
>
> Build your IPA in App Studio without a Mac. Use a Distribution
> Provisioning Profile to upload to App Store Connect for TestFlight and the
> App Store, or a Development Provisioning Profile to install on an iPhone by
> scanning a QR code.

> [card] [Upload to TestFlight](https://docs.median.co/docs/upload-ios-to-testflight.md)
>
> Share your app with testers before release. When **Upload to App Store
> Connect** is set to **Automatic**, your distribution IPA is sent to App
> Store Connect and can be added to TestFlight after Apple processes it.

> [card] [Publish to the App Store](https://docs.median.co/docs/upload-ios-to-apple-app-store.md)
>
> Connect your Apple Developer account with the App Store Connect API, build
> and test your app, then submit the processed build for App Review. Apple
> Transporter is available for manual uploads.

> [!TIP]
>
> **Use your AI agent**
>
> Use the Median MCP with your AI agent to start an iOS build and check its status. See
> [Median MCP server](https://docs.median.co/docs/mcp-server.md) to set it up.
>
> Your agent can't download builds. It gives you a link to the build page in App Studio.

## Build from source (optional)

Build from source only if you need to inspect or change the native iOS code. This requires a Mac with the latest release of Xcode.

> [card] [Build iOS from source](https://docs.median.co/docs/build-ios-from-source.md)
>
> Set up a local macOS development environment and build your app in Xcode.

> [card] [Troubleshoot common Xcode issues](https://docs.median.co/docs/common-xcode-issues.md)
>
> Fix build errors, provisioning profile problems, and dependency conflicts.


## Related topics

- [Build iOS from source](https://docs.median.co/docs/build-ios-from-source.md)
- [Building an iOS binary (IPA)](https://docs.median.co/docs/build-ios-binary.md)
- [Android build and deployment](https://docs.median.co/docs/android-build-deployment.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.