[net7] Make use of App Thinning for fat applications #12665
Labels
dotnet
An issue or pull request related to .NET (6)
enhancement
The issue or pull request is an enhancement
iOS
Issues affecting iOS
Milestone
ref: https://developer.apple.com/documentation/xcode/reducing-your-app-s-size
Assemblies (.dll) and the associated
.aotdata*
files should be removable from the final (as downloaded) app bundle after Apple post-process them.A fat app will have several files that are architecture-specific, e.g.
armv7
andarm64
being common (even if declining) for iOS apps. Only one of them is required at execution time (on device) based on the CPU of the target device. Apple already makes some modifications for apps (e.g. the main native executable is thinned) but .net specific formats are not known (by default).Notes
This could be tested inside the
submissions
tests, see "Automate the Generation of the App Size Report" in https://developer.apple.com/documentation/xcode/reducing-your-app-s-sizeIt's unknown if (it would be recent) App thinning is used for macOS (App store downloads only) but it could become a "thing" at anytime since it makes sense with Intel/arm64 fat binaries.
The text was updated successfully, but these errors were encountered: