安装pod给我错误

时间:2020-10-18 03:45:33

标签: ios xcode

如何解决此类错误?

编辑;现在我收到此错误

pod安装

pod安装

[Desktop/release/workspace-ios-develop]$ pod install
Ignoring ffi-1.13.1 because its extensions are not built. Try: gem pristine ffi --version 1.13.1
Traceback (most recent call last):
    1: from /usr/local/bin/pod:23:in `<main>'
/usr/local/bin/pod:23:in `load': cannot load such file -- /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.10.0.rc.1/bin/pod (LoadError)

我的命令历史负责该问题

pastebin.com/6X9BSfvf 334行开始了所有的混乱\ curl -sSL get.rvm.io | bash -s稳定;这开始了。

1 个答案:

答案 0 :(得分:0)

在.bash_profile中,我添加了GEM_PATH = /user/kh/.gem

它奏效了。