1.  ERROR:  While executing gem ... (Errno::EPERM)

    Operation not permitted - /usr/bin/pod

 

苹果系统升级 OS X EL Capitan 后会出现的插件错误,将 安装 CocoaPods 的 sudo gem install cocoapods

改为 sudo gem install -n /usr/local/bin cocoapods



 

 第二个大坑     这个问题能折磨死你 

[!] Could not automatically select an Xcode workspace. Specify one in your Podfile like so:

workspace 'path/to/Workspace.xcworkspace'

 

在你的podfile  添加 以下内容 试一下     顺序不要改  就复制粘贴 过去 就行      把" "里面的你的项目名称  改成你自己的项目名称

 

target "你的项目名称" do

platform:ios,'7.0'

end

 

或许  这里面  有一点为什么要这样写的答案安装pods  遇到的坑

 

3.

[!] /usr/bin/git fetch --unshallow

error: RPC failed; curl 18 transfer closed with outstanding read data remaining
fatal: The remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed

 

git 'https://github.com/CocoaPods/Specs.git'

 

相关文章:

  • 2021-09-01
  • 2021-04-19
  • 2021-12-01
  • 2021-08-05
  • 2021-05-17
  • 2021-08-27
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-01-18
  • 2021-11-01
  • 2021-05-04
  • 2021-05-09
  • 2021-08-23
  • 2021-06-27
  • 2021-08-17
相关资源
相似解决方案