Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

iOS iOS Tools CocoaPods CocoaPods

Tom Jenkins
Tom Jenkins
3,886 Points

How to work cocoa pods?

I've followed the steps on this video, opening terminal and downloading cocoapods, and have also got as far as putting the example file into terminal. When i type pod into terminal to install the project dependencies, it deosnt show up as it does on the video and it is preventing me from going any furthers i can't follow any more steps. any help is much appreciated.

Almas Adilbek
Almas Adilbek
4,416 Points

When you type pod ( I guess you type pod install? ) and hit enter, is there any message in response?

Tom Jenkins
Tom Jenkins
3,886 Points

I haven't tried pod install but when i just type in pod it just comes up with the long list of +help +install etc.

Almas Adilbek
Almas Adilbek
4,416 Points

Just try it ;) if it returns help tips automatically when you just typed pod, then you may use this trick: Open text editor, type pod install, copy it to clipboard, then goto terminal and paste in command line, pod install should run automatically.

Tom Jenkins
Tom Jenkins
3,886 Points

I've already sorted it, turns out i didn't download cocoa pods properly. Thanks for your help :)

1 Answer

I usually fix issues with pod install followed with a pod update.