开发者

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

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.

I have:

  • xcode version 3.2.5
  • A distribution build with Base SDK = Latest iOS (currently set to iOS 4.2), iOS Deployment Target = iOS 3.2

I've tried the following without much luck:

  • Deplo开发者_运维问答yed to a device (not the simulator)
  • Setting the iOS Deployment target to 3.0, 3.2, 4.0, 4.1 and 4.2
  • Cleaned my xcode cache
  • Deployed through Application Loader and Organizer
  • Did a clean build
  • Reinstalled xcode <-- 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
  • Tried finding a version of the SDK < 4.2 to install, but apple seems to remove all old versions from their developer site

I'm sure iOS 4.2 should be out of beta now, 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?

Very frustrating indeed!


I had this problem yesterday and solved it by redownloading XCode from the developer center and reinstalling it. For some reason, the dmg file on my disk was from 19th of November (no, it was not a beta), and the release date of the SDK is 22nd on the iOS Dev center. Check if your local copy was downloaded before that. It just automagically worked after a reinstall. I built the binaries against SDK 4.2 and set the deployment target to 3.1 if that helps.

I am not sure at the moment, did apple rerelease SDK 4.2 with XCode 3.2.5 at some point without changing the version? Anyway, hope that helps, it worked for me.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜