uninstalling the cocoapods package through gem (sudo gem uninstall cocoapods) and reinstalling it with homebrew (brew install cocoapods) fixed my problem.
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags: