iOS Agent auto setup with CocoaPods

You can install the Mobile Agent using CocoaPods with the Dynatrace iOS agent pod.
If using CocoaPods for the first time, read the Install Instructions and how to prepare your Xcode project using CocoaPods.

Include the following in your Podfile to include the mobile agent as Framework.

use_frameworks!
pod 'Dynatrace', '~> 7.0'

Include the following in your Podfile to use the static library version of the mobile agent.

pod 'Dynatrace/lib', '~> 7.0'
  1. Add the DTXAgentStartupPath key to your Info.plist file. Use instrumented web server URL for the value. For example http(s)://<myWebServer>:<my port>.
  2. Add the DTXApplicationID key to your Info.plist file. Use the ID your App should be identified by on the AppMon Server for the value. For example, easyTravel mobile.
  3. Use the suitable keys from Auto-Instrumentation for iOS to enable and control auto instrumentation.