Swiftpack.co - Dynatrace/swift-mobile-sdk as Swift Package

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
See all packages published by Dynatrace.
Dynatrace/swift-mobile-sdk 8.251.1
Swift Package Manger repository of the Dynatrace OneAgent for mobile (iOS, tvOS)
⭐️ 8
🕓 1 week ago
iOS tvOS
.package(url: "https://github.com/Dynatrace/swift-mobile-sdk.git", from: "8.251.1")

Swift Package - Dynatrace OneAgent for Mobile

Supported Platforms

  • iOS 9+
  • 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

Dynatrace Help

GitHub

link
Stars: 8
Last commit: 1 week ago
jonrohan Something's broken? Yell at me @ptrpavlik. Praise and feedback (and money) is also welcome.

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics