Daily iOS
Build and distribution

Cutting build time

You inherit a project where a clean build takes 15 minutes and a one-line change still takes 2 minutes. Where do you start measuring?

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

Use the Xcode Build Timeline to see which targets and phases wait in serial, -warn-long-expression-type-checking to catch slow type checks, and the build log to find run scripts that fire on every build. A clean build is a volume problem and an incremental build a dependency-scope problem, so you measure them separately.

Share a question