Its really hard to find a tutorial to do this as most information relates to Xcode 3. Answer below may help some people.
I sourced most of my information for the ans
A good overview of all of the variables used in the plist file can be found here: https://gist.github.com/shazron/943736