当前位置:网站首页>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
边栏推荐
猜你喜欢
![[MySQL from introduction to proficiency] [advanced chapter] (V) SQL statement execution process of MySQL](/img/58/a8dbed993921f372d04f7a1ee19679.png)
[MySQL from introduction to proficiency] [advanced chapter] (V) SQL statement execution process of MySQL

Use of tiledlayout function in MATLAB

flink sql-client. SH tutorial

Xcode 异常图片导致ipa包增大问题

Map of mL: Based on Boston house price regression prediction data set, an interpretable case of xgboost model using map value

scratch古堡历险记 电子学会图形化编程scratch等级考试三级真题和答案解析2022年6月

Test process arrangement (3)

WT588F02B-8S(C006_03)单芯片语音ic方案为智能门铃设计降本增效赋能

Leetcode T48: rotating images

Digi XBee 3 RF: 4个协议,3种封装,10个大功能
随机推荐
Supprimer les lettres dupliquées [avidité + pile monotone (maintenir la séquence monotone avec un tableau + Len)]
Xcode 异常图片导致ipa包增大问题
R language ggplot2 visualization: gganimate package creates dynamic line graph animation (GIF) and uses transition_ The reveal function displays data step by step along a given dimension in the animat
opencv3.2 和opencv2.4安装
Scratch Castle Adventure Electronic Society graphical programming scratch grade examination level 3 true questions and answers analysis June 2022
The implementation of OSD on rk1126 platform supports color translucency and multi-channel support for Chinese
關於miui12.5 紅米k20pro用au或者povo2出現問題的解决辦法
scratch古堡历险记 电子学会图形化编程scratch等级考试三级真题和答案解析2022年6月
Chapter 17 process memory
flink sql-client.sh 使用教程
MySQL triggers
SqlServer函数,存储过程的创建和使用
尊重他人的行为
Digi XBee 3 RF: 4个协议,3种封装,10个大功能
[algorithm leetcode] interview question 04.03 Specific depth node linked list (Multilingual Implementation)
AI and Life Sciences
Incremental ternary subsequence [greedy training]
海外游戏代投需要注意的
Some problems and ideas of data embedding point
Leetcode T48:旋转图像