E008
From Commit to IPA with GitHub Actions
Build and sign .NET MAUI iOS apps with GitHub Actions using macOS runners, GitHub Secrets, signing certificates, and provisioning profiles to produce IPA artifacts.
PRESS PLAY. FIND AN IDEA.
Listen to the episode
Show Notes
Can GitHub Actions build and sign your .NET MAUI iOS application automatically?
Yes! Once Apple’s signing requirements are configured, GitHub Actions can take care of the remaining build process.
In this episode of the TSJDEV Apps Podcast, Thomas Sebastian Jensen explains how to create a repeatable iOS build pipeline using GitHub Actions.
Discover how macOS runners, signing certificates, provisioning profiles, and GitHub Secrets work together to produce a signed IPA file.
In this episode
- Why automated iOS builds require macOS runners.
- Installing .NET MAUI and selecting the appropriate Xcode version.
- Importing signing certificates securely.
- Downloading provisioning profiles using App Store Connect.
- Generating and uploading IPA build artifacts.
Coming next
Automating Windows MSIX packaging with GitHub Actions.
TSJDEV Apps Podcast - Short Episodes. Big Developer Ideas.
Full Transcript
What if your next signed iOS application could be built automatically in the cloud, without manually opening Xcode or Visual Studio?
Welcome to the TSJDEV Apps Podcast! Short Episodes. Big Developer Ideas.
I’m Thomas Sebastian Jensen, and today we’re turning our iOS signing preparation into an automated build pipeline.
In our previous episode, we discussed Bundle Identifiers, distribution certificates, and provisioning profiles.
Now it’s time to put everything together.
GitHub Actions allows us to define a workflow that runs on a macOS build runner.
Why macOS? Because building iOS applications requires Apple’s development tooling, including Xcode.
Our workflow starts by checking out the repository and installing the required .NET SDK and MAUI workload.
Next comes the interesting part: signing.
We store the certificate and its password securely using GitHub Secrets.
During the build, the workflow imports the certificate into a temporary macOS keychain.
Using an App Store Connect API key, it can then retrieve the appropriate provisioning profile.
With those prerequisites ready, we can use dotnet publish to generate the signed IPA file.
Finally, GitHub Actions uploads the resulting package as a downloadable build artifact.
And that’s it!
Instead of relying on one specifically configured development machine, we have a repeatable build process.
Of course, credentials must be protected, and Xcode versions need to remain compatible with the selected .NET MAUI workload.
But once everything is configured correctly, producing a signed IPA becomes much more predictable.
And there’s one more platform we shouldn’t forget.
What about Windows applications?
Next time, we’ll explore how to create signed MSIX packages using GitHub Actions.
Stay curious, keep experimenting, and keep building!