当前位置:网站首页>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
边栏推荐
- LiveData
- [information retrieval] link analysis
- Solutions aux problèmes d'utilisation de l'au ou du povo 2 dans le riz rouge k20pro MIUI 12.5
- Leetcode T47: 全排列II
- 数据埋点的一些问题和想法
- Use of arouter
- 产业互联网则具备更大的发展潜能,具备更多的行业场景
- Explain of SQL optimization
- R language uses the mutation function of dplyr package to standardize the specified data column (using mean function and SD function), and calculates the grouping mean of the standardized target varia
- An overview of 2D human posture estimation
猜你喜欢

潘多拉 IOT 开发板学习(RT-Thread)—— 实验3 按键实验(学习笔记)

【MySQL从入门到精通】【高级篇】(五)MySQL的SQL语句执行流程

Sqlserver functions, creation and use of stored procedures

No servers available for service: xxxx

富文本编辑:wangEditor使用教程

An overview of 2D human posture estimation

Nowcoder rearrange linked list

The failure rate is as high as 80%. What are the challenges on the way of enterprise digital transformation?

【信息检索】链接分析

数据中台概念
随机推荐
Stm32f1 and stm32subeide programming example -max7219 drives 8-bit 7-segment nixie tube (based on GPIO)
Solutions to the problems of miui12.5 red rice k20pro using Au or povo2
2022 game going to sea practical release strategy
A collection of classic papers on convolutional neural networks (deep learning classification)
Query optimizer for SQL optimization
潘多拉 IOT 开发板学习(RT-Thread)—— 实验3 按键实验(学习笔记)
ML:SHAP值的简介、原理、使用方法、经典案例之详细攻略
What is the difference between Bi financial analysis in a narrow sense and financial analysis in a broad sense?
Rich text editing: wangeditor tutorial
迅为IMX6Q开发板QT系统移植tinyplay
Use of tiledlayout function in MATLAB
STM32F1与STM32CubeIDE编程实例-MAX7219驱动8位7段数码管(基于GPIO)
PyTorch的自动求导机制详细解析,PyTorch的核心魔法
Industrial Internet has greater development potential and more industry scenarios
R language uses the DOTPLOT function of epidisplay package to visualize the frequency of data points in different intervals in the form of point graph, and uses the by parameter to specify the groupin
Compile oglpg-9th-edition source code with clion
ARouter的使用
Leetcode 61: rotating linked list
scratch古堡历险记 电子学会图形化编程scratch等级考试三级真题和答案解析2022年6月
vscode 常用插件汇总