【发布时间】:2020-03-19 05:34:08
【问题描述】:
在特定的 xcode 工作区文件夹中执行 $pod install 时,
终端显示:
bad interpreter: No such file or directory
The default interactive shell is now zsh.
To update your account to use zsh, please run `chsh -s /bin/zsh`
...usr/bin/ruby: bad interpreter: No such file or directory...
无法更新 podfile 列表中列出的任何 pod。这与 cocoapods 问题有关吗?
【问题讨论】:
-
只需在终端中运行:sudo gem install cocoapods
-
重复here
-
Bash 已被 zsh 取代为新的 Mac OS shell。只需运行提供的行
chsh -s /bin/zsh
标签: swift xcode cocoapods macos-catalina