I'm now using Xcode 10 GM seed. I found that the size of our ipa increased while using Xcode 10. Accurately the size of "assets.car" has nearly doubled. Maybe it's a bug of Xcode 10. Is there anyway to recover the size of "assets.car"?
"assets.car" size nearly doubled while using Xcode 10 GM seed
I am having the same problem.
Compiled in XCode 9.4.1, assets.car is 25.3 MB
Compiled in XCode 10.0, assets.car is 52.6 MB
These file sizes are from the ARCHIVE of the app in Finder, which is what is uploaded to the App Store. [If you look at the last BUILD of the app in Finder, the assets.car is actually a tiny bit smaller.]
That is more than double the size of before. I didn't notice the difference until it was already live in the App Store. Now my users are donwloading the update which is double in size...
Anyone know anything about this? Bug?
Update: I filed a bug on Sept 20, 2018. Will see what happens...
Apple replied that this is by design. They said:
"This is expected behavior. We update the asset catalog file with versions of the assets that are optimized for the particular version of the OS that its running on. When the final application gets thinned then only what is necessary will be present."
To verify this, I checked how much space the app takes on my devices. For example, the iPhone App Store says my app is 66.3 MB. But when the app is installed on my iPhone, it has been thinned to 34.9 MB (I checked this using Settings / General / iPhone Storage).
I also checked the iPad App Store, which says my app is 66.3 MB. But when the app is installed on my iPad, it has been thinned to 32.9 MB.
The App Store sizes (as displayed in the App Store) were wrong (massively inflated). Apple has since fixed the bug.