Mixpanel’s Swift SDK 7.0.0, released in October 2026, is a breaking release. It raises the minimum platforms to iOS 15, tvOS 15, macOS 12 and watchOS 9, and it deprecates trackAutomaticEventsEnabled in favour of autocaptureOptions. Users on older systems or Xcode versions can stay on 6.x, which receives security and critical fixes until April 2027.
The risk is quiet data loss. If you bump the package, rebuild and ship, you may find that automatic events behave differently, or that a slice of your users never receives the new build because their devices sit below the new floor. Without tracking, a dip in event volume looks like a product problem rather than a migration problem.
Data Points to Track
- sdk_version: the Mixpanel Swift version running in each session
- os_version: device OS, so you can size the group stuck on 6.x
- autocapture_config: which
autocaptureOptionsare enabled (clicks, rage clicks, dead clicks) - legacy_flag_in_use: true if the deprecated
trackAutomaticEventsEnabledsetting is still set - app_version and build_number: to compare before and after the upgrade
- events_per_session: a quick check that volume has not dropped
- automatic_event_count:
$ae_events per user per day
Setup Steps
- Check your install base. Count active users on iOS 14 and below before raising your own deployment target.
- Decide on a path. Move to 7.0 if your deployment target is already iOS 15 or higher; otherwise pin 6.x and note the April 2027 end of fixes.
- Replace the deprecated flag. Configure
autocaptureOptionsexplicitly instead oftrackAutomaticEventsEnabled. - Add
sdk_versionandautocapture_configas super properties so every event carries them. - Release to a small percentage first, using a phased release in App Store Connect.
- Compare events per session for the new build against the previous one for three days.
- Chart
$ae_event counts by build to confirm automatic events still arrive. - Write down a rollback plan in case volume falls sharply.
Actionable Insights
If events per session fall in the new build, check the autocapture configuration first. A setting that used to default one way may now need to be stated explicitly.
If a large share of users is below iOS 15, the upgrade will cut off their analytics updates. Weigh that group’s revenue before raising your own minimum.
If rage-click or dead-click counts jump after enabling autocapture, treat the first week as a baseline rather than a real change in behaviour.
Common Pitfalls
Do not compare event counts across builds without filtering by sdk_version.
Do not remove the old flag and assume the defaults match. Set the new options on purpose.
Do not forget tvOS, macOS and watchOS targets if you share the package across apps.
Rolling It Out Safely
Treat the upgrade like a product release, not a dependency bump. Write down the iOS versions you will no longer reach, share that with stakeholders, and set a date for revisiting it. Keep a short list of dashboards that depend on automatic events and check them after each phased release step. If you maintain more than one app on the same package, upgrade the smallest one first and use it to learn what breaks before touching your main product.