Background :
We have an app that embeds Flutter as module in our iOS project. When i install cocoapods using the original option from cocoa like this :
$ sudo gem install cocoapods
and then run pod install
in my iOS project, i get the Flutter module thrown out of project file, like mentioned in this issue :
XCode 13.3 Pod Install Removes Path To Flutter Module
Although, i found a workaround : i installed cocoapods using Homebrew and it works perfectly.
My question here is: What is the key difference, or what are the differences between the original website installation of cocoapods and the homebrew one?
NOTE: The same behavior is noticed for apple silicon and intel chips.