Guides / iOS and Apple Platform Engineering

How do I stop manually building iOS apps for QA?

Updated 2026-11-11

Put the build on a CI server that runs on every merge or on a schedule. The job checks out a clean copy of the code, resolves dependencies, signs the app with certificates held by the CI system, archives it, and uploads it to TestFlight or another tester channel. Testers install from there, and nobody builds on a personal laptop. Start with one QA lane, then add a production lane that reuses the same steps.

Why hand-built QA builds keep going wrong

A manual QA build usually means one developer opens Xcode, picks a scheme, archives, exports and sends the result to testers. It works until that developer is out, or until their laptop differs from the next person's laptop.

Each problem is small on its own. Together they slow QA down and make production releases feel risky, because the release build is made the same ad-hoc way.

What an iOS CI job needs to do

The goal is a build that starts from a clean checkout and produces the same kind of artifact every time. A workable first pipeline has these steps:

Fastlane, Xcode Cloud, Jenkins and GitHub Actions can all run these steps. The tool matters less than the rule: a build is made by the pipeline, never by hand.

Run QA and production builds through the same pipeline

Two separate build paths mean QA tests one thing and the App Store receives another. Keep one pipeline and vary only the configuration.

The production lane then becomes a small variation on something that has already run many times for QA, instead of a once-a-quarter ritual that only one person remembers.

What this looked like at Logitech

From Jul 2017 to Sep 2021, Nithin Gaddam was a Software Engineer III at Logitech. The job was building and maintaining the Ultimate Ears Bluetooth and IoT speaker companion iOS apps for the App Store. It also included enabling continuous integration for QA and production builds, and developing 2 private cocoapods.

Work like that comes with built-in constraints. A companion app for a speaker has to be tested on real phones against real hardware, so QA needs fresh builds often. Private pods mean any CI machine needs access to the private source, not only the public specs. Putting both QA and production builds on CI lets the people testing the app and the people shipping it work from the same repeatable process.

For the app side of that work, see How do I build a companion app for a Bluetooth speaker?

When it is not worth doing yet

The first setup takes real effort, mostly code signing and getting dependencies to resolve on a clean machine. Mac build capacity costs money or maintenance, whether you rent it or host it yourself. CI also does not replace testing on real devices.

If you are one developer shipping to one tester once a month, a written-down manual process may be enough for now. Once a second person needs builds, or a tester has received the wrong build once, set up the QA lane first and add production after.

Nithin builds Donna, Unknown, bloq and Manu at Vritam.

Frequently asked questions

Do I need a Mac to run iOS CI?

Yes. Building an iOS app needs Xcode, which runs only on macOS, so your CI needs a macOS machine. It can be a hosted Mac runner or a Mac you maintain yourself.

How should CI handle code signing?

Keep the distribution certificate and provisioning profiles in the CI system's secret storage or an encrypted shared repository, and install them into a temporary keychain for each job. Tools like fastlane can automate this. The aim is that no build depends on one person's keychain.

How often should QA builds run?

Build on every merge to the main branch if your tests are quick, or nightly if they are slow. Testers should always have a recent build that maps to a known commit.

Should production builds also come from CI?

Yes. A production build made by hand is the least-tested path in your process. Run it through the same pipeline as QA, and keep a manual approval before the App Store submission.

What if my app uses private pods or packages?

Give the CI machine read access to the private repositories, ideally with a deploy key or token scoped to that purpose. Then make sure the dependency lock file is committed so the job resolves the same versions every time.

Related guides

Connecting…
Chat with AI Nithin