Search code examples
iphoneversioncompilationbuilding

Developing an iOS 3.1 application with iOS 4.0 SDK and device?


I've developed an iPhone application for an iOS Deployment Target 3.2.

But my client changed his mind and would like the app to be available for iOS 3.1. Thus, i've set iOS Deployment Target 3.1 and left base SDK to 4.0 but everything compiles fine whereas I'm sure I use methods and classes introduced in iOS 3.2 only.

How can I identify my code that won't run on a 3.1 device ? (and may cause an application crash)

My problem is that I have a single iPhone device (with 4.0.2 installed) and that SDK 3.1.x are not provided by Xcode anymore.


Solution

  • Henry, this might help you: install the old xcode & sdk parallel to the new one. Links to the old SDKs can be found here: http://iphonesdkdev.blogspot.com/2010/04/old-versions-of-iphone-sdk.html

    hope, that was what you wanted.