当前位置:网站首页>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
边栏推荐
- RK1126平台OSD的实现支持颜色半透明度多通道支持中文
- 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
- Leetcode T49: 字母异位词分组
- Explain of SQL optimization
- LiveData
- nowcoder重排链表
- 统计php程序运行时间及设置PHP最长运行时间
- LifeCycle
- Xcode 异常图片导致ipa包增大问题
- 产业互联网则具备更大的发展潜能,具备更多的行业场景
猜你喜欢

商业智能BI财务分析,狭义的财务分析和广义的财务分析有何不同?

Count the running time of PHP program and set the maximum running time of PHP

sql优化之explain

数据湖(十三):Spark与Iceberg整合DDL操作

Data warehouse interview question preparation

Chapter 17 process memory
![递增的三元子序列[贪心训练]](/img/92/7efd1883c21c0e804ffccfb2231602.png)
递增的三元子序列[贪心训练]

【MySQL从入门到精通】【高级篇】(四)MySQL权限管理与控制

Nowcoder rearrange linked list

Digi XBee 3 RF: 4个协议,3种封装,10个大功能
随机推荐
LifeCycle
为什么图片传输要使用base64编码
leetcode:6109. 知道秘密的人数【dp的定义】
MATLAB中tiledlayout函数使用
Explain of SQL optimization
【云原生】我怎么会和这个数据库杠上了?
Visual Studio调试方式详解
Progress in architecture
Chapter 17 process memory
C # WPF realizes the real-time screen capture function of screen capture box
Nowcoder reverse linked list
2022 game going to sea practical release strategy
流行框架:Glide的使用
R language uses bwplot function in lattice package to visualize box plot and par Settings parameter custom theme mode
Opencv3.2 and opencv2.4 installation
Test evaluation of software testing
Ruiji takeout notes
富文本编辑:wangEditor使用教程
Data warehouse interview question preparation
Digi XBee 3 RF: 4个协议,3种封装,10个大功能