Updating project files to iOS 6 and fixing build settings

Getting these settings right took me a long time and it seems there are a lot of people having trouble with it so I updated the project files.