I have three configurations in my iOS project:
- Debug
- Adhoc
- Release
Now I want to change the name of the App as follows:
- MyAppDebug
- MyAppAdhoc
- MyApp (Note that this one does not have a suffix)
Is there a way I can easily achieve this in Xcode with some type of "compiler-if-else-macro-thing"?
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
Part 2: use it
Then for appropriate configuration it will select name from BUNDLE_DISPLAY_NAME variable in build settings.