title: Xcode #ifdef DEBUG is not working properly
body: <p>I have add following line to the code.</p>
  
  <pre><code>#ifdef DEBUG
          //DEBUG only code
  #endif
  </code></pre>
  
  <p>And I have go to the project->info tab in the xcode and set 'command-line builds use' to debug and run the code the code snippet inside the 'if' executed. The problem is when i set the command-line build' use to release and run the code. The code snippet inside the if condition still runs. I have set the preprocessor DEBUG macros to 'DEBUG=1'without quotes. How to solve this.</p>