Installing cocoapods to macOS Catalina
Solution 1:
After searching and trying different things I've solved my problem -
I've used -
brew cleanup -d -v
brew install cocoapods
Now I've installed cocoapod on my machine.
Edit:
I'm facing problem when I entered -
pod init
It gives me an error -
[!] Unable to locate the CocoaPods.app application bundle.
Please ensure the application is available and launch it at least once.
Illegal instruction: 4
To solve this I've used -
pod setup
And Voilà!! It works!!