2. How to configure App Store Connect for flutter app iOS deployment with Appollo
In this tutorial, you will learn how to link your Apple Developer account with Appollo.
Step 1: How to get an Apple API key
Go to https://developer.apple.com and click on the “Account” menu.
Log into your Apple developer account if you need to.
You can now see the overview of your account.
Access App Store Connect.
You can also directly go to https://appstoreconnect.apple.com.
Once that you are on the App Store Connect homepage, you can head over to “Users and Access”.
You will see a list of the users. Go to the “Keys” tab to see a list of your keys and their status
To add a new key, press the big “+” sign.
To generate an API key, simply define its name, select the role of the user and click on generate.
For more information about role permissions, check out Apple Developer Program’s official documentation.
In this case, developer is a sufficient pick.
Your API key has now been generated!
You have the possibility to copy¹ the key id and to download the API key².
You can only download it ONCE. Make sure to save it in a safe place!
But wait, do not close that tab yet !
Step 3: Complete the required missing information and where to find it
Now that you know how to add an access between your Apple Developer account and Appollo, in this step, you will learn where you can find the required information.
For the Apple ID, you can find it on your Apple developper account.
Go to the “Membership” menu and there you will find it. It is actually your Apple Team ID.
Just copy & paste it into the CLI and hit enter to continue.
The next information you need is to give a name to your access.
You can name it however you want.
Next, is your key ID. The one you created earlier.
Go back to your App Store Connect, in the Users and Access menu and in the keys tab.
There will be your keys. You can easily copy the key ID¹.
You can also copy the Issuer ID² right above because it will be the next line Appollo will ask you to complete.
The private key is the last bit of information you need to complete. It is the path where you stored the file of the key you downloaded³ earlier.
The path should look like this, depending on where you saved the file.
You are told that your account was linked successfully with Appollo and you receive your Appollo key.
It will be useful later.
If you type in
appollo apple ls, you should now see your access.
And that is how you link your Apple Developer account with Appollo in just 3 easy steps!