I think it uses the target settings for that, not the project settings. i.e. they are two seperate sets of version numbers that seem to be independent.
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags: