When a package manager stops accepting new releases, nothing breaks on the day. Your app keeps building and your events keep flowing. The damage comes later, when a fix for a crash or a data bug ships and your project never receives it, because it is still pulling from the old registry.
PostHog has said that CocoaPods is becoming read-only. A dry run is planned for 2 to 6 November 2026, during which new PostHog iOS SDK versions cannot be published there. The registry goes fully read-only on 2 December 2026, after which new iOS releases ship through Swift Package Manager only. PostHog notes that the Flutter package on pub.dev, the Android SDK and the web SDK are not affected.
Why This Matters
If your iOS app installs the PostHog SDK through CocoaPods, you will be frozen on the last version published there. Tracking keeps working, but you stop getting fixes, and your event data slowly drifts out of step with apps that have moved on.
Data Points to Track
sdk_versionandsdk_nameon every iOS eventinstall_method(CocoaPods, Swift Package Manager, other) from your build metadataapp_versionandbuild_numbershare_of_users_on_latest_sdkevents_per_sessionbefore and after migrationidentify_success_rateandflush_failure_ratecrash_free_sessionsfor builds with the new SDKmigration_dateas a dashboard annotation
Setup Steps
- Check your Podfile and any wrapper packages for a PostHog dependency.
- Note the pinned version and record your baseline event volume and identify rate.
- Remove the pod and add the SDK as a Swift Package Manager dependency in a test branch.
- Send the SDK version and install method as properties on every event.
- Run your core flows in a TestFlight build and compare events with the previous build.
- Release to a small share of users and watch for missing or duplicated events.
- Complete the rollout well before 2 December and annotate your dashboards.
Actionable Insights
If events per session drop in the new build, check that initialisation still runs at launch and that any custom configuration carried over.
A split in the user base between old and new SDK versions explains differences between cohorts. Segment by sdk_version before you compare them.
Cross-platform apps should check whether a wrapper handles the iOS dependency for you. Follow that wrapper’s upgrade notes rather than editing native files by hand.
Common Mistakes to Avoid
Do not wait for the final date. Do not change SDK version and tracking plan in the same release. Do not forget CI caches that still resolve the old pod.
Who Should Own This
Name one engineer to own the migration and one person to own the data check. Dependency changes are easy to treat as pure build work, but they can alter initialisation order, background behaviour and the way events are flushed. Agree in advance what a successful migration looks like, for example the same event volume per session, the same identify rate and no new crashes. Write those numbers down before you start, so the comparison afterwards is a fact, not a memory. Keep the old pod pinned in a separate branch until the new build has been live for a full release cycle.