mixpanel / mixpanel-swift

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

SPM support for macOS? #420

Closed piersebdon closed 3 years ago

piersebdon commented 3 years ago

Any idea when you plan to provide support for macOS? is It currently a work in progress?

zihejia commented 3 years ago

Hi @piers12 , it's in our backlog. We will let you know when we start working on it. Thanks for raising it.

HelgeBecker commented 3 years ago

What is the current state on this issue? (just closing it is not a solution)

zihejia commented 3 years ago

Hi @HelgeBecker , @piers12 , sorry for the waiting. We've now added SPM support to our 3.0.0.beta release for macOS.

1.  In Xcode, select File > Swift Packages > Add Package Dependency.
2.  Follow the prompts using the URL for this repository and point to the branch `3.0.0.beta`

Here is more context: On Jan 1, 2022, we’ll remove the Messages & Experiments(M&E) feature from Mixpanel. If you are not using messages or A/B testing, you can definitely use this beta version and it's in 100% parity with the main version excluding the M&E feature.

Going forward, we don't have a plan to add macOS SPM support to the 2.x.x release. It will only be available to 3.0.0+. I'm closing this issue now, please feel free to reopen if there are issues on the 3.0.0.beta branch for the macOS SPM support