1

I am trying to install podfile in my project through terminal. I am facing below error :

Permission denied (publickey). fatal: Could not read from remote repository.

Please make sure you have the correct access rights and the repository exists.

enter image description here

Thanks for help.

Eric Aya
  • 69,000
  • 34
  • 174
  • 243
ashwini
  • 104
  • 1
  • 10

1 Answers1

0

Did you configure your cocoapod as root? Maybe removing ~/.cocoapods/repos/master and then pod setup solve your problem.

rm -rf ~/.cocoapods/repos/master

pod setup