Reputation: 593
When executing $pod install
at specific xcode workspace folder,
the terminal shows:
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
...
cannot update any of the pods listed in the podfile list. Is this related to cocoapods problem?
Upvotes: 5
Views: 6450
Reputation: 593
The problem is caused by the system update of macOS. You need to update your cocoapods after updating your macOS system from the terminal.
You can update your cocoapods by executing the following command lines:
$ sudo gem update --system
$ sudo gem install cocoapods -n/usr/local/bin
This works for me (macOS Catalina 10.15)
Upvotes: 10