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.
Choose the project in the Project Navigator on the left. Select the Configurations target from the Targets section and click the Build Settings tab at the top. The Build Settings tab shows the build settings for the Configurations target. It's possible to expand this list with build settings that you define.
By reducing the size of your targets, you will obtain a better parallelization. When opening your project in Xcode 10, build parallelization should already be enabled. To check or change this option, open your scheme editor, select “Build” in the sidebar and make sure “Parallelize Build” is checked at the top.
Type this in the terminal:
defaults write com.apple.dt.Xcode ShowBuildOperationDuration YES
Duration appears in the activity viewer after a build, alongside the "Succeeded" message.
If you are running the app, the status will be replaced by the running status before you can see the duration.
This replaces the entry that was used in older versions of Xcode:
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."
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With