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 - iphone

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:
Deployed 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.

Related

XCode not recognizing my iphone

XCode was recognizing my device just a day ago but now its not. I am getting the error in the organizer below. I know there are many other questions like this but non of them are answering my question. I am unable to see "Use for Development" button, neither adding to portal is fixing the issue. I have upgraded the device when 5.1 came and was able to use the device for testing but dont know what happend yesterday and it stop recognizing the device.
The version of iOS on “Adil Muhammad’s iPhone” does not match any of the versions of iOS supported for development with this installation of the iOS SDK. Please restore the device to a version of the OS listed below, or update to the latest version of the iOS SDK; which is available here.
OS Installed on Adil Muhammad’s iPhone
5.1 (9B176)
Xcode Supported iOS Versions
Latest
5.0 (9A334)
4.3
4.2
you updated your phone, so you need the latest xcode installed to now develop apps on your dev phone
As your Device ios version is higher than what your xcode support.
Upgrade you xcode with the latest one (xcode 4.3).
This is the only Resason
Regards,
neil.

ios SDK 4.3 on Xcode 4.2?

I have upgraded to Xcode 4.2 Beta with iOS SDK 5, however, it turned out that the apps built in SDK 5 are not accepted by app store, although the target is set to be 4.0.
Since sdk 4.3 seems to be downloaded with Xcode 4, but I still want to keep the newer Xcode, how can I import SDK 4.3 in Xcode 4.2?
(I tried to reinstall the Xcode 4 with SDK 4.3, but a lot of crashes and errors with no luck. I am also on iTune 10.5.)
You should be able to install Xcode 4.0 (release) in addition to Xcode 4.2 beta.
Try deleting the directories for both, and re-installing...
Since we can't really talk about 4.2 because of the NDA, try asking over at the Apple Developer Forums.
I myself run both 'next to each other'. I have the latest official xCode installed under /Developer and downloaded the latest BETA version which I installed to /Developer/iOSBETA. For updates on old apps I use the official release, archive and release to the AppStore. For new and ongoing projects I use the BETA. This way you have the best of both worlds, in my opinion.

"This bundle is invalid" with MonoTouch and SDK 4.3

I'm running into a problem submitting my application through the Application Loader. I'm receiving the message "This bundle is invalid. Apple is not currently accepting applications built with this version of the SDK."
I've installed Xcode 4.0.1 w/SDK 4.3 ("4A1006", March 24), and I've reinstalled both MonoDevelop and MonoTouch. I've also made sure my build/bundle settings are using SDK 4.3, and I've tried each of the min versions of 4.0, 4.1, 4.2, and 4.3.
Suggestions?
Update: I've uninstalled Xcode 4 (rebooted), installed latest Xcode 3 same w/SDK (rebooted), and reinstalled MonoDevelop & MonoTouch. Still no luck unfortunately. I tried with and without manually specifying DTXcode:0400.
I've been reinstalling MonoTouch by re-running the installer. Is there a way to do a clean uninstall of MT and could that help in this case?
Apple changed the keys required in the application manifest in iOS SDK 4.3.1. We've released a new MonoDevelop build to track this.
Xcode 4.0.1 was released last week with the iOS 4.3.1 SDK, you need to install that.
One thought: Double-check that you're building/signing for release, and not e.g. for ad-hoc distribution.
i had this problem for one week and i just solve it today , it seems that SDK 4.3 has a problem with the monotouch anyway
the one works with me i uninstall the SDK and install SDK 4.2 with Xcode 3.2.5 and Remove monorouch 3.2.6 and install 3.2.3 . and it will work.

Xcode SDK IOS 4.2 installation and missing iOS 4.1 in build settings

i have download Xcode SDK 4.2(xcode_3.2.5_and_ios_sdk_4.2_final.dmg) from Apple developer site and installed successfully . when open my old xcode project it shows baseSDk missing ,when i try to change project setting ,i have found and set base SDk as 4.2 it works fine
my problem is ,in Base SDk list it shows
(iOS 2.1, iOS 2.2, iOS 2.2.1, iOS 3.0, iOS 3.1, iOS 3.1.2, iOS 3.1.3, iOS 4.2)
There is no iOS 4.0 and iOS 4.1 (which i have used before 4.2). anything wrong in my installation???? Plz help me to correct my mistake
Thanks in advance
This does happen. I generally just use the latest SDK as base SDK. You support the latest version and forget abt the older versions[apple style]. This way your app can take advantage of all the latest functionality.
One thing you must remember is that the Base SDK is different from the deployment target.
base SDK is the latest SDK your project will use and support.
deployment target is found in target->getInfo; this is the minimum version that your app will support.
4.2 is a free upgrade and most of them would upgrade, so i'd set the deployment target as 4.0 or at the least 3.0. who uses 2.x anymore?
if you really want 4.0 and 4.1 as well, you have to install the old 4.1 GM as a parallel Xcode IDE or follow this link and get support for all the versions in a single XCode IDE.
http://chris-fletcher.com/2010/08/28/howto-install-iphone-sdk-2-0-3-1-for-xcode-3-2/
I'd suggest building using 4.2 but follow the link and install all the simulator SDKs for old versions so that you can test the app on those versions of the simulator.
Nothing went wrong here. That's how Apple forces the developers to always use the latest SDK to develop.

Project Active Executable can no longer be iPhone 3.2

I don't know how much you can help me because its under the NDA, but I recently updated to the OS 4 beta 3 xcode version. My project worked fine under 3.2 but under 4.0 parts are a not quite right I assume because it is still being developed.
Every other installation of the beta sdk I could go into the project settings and select the iPhone 3.2 sdk and then change the target iPhone OS in the top left of Xcode but not this one. If I select 3.2 it still loads on 4.0 it seems I only have the 4.0 simulator and the iPad 3.2 simulator.
Any ideas how to get the 3.2 Simulator back?
Download the 3.2 sdk from the iPhone
Program Site.
Install it in a directory seperate
from the 4.0 beta sdk.
Use the xCode in the 3.2 directory
for access to the current sdk
versions, and the Xcode in the 4.0
directory to play around with 4.0
Remember if you want to submit an app to Apple you will have to build it with a non-beta toolchain. I recommend never updating your sdk to a beta version, but instead keeping the beta in a seperate folder.
It would seem that Apple has not included the older iPhone simulators in the latest beta version of the SDK. There is almost a 1GB dif between the two installations.
There may be a way to add all the old simulator and device SDKs by installing all the packages in the old version of the SDK (the newer one is missing the folder) but after trying to install just the ones I needed with no success I just reinstalled the old Xcode instead which fixed the problem.