can you give any further context?
I think that the installation of the user is in an inconsistent state. If you don't have any changes you should be able to fix the issue running $ rm -rf ~/.cocoapods/repos
and then $ pod setup
.
For the Google users that wind up here...
It's also possible you need to set your active Xcode directory (especially, if you're installing and uninstalling Xcode betas).
In this case, the command you'd need is:
sudo xcode-select -switch /Applications/Xcode.app/
Of course, change the path to your Xcode app if its not in this location.
@JRG-Developer same issue happening with cocoapods 1.1.0.rc.2 and Xcode8 when trying to 'pod _1.1.0.rc.2_ trunk push'.
Most helpful comment
I think that the installation of the user is in an inconsistent state. If you don't have any changes you should be able to fix the issue running
$ rm -rf ~/.cocoapods/repos
and then$ pod setup
.