Saturday, 27 July 2019

Display Xcode Build Time

To show Xcode build time, from the Terminal, run the below command.
λ defaults write ShowBuildOperationDuration -bool YES
After which, running Xcode builds will display the time in the info bar. To get the full build time, clean the project and build again.

To get the dynamic liked framework startup time, add DYLD_PRINT_STATISTICS environment variable with value as 1. Environment variables can be added from the Run section by editing the target's schema from Xcode.

No comments:

Post a comment