ricobeck / KFCocoaPodsPlugin

XcodePlugin for CocoaPods with pod commands/console output, user notifications & code completion.
http://kfi-apps.com/plugins/kfcocoapodsplugin/
800 stars 53 forks source link

pod command not found #11

Closed jostster closed 10 years ago

jostster commented 10 years ago

When running Product > Pod Update / Install I get this in console

Start pod update Cocoapods update failed: bash: pod: command not found

running pod update or pod install from terminal in my projects directory works fine.

yushuyi commented 10 years ago

image

orta commented 10 years ago

You should update your CocoaPods gem, it's outdated: http://guides.cocoapods.org/using/getting-started.html#updating-cocoapods

jostster commented 10 years ago

Please don't hijack this issue. Your issue is different from mine.

orta commented 10 years ago

@jostster this sounds like an issue with paths in xcode, what's the result of which pods in there terminal?

ricobeck commented 10 years ago

I think it's a dupe of issue #2, a solution could be here in this comment.

jostster commented 10 years ago

@orta which pod /Users/<user>/.rvm/gems/ruby-2.0.0-p195/bin/pod which pods outputs nothing

@ricobeck I tried doing that before I filled this out and it didn't resolve my issue.

ricobeck commented 10 years ago

The only solution I see is to provide the path to pod via a setting or in the info plist.

tadmuck commented 10 years ago

I tried setting the path, but as an "app", Xcode ignores all the bash environment, so I can't make this work. Could someone please post a patch or instructions for editing the "info.pllist" as mentioned above?

ealeksandrov commented 10 years ago

linked with #21

jostster commented 10 years ago

https://github.com/ricobeck/KFCocoaPodsPlugin/issues/2#issuecomment-24384957 solved my issue. Needed to add that to my path in .bashrc instead of .bash_profile