当前位置:网站首页>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
边栏推荐
- Explain of SQL optimization
- 迅为IMX6Q开发板QT系统移植tinyplay
- Leetcode T47: 全排列II
- RK1126平台OSD的实现支持颜色半透明度多通道支持中文
- 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
- Practical puzzle solving | how to extract irregular ROI regions in opencv
- Why should Base64 encoding be used for image transmission
- 一文概览2D人体姿态估计
- AI and Life Sciences
- docker-compose公网部署redis哨兵模式
猜你喜欢

Excel quickly merges multiple rows of data

Query optimizer for SQL optimization

商業智能BI財務分析,狹義的財務分析和廣義的財務分析有何不同?

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

Explain of SQL optimization

Leetcode 61: rotating linked list

nowcoder重排链表

What is the difference between Bi financial analysis in a narrow sense and financial analysis in a broad sense?

Detailed index of MySQL

电商系统中红包活动设计
随机推荐
Xcode 异常图片导致ipa包增大问题
数据湖(十三):Spark与Iceberg整合DDL操作
Leetcode t47: full arrangement II
一种架构来完成所有任务—Transformer架构正在以一己之力统一AI江湖
Learn kernel 3: use GDB to track the kernel call chain
sql优化之explain
潘多拉 IOT 开发板学习(RT-Thread)—— 实验3 按键实验(学习笔记)
Industrial Internet has greater development potential and more industry scenarios
Explain of SQL optimization
电商系统中红包活动设计
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
Digi restarts XBee Pro S2C production. Some differences need to be noted
实战解惑 | OpenCV中如何提取不规则ROI区域
Popular framework: the use of glide
R language ggplot2 visualization: gganimate package creates animated graph (GIF) and uses anim_ The save function saves the GIF visual animation
Solutions aux problèmes d'utilisation de l'au ou du povo 2 dans le riz rouge k20pro MIUI 12.5
卷积神经网络经典论文集合(深度学习分类篇)
flink sql-client. SH tutorial
MATLAB中tiledlayout函数使用
Leetcode T48: rotating images