Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

pod install in cocoapods not working after updating macOS to catalina

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?

like image 973
21.kaw Avatar asked Nov 23 '19 09:11

21.kaw


People also ask

How do you fix CocoaPods not installed?

To Solve Warning: CocoaPods not installed. Skipping pod install Error Just Try to start Android studio from the terminal: open /Applications/Android\ Studio. app Now, Your error should be solved.

How do I know if Mac pod is installed?

To find if Cocoapods is installed or not run cmd (pod --version). if theresult is (Not Found) Pods is not installed.


1 Answers

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)

like image 85
21.kaw Avatar answered Nov 15 '22 08:11

21.kaw