【发布时间】:2018-03-10 07:24:11
【问题描述】:
我将我的 macOS 更新为 High Sierra,现在通过我的 iOS 应用程序中的 cocoapods 安装依赖项。但我面临以下错误。
XXXXXXXXX:MyProject CompanyName$ pod update
-bash: /usr/local/bin/pod: /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/bin/ruby: bad interpreter: No such file or directory
我试过了
Zubair-mac-mini:~ sdsol$ gem install cocoapods
ERROR: While executing gem ... (Gem::FilePermissionError)
You don't have write permissions for the /Library/Ruby/Gems/2.3.0 directory.
Zubair-mac-mini:~ sdsol$
任何帮助将不胜感激。
【问题讨论】:
-
见here
标签: ruby rubygems cocoapods macos-high-sierra