We should have a scale first. › Can compare the weight change before and after. › May need to analyze body composition. › By removing redundant code, it can reduce app size.
between components. › Observe the size change before and after. › Knowing the size of each component. › Down to source file level. › Combining object file list and symbol list from Link Map file.
that you can write your program to call SourceKit. › There are some 3rd open source softwares help you communicate with SourceKit, such as SourceKitten.
language tool such as SourceKit to analyze source code and build dependency graph. › Remove redundant code reduces app binary size. › Link Map helps us have a better understanding of binary size for each components and source files.