This is the short version:
When i started
pod install
in xcode project i get
[!] Pod :: Executable error on output: cannot open .git / FETCH_HEAD: Permission denied
If I run
sudo pod install
I am not getting errors, but my installed files are owned by root and cannot compile, and I have to chown these files to regular users using the Xcode compiler.
I am running Lion OSX.
I installed cocoaPods using
sudo gem install cocoaPods
I had to use sudo because without it I got
ERROR: while executing gem ... (Gem :: FilePermissionError)
You do not have write permissions to the / Library / Ruby / Gems / 1.8 directory.
so now I have the root version of cocoaPods installed that loads the Xcode root libraries.
Is sudo installing cocoaPods the wrong way or the usual way?
If normal, is there a way to fix the installation problem of pod?
cocoapods rubygems
godzilla Apr 17 '13 at 0:13 2013-04-17 00:13
source share