Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Assets.car is 6 times larger than actual Images.xcassets folder when archived

Tags:

ios

ios7

xcasset

We switched our XCode project over to use the Asset Catalog during a redesign. We needed several large background images, which we included in the asset catalog. The images were originally JPEGs that we renamed to PNGs to save space. The size of the images on disk is 19.1MB, but when we archive the app the Assets.car file that is generated is 6 times larger than that. I have tried using PNGs and compressing them, but the size is still huge. I'm not sure what else I can do.

like image 974
CWitty Avatar asked Mar 17 '14 19:03

CWitty


1 Answers

It turns out that any image no matter what the original format is converted into a png during the archiving process. I moved the images to the old format of using images and the app size returned to normal.

like image 141
CWitty Avatar answered Oct 24 '22 00:10

CWitty