Multiple configurations can only be used with manual startup, but this has the drawback that the agent is started at a later time an you will not capture events happening on application startup until the agent has been started.
For manual startup don't provide the agent configuration keys in the
Info.plist file and use the
startupWithConfig method documented in the
Dynatrace.h file provided with the agent framework in the pod to start with a different configuration for each environment. this should be done as soon as possible during application startup.