Swiftpack.co - PostHog/posthog-ios as Swift Package

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
See all packages published by PostHog.
PostHog/posthog-ios 2.0.3
PostHog iOS integration
⭐️ 17
🕓 16 weeks ago
iOS tvOS
.package(url: "https://github.com/PostHog/posthog-ios.git", from: "2.0.3")

Version License SwiftPM Compatible

PostHog iOS

Please see the main PostHog docs.

Specifically, the iOS integration details.

Development Guide

To get started

  1. Install XCode
  2. Install CocoaPods
  3. Run pod install
    1. If you face segmentation faults on M1 Macs, this might be a potential cause
    2. To fix, run gem install --user-install ffi -- --enable-libffi-alloc
  4. Open the file PostHog.xcworkspace workspace in XCode
  5. Run tests using the test navigator . Skip TvOS tests by changing the target in the top middle bar from PostHog to PostHogTests.


Join our Slack community.


Stars: 17
Last commit: 2 weeks ago
jonrohan Something's broken? Yell at me @ptrpavlik. Praise and feedback (and money) is also welcome.

Release Notes

Swift Package Manager support
3 years ago

Added early support for Swift Package Manager

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