Daily iOS
Build and distribution

fastlane release reproducibility

On a scooter-sharing app people deploy with fastlane from their own Macs, and the build numbers and environment settings come out different per person. How would you pin the lane's inputs so anyone who runs it gets the same result?

How would an interviewer hear this answer? You'll see whether they'd move on, dig in, or say no, and which sentences would trip you up. Your score doesn't change.
See the short answer

Have the pipeline compute the build number in one place and pass it as a lane option instead of each person bumping it by hand. Pass the scheme, configuration, and environment values explicitly with no defaults, and pin the Xcode and gem versions so any Mac produces the same IPA.

Share a question