How to develop for iPad

Hi,

I’m trying to create a project working on an iPad.

I installed the beta of unity 3, and xcode 3.2.1 (this is the version apparently required by unity3; I first tried with xcode 3.2.3, but that gave an error in unity, telling me 3.2.1 was required).

Now it seems I can’t add a provisioning profile to my iPad, because it’s operating system’s version is not supported by xcode 3.2.3:

Does this mean iPad development is not possible with this iPad? I bought it yesterday, and never updated the software.

Searching for an older iPad OS image and installing it is the first solution that comes to mind, but is this really necessary?

just download the os 4.0.1 sdk. this also includes support for ipad 3.2.1

Oh I see. I thought the iOS SDKs always came with a version of xcode… I’ll post something here if it worked.

I checked it, but I didn’t find a stand-alone version of the SDK. It always seems to come with a version of Xcode.

Anyone who can help me to get the iPad to work with Unity 3 beta?

As dreamora said to you , just download SDK 4.01, and yes it will come with the appropriate Xcode version to compile against 4.01, but in there you will get also the version you need for ipad.

not really much to do here :wink:

I downloaded the SDK (xcode_3.2.3_and_ios_sdk_4.0.1.dmg), and installed it (on top of my existing xcode 3.2.1 installation.

I also installed unity3 beta5 on top of the existing unity3 beta4 installation.

Now I have built my project, and in the top-right of the window of Xcode I now see ‘Base SDK missing’, and I also get an error message.

Maybe I should remove xcode and re-install it, but I’m not sure if that would work; the first time I tried that, I got an error message in Unity telling me that I need xcode 3.1.2.

I could also update my iPad’s software, but I’m afraid that I’ll have to revert that in order to make it work with unity…

361340--12538--$screen_shot_2010_08_06_at_143442_117.png

I cant quite remember what the option is called in xcode as im not at my computer, but if you go edit> then select the option second from bottom you can select the target, set it as 3.2

BaseSDK should to be 4.0.1
Deployment Target should be 3.2

Both settings are in standard Xcode project build settings.

Thanks! It’s working now. Apparently iOS versions lower than 3.2 aren’t supported any more in the newer SDKs.

It is but there is no iOS smaller than 3.2 that supports iPad (its actually the only one, iPad didn’t exist before that and does not have an OS4 version)

In that case I’ll file a bug report; you shouldn’t be able to select an older iOS version when building for iPad only or iPhone + iPad…

Normally you would expect these SDKs to be downwards compatible of course.