Wednesday, March 18, 2009

A Word of Caution about SDK 3.0

There has been some confusion about whether you can compile iPhone SDK 2.2.1 applications once you've installed the 3.0 SDK. There were conflicting reports swirling around the Twitterverse for the first twenty-four hours after release, but we seem to have a definitive answer now from some nice folks at Apple.

The answer is: Yes, you can compile 2.2.1 (and earlier) applications, but DO NOT SUBMIT APPLICATIONS TO THE APP STORE THAT HAVE BEEN COMPILED USING THE VERSION OF XCODE THAT GETS INSTALLED WITH THE 3.0 SDK.

This is really only a minor annoyance, since can have multiple copies of Xcode installed on your machine. The "Read Me" on the disk image tells you how to install to a non-standard location. So, if you have applications on the App Store, or have ones you plan to put on the App Store before the GM release of 3.0 this summer, make sure you keep your old developer tools and install the 3.0 SDK tools to a new location.



16 comments:

Forsworn said...

Awesome...
Any chances to downgrade?

Michael said...

Good to hear confirmation. I can now happily install. Thanks, Michael.

Manpreet Singh said...

Hi Jeff,

Wouldn't it work if you use the SDK 3.0, choose 2.2.1 as the active target for the device, then compile and submit the app that way? This didn't give me any compile time or runtime problems.

Should the above be any different from compiling the app with SDK 2.2.1?

Jeff LaMarche said...

Manpreet:

Yes, it will work, in that you can compile an application that way, so if you're talking about doing ad hoc or just testing on your machine, then go for it.

On the other hand, if you're going to submit to the App Store, Apple has specifically stated not to use the version of Xcode that ships with SDK 3.0.

Might you get it through? Yeah, it's possible. But you also might spend longer in review only to have your application rejected.

I should note: this is not a suggestion or a recommendation from Apple. They have stated in no uncertain terms that you shouldn't do it. So, my recommendation is not to do it.

Jeff

Jeff LaMarche said...

Forsworn:

You can always download the 2.2.1 SDK and install it in a non-standard location. Same end-result as installing the 3.0 sdk at a non-standard location.

Jeff

Malcolm Hall said...

Jeff, what Apple mean is don't target 3.0. It's fine to use the new Xcode to target 2.0,2.1,2.2 or 2.2.1 and submit to the store. We just submitted our app built with the new Xcode and targetting 2.2 (we use the new audio framework in 2.2).

Jeff LaMarche said...

Malcolm:

No. I confirmed this with two separate evangelists at Apple. That is absolutely not what they meant. They mean exactly what I said.

While it is possible to compile 2.2 applications with the new version of Xcode that gets installed with 3.0, Apple has specifically requested that developers not use that version of Xcode for compiling apps to go on the App Store.

Again, it's not enforced, they may not even be able to tell if you did it, but it is what they are asking.

Jeff

Jeff LaMarche said...

More information is available at:

https://devforums.apple.com/message/40847#40847

(SDK program login required)

Todd said...

Any problems with installing OS 3.0 beta on your phone? I only have the one phone and don't want to break it. I also want to be able to test my existing production apps on my device. I'm sure the official guidance is to only install on extra "test" devices, but that's not practical for those of us with just the one device.

Chris Yunker said...

Thanks for the heads up.

I'm relatively new to developing on Macs, so I don't want to choose a directory that might screw something else up (I've already done that once..).

Can I just choose a new directory under /Developer, or should I install somewhere in my home directory?

Thanks

Jeff LaMarche said...

Chris:

Choose another directory at the root of the main hard drive, like /Developer3 or something. i woudn't put it under the existing /Developer if I were you. I don't know that it will cause problems, but it might.

Jeff

Chris Yunker said...

Thanks for the info.

Zebrum said...

This post was bullshit my app got accepted using the 3.0 sdk, targetting 2.0 of course. What a dummy.

Edwin said...

scrub m65 kamagra attorney lawyer body scrub field jacket lovegra marijuana attorney injury lawyer

h4ns said...

What youre saying is completely true. I know that everybody must say the same thing, but I just think that you put it in a way that everyone can understand. I also love the images you put in here. They fit so well with what youre trying to say. Im sure youll reach so many people with what youve got to say.

Arsenal vs Huddersfield Town live streaming
Arsenal vs Huddersfield Town live streaming
Wolverhampton Wanderers vs Stoke City Live Streaming
Wolverhampton Wanderers vs Stoke City Live Streaming
Notts County vs Manchester City Live Streaming
Notts County vs Manchester City Live Streaming
Bologna vs AS Roma Live Streaming
Bologna vs AS Roma Live Streaming
Juventus vs Udinese Live Streaming
Juventus vs Udinese Live Streaming
Napoli vs Sampdoria Live Streaming
Napoli vs Sampdoria Live Streaming
Fulham vs Tottenham Hotspur Live Streaming
Fulham vs Tottenham Hotspur Live Streaming
AS Monaco vs Marseille Live Streaming
AS Monaco vs Marseille Live Streaming
Alajuelense vs Perez Zeledon Live Streaming
Alajuelense vs Perez Zeledon Live Streaming
Technology News | News Today | Live Streaming TV Channels

Hire iphone developer said...

Hi,
If you want to hire developer programmer for iPhone mobile applications development with all the qualities mentioned above, you can hire them right away at very affordable prices here now!
Thanks.


hire iphone developer