mixpanel / mixpanel-swift

Official iOS (Swift) Tracking Library for Mixpanel Analytics
https://mixpanel.com
Apache License 2.0
434 stars 234 forks source link

Add Swift Package Manager support #411

Closed zihejia closed 4 years ago

zihejia commented 4 years ago

This is to add Swift Package Manager support. SwiftPM is Swift's official package manager.

How to use Swift Package Manager to integrate Mixpanel(available Xcode 12 and forward): In Xcode, select File > Swift Packages > Add Package Dependency. Follow the prompts using the URL for this repository and a minimum semantic version of v2.8.0

Important: Currently only works in iOS. We will soon add support for all supported platforms.