title: Relative paths on Xcode scripts
body: <p>I'm experimenting running scripts with Xcode and have got a couple of questions:</p>
  
  <p>1) Xcode says to drag n drop the script into the run script section but that creates an absolute path: /Users/Me/Desktop/Project/etc. which is obviously no use if somebody else or a CI machine checks out the code. How to specify a relative path?</p>
  
  <p>2) There's a permission denied error during the build when the script gets executed.</p>
  
  <p>(I'm using scripts off here to experiment with <a href="https://gist.github.com/sekati/3172554" rel="noreferrer">https://gist.github.com/sekati/3172554</a>)</p>