当前位置:网站首页>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
边栏推荐
- 10.(地图数据篇)离线地形数据处理(供Cesium使用)
- R language dplyr package summary_ If function calculates the mean and median of all numerical data columns in dataframe data, and summarizes all numerical variables based on conditions
- Codeforce:c. sum of substrings
- (1)性能调优的标准和做好调优的正确姿势-有性能问题,上HeapDump性能社区!
- Leetcode t49: grouping of alphabetic words
- Solutions to the problems of miui12.5 red rice k20pro using Au or povo2
- An overview of 2D human posture estimation
- Compile oglpg-9th-edition source code with clion
- Some problems and ideas of data embedding point
- Pandora IOT development board learning (RT thread) - Experiment 3 button experiment (learning notes)
猜你喜欢
Leetcode T48:旋转图像
Count the running time of PHP program and set the maximum running time of PHP
gin集成支付宝支付
docker-compose公网部署redis哨兵模式
Chapter 17 process memory
[MySQL from introduction to proficiency] [advanced chapter] (V) SQL statement execution process of MySQL
nowcoder重排链表
leetcode:6109. Number of people who know the secret [definition of DP]
leetcode:6110. 网格图中递增路径的数目【dfs + cache】
Rich text editing: wangeditor tutorial
随机推荐
LifeCycle
Use of arouter
统计php程序运行时间及设置PHP最长运行时间
LiveData
使用CLion编译OGLPG-9th-Edition源码
(1)性能调优的标准和做好调优的正确姿势-有性能问题,上HeapDump性能社区!
The game goes to sea and operates globally
ML之shap:基于boston波士顿房价回归预测数据集利用Shap值对LiR线性回归模型实现可解释性案例
92.(cesium篇)cesium楼栋分层
去除重复字母[贪心+单调栈(用数组+len来维持单调序列)]
Matters needing attention in overseas game Investment Agency
MySQL的存储过程练习题
Leetcode T47: 全排列II
Scratch Castle Adventure Electronic Society graphical programming scratch grade examination level 3 true questions and answers analysis June 2022
【云原生】我怎么会和这个数据库杠上了?
R language uses dplyr package group_ The by function and the summarize function calculate the mean and standard deviation of the target variables based on the grouped variables
Ultrasonic distance meter based on 51 single chip microcomputer
Xcode 异常图片导致ipa包增大问题
AI and Life Sciences
Detailed index of MySQL