title: Xcode, iPhone: How to detect simulator target at compile time?
body: <p>I wonder if, when building an iPhone app for the Simulator, there are special DEFINEs added that allow me to conditionally compile for this case?</p>
  
  <p>If not, I'll have to add my own targets for this case, but I'd rather have an automatic way of detection.</p>
  
  <p>Alternatively, is there a dynamic way to know when my code runs on the Simulator, I mean something that's documented? I've been searching the docs for a while now but had no luck yet.</p>