User environment variable in Xcode 4 - $ {CUSTOM_VAR}

Where to set my user variable?

I want to use it in the info.plist file. For example:

Bundle name = ${BUNDLE_NAME} Bundle identifier = com.mycompany.${BUNDLE_NAME} 
+8
xcode environment
source share
1 answer

You need to add the “Configuration Settings File” with the keys and values ​​that you want to add / override, for example:

 BUNDLE_NAME = custom 

Then, in the project details area under the configurations, you need to select the configuration to modify and select the newly created configuration file.

+8
source share

All Articles