title: Don't launch simulator when running unittests
body: <p><strong>Some background:</strong></p>
  
  <p>I have iOS application with a target configured to run unitTests. And I am running build automation tool jenkins on my MacBook which automatically builds this application and run all tests (using command line xcodebuild tool).</p>
  
  <p>Everything worked fine with Xcode 4. This build automation tool was running under different user and was running all these tests.</p>
  
  <p>I switched to Xcode 5 recently and it started to fail, because it can't launch Simulator.</p>
  
  <p><strong>The problem</strong></p>
  
  <p>I have a scheme UnitTests which is configured to run tests (logic tests). A I run these test using one of two methods:</p>
  
  <ul>
  <li><p>Command U in Xcode</p></li>
  <li><p>Or command line "/usr/bin/xcodebuild -scheme UnitTests -sdk iphonesimulator -configuration Release clean build TEST_AFTER_BUILD=YES "</p></li>
  </ul>
  
  <p>In both cases, it tries to start simulator. However, per my understand it doesn't need it. Anyway it runs on top x86 and it doesn't look like any apps are installed on Simulator.</p>
  
  <p>Is there a way to get rid of this pesky simulator start (because it breaks my build automation)? </p>
  
  <p><strong>Update 1</strong></p>
  
  <p>Seems to find very similar question, but can't get it working:
  <a href="https://stackoverflow.com/questions/7274711/run-logic-tests-in-xcode-4-without-launching-the-simulator">Run logic tests in Xcode 4 without launching the simulator</a></p>
  
  <p><strong>Update 2</strong></p>
  
  <p>I found VERY relevant and interesting question/answer: <a href="https://stackoverflow.com/questions/18059642/apple-ci-xcode-service-and-jenkins">Apple CI / Xcode Service and Jenkins</a></p>