当前位置:网站首页>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
边栏推荐
- [cloud native] how can I compete with this database?
- MySQL的触发器
- 使用CLion编译OGLPG-9th-Edition源码
- MySQL的存储过程练习题
- redis 日常笔记
- One architecture to complete all tasks - transformer architecture is unifying the AI Jianghu on its own
- Popular framework: the use of glide
- LifeCycle
- 电商系统中红包活动设计
- Ultrasonic distance meter based on 51 single chip microcomputer
猜你喜欢
基于51单片机的超声波测距仪
Test evaluation of software testing
Pandora IOT development board learning (RT thread) - Experiment 3 button experiment (learning notes)
电商系统中红包活动设计
vscode 常用插件汇总
NowCoder 反转链表
聊聊保证线程安全的 10 个小技巧
Data warehouse interview question preparation
Digi XBee 3 rf: 4 protocols, 3 packages, 10 major functions
Nowcoder rearrange linked list
随机推荐
STM32F1与STM32CubeIDE编程实例-MAX7219驱动8位7段数码管(基于GPIO)
leetcode:6110. The number of incremental paths in the grid graph [DFS + cache]
Nowcoder reverse linked list
LiveData
数据中台概念
Intelligence d'affaires bi analyse financière, analyse financière au sens étroit et analyse financière au sens large sont - ils différents?
【信息检索】分类和聚类的实验
Some problems and ideas of data embedding point
Digi XBee 3 RF: 4个协议,3种封装,10个大功能
Pandora IOT development board learning (RT thread) - Experiment 3 button experiment (learning notes)
Leetcode T48:旋转图像
流行框架:Glide的使用
Practical puzzle solving | how to extract irregular ROI regions in opencv
数据湖(十三):Spark与Iceberg整合DDL操作
opencv3.2 和opencv2.4安装
Respect others' behavior
尊重他人的行为
Data center concept
Leetcode t47: full arrangement II
10.(地图数据篇)离线地形数据处理(供Cesium使用)