Search code examples
iosobjective-cterminalcocoapodsosx-elcapitan

Cocoapods on el capitan


I've just update my OSX to El Capitan. Now when I want to update my PodFile I get this error:

pod: command not found

Any help here?


Solution

  • binstubs are no longer installed into /usr/bin.

    If you are upgrading from Yosemite simply uninstall cocoapods (gem uninstall cocoapods or sudo gem uninstall cocoapods) and then run the following:

    $ sudo gem install cocoapods
    [...]
    1 gem installed
    $ export PATH=$PATH:/Library/Ruby/bin
    $ pod --version
    0.38.2