Implementing Amplitude analytics in a macOS app

April 19, 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:

pod 'Amplitude'

(This post isn't sponsored by Amplitude, it's just the best solution I've found for tracking usage of my personal apps.)

Tweet This
Get New Posts Via Email
Picture of me with a corgi

Noah Gilmore

I'm Noah, a software developer based in the San Francisco Bay Area. I focus mainly on full stack web and iOS development

  • 💻 I co-founded Replo, a no-code platform for e-commmerce
  • ✍️ You can read technical posts on my blog
  • 📱 I wrote an app which lets you create transparent app icons called Transparent App Icons
  • 🧩 I made a puzzle game for iPhone and iPad called Trestle
  • 🎨 I wrote a CoreImage filter utility app for iOS developers called CIFilter.io
  • 👋 Please feel free to reach out on Twitter / 𝕏