Problem
I'm currently stuck trying to figure out what to use the "Install iPhone OS" setting. I don’t want to write conditional code right now, so I need the lowest version that works fine with my application.
At first I thought it would be 2.0, since I did not use any 3.0 features, but then I realized that AVAudioRecorder is a 3.0 API. I don’t want to manually check EVERY function that I use in the documentation.
Question
Is there a tool that will check the availability of the OS for each function that you call in the code to figure out what the deployment goal should be? This tool may be a good old compiler, but the latest version of the iPhone SDK does not come with the PRE-3.0 SDK.
source
share