XCode iPhone OS Deployment Target Tool
Posted
by Trah Divad
on Stack Overflow
See other posts from Stack Overflow
or by Trah Divad
Published on 2010-05-28T08:28:23Z
Indexed on
2010/05/28
8:31 UTC
Read the original article
Hit count: 183
Problem
I'm currently stuck trying to figure out what "iPhone OS Deployment Target" setting to use. I do not want to write conditional code right now, so I'd like the lowest version that runs my application fine.
At first I thought it would be 2.0 as I wasn't using any 3.0 features, but then i realized that AVAudioRecorder is a 3.0 API. I don't want to be manually checking EVERY function I use in the documentation.
Question
Is there a tool that will check the OS availability of each functions you call in your code to figure out what the Deployment Target should be? That tool could be a good old compiler, but the latest version of the iPhone SDK does not come with the PRE-3.0 SDKs.
© Stack Overflow or respective owner