SDK Xcode versions..un-muddle me!

Took a bit of a break from iOS development and have been messing a round with some new game ideas. I feel i’ve left ‘the loop’ a little and i’m not sure which revisions I should be running re my dev libraries. Spent the whole day jumping between Xcode 4 and 3.25 with little success. I’ve mostly avoided Xcode 4 so far as I was running 3.2.5 ok. My 2 devices are a 2nd gen iPod Touch (up to date iOS) and an iPad 2.

I bought the Prime31 iAd plug and have (seemingly) integrated it ok into my test app but I can’ get Xcode 3.2.5 to like it. Lots of errors. I’m a little lost inside Xcode 4, most guides seem to avoid it and I had no luck compiling from there so I’m tempted to clear out all Xcodes/SDK’s and start afresh.

I have the latest Unity 3.5, running on Snow Leopard I aim to develop mainly for iPad 2 upwards, but also occasionally for the older iPod 2nd gen. With this in mind I’d like some advice on;
which Xcode I should be running to target both of these devices for ease of use.
which Base SDK I should install for a; iPad2 and b; iPod 2nd gen.

Is there an ideal setup I could use, given the info above?
Any help and pointers to clear, concise guides on using the various Xcodes and SDK’s very much welcome, I’ll

Since you probably want to make things work with iOS 6.0, you will need the newest XCode. That will not run on SL, so first thing might be upgrading your OS to Mountain Lion.

After that, newest 3.5.6 Unity has no problems working with XCode (4.5.2).

About your 2nd gen iPod, there’s a little caveat lying there. Apple has somewhat decleared ARMv6 a dying format, so you’re probably going to have troubles there with the newest XCode, but you could get away by installing a tad older version of it also. Things might get complicated anyhow, and from Unity 4.0 on, no much support there for ARMv6 either.

Don’t really know about what Base SDK you should use, things are little different with Unity 4.0, which I’ve mostly used these days. There you just choose target iOS version.

Thanks for that answer, it clarifies things for me. I’ve been a little reluctant to upgrade SL as it’s been rock solid for me and I’ll be sad to let the iPod go as it’s a more than capable device for my planned apps but technology moves on… I just hope Lion is a relatively hassle-free migration.

Thanks again.

Edit; As a final project on SL I’d still like to add iAds to an old app of mine that runs on iPod 2nd gen. Is there any combination of Xcode and SDK’s that will do this for one last time? As I said, Xcode 3.2.5 doesn’t work with the iAds plug.

Some version of XCode 4.x should work in SL, you can download it from apple developer downloads, most recent for SL seems to be 4.2. That way you probably could get iAds work, but I cannot say for sure, since I’ve never used that.

Read this:
http://forum.unity3d.com/threads/153862-Good-to-know-iOS-4-5-6-and-invalid-binary

As far as I know, there is no way to support both armv6 devices and iPhone5 as iPhone5 requires deployment 4.3 or later. 4.3 means no support for 3 and 3G. Xcode 3.2.5 will probably generate unspecified errors, unless you remove the iPhone5 splash screen from your Xcode project.

Good luck!