views:

138

answers:

2

Hello,

I'd like to know how long my project's builds take, for example by displaying it in the build pane. Is this option available somewhere in Xcode?

Thanks.

+2  A: 

no, but you could use the command line. cd to your project directory and type

time xcodebuild
Nikolai Ruhe
+2  A: 

Type this in the terminal:

defaults write com.apple.Xcode ShowBuildOperationDuration YES

Xcode may need to be closed before you enter this command. Durations should appear at the bottom left of the project window.

Comment from an Xcode developer: "As with all undocumented user defaults, this is unsupported, assumed (but not guaranteed) accurate, and not assured to be effective in future versions."

Guillaume