I am trying to create a Podfile for my Xcode project for Firebase compatibility, but when I try to create it within the same file that my Xcode project is stored in, using my te
if the 1st command doesn't work, try the 2nd command
sudo gem install cocoapods sudo gem install -n /usr/local/bin cocoapods
In my case, the 2nd command worked