pod install시 Permission denied @ rb_sysopen에러 발생

https://stackoverflow.com/questions/16049335/cocoapods-pod-install-permission-denied

 

cocoaPods pod install Permission denied

This is the short version: When I run pod install in an Xcode project I get [!] Pod::Executable pull error: cannot open .git/FETCH_HEAD: Permission denied If I run sudo pod install I ...

stackoverflow.com

 

위 포스팅에서 아래 글대로 해서 해결했다.

 

유저에게 CocoaPods 권한을 준다.

$ sudo chown -R <유저명> ~/Library/Caches/CocoaPods

+ Recent posts