title: Build, deploy and run iphone simulator from terminal
body: <p>I'm new to mac &amp; xcode. Please tell me the procedure for iphone .xcodeproject outside xcode IDE for below tasks:</p>
  
  <ol>
  <li>Build- done using xcodebuild command </li>
  <li>deploy in simulator  ? </li>
  <li>Run in simulator.?</li>
  </ol>
  
  <p>How to achieve this using ant/Applescript?</p>
  
  <p>Thanks in advance</p>