Dynatrace

main

Swift Package Manger repository of the Dynatrace OneAgent for mobile (iOS, tvOS)
Dynatrace/swift-mobile-sdk

Swift Package - Dynatrace OneAgent for Mobile

Dynatrace Mobile App Monitoring

Supported Platforms

  • iOS 11+
  • tvOS 11+

Adding to Xcode

  • XcodeFileSwift PackagesAdd Package Dependency...
  • Use https://github.com/Dynatrace/swift-mobile-sdk.git to add the Dynatrace package repository.
  • Select the desired product (Dynatrace or DynatraceSessionReplay).
  • 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).

Updating

  • XcodeFileSwift PackagesUpdate to Latest Package Versions

Products

Dynatrace

This adds Dynatrace OneAgent SDK for iOS for automatic mobile app instrumentation.

Dynatrace-Static

This adds OneAgent SDK for iOS for automatic mobile app instrumentation as static XCFramework. Due to some Swift Package Manager limitations -ObjC must be added manually to Other Linker Flags in the according Xcode project target settings to correctly link this static XCFramework.

DynatraceSessionReplay

This adds Session Replay module for replay on crash. This product includes Dynatrace OneAgent for Mobile and is not available for tvOS.

Configuration

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.

License

Please see LICENSE for more information.

Documentation

Detailed documentation can be found here.

Description

  • Swift Tools 5.3.0
View More Packages from this Author

Dependencies

  • None
Last updated: Thu Dec 12 2024 20:47:05 GMT-1000 (Hawaii-Aleutian Standard Time)