# Multi-environment configuration instrumentation. Currently, we are using IOS Cocoapods instrumentation method which we are using a single info.plist file, however we run the same package for Dev, QA and Production.

**URL:** <https://community.dynatrace.com/t/multi-environment-configuration-instrumentation-currently-we-are-using-ios-cocoapods-instrumentation-method-which-we-are-using-a-single-info-plist-file-however-we-run-the-same-package-for-dev-qa-and-production/19337>\
**Category:** Real User Monitoring\
**Tags:** mobile-monitoring, ios, dynatrace-saas\
**Created:** [January 29, 2019, 8:00pm UTC](https://community.dynatrace.com/t/multi-environment-configuration-instrumentation-currently-we-are-using-ios-cocoapods-instrumentation-method-which-we-are-using-a-single-info-plist-file-however-we-run-the-same-package-for-dev-qa-and-production/19337 "2019-01-29T20:00:59Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![michael\_joseph](https://avatars.discourse-cdn.com/v4/letter/m/e56c9b/32.png) [@michael\_joseph](https://community.dynatrace.com/u/michael_joseph)\
**Post date:** [January 29, 2019, 8:00pm UTC](https://community.dynatrace.com/t/multi-environment-configuration-instrumentation-currently-we-are-using-ios-cocoapods-instrumentation-method-which-we-are-using-a-single-info-plist-file-however-we-run-the-same-package-for-dev-qa-and-production/19337/1 "2019-01-29T20:00:59Z")

</div>

Multi-environment configuration instrumentation. Currently, we are using IOS Cocoapods instrumentation method which we are using a single info.plist file, however we run the same package for Dev, QA and Production.

---

<div class="post-metadata">

**Author:** ![Patrick\_H](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/patrick_h/32/37540_2.png) [@Patrick\_H](https://community.dynatrace.com/u/Patrick_H)\
**Post date:** [January 30, 2019, 7:11am UTC](https://community.dynatrace.com/t/multi-environment-configuration-instrumentation-currently-we-are-using-ios-cocoapods-instrumentation-method-which-we-are-using-a-single-info-plist-file-however-we-run-the-same-package-for-dev-qa-and-production/19337/2 "2019-01-30T07:11:41Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![hiroshi\_kitahar](https://avatars.discourse-cdn.com/v4/letter/h/b5e925/32.png) [@hiroshi\_kitahar](https://community.dynatrace.com/u/hiroshi_kitahar)\
**Post date:** [July 15, 2020, 9:03am UTC](https://community.dynatrace.com/t/multi-environment-configuration-instrumentation-currently-we-are-using-ios-cocoapods-instrumentation-method-which-we-are-using-a-single-info-plist-file-however-we-run-the-same-package-for-dev-qa-and-production/19337/3 "2020-07-15T09:03:53Z")

</div>

Hello Patrick,

My customer wants to do the same things like Michael. (using iOS Cocoapods)

Would you please tell me how to do the settings in the Dynatrace.h specifically or the Dynatrace Help URL about that?

Regards,

Hiroshi
