google / cocoapods-size

Measure the final binary size for the given set of Cocoapods.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Question] Does this tool take into consideration pod's dependencies?

rogerluan opened this issue · comments

Hi!

This is a very useful tool. I'm looking forward to use it to better understand (or decide) which dependencies to choose whenever there's a dilemma, for example.

I analyzed the size of Plaid, and it tells me it's roughly 23MB. Then we're using a private/internal cocoapod that has Plaid as one of its dependencies, and this internal cocoapods results in roughly 10MB, by running this tool.

So, after looking at these numbers, looks like the tool doesn't take into consideration the dependencies installed by a given pod? Because if it was considering, shouldn't it show (at least) 23MB (from Plaid) + whatever this internal framework takes?
But, by reading the methodology used by cocoapods-size, looks like it should be considering the size of all of its dependencies… so I'm confused 😅

Any guidance or insights here would be great! 🙏 Thank you in advance!