Product Benefits Pricing Guides Docs About Contact us Try it out
Analytics tools

PostHog iOS Build Toolchain Property Tracking

PostHog iOS build toolchain tracking: version 3.91.0 adds $app_build_xcode and $app_build_sdk to install and update events. Segment by build.

· 3 min read

When a bug appears only after a release, the first question is always “what changed in the build?” Without build details on your analytics events, the answer is a guess. A crash spike might come from your code, or from the Xcode version your team upgraded to the same week.

PostHog iOS SDK 3.91.0 helps here. The Application Installed and Application Updated events now carry $app_build_xcode and $app_build_sdk, which record the Xcode version and the iOS SDK version the app was built with. That gives you a built-in record of your toolchain for every release.

Data Points to Track

  • $app_build_xcode: the Xcode version used to build the app
  • $app_build_sdk: the iOS SDK version the app was built against
  • $app_version: your marketing version, for grouping
  • $app_build: your build number
  • os_version: the iOS version on the device
  • previous_version: from the update event, to see upgrade paths
  • crash_free_rate: by build toolchain
  • cold_start_ms: by build toolchain
  • sdk_version: the PostHog SDK version in use

Setup Steps

  1. Upgrade the PostHog iOS SDK to 3.91.0 or later.
  2. Ship a release and wait for Application Updated events to arrive.
  3. Confirm the properties $app_build_xcode and $app_build_sdk appear on those events.
  4. Create a breakdown of installs and updates by $app_build_xcode.
  5. Join build data to health metrics by grouping crash and performance events on the same app build.
  6. Save the view as a dashboard so every release is checked against its toolchain.
  7. Note old releases have no values, so treat missing data as “before 3.91.0”, not as an error.

Actionable Insights

If a crash rate or launch time worsens in one build and that build is the first one compiled with a new Xcode version, you have a strong lead. Compare it against the previous build before blaming a feature.

A mix of toolchains across releases shows how disciplined your build process is. If hotfixes are built on a different machine from main releases, you may see differences that have nothing to do with your code.

Watch for users who stay on old builds. The properties help you see how many people still run apps compiled with an older SDK, which matters when Apple raises minimum build requirements for the App Store.

Common Pitfalls

Do not expect the properties on every event. They sit on install and update events, so you need to link them to later behaviour through the user or the app build number.

Do not treat Xcode version as a cause on its own. Check that the change lines up with other things, such as dependency upgrades or a new minimum iOS target.

Why Product Teams Should Care

Release quality is not only about features. The tools used to produce a build can alter behaviour in small ways, and a clear record turns long debugging sessions into a quick comparison. It also supports release notes and audits.

Testing Checklist

Build a test app with the new SDK, install it, then upgrade it. Check that both events include the two properties and that the values match the Xcode version on your build machine. Repeat after changing Xcode versions to confirm the value changes.