zoukankan      html  css  js  c++  java
  • [pod install] error: cannot open .git/FETCH_HEAD: Permission denied

    pod install
    Analyzing dependencies
    [!] Pod::Executable pull

    error: cannot open .git/FETCH_HEAD: Permission denied

    *************

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

    I solve this problem by running the following command:

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

    and

    sudo chown -R username.groupname ~/.cocoapods
    

    Please replace username and groupname with your Mac login username/groupname.

    或者 


    Will-mini:Caches willbin$ sudo chown -R $USER ~/Library/Caches/CocoaPods/
    Will-mini:Caches willbin$ sudo chown -R $USER ~/.cocoapods

  • 相关阅读:
    Hadoop IO
    HDFS
    简介
    队列
    classLoader和Class.forName的区别
    String为什么是final类型的
    Fabric
    超级账本——面向企业的分布式账本
    以太坊
    pycharm破解教程
  • 原文地址:https://www.cnblogs.com/willbin/p/3548676.html
Copyright © 2011-2022 走看看