jfrog / cocoapods-art

CocoaPods Plugin to work against Artifactory Repository
Apache License 2.0
58 stars 28 forks source link

Path repos_path/cocoapods-local already exists - remove it first #31

Closed seanliu1 closed 5 years ago

seanliu1 commented 5 years ago

`pod repo-art add cocoapods-local "https://xxxxx/api/pods/cocoapods-local"

Retrieving index fromhttps://xxxxx/api/pods/cocoapods-localinto local spec repococoapods-local` [!] Path repos_path/cocoapods-local already exists - remove it first, or run 'pod repo-art update cocoapods-local' to update it

pod repo-art remove cocoapods-local [!] repo cocoapods-local does not exist

I also removed the entire cocoapods-local folder locally, but I still see this issue, when I try to add

nlasso commented 4 years ago

just for anyone that get's into this issue as well. I was able to fix it by going to cd ~/.cocoapods/repos and cd ~/.cocoapods/repos-art and removing the repo that has the error from both directories. It seems that the remove command is not deleting it from both.