less than 1 minute read

Received the following error while trying to run pod install.

_errno::EACCES - Permission denied @ dir_s_mkdir - /Users//.cocoapods/repos/trunk/Specs/9/3_

So I had to run the command as sudo - sudo pod install. This successfully installed the pods for the project. But when trying to open the Xcode workspace, again received permission denied error for the Xcode workspace. Then following the below mentioned steps resolved the issue and I was able to open the Xcode project

  1. _sudo chmod 777 _ file

  2. _sudo chmod 777 _ file

  3. sudo chmod 777 Pods

Need iOS Help?

I help developers and founders with:

  • New apps — idea to App Store
  • Bug fixes, debugging & rescue
  • App Store rejections
  • Code review & mentoring
See how we can work together →

10+ years iOS • 10+ published apps • 11,000+ students trained

Updated: