log build time for each translation unit (cpp file) with xcodebuild

Hello,

we use xcodebuild to build our C++ project. It would be so great to log the time needed for each translation unit (cpp file) to compile. When compiling the project in Xcode 10 I can see on the UI how long it took for each translation unit to compile (Report Navigator). Is there a way to output these times with xcodebuild? I know that there is the -showBuildTimingSummary option, but it seems it only reports the total time of the build phases.


Have a nice day and thanks,

Erich