Did you know?
With this simple script, you can build and upload your iOS app to App Store Connect.
The best thing? You can run it from your local machine (no CI/CD needed!)
Read below for instructions on how to get it working. 🧵
The script uses the xcrun
command line tool to upload the IPA to App Store Connect.
You’ll need to authenticate with one of these methods:
- Username and Password
- App Store Connect API Key (recommended)
This guide explains how to obtain an API key:
Once you have obtained your Key ID and Issuer ID, set them as environment variables in your system (I like to store mine in ~/.zshrc
for convenience.)
Then, simply download the script from here and use it:
My latest course, Flutter in Production, covers the entire iOS app release process in detail—from joining the Apple Developer Program to submitting your app for review.
Here’s a free lesson to get started:
Happy coding!