Daily iOS
Build and distribution

Xcode compile time

A clean build of an ecommerce iOS app runs past 15 minutes and both CI and local builds are slow. What would you measure the stages with to decide what to fix first?

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

Pull the per-target and per-phase times with Product > Perform Action > Build With Timing Summary or xcodebuild -showBuildTimingSummary, see whether Swift compilation, run scripts, or linking dominates, and start with the largest item.

Share a question