Changing display name of app for respective configurations:
one way to achieve this is by using the same info plist file that you have.
Part 1: create a user defined variable
- Click on target project file.
- Then at bottom right corner locate button “+” Add Build Setting.
- Click that button “Add Build Setting” and select “Add User-Defined
Setting” enter name for New Setting as for ex: “BUNDLE_DISPLAY_NAME”. - Expand this new setting to see the configurations under it. Give the desired name to be displayed for each configuration.
For ex: Debug -> MyAppDebug
Part 2: use it
- Select your appname-info.plist file.
- Locate key “Bundle Display Name” and value to it should be this new user defined variable ${BUNDLE_DISPLAY_NAME}
Then for appropriate configuration it will select name from BUNDLE_DISPLAY_NAME variable in build settings.