Cocoapods: pod setup -> [!] The `master` repo is not a git repo

Created on 22 Oct 2013  路  4Comments  路  Source: CocoaPods/CocoaPods

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.

All 4 comments

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'.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

pallaviMN picture pallaviMN  路  3Comments

evermeer picture evermeer  路  3Comments

tlandsmancars picture tlandsmancars  路  3Comments

luhui picture luhui  路  3Comments

Mingmingmew picture Mingmingmew  路  3Comments