Skip to content

Commit 653bca6

Browse files
committed
app store connect + thinning
1 parent bcab471 commit 653bca6

File tree

3 files changed

+9
-4
lines changed

3 files changed

+9
-4
lines changed

docs/platforms/apple/guides/ios/size-analysis/index.mdx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,10 @@ description: Upload iOS builds to Sentry for size analysis.
3434

3535
<Include name="size-analysis/app-thinning" />
3636

37+
## App Store Connect File Sizes
38+
39+
<Include name="size-analysis/app-store-connect-file-sizes" />
40+
3741
## What's next?
3842

3943
We strongly recommend integrating Size Analysis into your CI pipeline. Follow our guide on [getting set up in CI](/product/size-analysis/integrating-into-ci/).
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
App Store Connect has a feature for `App File Sizes` which provides a report of your app size thinned for various device types. While we strive to be consistent with these numbers, you may see differences between the reported Sentry size and the Apple size. It's important to note that the reported Apple sizes are not consistent with the rest of their tooling, such as the Size Report generated by Xcode, and these are all estimated sizes. You can [learn more about these differences here](https://github.com/EmergeTools/app-store-size-example) for additional information.

includes/size-analysis/app-thinning.mdx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ App Thinning is Apple's technology that automatically optimizes the delivery of
22

33
Sentry Size Analysis **does not perform any app thinning** as part of the analysis, the underlying app is untouched and results shown as-is.
44

5-
If you want results targeting a specific device type, apply app thinning **before** uploading to Sentry. This can be configured via Export Options when building the app. First create an `export_options.plist` file with the desired device type:
5+
If you want results targeting a specific device type (recommended), apply app thinning **before** uploading to Sentry. This can be configured via Export Options when building the app. First create an `export_options.plist` file with the desired device type:
66

77
```xml {filename:export_options.plist}
88
<?xml version="1.0" encoding="UTF-8"?>
@@ -12,11 +12,11 @@ If you want results targeting a specific device type, apply app thinning **befor
1212
<key>method</key>
1313
<string>ad-hoc</string>
1414
<key>team_id</key>
15-
<string>sentry-team</string>
15+
<string>your-team-id</string> <!-- set to your ID -->
1616
<key>thinning</key>
17-
<string>iPhone17,1</string>
17+
<string>iPhone17,1</string> <!-- set to your device type -->
1818
</dict>
1919
</plist>
2020
```
2121

22-
And then pass this to `xcodebuild` via the `-exportOptionsPlist export_options.plist` flag when building the app. This will produce a `app-thinning.plist` file in your build directory with information on the app variants created. Pick the appropriate IPA when uploading to Sentry.
22+
And then pass this file to `xcodebuild` via the `-exportOptionsPlist export_options.plist` flag when building the app. This will produce a `app-thinning.plist` file in your build directory with information on the created app variants and where they are located on disk. Pick the appropriate IPA when uploading to Sentry.

0 commit comments

Comments
 (0)