I am about to release my first app to the iTunes store. What version of the iPhone/iTouch should I be targeting to hit the most people?
The default in XCode is 3.0.
I am about to release my first app to the iTunes store. What version of the iPhone/iTouch should I be targeting to hit the most people?
The default in XCode is 3.0.
You should target the lowest dependency, if your application builds and works for the iPhone 3.0, you have a larger target audience who can download it. There isn't much different from 3.0 -> 3.1 API wise, so it would be best to target for 3.0.
OS 3.0 adoption is currently at about 47% (less among iPod Touch users), so I'd certainly recommend targeting 2.0 if at all possible.
Update: here's an article with the statics (this one actually puts iPhone adoption of the OS at 44% and iPod Touch at 1%).
The iPhone OS is backward compatible with apps targeted to earlier SDK versions. So, if your app is built with 2.0, it will usually run on 3.0/3.1 without any problems (you should definitely test it though!). Thus, my approach is to always target the earliest possible SDK version, depending on the features needed in that app. If your app doesn't leverage any of the 3.0 stuff (such as push notifications, map view etc.), build with 2.0 or 2.2 - this way you reach much more people.