cocoaPods pod install Permission denied

后端 未结 10 1282
时光说笑
时光说笑 2020-12-02 07:49

This is the short version:

When I run

pod install 

in an Xcode project I get

[!] Pod::Executable pull erro

10条回答
  •  -上瘾入骨i
    2020-12-02 08:23

    I only used (where username is your Mac login username)

    sudo chown -R username ~/Library/Caches/CocoaPods
    

    and

    sudo chown -R username ~/.cocoapods
    

    when I tried with the groupname parameter I got

    chown: username.groupname: illegal user name
    

    Of course I used my own username and groupname :)

提交回复
热议问题