April 20, 2020
I've been moving towards Amplitude for analytics in my personal apps, since it seems to have the best user experience and easiest itegration vs Google Analytics and Mixpanel (plus, it has a free tier!), but I only recently implemented analytics in a macOS app. It was a bit tough to figure out how to pull in Amplitude, since (as far as I can tell) their documentation is iOS-specific. If you try to install the
Amplitude-iOS pod in a Mac app, you're going to have a bad time.
Luckily they're publishing another podspec which correctly sets the macOS deployment target. Integrating Amplitude into your project is as easy as:
(This post isn't sponsored by Amplitude, it's just the best solution I've found for tracking usage of my personal apps.)