- iOS 9+
- tvOS 11+
- Xcode → File → Swift Packages → Add Package Dependency...
- Use
https://github.com/ILYA2606/Dynatrace.git
to add the Dynatrace package repository. - To update the package version rule double-click the
Dynatrace
entry in the Swift Packages tab of the Xcode project settings. - To update the product selection you have to remove the package and add it again (as of Xcode 12 there is no edit feature for Swift packages).
- Xcode → File → Swift Packages → Update to Latest Package Versions
This adds Dynatrace OneAgent for Mobile for automatic mobile app instrumentation.
Follow the configuration setup for instrumenting mobile apps from the Dynatrace UI:
- update
Info.plist
or provide a configuration dictionary for agent startup - configure the data privacy