title: Xcode build parameters
body: <p>I am looking at compiling building a simple app I have wrote using Objective C. Currently all the application does it print 'hello [dev|production]' on screen.</p>
  
  <p>What I would like to do is able to add a build parameter into xcode so that if I build it with a dev flag then the output would be 'hello dev' else the output would be 'hello production'.</p>
  
  <p>Can someone give me an code example or link to a resource which will allow me to do this.</p>
  
  <p>The idea is not to distingusish between DEBUG and PRODUCTION but rather to be able to add values into the build process which will change the compiled application output.</p>