I'm trying to install CocoaPods in my MacBook Pro so I can use Flutter and I'm getting this error message. I don't know what to do or which command line to choose or if I decide to use rm I'll end up deleting an important thing. Can somebody help me, please.
Error: Could not symlink bin/xcodeproj
Target /usr/local/bin/xcodeproj
already exists. You may want to remove it:
rm '/usr/local/bin/xcodeproj'
To force the link and overwrite all conflicting files:
brew link --overwrite cocoapods
To list all files that would be deleted:
brew link --overwrite --dry-run cocoapods
(base) rq@Rq-MacBook-Pro ~ % brew link --overwrite --dry-run cocoapods
Would remove:
/usr/local/bin/xcodeproj