Custom environment variable in XCode 4 - ${CUSTOM_VAR}

3.6k Views Asked by At

Where to set my custom variable?

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

Bundle name = ${BUNDLE_NAME}
Bundle identifier = com.mycompany.${BUNDLE_NAME}
1

There are 1 best solutions below

1
On BEST ANSWER

You need to add "Configuration Settings File" with keys and values the you want to add/override like:

BUNDLE_NAME = custom

Then, in the project info pane under configurations you need to pick the configuration to modify and select your newly created configuration file.