Skip to main content

Why don’t Size Analysis sizes match my uploaded iOS build?

Issue

I want to know why Size Analysis shows different sizes than the iOS build I uploaded (or than App Store / TestFlight sizes).

Applies To

  • All SaaS Customers using Size Analysis

  • iOS


Resolution

Sentry Size Analysis doesn’t run App Thinning itself. It analyzes the build exactly as you upload it.

App Thinning is Apple’s way of creating device-specific app packages - for example, leaving out iPad-only assets when the app is being installed on an iPhone. So if you upload an unthinned XCArchive or IPA, the size shown in Sentry can be larger than what users actually download. You may also see duplicate assets in the breakdown, such as different idioms or colorspaces.

If you want the size to be closer to what a specific device actually gets:

  1. Build an XCArchive.

  2. Export a thinned IPA for the device type you want to analyze. The docs use the release-testing export rather than app-store-connect.

  3. Upload that thinned build to Sentry.

You can find the detailed steps and export_options.plist examples in App Thinning.

Did this answer your question?