title: XCode 4.2 is missing the iOS5 SDK for the Simulator
body: <p>I created an empty Single View application using Xcode 4.2 on OSX Lion 10.7.2 targeting iPhone 5. The project built happily however when launching the simulator I receive the following error message:</p>
  
  <blockquote>
    <p>iOS Simulator could not find the SDK. The SDK may need to be reinstalled.</p>
  </blockquote>
  
  <p>I then tried targeting the iPad with the same results. I removed Xcode using the terminal and downloaded a fresh copy from the AppStore. The clean installation generates the exact same error.</p>
  
  <p>It seems that the SDK is not being deployed during installation. Any advice or tips on how I can correctly install the iOS 5 SDK for the simulator to work?</p>
  
  <p><strong>Update</strong></p>
  
  <p>I downloaded the iOS 4.3 simulator which was not installed. The simulator works perfectly if I select the 4.3 SDK but for some reason is not recognizing the folder containing the 5.0 SDK.</p>
  
  <p><strong>Update</strong></p>
  
  <p>I reformatted the MacBook, reloaded a clean OSX Lion without restoring any backups and installed Xcode. Running the simulator directly after the installed worked, however after a reboot and relaunching Xcode the error came back. The SDK itself seems to have been corrupted. Will try and reinstall Xcode again.</p>