All jobs / Mobile developer / Release
Mobile developer interview question · 3–5 years
CI for iOS + Android is 45 minutes, mostly compiling the same modules. What do you do?
The strongest answer
Cache Gradle / Derived Data / pods with a key that includes the lockfiles, split the jobs, and fail the cache rather than poison it — I do not “just buy a bigger runner” as the first move
Why it works
Exactly. Cache with honest keys, split, and keep PR signal. Hardware is the second knob.
What a good answer covers
- Cache on lockfile keys.
- Do not poison the cache.
- Keep PR tests.
- Use a real macOS builder for iOS.
Answers that fall short
- Close, but not the strongest: Disable tests on PR and run them nightly only
Nightly-only tests are how you find the break after merge. - Weak: Commit the build folder to git so CI can skip compile
Build folders in git are huge and stale. - Red flag: Run the iOS job on a Linux runner with a hacked toolchain
iOS CI needs a legal macOS runner, not a hack.
Who gets asked this
More Release questions
- Legal wants a flow that “probably” fails a store guideline. Ship and argue, or change the product?
- A risky payments SDK bump is going to the store. How do you roll it out?
- You have white-label flavors and two OS families. How does CI stay honest?
- A bad mobile release is already on 10% of devices. What is faster than a store review?
- A screen ships that VoiceOver cannot complete. Who blocks the release?
- An engineer who had the upload key leaves. What is the rotation story?
- Who owns “we might lose the store listing”?
- Apple’s privacy manifest / Play’s data safety keep drifting from the binary. What system do you install?