All jobs / Mobile developer / Release
Mobile developer interview question · 1–3 years
An iOS build fails on CI: no matching provisioning profile for the bundle identifier. What does that mean, and how do you fix it properly?
The strongest answer
The profile on that machine does not match this bundle id, its capabilities or the signing certificate. Fix the source — the app id and its capabilities, and a profile and certificate CI can fetch itself
Why it works
Right — signing is identity plus entitlements plus the app id, and CI has to be able to obtain all three on its own.
What a good answer covers
- Signing is identity plus entitlements.
- Match bundle id, profile and certificate.
- Capabilities must match the profile.
- CI fetches credentials; people do not.
Answers that fall short
- Close, but not the strongest: The profile is out of date; regenerate it and copy it onto the build machine
That unblocks today’s build and returns next month; the credentials need to be something CI fetches, not something someone copies. - Weak: Switch the project to automatic signing and let the IDE sort it out
Automatic signing moves the problem to whoever’s account is logged in, which is exactly what a build machine cannot rely on. - Red flag: Build and upload from my laptop with my own certificate until someone fixes CI
A store build from a personal machine has no reviewable provenance, and the next one is blocked on that person being around.
Who gets asked this
More Release questions
- Play App Signing is on. Which key do you keep in CI?
- CI uses Fastlane. What still has to be true?
- App Store Connect privacy answers do not match what the SDKs actually collect. What do you do?
- On Android, what is the difference between a build type and a product flavor, and what belongs in each?
- Who gets the build before external TestFlight / open testing?
- Crash-free is fine but one cluster is 30% of reports. How do you triage?
- CI for iOS + Android is 45 minutes, mostly compiling the same modules. What do you do?
- Legal wants a flow that “probably” fails a store guideline. Ship and argue, or change the product?