当前位置:网站首页>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
边栏推荐
- R language ggplot2 visualization: gganimate package creates animated graph (GIF) and uses anim_ The save function saves the GIF visual animation
- GCC【6】- 编译的4个阶段
- Data center concept
- Chapter 16 string localization and message Dictionary (2)
- Use of tiledlayout function in MATLAB
- 92.(cesium篇)cesium楼栋分层
- The game goes to sea and operates globally
- 迅为IMX6Q开发板QT系统移植tinyplay
- vscode 常用插件汇总
- 统计php程序运行时间及设置PHP最长运行时间
猜你喜欢
Test process arrangement (2)
nowcoder重排链表
leetcode:6110. 网格图中递增路径的数目【dfs + cache】
NowCoder 反转链表
flink sql-client.sh 使用教程
The implementation of OSD on rk1126 platform supports color translucency and multi-channel support for Chinese
leetcode:6109. Number of people who know the secret [definition of DP]
leetcode:6109. 知道秘密的人数【dp的定义】
Digi XBee 3 rf: 4 protocols, 3 packages, 10 major functions
Leetcode 61: 旋转链表
随机推荐
第十六章 字符串本地化和消息字典(二)
DDD application and practice of domestic hotel transactions -- Code
ARouter的使用
LifeCycle
Practical puzzle solving | how to extract irregular ROI regions in opencv
Real time data warehouse
Data Lake (13): spark and iceberg integrate DDL operations
Talk about 10 tips to ensure thread safety
Leetcode T48: rotating images
统计php程序运行时间及设置PHP最长运行时间
STM32F1与STM32CubeIDE编程实例-MAX7219驱动8位7段数码管(基于GPIO)
Leetcode T48:旋转图像
Test evaluation of software testing
Popular framework: the use of glide
MySQL stored procedure exercise
递增的三元子序列[贪心训练]
nowcoder重排链表
Some problems and ideas of data embedding point
opencv3.2 和opencv2.4安装
MATLAB中tiledlayout函数使用