Final yr, we launched an simpler means of distributing your app to customers by way of the App Retailer. It simplified and automatic publishing apps on App Retailer Join with a couple of traces you would add to your
codemagic.yaml file. This characteristic automated your iOS releases from begin to end and pushed the CI-verified builds straight to the App Retailer.
We’re excited to announce that we now have simplified this course of even additional! Now, you possibly can instantly reference the API key and authenticate with App Retailer Join! This helps you simply reference the identical API key throughout a number of apps and workflow configurations.
We even have a video on publishing to the App Retailer utilizing the Apple Developer Portal integration:
For these of you preferring studying, let’s talk about the best way to publish to the App Retailer utilizing the Apple Developer Portal integration in some extra element.
Organising the Apple Developer Portal integration in Codemagic
You possibly can allow the Apple Developer Portal integration in Groups > Private Account > Integrations for private initiatives and in Group settings > Group integrations for initiatives shared within the workforce (in case you are the workforce proprietor). This lets you conveniently use the identical credentials for publishing throughout completely different apps and workflows.
In case you are the workforce proprietor, choose your workforce to entry Group settings. Below Group settings, choose Group integrations:
Below Group integrations, click on on the Join button to entry the Developer Portal integration:
In case you are engaged on a private undertaking, go to Groups and click on in your private account to open your account settings. Then choose Integrations:
Below Integrations, click on on the Join button for the Developer Portal integration:
This opens a window for the Apple Developer Portal Integration. There are three fields so that you can fill in and one to add the API key.
- App Retailer Join API key identify: Present a readable identify for the important thing that you need to use later within the
codemagic.yamlfile in your app(s).
- Issuer ID: That is the App Retailer Join API key issuer ID. You possibly can acquire it from App Retailer Join > Customers and Entry > Keys. That is the issuer ID displayed above the desk of energetic keys.
- Key ID: That is the App Retailer Join API key ID. You possibly can acquire it from App Retailer Join > Customers and Entry > Keys.
- API key: That is the App Retailer Join API personal key. You’ll should add the personal key, which is on the market for obtain solely as soon as from App Retailer Join > Customers and Entry > Keys. Be certain to reserve it someplace secure as nicely.
Lastly, click on on the Save button to complete the setup.
You possibly can add a number of API keys as wanted.
After establishing the Apple Developer Portal integration on Codemagic’s web site, all it’s essential do is add a few traces to your
workflows: ios-app-workflow: integrations: app_store_connect: <your API key identify> scripts: - ... publishing: app_store_connect: auth: integration
Step one is so as to add the
integrations part and reference the identify of the API key, as proven within the instance under:
integrations: app_store_connect: Nevercode ASC API Key
The second and last step is so as to add
integration because the authentication methodology below the
publishing: app_store_connect: auth: integration
And that’s it! As a result of the variables you’ve added work throughout your workforce (be it private or shared), you need to use the brand new
integration methodology of referencing the API key for a number of apps. This makes it quite a bit simpler to work throughout completely different apps and
codemagic.yaml configuration information!
Undergo App Retailer assessment
After updating the configuration, run a construct and ship it to App Retailer Join for Apple to assessment:
When the primary workflow has completed working on Codemagic and the app artifact has been efficiently revealed to App Retailer Join, the workflow course of switches to the App Retailer distribution steps. Actions like
beta_groups, and importing launch notes happen asynchronously within the post-processing step.
Notice: This methodology avoids utilizing the macOS construct machine whereas we anticipate Apple to complete processing the construct, and it turns into out there for additional actions. (This manner, you don’t spend construct minutes whereas ready.)
After the post-processing step is completed, head to App Retailer Join and navigate to your app. You need to discover your app ready for assessment:
Further configuration choices
For extra configuration ideas, you possibly can check with our article on the best way to publish apps to App Retailer Join with Codemagic and the Codemagic CLI documentation.
Codemagic’s publishing course of is a fast and seamless solution to publish your app to App Retailer Join. With Codemagic, you possibly can simply automate iOS releases from begin to end. Our new integration methodology is quicker to work with, saving you the trouble of manually ready for the construct to course of and submit for assessment. Now, you possibly can focus extra on offering the most effective expertise to your customers!
The Codemagic workforce is raring to find out about your expertise publishing to App Retailer Join utilizing the brand new integration methodology. You probably have ideas or suggestions, be a part of our Slack group!