Cocoapods Permission Error
Received the following error while trying to run pod install.
_errno::EACCES - Permission denied @ dir_s_mkdir - /Users/
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
-
_sudo chmod 777
_ file -
_sudo chmod 777
_ file -
sudo chmod 777 Pods
Need iOS Help?
I help developers with:
- Bug fixes & debugging
- App Store rejections
- Code review & mentoring
- Claude Code training for iOS
10+ years iOS • 10+ published apps • 11,000+ students trained