ios SDK 4.3 on Xcode 4.2? - iphone

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.

Related

Apple not currently accepting applications built with this version of the sdk (Xcode 4.2, iOS SDK 4.3)

I recognize that there are 2000 other SO posts on this question, but none I have seen are specific to Xcode 4.2 and iOS SDK 4.3. I am wondering if anyone knows of a setting that I am perhaps missing.
I have set the Base SDK in my project and target Build Settings panels to iOS 4.3, all to no avail. FWIW it seems like the build warnings I am getting are all SDK 5.0 related deprecations.
Are there any other project/target settings I am missing, or is this a lost cause building 4.3 apps in Xcode 4.2?
Xcode 4.2 has not been officially released. It's still in beta. So you cannot submit an app built with it. Use Xcode 4.0.1 (Snow Leopard) or 4.1 (Lion). [4.1 for Snow Leopard is also available, if you can download it...]
I believe that Xcode 4.2 is still in beta. You cannot submit apps with this version. Downgrade back to Xcode 4.1, that supports building apps for iOS 4.3, too. Xcode 4.2 is really only for beta testing iOS 5 apps.
Apple will not be accepting any apps built with Xcode 4.2 until it is out of beta.

What's the latest version of Xcode that comes with iPhone SDK 3.2?

Reviewing the iOS Developer Downloads & ADC Program Assets, I think it's Xcode 3.2.4, but I'm not sure.
I have an XCode 3.2.6, which I strongly believe is the latest version of Xcode 3, after which, Xcode4 is your only option
Here's the link
http://connect.apple.com/cgi-bin/WebObjects/MemberSite.woa/wa/getSoftware?bundleID=20792
XCode 3.2.4 comes with iOS SDK 3.2. It gives options for iPad Simulator 3.2 but not iPhone Simulator 3.2 (only 4.0 & 4.1). It may allow you to build 3.2 on an iPhone device though. I just confirmed this by downloading & installing it. I think it's the latest, although Xcode 3.2.5 might also have iOS SDK 3.2, but I highly doubt it because How do I add the iPhone SDK 3 to the latest version of Xcode? suggests otherwise.

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

I have xcode 3.2.2, is that the latest? Is 4.0 out

I want to get into iphone dev, I downloaded xcode a long time ago and my version on my mac is 3.2.2
I logged into the dev center, and I see "xcode and ios sdk 4.2"
The snowleapords download shows xcode 3.2.5 and ios sdk 4.2
Little confused, where is xcode 4.0 which I thought was released a while ago?
No, Xcode 4 has not been released yet. It's still in the developer preview stage (only available to members of the paid developer program). The current public stable version (as of this writing) is 3.2.5.
XCode 4 is still a beta. You must be a paid registered Mac developer or iOS developer to access the XCode 4 beta. It costs $100/year. The current release is 3.2.5, which includes the 4.2 SDK.

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.