title: How to fix "Apple is not currently accepting applications built with this version of the SDK." error for distributing an iOS SDK 4.2 app
body: <p>This is very similar to a couple of other questions on stackoverflow, but they all seem to be from last year and referring to lower version numbers.</p>
  
  <p>I have:</p>
  
  <ul>
  <li>xcode version 3.2.5</li>
  <li>A distribution build with Base SDK = Latest iOS (currently set to iOS 4.2), iOS Deployment Target = iOS 3.2</li>
  </ul>
  
  <p>I've tried the following without much luck:</p>
  
  <ul>
  <li><a href="https://stackoverflow.com/questions/3156115/problems-uploading-the-binary-of-my-app-to-the-apple-store-unaccepted-version-of/3468553#3468553">Deployed to a device (not the simulator)</a></li>
  <li>Setting the iOS Deployment target to 3.0, 3.2, 4.0, 4.1 and 4.2</li>
  <li>Cleaned my xcode cache</li>
  <li>Deployed through Application Loader and Organizer</li>
  <li><a href="https://stackoverflow.com/questions/4454250/apple-is-not-currently-accepting-applications-built-with-this-version-of-the-sdk/4454399#4454399">Did a clean build</a></li>
  <li><a href="https://stackoverflow.com/questions/4454250/apple-is-not-currently-accepting-applications-built-with-this-version-of-the-sdk/4454327#4454327">Reinstalled xcode</a> &lt;-- turns out this was the problem - need to check that it's the final version (ie, xcode_3.2.5_and_ios_sdk_4.2_final.dmg) and not the beta version</li>
  <li>Tried finding a version of the SDK &lt; 4.2 to install, but apple seems to remove all old versions from their developer site</li>
  </ul>
  
  <p>I'm sure <a href="https://stackoverflow.com/q/3830545/111884">iOS 4.2 should be out of beta now</a>, so I don't think this is the issue either.
  Any other ideas? Is there any way of getting more information about the versions of the SDK that apple want?</p>
  
  <p>Very frustrating indeed!</p>