title: Target iPhone Simulator Macro Not Working
body: <p>Using the <code>TARGET_IPHONE_SIMULATOR</code> macro results in the same constant values being defined in am application. For example:</p>
  
  <pre><code>#ifdef TARGET_IPHONE_SIMULATOR
  NSString * const Mode = @"Simulator";
  #else
  NSString * const Mode = @"Device";
  #endif
  
  - (void)applicationDidFinishLaunching:(UIApplication *)application
  {
     ...
     NSLog(@"Mode: %@", Mode);
     ...
  }
  </code></pre>
  
  <p>Always results in "Mode: Simulator" being logged. I'm currently running XCode 3.2.4 if that helps. Thanks. </p>