title: export all warnings in file in XCode
body: <p>I have written script that shows Xcode warnings. e.g <code>TODO</code> warnings. This script will run on each build of XCode. (I have written script in "Run Phase" option).</p>
  
  <p>Now I want to collect and export all these warnings to text files. Is there any way to export all warnings or build errors to a text file?</p>