marioradonic / posthog-ios

PostHog iOS integration

Home Page:https://posthog.com/docs/integrations/ios-integration

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

Questions?

About

PostHog iOS integration

https://posthog.com/docs/integrations/ios-integration

License:MIT License


Languages

Language:Objective-C 71.6%Language:Swift 26.2%Language:Ruby 0.9%Language:Makefile 0.7%Language:Shell 0.5%Language:C 0.2%