tags:

views:

374

answers:

3

It seems that in the future, we can just use the non-beta iPhone SDK to develop for both at once.

But for now, the only way to develop for iPad seems to be to use the SDK 3.2 beta. However, if I install that, Apple clearly states I should not submit apps to the app store with it.

I'm an independent, one-machine developer. Is there a way I can continue to upgrade my existing iPhone apps while still developing for iPad?

+5  A: 

The Best way to do this is to install the 3.2 SDK beta in a location other than '/Developer'. On the 'Custom Install on Macintosh HD', select 'Other' from the Popup button, and point the installation to somewhere like: '/Developer-Beta'.

You can then run Xcode from /Developer/Applications for your iPhone apps, and Xcode from /Developer-Beta/Applications for your iPad apps.

Alan Rogers
This is what I'm doing, and it works fine. If you want to submit your iPhone app to the App Store, it need to be compiled under stable version of the iPhone SDK. The beta one is for iPad apps only.
QAD
+2  A: 

If I'm reading the agreement correctly, the ban on submitting apps with the 3.2 beta applies only to the SDK, not the tools. If you set your app's base SDK to an SDK earlier than 3.2 (which it probably already is anyway), you can then build with the 3.1 and earlier SDKs by selecting them from the "Overview" menu in Xcode.

I've submitted updates to my iPhone apps built with the 3.0 SDK by the 3.2 beta tools, and they were accepted with no issue. As long as you aren't building on the actual new SDK, you should be fine.

EDIT: I don't work for Apple, I am not a lawyer, blah-blah. But it's worked for me, and the warning only specifies the "iPhone SDK 3.2". The Xcode tools aren't mentioned.

Arclite
I haven't tested this yet (i.e. I haven't tried to submit an iPhone app with the SDK beta yet) -- but, assuming this works, I think this is the cleanest solution.
Tyler
I can confirm you will be rejected for submitting an App built using the beta SDK even if you target the correct SDK version.
Alan Rogers
ok Alan I'll trust you + the more votes your answer has
Tyler
A: 
Jordan