title: Xcode error: Failed to launch simulated application
body: <h1>Problem</h1>
  
  <p>Unlike people have asked at <a href="https://stackoverflow.com/questions/717453/multiple-targets-in-xcode-failed-to-launch-simulated-application-unknown-error">here</a> and 
  <a href="https://stackoverflow.com/questions/779115/iphone-failed-to-launch-simulated-application-unknown-error">here</a>, I got this error after a brand new installation of Leopard (hackintosh), this problem really driving me crazy and nowhere else to find an clue, I googled and visited every article related with this, still can't get it solved.</p>
  
  <p>After the first time install iPhone SDK 2.2.1, start a new project(any type, Navigate based, OpenGL ES application), then build and go, I got the following problem:
  sometime it's:</p>
  
  <blockquote>
    <p>Failed to launch simulated application: Unknown error.</p>
  </blockquote>
  
  <p>and sometimes it's:</p>
  
  <blockquote>
    <p>Failed to launch simulated application: iPhone Simulator failed to find the process ID of com.yourcompany.[application name]</p>
  </blockquote>
  
  <p>It seems that apps in the simulator crashed immediately, so Xcode can find the process ID.</p>
  
  <h1>Solution</h1>
  
  <p><a href="http://iphonedevelopmentfaq.com/view-question.php?id=106" rel="nofollow noreferrer">This link</a> says that this even can't be solved. Some others make a detailed step by step:</p>
  
  <ol>
  <li>Uncheck Info.plist</li>
  <li>Quit XCode</li>
  <li>Delete directory /Lib/Caches/com.apple.DeveloperTools.###</li>
  <li>Open Xcode project</li>
  <li>Clean All Targets</li>
  <li>Rebuild</li>
  </ol>
  
  <p>and I reset the iPhone Simulator. This also didn't solve the problem…</p>
  
  <p>I've even tried uninstall the SDK and reinstall it, still got the same error…</p>
  
  <p>Is this a problem related with hardwares? or the operating system version? I'm using a hackintosh (iDenebv1.4 10.5.6), all other software works good including iTunes &amp;&amp; vmware fusion.</p>
  
  <p>Great thanks for any further tips or clues!</p>