当前位置:网站首页>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
边栏推荐
- Popular framework: the use of glide
- Abnormal value detection using shap value
- 开发中常见问题总结
- AI and Life Sciences
- Fs4059c is a 5V input boost charging 12.6v1.2a. Inputting a small current to three lithium battery charging chips will not pull it dead. The temperature is 60 ° and 1000-1100ma is recommended
- sql优化之explain
- Codeforce:c. sum of substrings
- Visual Studio调试方式详解
- 聊聊保证线程安全的 10 个小技巧
- [information retrieval] link analysis
猜你喜欢
Detailed analysis of pytorch's automatic derivation mechanism, pytorch's core magic
What is the difference between Bi financial analysis in a narrow sense and financial analysis in a broad sense?
Remove duplicate letters [greedy + monotonic stack (maintain monotonic sequence with array +len)]
Learn kernel 3: use GDB to track the kernel call chain
[information retrieval] link analysis
SqlServer函数,存储过程的创建和使用
STM32F1与STM32CubeIDE编程实例-MAX7219驱动8位7段数码管(基于GPIO)
Test process arrangement (2)
去除重复字母[贪心+单调栈(用数组+len来维持单调序列)]
leetcode:6110. The number of incremental paths in the grid graph [DFS + cache]
随机推荐
GCC【6】- 编译的4个阶段
Respect others' behavior
MySQL triggers
Practical puzzle solving | how to extract irregular ROI regions in opencv
Oppo find N2 product form first exposure: supplement all short boards
Chapter 17 process memory
2022 game going to sea practical release strategy
Nowcoder reverse linked list
Fs4059c is a 5V input boost charging 12.6v1.2a. Inputting a small current to three lithium battery charging chips will not pull it dead. The temperature is 60 ° and 1000-1100ma is recommended
R language ggplot2 visualization: gganimate package creates animated graph (GIF) and uses anim_ The save function saves the GIF visual animation
去除重複字母[貪心+單調棧(用數組+len來維持單調序列)]
Map of mL: Based on Boston house price regression prediction data set, an interpretable case of xgboost model using map value
Xcode 异常图片导致ipa包增大问题
[information retrieval] link analysis
關於miui12.5 紅米k20pro用au或者povo2出現問題的解决辦法
第十七章 进程内存
ML之shap:基于boston波士顿房价回归预测数据集利用shap值对XGBoost模型实现可解释性案例
PyTorch的自动求导机制详细解析,PyTorch的核心魔法
The game goes to sea and operates globally
C# wpf 实现截屏框实时截屏功能