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

試著忘記壹切 提交于 2019-11-30 23:28:17

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.

Xcode "compresses" PNG files by default when building project. So if your JPEGs are renamed as .png, they will be converted to real PNGs then compressed.

This behaviour can be disabled. Just change Compress PNG Files option to NO in project build settings.

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!