pod install giving me errors

前提是你 提交于 2020-12-15 03:44:16

问题


How can I solve such error?

Edit; now I am getting this error

pod install

pod install

[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)

My command history responsible for the problem

pastebin.com/6X9BSfvf line 334 started all the mess \curl -sSL get.rvm.io | bash -s stable; this started it.


回答1:


in .bash_profile i added GEM_PATH = /user/kh/.gem

And it worked.



来源:https://stackoverflow.com/questions/64409527/pod-install-giving-me-errors

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!