-
Notifications
You must be signed in to change notification settings - Fork 29.8k
Open
Labels
P3Issues that are less important to the Flutter projectIssues that are less important to the Flutter projecta: sizeReducing IPA/APK/JS sizesReducing IPA/APK/JS sizesa: tests"flutter test", flutter_test, or one of our tests"flutter test", flutter_test, or one of our testsc: contributor-productivityTeam-specific productivity, code health, technical debt.Team-specific productivity, code health, technical debt.c: performanceRelates to speed or footprint issues (see "perf:" labels)Relates to speed or footprint issues (see "perf:" labels)perf: app sizePerformance issues related to app size (binary/code size) or disk spacePerformance issues related to app size (binary/code size) or disk spaceplatform-iosiOS applications specificallyiOS applications specificallyteam-iosOwned by iOS platform teamOwned by iOS platform teamtoolAffects the "flutter" command-line tool. See also t: labels.Affects the "flutter" command-line tool. See also t: labels.triaged-iosTriaged by iOS platform teamTriaged by iOS platform team
Description
Description
The perf tests currently tars the iOS ipa as a proxy for final app size. Instead, an "app thinning report" could be generated from a xcarchive:
xcodebuild -exportArchive -archivePath /path/to/xcarchive -exportPath /path/to/export/location -exportOptionsPlist ExportOptions.plist
See xcrun xcodebuild -h for the valid export options plist keys. This was the plist I used for veggieseasons:
$ plutil -p ExportOptions.plist
{
"method" => "ad-hoc"
"thinning" => "<thin-for-all-variants>"
}
(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 and app-thinning.plist.
Also see "Getting app size report" in this tutorial.
dnfield and cadenkriese
Metadata
Metadata
Assignees
Labels
P3Issues that are less important to the Flutter projectIssues that are less important to the Flutter projecta: sizeReducing IPA/APK/JS sizesReducing IPA/APK/JS sizesa: tests"flutter test", flutter_test, or one of our tests"flutter test", flutter_test, or one of our testsc: contributor-productivityTeam-specific productivity, code health, technical debt.Team-specific productivity, code health, technical debt.c: performanceRelates to speed or footprint issues (see "perf:" labels)Relates to speed or footprint issues (see "perf:" labels)perf: app sizePerformance issues related to app size (binary/code size) or disk spacePerformance issues related to app size (binary/code size) or disk spaceplatform-iosiOS applications specificallyiOS applications specificallyteam-iosOwned by iOS platform teamOwned by iOS platform teamtoolAffects the "flutter" command-line tool. See also t: labels.Affects the "flutter" command-line tool. See also t: labels.triaged-iosTriaged by iOS platform teamTriaged by iOS platform team