解决-bash: /usr/local/bin/pod: /Sy

2020-06-29  本文已影响0人  Peter杰

更新了Mac系统到10.15.4Catalina后,在终端上输入pod install之后,终端上输出:

-bash: /usr/local/bin/pod: /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/bin/ruby: bad interpreter: No such file or directory

解决方法:

终端输入:sudo gem install -n /usr/local/bin cocoapods

上一篇下一篇

猜你喜欢

热点阅读