Use xcodebuild app thinning report in perf tests to track size of iOS apps over time #40471
Labels
a: size
Reducing IPA/APK/JS sizes
a: tests
"flutter test", flutter_test, or one of our tests
c: performance
Relates to speed or footprint issues (see "perf:" labels)
P3
Issues that are less important to the Flutter project
perf: app size
Performance issues related to app size (binary/code size) or disk space
platform-ios
iOS applications specifically
team
Infra upgrades, team productivity, code health, technical debt. See also team: labels.
team-ios
Owned by iOS platform team
tool
Affects the "flutter" command-line tool. See also t: labels.
triaged-ios
Triaged by iOS platform team
Description
The perf tests currently
tar
s the iOS ipa as a proxy for final app size. Instead, an "app thinning report" could be generated from a xcarchive:See
xcrun xcodebuild -h
for the valid export options plist keys. This was the plist I used for veggieseasons:(The "thinning" value should probably be a specific hardware string like "iPhone10,1" to trade-off for test time).
This command generates the ipas, as well as a
App Thinning Size Report.txt
andapp-thinning.plist
.Also see "Getting app size report" in this tutorial.
The text was updated successfully, but these errors were encountered: