我想删除pods中配置好的友盟分享的第三方库,根据操作我首先删除了profile文件中的相关内容,然后在终端输入命令:pod install --verbose --no-repo-update;
但是奇怪的是出现下面的内容:
  PreparingSetting up CocoaPods master repoCloning spec repo `master` from `https://github.com/CocoaPods/Specs.git` (branch `master`)
  $ /usr/bin/git clone https://github.com/CocoaPods/Specs.git master
  Cloning into 'master'...

求大神帮忙解决,或者给出建议

解决方案 »

  1.   

    上面的文件名写错了,是podfile
      

  2.   

    删除podfile里的第三方,pod install就是了
      

  3.   

    原来的podfile如下:删掉友盟第三方:
    终端命令结果:
      

  4.   

    不是 用pod update --verbose --no-repo-update这条来着么.
      

  5.   

    你的报错主要是 clone Specs master 分支的时候出错了。你可以尝试手动 clone:
    在终端切到这个目录下: ~/.cocoapods/repos
    然后运行: git clone https://github.com/CocoaPods/Specs.git master执行完后再去 update
      

  6.   

    http://blog.csdn.net/wokenshin/article/details/51725742