I\'m using xcode 4.5 and cordova/phonegap to build my apps. I have invested a lot of time into getting the build settings just right for my xcode project and I would like to re
Use an .xcconfig file.
http://developer.apple.com/library/ios/#recipes/xcode_help-project_editor/Articles/BasingBuildConfigurationsonConfigurationFiles.html
File.. New File.. Then choose the Configuration Settings File from the Other section.
You will have to copy the build settings from your xcodeproj file. Open your xcodeproj file in a text editor and copy:
buildSettings = { ... }
Into your xcconfig file. Be aware that the xcconfig file has a specific format. The above video / Apple documentation should help you.
You will then need to tell Xcode which xcconfig file to use for each build configuration.. Debug, Release, etc. You can do this by importing it under your Project's Info tab, under Configurations.