当前位置:网站首页>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
边栏推荐
- Nowcoder reverse linked list
- Data center concept
- Digi XBee 3 rf: 4 protocols, 3 packages, 10 major functions
- NowCoder 反转链表
- Nowcoder rearrange linked list
- MySQL的存储过程练习题
- nowcoder重排链表
- Ws2818m is packaged in cpc8. It is a special circuit for three channel LED drive control. External IC full-color double signal 5v32 lamp programmable LED lamp with outdoor engineering
- 海外游戏代投需要注意的
- LifeCycle
猜你喜欢
随机推荐
LiveData
GCC【6】- 编译的4个阶段
商业智能BI财务分析,狭义的财务分析和广义的财务分析有何不同?
Leetcode 61: rotating linked list
AI与生命科学
The failure rate is as high as 80%. What are the challenges on the way of enterprise digital transformation?
卷积神经网络经典论文集合(深度学习分类篇)
leetcode:6109. 知道秘密的人数【dp的定义】
Count the running time of PHP program and set the maximum running time of PHP
One architecture to complete all tasks - transformer architecture is unifying the AI Jianghu on its own
關於miui12.5 紅米k20pro用au或者povo2出現問題的解决辦法
使用CLion编译OGLPG-9th-Edition源码
Abnormal value detection using shap value
No servers available for service: xxxx
去除重复字母[贪心+单调栈(用数组+len来维持单调序列)]
AI and Life Sciences
opencv3.2 和opencv2.4安装
Supprimer les lettres dupliquées [avidité + pile monotone (maintenir la séquence monotone avec un tableau + Len)]
按照功能对Boost库进行分类
为什么图片传输要使用base64编码