title: Xcode - How to copy executable to new location after build?
body: <p>I'm building a command line application using Xcode 4.</p>
  
  <p>Once the build is complete the executable is located inside the default DerivedData folder. This is OK, however I'd then like to copy this file to a specific folder. I'd like this to happen regardless of the type of build (release/debug).</p>
  
  <p>Can anyone please suggest a way of doing this?</p>
  
  <p>As an aside, the subdirectory for my project inside DerivedData has a tag of random characters in it:</p>
  
  <pre><code>myProject-fnkwvtitgroivocadokaayqexhqy
  </code></pre>
  
  <p>Does anyone know if this can change over time (thus changing the location of my executable to be copied), or is it fixed for this project?</p>