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,473
  • 35
  • 181
  • 253
ashwini
  • 102
  • 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