当前位置:网站首页>Xcode abnormal pictures cause IPA packet size problems
Xcode abnormal pictures cause IPA packet size problems
2022-07-04 14:29:00 【Loneliness under fireworks】
APP Pack and lose weight
cause
Because of doing APP Version update , Because it doesn't add much content , But the size of the package quickly increases after packaging , From the original 39.1M become 53.1M
Check
1、 First check the third party , It is found that no large third party has been added
2、json Document and gif chart , After removing the package , The volume has not decreased
3、 When I remove the picture , The package volume is significantly reduced , from 53.1M -> 44M
reason
After a check , It was found that it was a picture , Because there is a problem with the image cut , It coincides with UI run , Subsequent manual screenshots lead to , As shown in the figure below 
Although screenshot 1.1M , Compared with the original 0.2M Not much , But packaged ipa The volumes are
53.1 M and 46.8M, Increasing the 6.5M

The main reason is because of the screenshot 、 Or other tools ( For a little longer , The specific treatment method has been forgotten ), Caused the picture type to change , It is recommended that UI Cutaway
I made a rough estimate of , No picture packed ,ipa The volume of the package shall be increased by at least two times
solve
Because there is a problem with the cut , But the code is adapted to the problem image , Avoid the excessive increase of package volume
Suggest
1、 Use as much as possible UI Cutaway , Don't use screenshots or non professional screenshot tools , It's best to find a cut tool to deal with
2、 Big picture influence ipa package , It is suggested that the picture should not exceed 100kb, exceed 50kb Also put less
Image resources and resource compression package
Screenshot :2x and 3x

Blue lake cut file 2x and 3x

If there's a better one app The way to lose weight , Please leave a message , thank you
边栏推荐
- leetcode:6109. 知道秘密的人数【dp的定义】
- Opencv3.2 and opencv2.4 installation
- LifeCycle
- redis 日常笔记
- Detailed analysis of pytorch's automatic derivation mechanism, pytorch's core magic
- An overview of 2D human posture estimation
- Leetcode T47: 全排列II
- Detailed explanation of visual studio debugging methods
- 失败率高达80%,企业数字化转型路上有哪些挑战?
- 【MySQL从入门到精通】【高级篇】(五)MySQL的SQL语句执行流程
猜你喜欢

No servers available for service: xxxx

Sqlserver functions, creation and use of stored procedures

Digi重启XBee-Pro S2C生产,有些差别需要注意

WT588F02B-8S(C006_03)单芯片语音ic方案为智能门铃设计降本增效赋能

数据仓库面试问题准备

一文概览2D人体姿态估计

Why should Base64 encoding be used for image transmission
![去除重複字母[貪心+單調棧(用數組+len來維持單調序列)]](/img/af/a1dcba6f45eb4ccc668cd04a662e9c.png)
去除重複字母[貪心+單調棧(用數組+len來維持單調序列)]

Learn kernel 3: use GDB to track the kernel call chain

Transplant tinyplay for imx6q development board QT system
随机推荐
架构方面的进步
【MySQL从入门到精通】【高级篇】(五)MySQL的SQL语句执行流程
Excel quickly merges multiple rows of data
Leetcode T48: rotating images
關於miui12.5 紅米k20pro用au或者povo2出現問題的解决辦法
LiveData
富文本编辑:wangEditor使用教程
一文概览2D人体姿态估计
去除重複字母[貪心+單調棧(用數組+len來維持單調序列)]
Opencv3.2 and opencv2.4 installation
Progress in architecture
Industrial Internet has greater development potential and more industry scenarios
Practical puzzle solving | how to extract irregular ROI regions in opencv
[information retrieval] experiment of classification and clustering
Visual Studio调试方式详解
Scratch Castle Adventure Electronic Society graphical programming scratch grade examination level 3 true questions and answers analysis June 2022
Map of mL: Based on Boston house price regression prediction data set, an interpretable case is realized by using the map value to the LIR linear regression model
GCC【6】- 编译的4个阶段
sql优化之explain
按照功能对Boost库进行分类