Lately I’ve been developing Android and iPhone apps with Titanium Developer and also switching from on Mac to another. At the end I ended up with a computer that only had the latest iOS 4 SDK. Thus, I couldn’t compile anymore apps for my 3G iPhone with OS 3.1.3.
Fortunately, the old versions of XCode and iPhone SDKs are still available for download, although they don’t show up in the Downloads section of the Apple Developer Connection site.
Here is a list of versions and links:
iPhone SDK 3.1 with XCode 3.2.1 for Snow Leopard (10.6.0)
iPhone SDK 3.1.3 with XCode 3.2.1 for Snow Leopard (10.6.0)
iPhone SDK 3.2 Final with Xcode 3.2.2 for Snow Leopard (10.6.0)
Xcode 3.2.3 and iPhone SDK 4 GM seed for Snow Leopard (10.6.2)
Xcode 3.2.3 and iOS SDK 4.0.1 for Snow Leopard
Xcode 3.2.3 and iOS SDK 4.0.2 for Snow Leopard

Hello, thanks for the links for old Xcode+SDK versions but, sadly, they no longer appear on Apple’s site.
Any chance that you’ve saved a copy of 3.2 ?