Skip to main content
To simplify the iOS build process, Median App Studio integrates directly with your Apple Developer account through the App Store Connect API. When you configure this connection, our platform automatically generates and manages the required certificates and provisioning profiles for your app and uploads new distribution builds directly to App Store Connect. This integration speeds up the build and upload workflow so you can test with TestFlight and submit to the Apple App Store without Xcode, a Mac computer, or Apple Transporter. You still create the App Store Connect app record and complete the store listing in App Store Connect. You’re always in control: you can disconnect this integration at any time from your Median settings, or revoke the API key directly from your App Store Connect account. If you are unable to connect to App Store Connect, you can still configure certificates and provisioning profiles manually, then upload a signed IPA yourself.

Step-by-step

Step 1: Generate an API key in App Store Connect

  1. Go to App Store Connect → Users and Access → Integrations → API Keys
  2. Click the + button to generate a new key.
  3. Give the key a name (for example, “Median”) and assign it the App Manager role at minimum. Admin access also works, but App Manager is sufficient and follows the principle of least privilege.
  4. Click Generate.
Download your private key immediatelyApple lets you download the .p8 private key file exactly once. If you close this dialog before downloading it, you cannot retrieve the same key again. You’ll need to revoke it in App Store Connect and generate a new one from scratch.
API Keys page under Users and Access in App Store Connect

App Store Connect API keys

You’ll need three things from this step to complete Step 2:
  • Issuer ID (shown at the top of the API Keys page)
  • Key ID (shown in the key’s row in the table)
  • The downloaded .p8 private key file
Individual vs. team keysIf your Apple Developer account belongs to an organization, generate the key from an account with Team (organization) access, not an individual/personal API key. Individual keys are scoped to a single Apple ID and can cause permission errors partway through a build or upload.

Step 2: Connect the key to Median

  1. In App Studio, open the Build & Deploy tab for your app and click Configure in the iOS IPA section.
  2. In the Apple Developer API Connection section: Enter the Issuer ID and Key ID, and upload your Private Key (.p8) file. All of those can be obtained in Step 1.
  3. Click Connect.
Apple Developer API Connection card with a Connected badge and Test API Key and Disconnect actions

Connected Apple Developer API

Once connected, the card displays a Connected badge along with Test API Key and Disconnect actions to validate the configuration and disconnect the API connection.
  1. In the Bundle ID & App Store Connect App section:
    1. Register the Bundle ID for your app within your Apple Developer account. You can also register your Bundle ID automatically through the API connection.
    2. Create an App Store Connect app record for your app. This step can’t be completed through the API and must be done manually in App Store Connect.
Registered Bundle ID in the Bundle ID & App Store Connect App section

Registered Bundle ID

  1. In the Signing & Upload Settings section, select Distribution Profile and set Upload to App Store Connect to Automatic. This is the recommended setting for TestFlight and App Store submission. Profile overview A Development build/profile is limited to devices you’ve explicitly registered as testers and is meant for direct installs outside App Store Connect. A Distribution build/profile is required for TestFlight and App Store releases. You choose between these in the Signing & Upload Settings section covered in Configure signing for your app.
  2. Each time you build a new iOS IPA, it will be automatically uploaded. If Manual is selected, you can press the Upload button after the build completes.

Prefer not to use an API key?

If you’re unable or unwilling to generate an App Store Connect API key, you can sign builds manually instead by uploading your own distribution certificate and provisioning profile. See Option 2: Upload your own signing assets in Configure signing for your app.

Next step

Continue with Register testing devices →

Frequently asked questions

A Team key is scoped to your whole Apple Developer organization account and is the correct choice for most setups. An Individual key is tied to a single personal Apple ID and can cause permission errors mid-build if that person’s access changes — use a Team key whenever your account is an organization account.
Apple only allows the private key to be downloaded once. Go back to Users and Access → Integrations → API Keys, revoke the key you just created, and generate a new one, making sure to download the .p8 file before closing the dialog.
Yes. Click Disconnect on the Apple Developer API Connection card in Median, or revoke the key directly from App Store Connect. Builds you’ve already produced aren’t affected, but you’ll need to reconnect before starting new automatic builds or uploads.
It’s organization-wide. Once connected, every app in your Median organization can use this same key for signing and uploads and you don’t need to repeat this setup per app.
Last modified on November 7, 2026