错误报告:

Analyzing dependencies

/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/pathname.rb:422:in `open': No such file or directory - /Users/yourMac/.cocoapods/repos (Errno::ENOENT)

 

解决方案:

把个人文件夹下的 .cocoapods 删除,执行 pod setup 命令(时间可能会有点久),成功后就可以执行 pod install

 

 

错误报告:

Invalid `Podfile` file: undefined local variable or method

解决方案:

我用Mac 自带的TextEdit编辑保存,然后编辑器自动把 ' 替换成了‘,改成在XCode中编辑保存即可。

相关文章:

  • 2022-12-23
  • 2021-07-29
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-12-20
  • 2021-06-30
  • 2021-07-29
  • 2022-12-23
  • 2022-12-23
  • 2021-08-17
相关资源
相似解决方案