title: Xcode - How to run script just before build starts
body: <p>I wonder if there is any way to run scripts before build starts in Xcode. There is way from </p>
  
  <p><code>Build phase -&gt; Run scripts</code></p>
  
  <p>But this runs after the actual build is finished. I need to run script before Xcode build starts though.</p>